
Operation Manual – IPv4 Routing
H3C S5500-EI Series Ethernet Switches
Chapter 5 BGP Configuration
5-42
# Display BGP routing table information on Switch B.
[SwitchB] display bgp routing-table
Total Number of Routes: 1
BGP Local router ID is 2.2.2.2
Status codes: * - valid, > - best, d - damped,
h - history, i - internal, s - suppressed, S - Stale
Origin : i - IGP, e - EGP, ? - incomplete
Network NextHop MED LocPrf PrefVal Path/Ogn
*> 8.0.0.0 200.1.1.2 0 0 65008i
# Display the BGP routing table on Switch C.
[SwitchC] display bgp routing-table
Total Number of Routes: 1
BGP Local router ID is 3.3.3.3
Status codes: * - valid, > - best, d - damped,
h - history, i - internal, s - suppressed, S - Stale
Origin : i - IGP, e - EGP, ? - incomplete
Network NextHop MED LocPrf PrefVal Path/Ogn
i 8.0.0.0 200.1.1.2 0 100 0 65008i
Note:
From the above outputs, you can find Switch A has learned no route to AS65009, and
Switch C has learned network 8.0.0.0 but the next hop 200.1.1.2 is unreachable, so the
route is invalid.
4) Redistribute
direct
routes
# Configure Switch B.
[SwitchB] bgp 65009
[SwitchB-bgp] import-route direct
# Display BGP routing table information on Switch A.
[SwitchA] display bgp routing-table
Total Number of Routes: 4