CLI Guide
clear ip bgp as-number
Reset BGP sessions. The soft parameter (BGP Soft Reconfiguration) clears the policies without resetting
the TCP connection.
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 from 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.
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 ipv6-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
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.
IPv6 Border Gateway Protocol (IPv6 BGP)
795