Reference Guide

clear ip bgp
Reset BGP sessions on the E-Series. The soft parameter (BGP Soft Reconfiguration) clears the policies without resetting
the TCP connection.
Z9000
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 prefixes from
that neighbor.
flap-statistics (OPTIONAL) Enter the keyword flap-statistics to reset the
flap statistics on all prefixes from that neighbor.
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.
<1-4294967295>
Enter <1-4294967295> to clear peers with the AS number.
<0.1-65535.65535>
Enter <0.1-65535.65535> to clear peers with the AS number in dot
format.
A.B.C.D Enter the BGP neighbor address in the A.B.C.D format to clear.
X:X:X:X::X Enter the BGP neighbor address in the X:X:X:X::X format to clear.
dampening Enter the keyword dampening to clear the flap dampening
information.
flap-statistics Enter the keywords flap-statistics to clear the flap statistics
information.
ipv4 Enter the ipv4 address family to clear.
ipv6 Enter the ipv6 address family to clear.
peer-group Enter the peer-group to clear all members of the peer-group.
Command Modes EXEC Privilege
Command History
This guide is platform-specific. For command information about other platforms, refer to the
relevant
FTOS Command Line Reference Guide
.
279