42-49
Catalyst 3750-X and 3560-X Switch Software Configuration Guide
OL-21521-01
Chapter 42 Configuring IP Unicast Routing Configuring BGP
Use the no router bgp autonomous-system global configuration command to remove a BGP AS. Use the
no network network-number router configuration command to remove the network from the BGP table.
Use the no neighbor {ip-address | peer-group-name} remote-as number router configuration command
to remove a neighbor. Use the no neighbor {ip-address | peer-group-name} remove-private-as router
configuration command to include private AS numbers in updates to a neighbor. Use the
synchronization router configuration command to re-enable synchronization.
These examples show how to configure BGP on the routers in Figure 42-5.
Router A:
Switch(config)# router bgp 100
Switch(config-router)# neighbor 129.213.1.1 remote-as 200
Step 5 neighbor {ip-address | peer-group-name}
remote-as number Add an entry to the BGP neighbor table specifying that the
neighbor identified by the IP address belongs to the specified
AS.
For EBGP, neighbors are usually directly connected, and the IP
address is the address of the interface at the other end of the
connection.
For IBGP, the IP address can be the address of any of the router
interfaces.
Step 6 neighbor {ip-address | peer-group-name}
remove-private-as (Optional) Remove private AS numbers from the AS-path in
outbound routing updates.
Step 7 no synchronization (Optional) Disable synchronization between BGP and an IGP.
Step 8 no auto-summary (Optional) Disable automatic network summarization. By
default, when a subnet is redistributed from an IGP into BGP,
only the network route is inserted into the BGP table.
Step 9 bgp fast-external-fallover (Optional) Automatically reset a BGP session when a link
between external neighbors goes down. By default, the session
is not immediately reset.
Step 10 bgp graceful-restart (Optional) Enable NSF awareness on switch. By default, NSF
awareness is disabled.
Step 11 end Return to privileged EXEC mode.
Step 12 show ip bgp network network-number
or
show ip bgp neighbor
Verify the configuration.
Verify that NSF awareness (Graceful Restart) is enabled on the
neighbor.
If NSF awareness is enabled on the switch and the neighbor,
this message appears:
Graceful Restart Capability: advertised and received
If NSF awareness is enabled on the switch, but not on the
neighbor, this message appears:
Graceful Restart Capability: advertised
Step 13 copy running-config startup-config (Optional) Save your entries in the configuration file.
Command Purpose