R3
int g0/0/0
[Huawei-GigabitEthernet0/0/0]ip add 192.168.1.1 24
[Huawei-GigabitEthernet0/0/0]int g0/0/1
[Huawei-GigabitEthernet0/0/1]ip add 192.168.6.2 24
[Huawei-GigabitEthernet0/0/1]int g0/0/2
[Huawei-GigabitEthernet0/0/2]ip add 192.168.7.1 24
[Huawei-GigabitEthernet0/0/2]q
[Huawei]ospf route
[Huawei]ospf router-id 1.1.1.1
[Huawei-ospf-1]ar 2
[Huawei-ospf-1-area-0.0.0.2]net
[Huawei-ospf-1-area-0.0.0.2]network 192.168.6.0 0.0.0.255
[Huawei-ospf-1-area-0.0.0.2]network 192.168.7.0 0.0.0.255
[Huawei-ospf-1-area-0.0.0.2]q
[Huawei-ospf-1]ar 0
[Huawei-ospf-1-area-0.0.0.0]network 192.168.1.0 0.0.0.255
[Huawei-ospf-1-area-0.0.0.0]q
[Huawei-ospf-1]q
[Huawei]ospf
[Huawei-ospf-1]ar 2
[Huawei-ospf-1-area-0.0.0.2]vl
[Huawei-ospf-1-area-0.0.0.2]vlink-peer 2.2.2.2
[Huawei-ospf-1-area-0.0.0.2]
<Huawei>
R7[Huawei]int g0/0/0
[Huawei-GigabitEthernet0/0/0]ip add 192.168.1.2 24
[Huawei-GigabitEthernet0/0/0]int g0/0/1
[Huawei-GigabitEthernet0/0/1]ip add 192.168.2.1 24
[Huawei-GigabitEthernet0/0/1]q
[Huawei]ospf
[Huawei-ospf-1]ar 0
[Huawei-ospf-1-area-0.0.0.0]net 192.168.1.0 0.0.0.255
[Huawei-ospf-1-area-0.0.0.0]net 192.168.2.0 0.0.0.255
[Huawei-ospf-1-area-0.0.0.0]
<Huawei>
R4
[Huawei]int g0/0/3
[Huawei-GigabitEthernet0/0/3]ip add 192.168.2.2 24
[Huawei-GigabitEthernet0/0/3]int g0/0/1
[Huawei-GigabitEthernet0/0/1]ip add 192.168.4.1 24
[Huawei-GigabitEthernet0/0/1]int g0/0/2
[Huawei-GigabitEthernet0/0/2]ip add 192.168.3.1 24
[Huawei-GigabitEthernet0/0/2]q
[Huawei]ospf 1
[Huawei-ospf-1]ar 0
[Huawei-ospf-1-area-0.0.0.0]net 192.168.2.0 0.0.0.255
[Huawei-ospf-1-area-0.0.0.0]q
[Huawei-ospf-1]ar 1
[Huawei-ospf-1-area-0.0.0.1]net 192.168.3.0 0.0.0.255
[Huawei-ospf-1-area-0.0.0.1]net 192.168.4.0 0.0.0.255
[Huawei-ospf-1-area-0.0.0.1]q
[Huawei-ospf-1]
<Huawei>
R2
int g0/0/1
[Huawei-GigabitEthernet0/0/1]ip add 192.168.4.2 0.0.0.255
Error: The specified IP address is invalid.
[Huawei-GigabitEthernet0/0/1]ip add 192.168.4.2 24
[Huawei-GigabitEthernet0/0/1]int g0/0/0
[Huawei-GigabitEthernet0/0/0]ip add 192.168.5.1 24
[Huawei-GigabitEthernet0/0/0]q
[Huawei]ospff
^
Error: Unrecognized command found at '^' position.
[Huawei]ospf
[Huawei-ospf-1]ar 1
[Huawei-ospf-1-area-0.0.0.1]net
[Huawei-ospf-1-area-0.0.0.1]network 192.168.4.0 0.0.0.255
[Huawei-ospf-1-area-0.0.0.1]q
[Huawei-ospf-1]ar 3
[Huawei-ospf-1-area-0.0.0.3]network 192.168.5.0 0.0.0.255
[Huawei-ospf-1-area-0.0.0.3]
R1
int g0/0/0
[Huawei-GigabitEthernet0/0/0]ip add 192.168.5.2 24
[Huawei-GigabitEthernet0/0/0]q
[Huawei]int g0/0/1
[Huawei-GigabitEthernet0/0/1]ip add 192.168.6.1 24
[Huawei-GigabitEthernet0/0/1]q
[Huawei]ospf route
[Huawei]ospf router-id 2.2.2.2
[Huawei-ospf-1]ar 3
[Huawei-ospf-1-area-0.0.0.3]net 192.168.5.0 0.0.0.255
[Huawei-ospf-1-area-0.0.0.3]q
[Huawei-ospf-1]ar 2
[Huawei-ospf-1-area-0.0.0.2]net 192.168.6.0 0.0.0.255
[Huawei-ospf-1-area-0.0.0.2]q
[Huawei-ospf-1]q
[Huawei]ospf
[Huawei-ospf-1]ar 2
[Huawei-ospf-1-area-0.0.0.2]vl
[Huawei-ospf-1-area-0.0.0.2]vlink-peer 1.1.1.1
[Huawei-ospf-1-area-0.0.0.2]
<Huawei>
R5
[Huawei]int g0/0/2
[Huawei-GigabitEthernet0/0/2]ip add 192.168.7.2 24
[Huawei-GigabitEthernet0/0/2]q
[Huawei]ospf
[Huawei-ospf-1]ar 2
[Huawei-ospf-1-area-0.0.0.2]net 192.168.7.0 0.0.0.255
[Huawei-ospf-1-area-0.0.0.2]q
[Huawei-ospf-1]q
R6int g0/0/2
[Huawei-GigabitEthernet0/0/2]ip add 192.168.3.2 24
[Huawei-GigabitEthernet0/0/2]q
[Huawei]ospf
[Huawei-ospf-1]ar 1
[Huawei-ospf-1-area-0.0.0.1]net 192.168.3.0 0.0.0.255
[Huawei-ospf-1-area-0.0.0.1]
<Huawei>
|