CLI Guide
no-advertise
Enter the keywords no-advertise to view all routes containing the well-known
community attribute of NO_ADVERTISE.
All routes with the NO_ADVERTISE (0xFFFFFF02) community attribute must not be
advertised to other BGP peers.
no-export
Enter the keywords no-export to view all routes containing the well-known community
attribute of NO_EXPORT.
All routes with the NO_EXPORT (0xFFFFFF01) community attribute must not be
advertised outside a BGP confederation boundary.
Command Modes
• EXEC
• EXEC Privilege
Supported Modes Full–Switch
Command History
Version Description
9.9(0.0) Introduced on the FN IOM.
9.2(0.0) Introduced on the MXL 10/40GbE Switch IO Module.
Usage Information
To view the total number of COMMUNITY attributes found, use the show ip bgp summary command. The
text line above the route table states the number of COMMUNITY attributes found.
The show ip bgp community command without any parameters lists BGP routes with at least one BGP
community attribute and the output is the same as for the
show ip bgp command output.
The following describes the show ip bgp community command shown in the following example.
Field Description
Network Displays the destination network prex 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
BGP table version is 3762622, local router ID is 63.114.8.48
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
Network Next Hop Metric LocPrf Weight Path
* i 3.0.0.0/8 205.171.0.16 100 0 209 701 80 i
*>i 4.2.49.12/30 205.171.0.16 100 0 209 i
* i 4.21.132.0/23 205.171.0.16 100 0 209 6461 16422 i
*>i 4.24.118.16/3 205.171.0.16 100 0 209 i
Border Gateway Protocol IPv4 (BGPv4) 337