show ip bgp community-list
View routes that a specific community list affects.
Syntax
show ip bgp [ipv4 unicast] community-list community-list-name
[exact-match]
Parameters
ipv4 unicast (OPTIONAL) Enter the keywords ipv4 unicast to view
information only related to ipv4 unicast routes.
community-
list-name
Enter the name of a configured IP community list (maximum
140 characters).
exact-match Enter the keyword for an exact match of the communities.
Command
Modes
• EXEC
• EXEC Privilege
Command
History
Version 9.2(0.0) Introduced on the MXL 10/40GbE Switch IO Module.
Usage
Information
The show ip bgp community-list command without any parameters lists BGP
routes matching the Community List and the output is the same as for the
show
ip bgp command output.
The following describes the show ip bgp community-list pass command
shown in the following example.
Field Description
Network Displays the destination network prefix of each BGP route.
Next Hop Displays the next hop address of the BGP router. If 0.0.0.0 is
listed in this column, then local routes exist in the routing
table.
Metric Displays the BGP route’s metric, if assigned.
LocPrf Displays the BGP LOCAL_PREF attribute for the route.
Weight Displays the route’s weight.
Path Lists all the ASs the route passed through to reach the
destination network.
Example
Dell#show ip bgp community-list pass
BGP table version is 0, local router ID is 10.101.15.13
Status codes: s suppressed, d damped, h history, * valid, >
best
Path source: I - internal, a - aggregate, c - confed-external,
r - redistributed, n - network
Origin codes: i - IGP, e - EGP, ? - incomplete
368
Border Gateway Protocol IPv4 (BGPv4)