Dell Command Line Reference Guide for the S4048–ON System 9.14.2.8

PDF

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
vrf vrf-name
Enter the keyword vrf and then the name of the VRF to clear all BGP sessions corresponding to that VRF.
NOTE: Use this attribute to clear a BGP instance corresponding to either a specific address family in a default VRF or an IPv4 address family in a a non-default VRF.
*
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.
NOTE: You must execute the clear ip bgp soft out command when ever there is a change in the local policy. If you do not run this command after a local policy change, then these policy changes are not reflected in the responses to the peer’s route refresh messages.
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, see the relevant Dell EMC Networking OS Command Line Reference Guide.

Version
Description
9.10(0.1)
Introduced on the S6010-ON and S4048T-ON.
9.10(0.0)
Introduced on the S3148.
9.10(0.0)
Introduced on the S6100-ON.
9.8(2.0)
Introduced on the S3100 series.
9.8(1.0)
Introduced on the Z9100–ON.
9.8(0.0P5)
Introduced on the S4048-ON.
9.8(0.0P2)
Introduced on the S3048-ON.
9.7(0.0)
Introduced on the S6000–ON.
9.4.(0.0)
Added support for VRF.
9.2(1.0)
Introduced on the Z9500.
9.0.2.0
Introduced on the S6000.
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.
6.5.1.0
Expanded to include the as-number option.
Related Commands

Rate this content

Accurate
Useful
Easy to understand
Was this article helpful?
0/3000 characters
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please select whether the article was helpful or not.
  Comments cannot contain these special characters: <>()\