278
[SwitchA-bgp] network 8.1.1.1 24
[SwitchA-bgp] quit
b.
Configure Switch B.
[SwitchB] bgp 65009
[SwitchB-bgp] peer 3.1.1.2 as-number 65008
[SwitchB-bgp] quit
c.
Display BGP peer information on Switch B.
[SwitchB] display bgp peer
BGP local router ID : 2.2.2.2
Local AS number : 65009
Total number of peers : 2 Peers in established state :
2
Peer AS MsgRcvd MsgSent OutQ PrefRcv Up/Down
State
3.3.3.3 65009 4 4 0 0 00:02:49
Established
3.1.1.2 65008 2 2 0 0 00:00:05
Established
The output shows that Switch B has established an iBGP peer relationship with Switch C and
an eBGP peer relationship with Switch A.
d.
Display the BGP routing table on Switch A.
[SwitchA] display bgp routing-table
Total Number of Routes: 1
BGP Local router ID is 1.1.1.1
Status codes: * - valid, ^ - VPNv4 best, > - 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.1.1.0/24 0.0.0.0 0 0 i
e.
Display the BGP routing table on Switch B.
[SwitchB] display bgp routing-table
Total Number of Routes: 1
Summary of Contents for S9500E Series
Page 435: ...435 ...