CLI Guide
Version Description
8.3.19.0 Introduced on the S4820T.
8.3.11.1 Introduced on the Z9000.
8.3.7.0 Introduced on the S4810.
7.8.1.0 Introduced on the S-Series.
7.7.1.0 Introduced on the C-Series.
Usage Information
Peering sessions are reset when you change the router ID of a BGP router.
This command automatically restarts the BGP instance for the configuration to
take effect.
clear ip bgp
Reset BGP sessions. The soft parameter (BGP Soft Reconfiguration) clears the policies without resetting
the TCP connection.
Syntax
clear ip bgp [vrf vrf-name] [* | <1–4294967295> | <0.1–
65535.65535> | A.B.C.D {soft {in | out}} | X:X:X:X::X {soft {in
| out}} | dampening | flap-statistics | ipv4 | ipv6 | peer-
group]
Parameters
* Enter an asterisk ( * ) to reset all BGP sessions.
<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.
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.
372
Border Gateway Protocol










