Dell Command Line Reference Guide for the S4048–ON System 9.14.2.8

PDF

show ip bgp community

View information on all routes with Community attributes or view specific BGP community groups.

Syntax
show ip bgp [vrf vrf-name] [ipv4 {multicast | unicast} | ipv6 unicast] community [community-number] [local-as] [no-export] [no-advertise]
Parameters
vrf vrf-name
(OPTIONAL) Enter the keywords vrf and then the name of the VRF to view information either on all routes with community attributes or specific BGP community routes corresponding to that VRF.
ipv4 unicast
(OPTIONAL) Enter the keywords ipv4 followed by the keyword unicast to view information related only to ipv4 unicast routes.
ipv4 multicast
(OPTIONAL) Enter the keyword ipv4 followed by the keyword multicast to view information related only to ipv4 multicast routes.
ipv6 unicast
(OPTIONAL) Enter the keyword ipv6 followed by the keyword unicast to view information related only to ipv6 unicast routes.
community-number

Enter the community number in AA:NN format where AA is the AS number (2 bytes) and NN is a value specific to that autonomous system.

You can specify up to eight community numbers to view information on those community groups.

local-AS

Enter the keywords local-AS to view all routes with the COMMUNITY attribute of NO_EXPORT_SUBCONFED.

All routes with the NO_EXPORT_SUBCONFED (0xFFFFFF03) community attribute must not be advertised to external BGP peers.

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
Command History

This guide is platform-specific. For command information about other platforms, see the relevant Dell EMC Networking OS Command Line Reference Guide.

Version
Description
9.10(0.1)
Introduced on the S6010-ON and S4048T-ON.
9.10(0.0)
Introduced on the S3148.
9.10(0.0)
Introduced on the S6100-ON.
9.8(2.0)
Introduced on the S3100 series.
9.8(1.0)
Introduced on the Z9100–ON.
9.8(0.0P5)
Introduced on the S4048-ON.
9.8(0.0P2)
Introduced on the S3048-ON.
9.7(0.0)
Added the ipv4 multicast and ipv6 unicast parameters.
9.4.(0.0)
Added support for VRF.
9.2(1.0)
Introduced on the Z9500.
9.0.2.0
Introduced on the S6000.
8.3.19.0
Introduced on the S4820T.
8.3.11.1
Introduced on the Z9000.
8.3.7.0
Introduced on the S4810.
7.8.1.0
Introduced on the S-Series.
7.7.1.0
Introduced on the C-Series.
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 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
DellEMC# show ip bgp community ?
local-AS                Do not export outside local AS (well-known community)
no-advertise            Do not advertise to any peer (well-known community)
no-export               Do not export to next AS (well-known community)
aa:nn                   Community number in aa:nn format
|                       Pipe through a command

DellEMC# show ip bgp community
BGP local RIB : Routes to be Added 0, Replaced 0, Withdrawn 0
BGP local router ID is 192.168.11.5
Status codes: s suppressed, S stale, d dampened, h history, * valid, > best
Path source: I - internal, a - aggregate, c - confed-external, r - redistributed
             n - network,  D - denied,  S - stale
Origin codes: i - IGP, e - EGP, ? - incomplete

    Network            Next Hop            Metric     LocPrf Weight Path
*>  55.0.0.0/24        172.16.0.2                                 0 200 i
*>  66.0.0.0/24        172.16.0.2                                 0 200 i

DellEMC# show ip bgp community no-advertise
BGP local RIB : Routes to be Added 0, Replaced 0, Withdrawn 0
BGP local router ID is 192.168.11.5
Status codes: s suppressed, S stale, d dampened, h history, * valid, > best
Path source: I - internal, a - aggregate, c - confed-external, r - redistributed
             n - network,  D - denied,  S - stale
Origin codes: i - IGP, e - EGP, ? - incomplete

    Network            Next Hop            Metric     LocPrf Weight Path
*>  66.0.0.0/24        172.16.0.2                                 0 200 i
DellEMC#

Rate this content

Accurate
Useful
Easy to understand
Was this article helpful?
0/3000 characters
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please select whether the article was helpful or not.
  Comments cannot contain these special characters: <>()\