436
Cisco Nexus 3548 Switch NX-OS Unicast Routing Command Reference
OL-27852-01
Chapter Unicast Routing Show Commands
show ip bgp community
show ip bgp community
To display Border Gateway Protocol (BGP) routes that match a community list, use the show ip bgp
community command.
show ip bgp community {community-number] [{internet | no-advertise | no-export |
no-export-subconfed}} [vrf {vrf-name | all}]
Syntax Description
Command Default None
Command Modes Any command mode
Command History
Usage Guidelines This command requires the LAN Enterprise Services license.
Examples This example shows how to display the routes that are part of the 201 BGP community:
switch# show ip bgp community 201
This example shows how to display the routes that are part of the no-advertise BGP community and all
VRF:
switch# show ip bgp community no-advertise
community-number Community number. Valid value is a community number in the range from
1 to 4294967200, or AA:NN (autonomous system-community
number/2-byte number).
internet Displays routes that are part of the well-known community internet
community.
no-advertise Displays routes that are not advertise to any peer (internal or external).
no-export Displays routes with this community that are advertised to only peers in the
same autonomous system or to only other subautonomous systems within a
confederation.
no-export-subconfed Displays routes that are part of the well-known community
no-export-subconfed.
vrf vrf-name (Optional) Specifies the virtual routing and forwarding (VRF) instance. The
name can be any case-sensitive, alphanumeric string up to 32 characters.
all (Optional) Specifies the reserved all VRF.
Release Modification
5.0(3)A1(1) This command was introduced.