ospf作业

  
[Huawei]sysname r1
[r1]user    
[r1]user-int    
[r1]user-interface con    
[r1]user-interface console 0
[r1-ui-console0]idle    
[r1-ui-console0]idle-timeout 0 0
[r1-ui-console0]quit
[r1]int g0/0/0
[r1-GigabitEthernet0/0/0]ip add    
[r1-GigabitEthernet0/0/0]ip address 12.1.1.1 24
Nov 22 2022 16:22:29-08:00 r1 %%01IFNET/4/LINK_STATE(l)[3]:The line protocol IP
on the interface GigabitEthernet0/0/0 has entered the UP state.
[r1-GigabitEthernet0/0/0]quit
[r1]int    
[r1]interface Loop
                   ^
Error:Incomplete command found at '^' position.
[r1]interface Loop    
[r1]interface LoopBack 0
[r1-LoopBack0]ip add    
[r1-LoopBack0]ip address 1.1.1.1 32
[r1-LoopBack0]quit
[r1]int g0/0/1
[r1-GigabitEthernet0/0/1]ip add    
[r1-GigabitEthernet0/0/1]ip address 192.168.1.1 24
Nov 22 2022 16:34:30-08:00 r1 %%01IFNET/4/LINK_STATE(l)[4]:The line protocol IP
on the interface GigabitEthernet0/0/1 has entered the UP state.
[r1-GigabitEthernet0/0/1]quit
[r1]dhcp enable    
[r1]dhcp enable
Info: The operation may take a few seconds. Please wait for a moment.done.
[r1]ip pool a
Info: It's successful to create an IP address pool.
[r1-ip-pool-a]netw    
[r1-ip-pool-a]network 192.168.1.0 mask 24
[r1-ip-pool-a]gate    
[r1-ip-pool-a]gateway-list 192.168.1.1
[r1-ip-pool-a]dns    
[r1-ip-pool-a]dns-list 8.8.8.8 114.114.114.114
[r1-ip-pool-a]quit
[r1]dhcp s    
[r1]dhcp server
[r1]dhcp sel    
[r1]int g0/0/1
[r1-GigabitEthernet0/0/1]dhcp ssel    
[r1-GigabitEthernet0/0/1]dhcp sel    
[r1-GigabitEthernet0/0/1]dhcp select gl    
[r1-GigabitEthernet0/0/1]dhcp select global
[r1-GigabitEthernet0/0/1]quit
[r1]ip pool b
Info: It's successful to create an IP address pool.
[r1-ip-pool-b]net    
[r1-ip-pool-b]network 172.168.2.0 24
                                  ^
Error:Too many parameters found at '^' position.
[r1-ip-pool-b]network 172.168.2.0 mask 24
[r1-ip-pool-b]gate    
[r1-ip-pool-b]gateway-list 172.168.2.1
[r1-ip-pool-b]dns    
[r1-ip-pool-b]dns-list 8.8.8.8 114.114.114.114
[r1-ip-pool-b]QUIT
[r1]int g0/0/2
[r1-GigabitEthernet0/0/2]ip add    
[r1-GigabitEthernet0/0/2]ip address 172.168.2.1 24
[r1-GigabitEthernet0/0/2]
Nov 22 2022 16:45:02-08:00 r1 %%01IFNET/4/LINK_STATE(l)[5]:The line protocol IP
on the interface GigabitEthernet0/0/2 has entered the UP state.
[r1-GigabitEthernet0/0/2]dhcp sel    
[r1-GigabitEthernet0/0/2]dhcp select glo    
[r1-GigabitEthernet0/0/2]dhcp select global
[r1-GigabitEthernet0/0/2]quit
[r1]ospf 1 rou    
[r1]ospf 1 router-id 1.1.1.1
[r1-ospf-1]area 1
[r1-ospf-1-area-0.0.0.1]net    
[r1-ospf-1-area-0.0.0.1]network 12.0.0.0 0.0.0.255
[r1-ospf-1-area-0.0.0.1]net    
[r1-ospf-1-area-0.0.0.1]network 192.168.1.0 0.0.0.255
[r1-ospf-1-area-0.0.0.1]net    
[r1-ospf-1-area-0.0.0.1]network 172.168.2.0 0.0.0.255
[r1-ospf-1-area-0.0.0.1]quit
[r1-ospf-1]rou    
[r1-ospf-1]route-id 1.1.1.1
           ^

