Cisco Support Community
Showing results for 
Search instead for 
Did you mean: 

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. If you'd prefer to explore, try our test area to get started. And see here for current known issues.

New Member

How to verify communities since and from peers?

Hello folks, I have this typical scenario:




The PE-CE protocol of choice is BGP, and the customer wants to add whatever community to prefixes as they want without the intervention of the provider. I setup the send-community both VPNv4 statement in the PE routers, but I have not found a good command can help me verify the community added by CEs to prefixes.

Using the command in PE2:

show ip bgp vpnv4 all <prefix> , show the regular community using by the RT, but not the added by the CE with additive statement.

PE1#sh ip bgp vpnv4 all

BGP routing table entry for 22364:21300:, version 44605017

Paths: (1 available, best #1, table VRF1)

Advertised to update-groups:

     1         2         596


   CE2 from CE2 (

     Origin incomplete, metric 0, localpref 100, valid, external, best

     Community: 200 14549214

     Extended Community: RT:22364:21300

     mpls labels in/out 918/nolabel

What command can show me the total of the extend communities?

Also how can I change the peer: (CE2) from the point of view of this command to P peer?

Thanks in advanced

  • MPLS
Everyone's tags (5)
Hall of Fame Super Silver

Re: How to verify communities since and from peers?

Hello Mbonilla,

PE-CE protocol is EBGP but it is a standard session so the CE can only add standard BGP communities

Community: 200 14549214

     Extended Community: RT:22364:21300

the second line refers to RT extended community the first line refers to standard community.

It is likely that the community was set by CE router I see that the value is expressed in the default format.

In order to see more readable community ( like ASN:value)  values you need the command

config t

ip bgp-community new-format


after this the router will show communities values like 65000:2345, instead of a 32 bit unsigned integer that we poor human beings cannot understand!

Hope to help