HUAWEI NetEngine80E/40E Router
Configuration Guide - Reliability
# Configure Router C.
<HUAWEI> system-view
[HUAWEI] sysname RouterC
[RouterC] interface gigabitethernet 1/0/0
[RouterC-GigabitEthernet1/0/0] undo shutdown
[RouterC-GigabitEthernet1/0/0] ip address 192.168.2.2 24
[RouterC-GigabitEthernet1/0/0] quit
[RouterC] interface gigabitethernet 2/0/0
[RouterC-GigabitEthernet2/0/0] undo shutdown
[RouterC-GigabitEthernet2/0/0] ip address 192.168.1.2 24
[RouterC-GigabitEthernet2/0/0] quit
[RouterC] ospf 1
[RouterC-ospf-1] area 0
[RouterC-ospf-1-area-0.0.0.0] network 192.168.1.0 0.0.0.255
[RouterC-ospf-1-area-0.0.0.0] network 192.168.2.0 0.0.0.255
[RouterC-ospf-1-area-0.0.0.0] quit
[RouterC-ospf-1] quit
After the configuration, OSPF on Router A and Router B calculates the routes between
Router A and Router B. Router A and Router B can ping each other.
Take the display on Router A as an example.
Route Flags: R - relay, D - download to fib
------------------------------------------------------------------------------
Routing Tables: Public
Destination/Mask
GigabitEthernet1/0/0
GigabitEthernet1/0/0
GigabitEthernet2/0/0.1
Route Flags: R - relay, D - download to fib
------------------------------------------------------------------------------
Routing Tables: Public
Destination/Mask
GigabitEthernet1/0/0
GigabitEthernet1/0/0
GigabitEthernet1/0/0
GigabitEthernet2/0/0.1
[RouterA] ping 192.168.1.1
PING 192.168.1.1: 56
--- 192.168.1.1 ping statistics ---
Issue 02 (2014-09-30)
Destinations : 17
Proto
192.168.2.0/24
Direct 0
192.168.2.1/32
Direct 0
192.168.1.0/24
OSPF
10.1.1.0/24
Direct 0
10.1.1.1/32
Direct 0
127.0.0.0/8
Direct 0
127.0.0.1/32
Direct 0
Destinations : 17
Proto
192.168.2.0/24
Direct 0
192.168.2.1/32
Direct 0
192.168.1.0/24
OSPF
10.1.1.0/24
Direct 0
10.1.1.1/32
Direct 0
127.0.0.0/8
Direct 0
127.0.0.1/32
Direct 0
data bytes, press CTRL_C to break
Reply from 192.168.1.1: bytes=56 Sequence=1 ttl=254 time=7 ms
Reply from 192.168.1.1: bytes=56 Sequence=2 ttl=254 time=1 ms
Reply from 192.168.1.1: bytes=56 Sequence=3 ttl=254 time=5 ms
Reply from 192.168.1.1: bytes=56 Sequence=4 ttl=254 time=1 ms
Reply from 192.168.1.1: bytes=56 Sequence=5 ttl=254 time=8 ms
5 packet(s) transmitted
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
Routes : 17
Pre
Cost
Flags NextHop
0
D
0
D
10
2
D
0
D
0
D
0
D
0
D
Routes : 17
Pre
Cost
Flags NextHop
0
D
0
D
10
2
D
0
D
0
D
0
D
0
D
5 BFD Configuration
Interface
192.168.2.1
127.0.0.1
InLoopBack0
192.168.2.2
10.1.1.1
127.0.0.1
InLoopBack0
127.0.0.1
InLoopBack0
127.0.0.1
InLoopBack0
Interface
192.168.2.1
127.0.0.1
192.168.2.2
10.1.1.1
127.0.0.1
InLoopBack0
127.0.0.1
InLoopBack0
127.0.0.1
InLoopBack0
419