r2
<Huawei>
<Huawei>
<Huawei>
Nov 22 2022 16:17:59-08:00 Huawei %%01IFPDT/4/IF_STATE(l)[1]:Interface GigabitEt
hernet0/0/0 has turned into UP state.
<Huawei>sy
Enter system view, return user view with Ctrl+Z.
[Huawei]sya    
[Huawei]sys    
[Huawei]sysname r2
[r2]user-int    
[r2]user-interface con    
[r2]user-interface console 0
[r2-ui-console0]idle    
[r2-ui-console0]idle-timeout 0 0
[r2-ui-console0]quit
[r2]int g0/0/0
[r2-GigabitEthernet0/0/0]ip add    
[r2-GigabitEthernet0/0/0]ip address 12.1.1.2 24
Nov 22 2022 16:23:00-08:00 r2 %%01IFNET/4/LINK_STATE(l)[2]:The line protocol IP
on the interface GigabitEthernet0/0/0 has entered the UP state.
[r2-GigabitEthernet0/0/0]int g0/0/1
[r2-GigabitEthernet0/0/1]ip add    
[r2-GigabitEthernet0/0/1]ip address 23.1.1.1 24
Nov 22 2022 16:24:01-08:00 r2 %%01IFNET/4/LINK_STATE(l)[3]:The line protocol IP
on the interface GigabitEthernet0/0/1 has entered the UP state.
[r2-GigabitEthernet0/0/1]quit
[r2]int    
[r2]interface Loop    
[r2]interface LoopBack 0
[r2-LoopBack0]ip add    
[r2-LoopBack0]ip address 2.2.2.2 32
[r2-LoopBack0]quit
[r2]ospf 1
[r2-ospf-1]area 1
[r2-ospf-1-area-0.0.0.1]net    
[r2-ospf-1-area-0.0.0.1]network 12.0.0.0 0.0.0.255
[r2-ospf-1-area-0.0.0.1]net    
[r2-ospf-1-area-0.0.0.1]network 23.0.0.0 0.0.0.255
[r2-ospf-1-area-0.0.0.1]quit
[r2-ospf-1]quit
[r2]ospf 1 rou    
[r2]ospf 1 router-id 2.2.2.2

r3
<Huawei>
Nov 22 2022 16:15:45-08:00 Huawei %%01IFPDT/4/IF_STATE(l)[0]:Interface GigabitEt
hernet0/0/0 has turned into UP state.
<Huawei>
Nov 22 2022 16:15:45-08:00 Huawei %%01IFPDT/4/IF_STATE(l)[1]:Interface GigabitEt
hernet0/0/1 has turned into UP state.
<Huawei>
<Huawei>
<Huawei>sy
Enter system view, return user view with Ctrl+Z.
[Huawei]sys    
[Huawei]sysname r3
[r3]user-interface console 0
[r3-ui-console0]
[r3-ui-console0]idle    
[r3-ui-console0]idle-timeout 0 0
[r3-ui-console0]quit
[r3]int g0/0/0
[r3-GigabitEthernet0/0/0]ip add    
[r3-GigabitEthernet0/0/0]ip address 23.1.1.2 24
Nov 22 2022 16:23:41-08:00 r3 %%01IFNET/4/LINK_STATE(l)[2]:The line protocol IP
on the interface GigabitEthernet0/0/0 has entered the UP state.
[r3-GigabitEthernet0/0/0]quit
[r3]int    
[r3]interface Loop    
[r3]interface LoopBack 0
[r3-LoopBack0]ip add    
[r3-LoopBack0]ip address 3.3.3.3 32
[r3-LoopBack0]quit
[r3]ospf 1
[r3-ospf-1]area 1
[r3-ospf-1-area-0.0.0.1]net    
[r3-ospf-1-area-0.0.0.1]network 23.0.0.0 0.0.0.255
[r3-ospf-1-area-0.0.0.1]quit
[r3-ospf-1]area 0
[r3-ospf-1-area-0.0.0.0]net    
[r3-ospf-1-area-0.0.0.0]network 123.0.0.0 0.0.0.255
[r3-ospf-1-area-0.0.0.0]quit
[r3-ospf-1]quit
[r3]ospf 1 rou    
[r3]ospf 1 router-id 3.3.3.3
Info: The configuration succeeded. Y
r4
<Huawei>
<Huawei>
<Huawei>sy
Enter system view, return user view with Ctrl+Z.
[Huawei]sys    
[Huawei]sysname r4
[r4]user-interface console 0
[r4-ui-console0]
[r4-ui-console0]idle    
[r4-ui-console0]idle-timeout 0 0
[r4-ui-console0]quit
[r4]int g0/0/1
[r4-GigabitEthernet0/0/1]ip add    
[r4-GigabitEthernet0/0/1]ip address 45.1.1.1 24
Nov 22 2022 16:24:45-08:00 r4 %%01IFNET/4/LINK_STATE(l)[1]:The line protocol IP
on the interface GigabitEthernet0/0/1 has entered the UP state.
[r4-GigabitEthernet0/0/1]quit
[r4]ospf 1
[r4-ospf-1]area 0
[r4-ospf-1-area-0.0.0.0]net    
[r4-ospf-1-area-0.0.0.0]network 123.0.0.0 0.0.0.255
[r4-ospf-1-area-0.0.0.0]net    
[r4-ospf-1-area-0.0.0.0]network 45.0.0.0 0.0.0.255
[r4-ospf-1-area-0.0.0.0]quit
[r4-ospf-1]quit
[r4]ospf 0 rou    
[r4]ospf 0 router-id 4.4.4.4
         ^
