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
Total Number of Routes: 7
Network NextHop MED LocPrf PrefVal Path/Ogn
*> 200.1.2.0 200.1.4.1 0 0 10?
* 200.1.3.1 0 0 20?
*> 200.1.3.0 0.0.0.0 0 0 ?
* 200.1.4.1 0 10 20?
200.1.3.1 0 0 20?
*> 200.1.3.2/32 0.0.0.0 0 0 ?
*> 200.1.4.0 0.0.0.0 0 0 ?
200.1.4.1 0 0 10?
*> 200.1.4.2/32 0.0.0.0 0 0 ?
Check the routing table advertised by Switch B, and you can find that advertised routes directly
connected to Switch A and Switch C do not exist. Take the route advertised by Switch B to
Switch A as an example.
<SwitchB>
display bgp routing-table peer 200.1.2.1 advertised-routes
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
Total Number of Routes: 2
Network NextHop MED LocPrf PrefVal Path/Ogn
*> 200.1.2.0 200.1.2.2 0 0 20?
*> 200.1.3.0 200.1.2.2 0 0 20?
Similarly, the BGP routing table of Switch A does not have the two routes.
<SwitchA>
display bgp routing-table
BGP Local router ID is 1.1.1.1
Status codes: * - valid, > - best, d - damped,
h - history, i - internal, s - suppressed, S - Stale
Origin : i - IGP, e - EGP, ? - incomplete
Total Number of Routes: 6
Network NextHop MED LocPrf PrefVal Path/Ogn
*> 200.1.2.0 0.0.0.0 0 0 ?
200.1.2.2 0 0 20?
*> 200.1.2.1/32 0.0.0.0 0 0 ?
*> 200.1.3.0 200.1.2.2 0 0 20?
* 200.1.4.2 0 0 30?
*> 200.1.4.0 0.0.0.0 0 0 ?
200.1.4.2 0 0 30?
*> 200.1.4.1/32 0.0.0.0 0 0 ?
----End
Configuration Files
l
Configuration file of Switch A
#
sysname SwitchA
#
vlan batch 10 20
#
interface Vlanif20
S6700 Series Ethernet Switches
Configuration Guide - IP Routing
7 BGP Configuration
Issue 01 (2012-03-15)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
453