API Guide

Parameters
vrf vrf-name (OPTIONAL) Enter vrf then the name of the VRF to clear IPv4 or IPv6 BGP
neighbor sessions corresponding to that VRF.
IPv4address Enter an IPv4 address to clear a BGP neighbor configuration.
IPv6address Enter an IPv6 address to clear a BGP neighbor configuration.
* Clears all BGP sessions.
soft Configures and activates policies without resetting the BGP TCP session.
Default Not configured
Command Mode EXEC
Usage
Information
None.
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 * [soft [in | out]]
Parameters
* Enter to clear all BGP sessions.
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
None.
Example
OS10# clear ip bgp *
Supported
Releases
10.3.0E or later
clear ip bgp dampening
Clears the path information of the dampened and undampened prefixes.
Syntax
clear ip bgp dampening [vrf vrf-name] [ipv4prefix | ipv6prefix]
Parameters
vrf vrf-name (OPTIONAL) Enter vrf then the name of the VRF to clear dampened paths
information.
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
622 Layer 3