Error: Wrong parameter found at '^' position.
[r4]ospf 1 rou    
[r4]ospf 1 router-id 4.4.4.4
Info: The configuration succeeded. You need to restart the OSPF process to valid
ate the new router ID.
[r4-ospf-1]area 2
[r4-ospf-1-area-0.0.0.2]net    
[r4-ospf-1-area-0.0.0.2]network 4.4.4.4 0.0.0.255
[r4-ospf-1-area-0.0.0.2]quit
[r4-ospf-1]?
ospf-1 interface view commands:
  area                     OSPF area parameters
  arp-ping                 ARP-ping
  asbr-summary             Configure aggregate addresses for OSPF (only for     
                           ASBR)
  backup                   Backup  information
  bandwidth-reference      Use reference bandwidth method to assign OSPF cost
  bfd                      Bidirectional Forwarding detection
  clear                    Clear
  default                  Set default value
  default-route-advertise  Control distribution of default information
  description              Specify OSPF process description
  dialer                   Dialer
  display                  Display information
  dn-bit-check             Check the DN bit in an LSA. The DN bit check is      
                           enabled in an LSA by default.
  dn-bit-set               Configure the DN bit in an LSA. The DN bit is set in
                           an LSA by default
  domain-id                Specify the OSPF domain identifier for VPN instance
  eca-route-type           Route type of the extended community attribute for   
                           VPN
  enable                   Enable OSPF specific features
  filter-lsa-out           Configure LSA Filter policy
  filter-policy            Filtering in routing updates
  flooding-control         OSPF flooding control

[r4-ospf-1]default-route-advertise
[r4-ospf-1]quit
[r4]ip rou    
[r4]ip route-s    
[r4]ip route-static 0.0.0.0 0 L    
[r4]ip route-static 0.0.0.0 0 Loop    
[r4]ip route-static 0.0.0.0 0 LoopBack 0
                              ^
Error: Wrong parameter found at '^' position.
[r4]int    
[r4]interface L    
[r4]interface LoopBack
[r4]interface LoopBack 0
[r4-LoopBack0]QUIT
[r4]ip r    
[r4]ip rou    
[r4]ip route-static 0.0.0.0 0 L    
[r4]ip route-static 0.0.0.0 0 LoopBack 0
[r4]ospf 1
[r4-ospf-1]area 2
[r4-ospf-1-area-0.0.0.2]authentication-mode simple cipher 123
[r4-ospf-1-area-0.0.0.2]quit
[r4-ospf-1]quit
[r4]int g0/0/1
[r4-GigabitEthernet0/0/1]]ospf authentication-mode simple cipher 123
                         ^
Error: Unrecognized command found at '^' position.

