Deployment Guide

Border Gateway Protocol IPv4 (BGPv4) | 349
clear ip bgp peer-group
c
Reset a peer-group’s BGP sessions.
Syntax
clear ip bgp [vrf vrf-name] peer-group peer-group-name
Parameters
Defaults
None
Command Modes
EXEC Privilege
Command
History
clear ip bgp ipv4 unicast soft
c e s
Clear and reapply policies for IPv4 routes without resetting the TCP connection; that is, perform BGP
soft reconfiguration.
Syntax
clear ip bgp {* | as-number | ipv4-neighbor-addr | ipv6-neighbor-addr | peer-group name}
[ipv4 unicast] soft [in | out]
Parameters
Command Modes
EXEC Privilege
Note: This command is supported only on the C-Series.
vrf vrf-name
(OPTIONAL) Enter the keyword vrf and then the name of the VRF to reset the peer
group corresponding to that VRF.
Note: NOTE: You can use this attribute on a specific VRF to remove history
routes corresponding to that VRF. You can also use this attribute to return the
suppressed routes corresponding to a specific VRF to an active state.
ip-address mask
(OPTIONAL) Enter an IP address in dotted decimal format and the prefix mask in
slash format (/x) to reset only that prefix.
peer-group-name
Enter the peer group name to reset the BGP sessions within that peer group.
Version 8.4.7.0 Introduced support on C-Series.
Note: Starting in the C-Series release 8.4.7.0, this command is no longer supported.
*
Clear and reapply policies for all BGP sessions.
as-number Clear and reapply policies for all neighbors belonging to the AS.
Range: 0-65535 (2-Byte)
or
1-4294967295 (4-Byte)
or
0.1-65535.65535 (Dotted format)
ipv4-neighbor-addr |
ipv6-neighbor-addr
Clear and reapply policies for a neighbor.
peer-group name
Clear and reapply policies for all BGP routers in the specified peer group.
ipv4 unicast
Clear and reapply policies for all IPv4 unicast routes.
in Reapply only inbound policies. Note: If you enter soft, without an in or
out option, both inbound and outbound policies are reset.
out Reapply only outbound policies. Note: If you enter soft, without an in or
out option, both inbound and outbound policies are reset.