clear ip bgp in
Provides for BGP route refresh soft resets of inbound BGP routing tables.
Syntax: clear ip bgp [afi safi] { * | address | peer-group-name | as asNum} in
afi
Specify an AFI value of an AFI SAFI combination. Valid Values: ipv4.
safi
Specify a SAFI value of an AFI SAFI combination. Valid Values: unicast or multicast.
*
Perform a BGP route refresh on all current BGP sessions.
address
Perform a BGP route refresh on the specified BGP neighbor.
peer-group-name
Perform a BGP route refresh on all members of the specified peer group.
asNum
Perform a BGP route refresh on all peers of the specified Autonomous System.
Description: Once you have defined two routers as BGP neighbors, they form a BGP connection and exchange routing information. If you make configuration changes such as add or modify BGP access lists, weight, distance, version, timers, you must clear the BGP connections for the modification to take effect.
Clearing has a large negative impact on network operations.
BGP route refresh provides automatic support for dynamic soft reset of inbound BGP routing table updates that are not dependent upon stored routing table update information. BGP speaker can request its neighbor to resend the entire ADJ-RIB OUT for a particular AFI/SAFI as detailed in RFC 2918.
Manually initiate a BGP route refresh soft inbound reset using the clear ip bgp in command. Soft inbound resets can be initiated for all peers, a particular peer, a peer-group, or by AS. The soft inbound reset can apply to all AFI/SAFI combinations or by specifying IPv4 unicast or multicast to limit the reset to one of these types.
NOTE Use the in keyword, not the soft in keyword combination when initiating a route refresh soft inbound reset. The use of the soft keyword in the clear ip bgp command initiates a soft reconfiguration reset not a route refresh soft inbound reset. (See the clear ip bgp soft command).
Factory Default: None.
Command Mode: Privileged.
Example 1: The following example performs a BGP route refresh on all current IPv4 unicast BGP sessions:
router#clear ip bgp ipv4 unicast * in
Example 2: The following example performs a BGP route refresh for the BGP multicast sessions to neighbor 10.5.1.121:
router#clear ip bgp ipv4 multicast 10.5.1.121 in
Example 3: The following example performs a BGP route refresh for the BGP unicast sessions to AS 5:
router#clear ip bgp ipv4 unicast AS 5 in
Related Commands: clear ip bgp soft
neighbor capability route-refresh
neighbor soft-reconfiguration inbound
show ip bgp neighbors
show ip bgp summary
Copyright © 2004
Avici Systems Inc.
Avici® and TSR®
is a registered trademark of Avici Systems Inc.
IPriori, Composite Links, SSR, QSR, and NSR® are
trademarks of Avici Systems Inc.
Source
File Name: BGP_Nd.fm
HTML File Name: BGP_Nd16.html
Last Updated: 05/10/04 at 16:36:55