MPLS - Finding a subnet in a jungle of VRF's

Static, RIP, EIGRP, OSPF, BGP, IBGP, IS-IS and any other routing.
Guest

MPLS - Finding a subnet in a jungle of VRF's

Post by Guest » Sun Dec 26, 2010 4:03 am


How can I keep track off in which VRF a certain subnet can be found.For ex. I need trace the 172.16.1.0.

Guest

Re:MPLS - Finding a subnet in a jungle of VRF's

Post by Guest » Sun Dec 26, 2010 4:21 am


Try using the following command:- sh ip bgp vpnv4 all x.x.x.xHere's an example:PE2#sh ip bgp vpnv4 all 20.20.20.7BGP routing table entry for 1:1:20.20.20.7/32, version 22Paths: (1 available, best #1, table v1) <--- v1 is the name of my vrf  Advertised to update-groups:     1           Local    20.0.2.7 from 0.0.0.0 (10.10.10.5)      Origin incomplete, metric 1, localpref 100, weight 32768, valid, sourced, best      Extended Community: RT:1:1,      mpls labels in/out 24/nolabelPE2#PE2#sh ip route vrf v1 20.20.20.7 Routing entry for 20.20.20.7/32  Known via "rip", distance 120, metric 1  Redistributing via rip, bgp 1  Advertised by bgp 1  Last update from 20.0.2.7 on Ethernet3/0, 00:00:01 ago  Routing Descriptor Blocks:  * 20.0.2.7, from 20.0.2.7, 00:00:01 ago, via Ethernet3/0      Route metric is 1, traffic share count is 1PE2#As you can see the route is in vrf v1 as seen in the first command output.HTH

Guest

Re:MPLS - Finding a subnet in a jungle of VRF's

Post by Guest » Sun Dec 26, 2010 4:22 am


I testet your tip and it worked fine, thank you.

Post Reply