execute : router clear bgp
 
router clear bgp
Use this command to clear BGP peer connections.
Syntax
execute router clear bgp all [soft] [in | out]
execute router clear bgp as <as_number> [soft] [in | out]
execute router clear bgp dampening {ip_address | ip/netmask}
execute router clear bgp external {in prefix-filter} [soft] [in | out]
execute router clear bgp flap-statistics {ip_address | ip/netmask}
execute router clear bgp ip <ip_address> [soft] [in | out]
 
Variable
Description
all
Clear all BGP peer connections.
as <as_number>
Clear BGP peer connections by AS number.
dampening {ip_address | ip/netmask}
Clear route flap dampening information for peer or network.
external {in prefix-filter}
Clear all external peers.
ip <ip_address>
Clear BGP peer connections by IP address.
peer-group
Clear all members of a BGP peer-group.
[in | out]
Optionally limit clear operation to inbound only or outbound only.
flap-statistics {ip_address | ip/netmask}
Clear flap statistics for peer or network.
soft
Do a soft reset that changes the configuration but does not disturb existing sessions.