Administrator Guide

clear ip bgp * (asterisk)
Reset all BGP sessions in the specified category. The soft parameter (BGP Soft Reconfiguration) clears the policies without resetting the
TCP connection.
C9000 Series
Syntax
clear ip bgp * [ipv4 multicast soft [in | out] | ipv6 unicast soft [in | out] |
soft [in | out]]
Parameters
* Enter an asterisk ( * ) to reset all BGP sessions.
ipv4 multicast soft
[in | out]
(OPTIONAL) This keyword sequence sets options within the a specified IPv4 address
family.
ipv6 unicast soft
[in | out]
(OPTIONAL) This keyword sequence sets options within the a specified IPv6 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 clear ip bgp ip6-address soft, 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
Command History
Version Description
9.9(0.0) Introduced on the C9010.
9.2(1.0) Introduced on the Z9500.
8.2.1.0 Introduced on the E-Series ExaScale.
7.4.1.0 Introduced
clear ip bgp as-number
Reset BGP sessions. The soft parameter (BGP Soft Reconfiguration) clears the policies without resetting the TCP connection.
C9000 Series
Syntax
clear ip bgp as-number [flap-statistics | ipv4 {multicast {flap-statistics |
soft {in | out}} | unicast {flap-statistics | soft {in | out}} | ipv6 unicast
{flap-statistics | soft {in | out}| soft [in | out]
Parameters
as-number
Enter an autonomous system (AS) number to reset neighbors belonging to that AS. If
used without a qualifier, the keyword resets all neighbors belonging to that AS. The range
is 1 to 65535.
flap-statistics (OPTIONAL) Enter the keywords flap-statistics to clear all flap statistics
belonging to that AS or a specified address family within that AS.
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.
unicast (OPTIONAL) Enter the keyword unicast to select the unicast option within the
selected address family.
multicast (OPTIONAL) Enter the keyword multicast to select the multicast option within the
selected address family. Multicast is supported on IPv4 only.
436 Border Gateway Protocol