cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2109
Views
0
Helpful
4
Replies
Highlighted
Beginner

Tracking BGP vpnv4 extended community

Hi,

i'm looking for away to track down extcommunities which are used under specific BGP vpnv4 VRF routes,

for example - using the command: show ip bgp vpnv4 vrf TEST 10.168.137.0/24 give me the following output:

BGP routing table entry for 10:1901:10.168.137.0/24, version 1335323

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

  Not advertised to any peer

  Local, imported path from 11:2051:10.168.137.0/24

    10.0.0.4 (metric 20) from 10.0.0.1 (10.0.0.1)

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

      Extended Community: RT:12:2051 RT:1515:1515 RT:2123:65001

      Originator: 10.0.0.4, Cluster list: 10.0.0.1

      mpls labels in/out nolabel/165

here i can see the extcommunities which are attached to the following route.

my question is if there is command or way to see the attched communities for all routes in this VRF?

Thanks in advance.

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted

Hello Tal,

try with

show ip vrf detail

it should provide detailed info for all configured VRFs on the node

Hope to help

Giuseppe

View solution in original post

4 REPLIES 4
Highlighted
Hall of Fame Master

Hello Talmadari,

with

show ip vrf TEST detail

you can verify what are the route target value(s) that will cause a successful import in VRF IPv4 routing table of a vpnv4 prefix.

Be aware that it is enough that only one RT matches in order to import the route.

A possible attempt could be

show ip bgp vpnv4 vrf TEST

I may be wrong but I don't think the command provides the desired info

see MPLS command reference

http://www.cisco.com/en/US/docs/ios-xml/ios/mpls/command/mp-s1.html#GUID-6D47C40E-95D0-49E2-A1A9-7BCBC3E9A13A

Hope to help

Giuseppe

Highlighted

Hi Giuseppe,

thanks for your replay while i'm familier with these commands, what i'm looking for is to get the same result of the command: show ip vrf TEST detail  but for all VRF's and not for specific one.

Thanks,

Tal

Highlighted

Hello Tal,

try with

show ip vrf detail

it should provide detailed info for all configured VRFs on the node

Hope to help

Giuseppe

View solution in original post

Highlighted

Great!

Thanks Giuseppe, that's exactly the command that i was looking for, silly of me missing that....

Thanks and regards,

Tal

Content for Community-Ad