CLI Guide

Related Commands
capture bgp-pdu neighbor — enables capture of an IPv4 BGP neighbor packet.
show capture bgp-pdu neighbor — displays BGP packet capture information for an IPv6 address.
clear ip bgp
Reset BGP sessions. The soft parameter (BGP Soft Reconguration) clears the policies without resetting the TCP connection.
Syntax
clear ip bgp * | as-number | ip-address [flap-statistics | soft [in | out]]
Parameters
* Enter an asterisk ( * ) to reset all BGP sessions.
as-number Enter the AS number to reset all neighbors belonging to that AS. The range is from 0 to
65535 (2 byte), from 1 to 4294967295 (4 byte), or from 0.1 to 65535.65535 (dotted
format).
ip-address Enter an IP address in dotted decimal format to reset all prexes from that neighbor.
ap-statistics (OPTIONAL) Enter the keyword flap-statistics to reset the ap statistics on all
prexes from that neighbor.
soft (OPTIONAL) Enter the keyword soft to congure and activate policies without resetting
the BGP TCP session, that is, BGP Soft Reconguration.
NOTE: If you enter the clear ip bgp ip-address soft command, both
inbound and outbound policies are reset.
in (OPTIONAL) Enter the keyword in to activate only inbound policies.
out (OPTIONAL) Enter the keyword out to activate only outbound policies.
Command Modes EXEC Privilege
Supported Modes Full–Switch
Command History
Version Description
9.9(0.0) Introduced on the FN IOM.
9.2(0.0) Introduced on the MXL 10/40GbE Switch IO Module.
Related Commands
bgp recursive-bgp-next-hop — disables next-hop resolution through other routes learned by the BGP.
bgp soft-recong-backup — turns on BGP Soft Reconguration.
clear ip bgp dampening
Clear information on route dampening and return the suppressed route to the Active state.
Syntax
clear ip bgp dampening [ip-address mask]
Parameters
ip-address mask (OPTIONAL) Enter an IP address in dotted decimal format and the prex mask in slash
format (/x) to clear dampening information only that BGP neighbor.
302 Border Gateway Protocol IPv4 (BGPv4)