Send document comments to nexus7k-docfeedback@cisco.com.
10-21
Cisco Nexus 7000 Series NX-OS Unicast Routing Configuration Guide, Release 4.x
OL-20002-02
Chapter 10      Configuring Basic BGP
Verifying Basic BGP Configuration
Verifying Basic BGP Configuration
To verify the BGP configuration, use the following commands:
clear ip mbgp dampening [ip-neighbor | 
ip-prefix] [vrf vrf-name]
Clears route flap dampeningin one or more 
networks. The arguments are as follows:
• ip-neighbor—IPv4 address of a neighbor.
• ip-prefix—IPv4. 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 ip mbgp flap-statistics [ip-neighbor | 
ip-prefix] [vrf vrf-name]
Clears route flap statistics one or more networks. 
The arguments are as follows:
• ip-neighbor—IPv4 address of a neighbor.
• ip-prefix—IPv4. 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.
Command Purpose
Command Purpose
show bgp all [summary] [vrf vrf-name] Displays the BGP information for all address 
families.
show bgp convergence [vrf vrf-name] Displays the BGP information for all address 
families.
show bgp {ip | ipv6} {unicast | multicast} 
[ip-address | ipv6-prefix] community {regexp 
expression | [community] [no-advertise] 
[no-export] [no-export-subconfed]} [vrf 
vrf-name]
Displays the BGP routes that match a BGP 
community.
show bgp [vrf vrf-name] {ip | ipv6} {unicast | 
multicast} [ip-address | ipv6-prefix] 
community-list list-name [vrf vrf-name]
Displays the BGP routes that match a BGP 
community list.
show bgp {ip | ipv6} {unicast | multicast
} 
[ip-address | ipv6-prefix] extcommunity {regexp 
expression | generic [non-transitive | transitive] 
aa4:nn [exact-match]} [vrf vrf-name]
Displays the BGP routes that match a BGP 
extended community.
show bgp {ip | ipv6} {unicast | multicast} 
[ip-address | ipv6-prefix] extcommunity-list 
list-name [exact-match]} [vrf vrf-name]
Displays the BGP routes that match a BGP 
extended community list.