Send document comments to nexus7k-docfeedback@cisco.com.
10-18
Cisco Nexus 7000 Series NX-OS Unicast Routing Configuration Guide, Release 4.x
OL-20002-02
Chapter 10 Configuring Basic BGP
Configuring Basic BGP
Clearing BGP Information
To clear BGP information, use the following commands:
Command Purpose
clear bgp all {neighbor | * | as-number |
peer-template name | prefix} [vrf vrf-name]
Clears one or more neighbors from all address
families. * clears all neighbors in all address
families. The arguments are as follows:
• neighbor—IPv4 or IPv6 address of a
neighbor.
• as-number— Autonomous system number.
The AS number can be a 16-bit integer or a
32-bit integer in the form of higher 16-bit
decimal number and a lower 16-bit decimal
number in xx.xx format.
• name—Peer template name. The name can be
any case-sensitive alphanumeric string up to
64 characters.
• prefix—IPv4 or IPv6 prefix. All neighbors
within that prefix are cleared.
• vrf-name—VRF name. All neighbors in that
VRF are cleared. The name can be any
case-sensitive alphanumeric string up to 64
characters.
clear bgp all dampening [vrf vrf-name] Clears route flap dampening networks in all
address families. The vrf-name can be any
case-sensitive alphanumeric string up to 64
characters.
clear bgp all flap-statistics [vrf vrf-name] Clears route flap statistics in all address families.
The vrf-name can be any case-sensitive
alphanumeric string up to 64 characters.
clear bgp {ip | ipv6} {unicast | multicast}
dampening [vrf vrf-name]
Clears route flap dampening networks in the
selected address family. The vrf-name can be any
case-sensitive alphanumeric string up to 64
characters.
clear bgp {ip | ipv6} {unicast | multicast}
flap-statistics [vrf vrf-name]
Clears route flap statistics in the selected address
family. The vrf-name can be any case-sensitive
alphanumeric string up to 64 characters.