Command Line Reference Guide
Related
Commands
capture bgp-pdu max-buffer-size – specifies a size for the capture buffer.
show capture bgp-pdu neighbor – displays BGP packet capture information.
clear ip bgp
Reset BGP sessions on the S5000. The soft parameter (BGP Soft Reconfiguration) clears the policies without resetting
the TCP connection.
S5000
Syntax
clear ip bgp * | as-number [soft [in | out] | ip-address [soft
[in | out]] | dampening | flap-statistics | ipv4 | ipv6 | peer-
group ]
Parameters
* Enter an asterisk ( * ) to reset all BGP sessions.
as-number
Enter the AS number to reset all neighbors belonging to that AS. If
used without a qualifier, the keyword resets all neighbors belonging
to that AS. The range is 0 to 65535 (2-byte), 1 to 4294967295 (4-byte), or
0.1 to 65535.65535 (dotted format).
ip-address
Enter an IP address in dotted decimal format to reset all prefixes from
that neighbor.
dampening (OPTIONAL) Enter the keyword dampening to reset route flap
dampening information on that neighbor.
flap-statistics (OPTIONAL) Enter the keyword flap-statistics to reset the
flap statistics on all prefixes from that neighbor.
ipv4 (OPTIONAL) Enter the keyword ipv4 to select options for that
address family.
ipv6 (OPTIONAL) Enter the keyword ipv6 to select options for that
address family.
soft (OPTIONAL) Enter the keyword soft to configure and activate
policies without resetting the BGP TCP session, that is, BGP Soft
Reconfiguration.
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.
peer-group
peer-
group-name
(OPTIONAL) Enter the keyword peer-group followed by the peer
group name to reset the BGP sessions within that peer group.
271