Download Print this page

Huawei Quidway NetEngine80E Configuration Manual page 177

Universal service router, ip routing
Hide thumbs Also See for Quidway NetEngine80E:

Advertisement

HUAWEI NetEngine80E/40E Router
Configuration Guide - IP Routing
The preceding display shows that the static route to 2.2.2.2/32 is preferred because the priority
of a static route is higher than that of a BGP route.
Step 5 Verify the configuration.
# Run the shutdown command on POS 1/0/0 of Router A to simulate a link fault.
[RouterA] interface pos 1/0/0
[RouterA-Pos1/0/0] shutdown
[RouterA-Pos1/0/0] quit
# After the preceding configurations, run the tracert command on Router A to check the
forwarding path of ping packets.
[RouterA] tracert 2.2.2.2
traceroute to
break
1 20.1.1.2 50 ms
2 30.1.1.1 < AS=200 > 50 ms
The command output shows that ping packets detour around Link B after Link A becomes faulty.
This indicates that the EBGP route to 2.2.2.2/32 is preferred after the static route to 2.2.2.2/32
becomes inactive. In this case, the status of Link A cannot be detected through a ping operation.
# Configure permanent advertisement of static routes on Router A.
[RouterA] ip route-static 2.2.2.2 32 pos1/0/0 40.1.1.2 permanent
# After the preceding configurations, check the routing table of Router A.
[RouterA] display ip routing-table
Route Flags: R - relay, D - download to fib
------------------------------------------------------------------------------
Routing Tables: Public
Destination/Mask
The preceding display shows that the static route to 2.2.2.2/32 is still valid and the EBGP route
to 2.2.2.2/32 is not preferred after the outbound interface of the static route becomes faulty.
# Run the ping command on Router A to check whether Router A can ping successfully
2.2.2.2/32.
[RouterA] ping 2.2.2.2
PING 2.2.2.2: 56
--- 2.2.2.2 ping statistics ---
Issue 02 (2014-09-30)
2.2.2.2(2.2.2.2), max hops: 30 ,packet length: 40,press CTRL_C t o
30 ms
Destinations : 8
Proto
1.1.1.1/32
Direct
2.2.2.2/32
Static
20.1.1.0/24
Direct
20.1.1.1/32
Direct
20.1.1.2/32
Direct
30.1.1.0/24
EBGP
127.0.0.0/8
Direct
127.0.0.1/32
Direct
data bytes, press CTRL_C to break
Request time out
Request time out
Request time out
Request time out
Request time out
5 packet(s) transmitted
0 packet(s) received
100.00% packet loss
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
30 ms
60 ms
60 ms
Routes : 8
Pre
Cost
Flags NextHop
0
0
D
60
0
D
0
0
D
0
0
D
0
0
D
255
0
D
0
0
D
0
0
D
2 IP Static Route Configuration
Interface
127.0.0.1
LoopBack0
40.1.1.2
Pos1/0/0
20.1.1.1
Pos2/0/0
127.0.0.1
Pos1/0/0
20.1.1.2
Pos2/0/0
20.1.1.2
Pos2/0/0
127.0.0.1
InLoopBack0
127.0.0.1
InLoopBack0
152

Hide quick links:

Advertisement

loading

This manual is also suitable for:

Quidway netengine40eNe40eNe80e