Reference Guide

Table Of Contents
Command Mode EXEC
Usage
Information
To reset BGP IPv4 or IPv6 neighbor sessions, use this command.
Example
OS10# clear ip bgp 1.1.15.4
Supported
Releases
10.3.0E or later
clear ip bgp *
Resets BGP sessions. The soft parameter (BGP soft reconfiguration) clears policies without resetting the TCP connection.
Syntax
clear ip bgp * [vrf vrf-name] [ipv4 unicast | ipv6 unicast | soft [in |
out]]
Parameters
* Enter to clear all BGP sessions.
vrf vrf-name (OPTIONAL) Enter the keyword vrf followed by the name of the VRF to clear
BGP session information corresponding to that VRF.
ipv4 unicast Enter to clear IPv4 unicast configuration.
ipv6 unicast Enter to clear IPv6 unicast configuration.
soft (Optional) Enter to configure and activate policies without resetting the BGP TCP session
BGP soft reconfiguration.
in (Optional) Enter to activate only ingress (inbound) policies.
out (Optional) Enter to activate only egress (outbound) policies.
Default Not configured
Command Mode EXEC
Usage
Information
Use this command to reset BGP sessions.
Example
OS10# clear ip bgp * ipv6 unicast
Supported
Releases
10.3.0E or later
clear ip bgp dampening
Clears the dampened paths information of the given prefix and undampened prefixes.
Syntax
clear ip bgp dampening [vrf vrf-name] [ipv4prefix | ipv6prefix]
Parameters
vrf vrf-name (OPTIONAL) Enter the keyword vrf followed by the name of the VRF to clear
dampened paths information corresponding to that VRF.
ipv4prefix (Optional) Enter an IPv4 prefix of the dampened path.
ipv6prefix (Optional) Enter an IPv6 prefix of the dampened path.
Default Not configured
Command Mode EXEC
Usage
Information
None
Example
OS10# clear ip bgp dampening 1.1.15.5
Supported
Releases
10.3.0E or later
312 Layer 3