switch(bgp)# neighbor 9.1.1.2 remote-as 65009
12.
# Configure BGP to redistribute direct routes.
switch(bgp)# redistribute connected
13.
# Enable GR capability for BGP Peers.
switch(bgp)# neighbor 200.1.1.2 graceful-restart
switch(bgp)# neighbor 9.1.1.2 graceful-restart
14.
# Configure BGP for non-stop forwarding
switch(bgp)# non-stop
15.
Configure Switch C.
16.
# Configure IP addresses for interfaces (omitted.)
17.
# Configure the iBGP connection.
switch(config)# router bgp 65009
switch(bgp)# bgp router-id 3.3.3.3
switch(bgp)# neighbor 9.1.1.1 remote-as 65009
18.
# Configure BGP to redistribute direct routes.
switch(bgp)# redistribute connected
19.
BGP Configuration Example
20.
# Enable GR for BGP Peer.
switch(bgp)# neighbor 9.1.1.1 graceful-restart
Verification
After completing the above configuration, perform an active/standby switchover on Switch B. Switch A and Switch
C should be able to ping each other without any packet drops. Also ensure that there are no flaps of BGP learned
routes on the peer switches.
BGP show routines
Synopsis:
show ip bgp [
ipv4-addr
[
mask
] [longer-prefixes]]
Displays information about BGP routes installed in the BGP routing information base (RIB.)
ipv4-addr
IP address entered to filter the output to display only a particular host or network in the BGP routing table.
Chapter 17 Border Gateway Protocol (BGP)
401