[RouterD-bgp]
quit
# Run the
display ip routing-table verbose
command on Router A to view detailed information
about the route learned by Router A to reach 4.4.4.4/32.
[RouterA]
display ip routing-table 4.4.4.4 32 verbose
Route Flags: R - relay, D - download to fib
------------------------------------------------------------------------------
Routing Table : Public
Summary Count : 1
Destination: 4.4.4.4/32
Protocol: EBGP Process ID: 0
Preference: 255 Cost: 80
NextHop: 20.1.1.2 Neighbour: 20.1.1.2
State: Active Adv Age: 00h00m12s
Tag: 0 Priority: low
Label: NULL QoSInfo: 0x0
IndirectID: 0x4
RelayNextHop: 0.0.0.0 Interface: Pos1/0/0
TunnelID: 0x0 Flags: D
Because the MED value of the route learned from Router B is smaller, Router A selects the route
Router A -> Router B -> Router D as the optimal route to access 4.4.4.4/32. Since FRR is not
configured, no information about the backup route is available.
Step 4
Enable BGP Auto FRR on Router A and check routing information.
# Enable BGP Auto FRR on Router A.
[RouterA]
bgp 100
[RouterA-bgp]
ipv4-family unicast
[RouterA-bgp-af-ipv4]
auto-frr
[RouterA-bgp-af-ipv4]
quit
[RouterA-bgp]
quit
# After the configuration is complete, run the
display ip routing-table verbose
command on
Router A to view routing information.
[RouterA]
display ip routing-table 4.4.4.4 32 verbose
Route Flags: R - relay, D - download to fib
------------------------------------------------------------------------------
Routing Table : Public
Summary Count : 1
Destination: 4.4.4.4/32
Protocol: EBGP Process ID: 0
Preference: 255 Cost: 80
NextHop: 20.1.1.2 Neighbour: 20.1.1.2
State: Active Adv Age: 00h52m45s
Tag: 0 Priority: low
Label: NULL QoSInfo: 0x0
IndirectID: 0x4
RelayNextHop: 0.0.0.0 Interface: Pos1/0/0
TunnelID: 0x0 Flags: D
BkNextHop: 20.2.1.2 BkInterface: Pos2/0/0
BkLabel: NULL SecTunnelID: 0x0
BkPETunnelID: 0x0 BkPESecTunnelID: 0x0
BkIndirectID: 0x2
The command output shows that Router A has a backup next hop and a backup outbound
interface to 4.4.4.4/32.
----End
HUAWEI NetEngine80E/40E Router
Configuration Guide - IP Routing
8 BGP Configuration
Issue 02 (2014-09-30)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
1033