r5
<Huawei>
<Huawei>sy
Enter system view, return user view with Ctrl+Z.
[Huawei]sys    
[Huawei]sysname r5
[r5]user-interface console 0
[r5-ui-console0]
[r5-ui-console0]idle    
[r5-ui-console0]idle-timeout 0 0
[r5-ui-console0]quit
[r5]int g0/0/2
[r5-GigabitEthernet0/0/2]ip add    
[r5-GigabitEthernet0/0/2]ip address 45.1.1.2 24
Nov 22 2022 16:25:19-08:00 r5 %%01IFNET/4/LINK_STATE(l)[2]:The line protocol IP
on the interface GigabitEthernet0/0/2 has entered the UP state.
[r5-GigabitEthernet0/0/2]int g0/0/1
[r5-GigabitEthernet0/0/1]ip add    
[r5-GigabitEthernet0/0/1]ip address 56.1.1.2 24
Nov 22 2022 16:26:21-08:00 r5 %%01IFNET/4/LINK_STATE(l)[3]:The line protocol IP
on the interface GigabitEthernet0/0/1 has entered the UP state.
[r5-GigabitEthernet0/0/1]quit
[r5]int    
[r5]interface Loop    
[r5]interface LoopBack 0
[r5-LoopBack0]ip add    
[r5-LoopBack0]ip address 5.5.5.5 32
[r5-LoopBack0]quit
[r5]ospf 1
[r5-ospf-1]quit
[r5]ospf 1 rou    
[r5]ospf 1 router-id 5.5.5.5
Info: The configuration succeeded. You need to restart the OSPF process to valid
ate the new router ID.
[r5-ospf-1]area 2
[r5-ospf-1-area-0.0.0.2]net    
[r5-ospf-1-area-0.0.0.2]network 2.2.2.2 0.0.0.255
[r5-ospf-1-area-0.0.0.2]quit
[r5-ospf-1]area 0
[r5-ospf-1-area-0.0.0.0]net    
[r5-ospf-1-area-0.0.0.0]network 123.0.0.0 0.0.0.255
[r5-ospf-1-area-0.0.0.0]quit
[r5-ospf-1]quit
[r5]int g0/0/2
[r5-GigabitEthernet0/0/2]ospf authentication-mode simple cipher 123
[r5-GigabitEthernet0/0/2]ospf authentication-mode md5
[r5-GigabitEthernet0/0/2]int g0/0/1
[r5-GigabitEthernet0/0/1]ospf authentication-mode simple cipher 123
[r5-GigabitEthernet0/0/1]ospf authentication-mode md5

r6
<Huawei>
<Huawei>sy
Enter system view, return user view with Ctrl+Z.
[Huawei]sys    
[Huawei]sysname r6
[r6]user-interface console 0
[r6-ui-console0]
[r6-ui-console0]idle    
[r6-ui-console0]idle-timeout 0 0
[r6-ui-console0]quit
[r6]int g0/0/1
[r6-GigabitEthernet0/0/1]ip add    
[r6-GigabitEthernet0/0/1]ip address 56.1.1.1 24
Nov 22 2022 16:25:50-08:00 r6 %%01IFNET/4/LINK_STATE(l)[1]:The line protocol IP
on the interface GigabitEthernet0/0/1 has entered the UP state.
[r6-GigabitEthernet0/0/1]quit
[r6]int    
[r6]interface Loop    
[r6]interface LoopBack 0
[r6-LoopBack0]ip add    
[r6-LoopBack0]ip address 6.6.6.6 32
[r6-LoopBack0]quit
[r6]ospf 1
[r6-ospf-1]quit
[r6]ospf 1 rou    
[r6]ospf 1 router-id 6.6.6.6
Info: The configuration succeeded. You need to restart the OSPF process to valid
ate the new router ID.
[r6-ospf-1]area 0
[r6-ospf-1-area-0.0.0.0]net    
[r6-ospf-1-area-0.0.0.0]network 123.0.0.0 0.0.0.255
[r6-ospf-1-area-0.0.0.0]quit
[r6-ospf-1]area 2
[r6-ospf-1-area-0.0.0.2]net    
[r6-ospf-1-area-0.0.0.2]network 6.6.6.6 0.0.0.255
[r6-ospf-1-area-0.0.0.2]quit
[r6-ospf-1]quit
[r6]int g0/0/1
[r6-GigabitEthernet0/0/1]ospf authentication-mode simple cipher 123
[r6-GigabitEthernet0/0/1]ospf authentication-mode md5


pc1
PC>ipconfig

Link local IPv6 address...........: fe80::5689:98ff:fe8f:21f3
IPv6 address......................: :: / 128
IPv6 gateway......................: ::
IPv4 address......................: 192.168.1.254
Subnet mask.......................: 255.255.255.0
Gateway...........................: 192.168.1.1
Physical address..................: 54-89-98-8F-21-F3
DNS server........................: 8.8.8.8
                                    114.114.114.114
pc3
PC>ipconfig

Link local IPv6 address...........: fe80::5689:98ff:fed8:3bfd
IPv6 address......................: :: / 128
IPv6 gateway......................: ::
IPv4 address......................: 172.168.2.254
Subnet mask.......................: 255.255.255.0
Gateway...........................: 172.168.2.1
Physical address..................: 54-89-98-D8-3B-FD
DNS server........................: 8.8.8.8
                                    114.114.114.114
 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值