07-08-2015 10:15 AM
Hello Techs,
Today I ran into some abnormal issue while using select VRF feature. I have pointed a static route with 2 different VRF's & redistributed the static routes in BGP Address-Family, when I leak the route from different VRF (import & export RT) what I see is that the VPN route in MP-BGP shows up with next-hop 0.0.0.0 (which I understood is locally sourced) & can see the same route in PE in BGP VPN address-family but not in VRF routing table, although in BGP VPN address-family table it shows best selected.
router bgp XXXX
!
address-family ipv4 vrf BOGUS
redistribute static
exit-address-family
!
ip route vrf BOGUS 10.3.0.0 255.255.0.0 Vlan601 10.226.129.92
ip route vrf BOGUS 10.120.0.0 255.255.0.0 Vlan601 10.226.129.92
ip route vrf BOGUS 192.8.0.0 255.255.0.0 Vlan601 10.226.129.92
sh bgp vpnv4 uni vrf ABC
BGP table version is 35063690, local router ID is 192.8.234.67
Status codes: s suppressed, d damped, h history, * valid, > best, i - internal,
r RIB-failure, S Stale, m multipath, b backup-path, x best-external, f RT-Filter
Origin codes: i - IGP, e - EGP, ? - incomplete
Network Next Hop Metric LocPrf Weight Path
Route Distinguisher: 65220:1018 (default for vrf ABC)
*> 10.3.0.0/16 0.0.0.0 0 1000 32768 ? ------------------------------------> From BOGUS VRF route is leaked into ABC & can see in BGP
* i 192.8.234.68 0 500 0 ?
*> 10.120.0.0/16 0.0.0.0 0 1000 32768 ?
* i 192.8.234.68 0 500 0 ?
*> 10.120.75.0/25 10.120.76.4 0 1000 32768 ?
*> 192.8.0.0/16 0.0.0.0 0 1000 32768 ?
* i 192.8.234.68 0 500 0 ?
*> 199.65.208.10/32 0.0.0.0 0 1000 32768 ?
*> 199.91.139.200/32
0.0.0.0 0 1000 32768 ?
*> 199.91.139.202/32
0.0.0.0 0 1000 32768 ?
*> 199.91.141.100/32
0.0.0.0 0 1000 32768 ?
*> 199.91.141.102/32
0.0.0.0 0 1000 32768 ?
*> 205.157.86.20/32 0.0.0.0 0 1000 32768 ?
sh ip route vrf ABC
Routing Table: ABC
Codes: L - local, C - connected, S - static, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2
i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
ia - IS-IS inter area, * - candidate default, U - per-user static route
o - ODR, P - periodic downloaded static route, H - NHRP, l - LISP
+ - replicated route, % - next hop override
Gateway of last resort is not set
---> No Route I can see for 10.3.x.x in vrf routing table although its best selected above in BGP
10.0.0.0/8 is variably subnetted, 4 subnets, 3 masks
S 10.120.75.0/25 [1/0] via 10.120.76.4, Vlan152
C 10.120.76.0/29 is directly connected, Vlan152
L 10.120.76.2/32 is directly connected, Vlan152
C 10.226.129.88/29 is directly connected, Vlan601
199.65.208.0/32 is subnetted, 1 subnets
S 199.65.208.10 [1/0] via 10.226.129.92, Vlan601
199.91.139.0/32 is subnetted, 2 subnets
S 199.91.139.200 [1/0] via 10.226.129.92, Vlan601
S 199.91.139.202 [1/0] via 10.226.129.92, Vlan601
199.91.141.0/32 is subnetted, 2 subnets
S 199.91.141.100 [1/0] via 10.226.129.92, Vlan601
S 199.91.141.102 [1/0] via 10.226.129.92, Vlan601
205.157.86.0/32 is subnetted, 1 subnets
S 205.157.86.20 [1/0] via 10.226.129.92, Vlan601
IOS Info :
"bootdisk:s2t54-advipservicesk9-mz.SPA.150-1.SY3.bin"
Same scenario is working at my other sites properly without any issues, where I see, next-hop address defined in static route for VPN's get redistributed in BGP VPN table & also in VRF routing table.
I am suspecting some bug issue but need your inputs , if you guys can help me !!
07-08-2015 04:35 PM
Hi Chandra,
This discussion has not been posted on the site as it contains public ip address information.
Can you please remove all such information and confirm it does not contain any customer sensitive information so we can get this discussion posted?
Thanks.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide