32-45
Cisco ME 3400 EthernetAccess Switch SoftwareConfiguration Guide
78-17058-01
Chapter32 Configuring IP Unicast Routing Configuring BGP
Managing Routing Policy Changes
Routing policies for a peer include all the configurations that might affect inbound or outbound ro uting
table updates. When you have defined two routers as BGP neighbors, they form a BGP connection and
exchange routing information. If you later change a BGP filter, weight, distance, version, or timer, or
make a similar configuration change, you must reset the BGP sessions so that the configuration change s
take effect.
There are two types of reset, hard reset and soft reset. Cisco IOS Relea ses 12 .1 an d l ater supp ort a so ft
reset without any prior configuration. To use a soft reset without preconfiguration, both BGP peers must
support the soft route refresh capability, which is advertised in the OPEN message sent when the peers
establish a TCP session. A soft reset allows the dynamic exchange of rou te refresh requests and routing
information between BGP routers and the subsequent re-advertisement of the respective outbound
routing table.
When soft reset generates inbound updates from a neighbor, it is called dynamic inbound soft reset.
When soft reset sends a set of updates to a neighbor, it is called outbound soft reset.
A soft inbound reset causes the new inbound policy to take effect. A soft outbound reset cause s the new
local outbound policy to take effect without resetting the BGP session. As a new set of up dates i s sent
during outbound policy reset, a new inbound policy can also take effect.
Table32-10 lists the advantages and disa dvantages hard reset and so ft reset.
Beginning in privileged EXEC mode, follow these steps to learn if a BGP peer supports the route refr esh
capability and to reset the BGP session:
Table32-10 Advantages and Disadvantages of Hard and Soft Resets
Type of Reset Advantages Disadvantages
Hard reset No memory overhead The prefixes in the BGP, IP, and FIB tables
provided by the neighbor are lost. Not
recommended.
Outbound soft reset No configuration, no storing of routing table
updates Does not reset inbound routing table updates.
Dynamic inbound soft reset Does not clear the BGP session and cache
Does not require storing of routing table updates
and has no memory overhead
Both BGP routers must support the route
refresh capability (in Cisco IOS Release 12.1
and later).
Command Purpose
Step1 show ip bgp neighbors Display whether a neighbor supports the route refresh capability. When supported,
this message appears for the router:
Received route refresh capability from peer.
Step2 clear ip bgp {* | address |
peer-group-name}Reset the routing table on the specified connection.
Enter an asterisk (*) to specify that all connections be reset.
Enter an IP address to specify the connection to be reset.
Enter a peer group name to reset the peer group.