Connectivity Guide

Parameters
* — Enter to clear all BGP sessions.
vrf vrf-name — (OPTIONAL) Enter the vrf then the name of the VRF to clear BGP session information
corresponding to that VRF.
ipv4 unicast — Enter to clear IPv4 unicast conguration.
ipv6 unicast — Enter to clear IPv6 unicast conguration.
soft — (Optional) Enter to congure and activate policies without resetting the BGP TCP session — BGP
soft reconguration.
in — (Optional) Enter to activate only ingress (inbound) policies.
out — (Optional) Enter to activate only egress (outbound) policies.
Default Not congured
Command Mode EXEC
Usage Information None.
Example
OS10# clear ip bgp * ipv6 unicast
Supported Releases 10.3.0E or later
clear ip bgp dampening
Clears the path information of the dampened and undampened prexes.
Syntax
clear ip bgp dampening [vrf vrf-name] [ipv4–prefix | ipv6–prefix]
Parameters
vrf vrf-name — (OPTIONAL) Enter vrf then the name of the VRF to clear dampened paths information.
ipv4–prefix — (Optional) Enter an IPv4 prex of the dampened path.
ipv6–prefix — (Optional) Enter an IPv6 prex of the dampened path.
Default Not congured
Command Mode EXEC
Usage Information None
Example
OS10# clear ip bgp dampening 1.1.15.5
Supported Releases 10.3.0E or later
clear ip bgp ap-statistics
Clears all or specic IPv4 or IPv6 ap counts of prexes.
Syntax
clear ip bgp [vrf vrf-name] [ipv4–address | ipv6–address] flap-statistics
[ipv4–prefix | ipv6–prefix]
Parameters
vrf vrf-name — (OPTIONAL) Enter vrf then the name of the VRF to clear ap statistics information.
ipv4–address — (Optional) Enter an IPv4 address to clear the ap counts of the prexes learned from the
given peer.
ipv6–address — (Optional) Enter an IPv6 address to clear the ap counts.
ipv4–prefix — (Optional) Enter an IPv4 prex to clear the ap counts of the given prex.
466 Layer 3