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.
Solved! Go to Solution.
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
Hope to help
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 Giuseppe, that's exactly the command that i was looking for, silly of me missing that....
Thanks and regards,