09-19-2023 05:27 AM
Route Leaking issues between VRFs
Solved! Go to Solution.
09-19-2023 05:58 AM
Router ID must config manually.
Add router ID then check leaking route
09-19-2023 06:09 AM - last edited on 09-19-2023 10:23 AM by Translator
Hi @palani2010 ,
What IOS version are you using? I cut and pasted your configuration in 15.9(3)M4 and it works.
Router#sh ip route vrf TEST_A
Routing Table: TEST_A
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
a - application route
+ - replicated route, % - next hop override, p - overrides from PfR
Gateway of last resort is not set
192.168.10.0/24 is variably subnetted, 2 subnets, 2 masks
C 192.168.10.0/24 is directly connected, Loopback10
L 192.168.10.1/32 is directly connected, Loopback10
192.168.20.0/24 is variably subnetted, 2 subnets, 2 masks
B 192.168.20.0/24 is directly connected, 00:03:33, Loopback20
L 192.168.20.1/32 is directly connected, Loopback20
Router#sh ip route vrf TEST_B
Routing Table: TEST_B
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
a - application route
+ - replicated route, % - next hop override, p - overrides from PfR
Gateway of last resort is not set
192.168.10.0/24 is variably subnetted, 2 subnets, 2 masks
B 192.168.10.0/24 is directly connected, 00:03:40, Loopback10
L 192.168.10.1/32 is directly connected, Loopback10
192.168.20.0/24 is variably subnetted, 2 subnets, 2 masks
C 192.168.20.0/24 is directly connected, Loopback20
L 192.168.20.1/32 is directly connected, Loopback20
Router#
Regards,
09-19-2023 06:19 AM - last edited on 09-19-2023 10:23 AM by Translator
Hi @MHM Cisco World ,
In the test I just ran, it gives me the error message that the RID is not configured, but leaking still works despite of that message:
Router(config-router)#!
*Sep 19 12:54:41.826: %BGP-4-NORTRID: BGP could not pick a router-id. Please configure manually.
Regards,
09-19-2023 05:44 AM
Hello
What issue are you experiencing?
09-19-2023 05:48 AM - last edited on 09-19-2023 10:21 AM by Translator
Route leaking between VRFs are not working.
ROUTE_LEAKING>sh ip route vrf TEST_B
Routing Table: TEST_B
Codes: 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
Gateway of last resort is not set
C 192.168.20.0/24 is directly connected, Loopback20
ROUTE_LEAKING>sh ip route vrf TEST_A
Routing Table: TEST_A
Codes: 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
Gateway of last resort is not set
C 192.168.10.0/24 is directly connected, Loopback10
09-19-2023 05:49 AM
Can you share config?
09-19-2023 05:51 AM - last edited on 09-19-2023 10:22 AM by Translator
Attached Configuration for your reference.
Below are output for your reference
ROUTE_LEAKING>sh ip route vrf TEST_B
Routing Table: TEST_B
Codes: 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
Gateway of last resort is not set
C 192.168.20.0/24 is directly connected, Loopback20
ROUTE_LEAKING>sh ip route vrf TEST_A
Routing Table: TEST_A
Codes: 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
Gateway of last resort is not set
C 192.168.10.0/24 is directly connected, Loopback10
09-19-2023 05:58 AM
Router ID must config manually.
Add router ID then check leaking route
09-19-2023 06:19 AM - last edited on 09-19-2023 10:23 AM by Translator
Hi @MHM Cisco World ,
In the test I just ran, it gives me the error message that the RID is not configured, but leaking still works despite of that message:
Router(config-router)#!
*Sep 19 12:54:41.826: %BGP-4-NORTRID: BGP could not pick a router-id. Please configure manually.
Regards,
09-19-2023 06:09 AM - last edited on 09-19-2023 10:23 AM by Translator
Hi @palani2010 ,
What IOS version are you using? I cut and pasted your configuration in 15.9(3)M4 and it works.
Router#sh ip route vrf TEST_A
Routing Table: TEST_A
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
a - application route
+ - replicated route, % - next hop override, p - overrides from PfR
Gateway of last resort is not set
192.168.10.0/24 is variably subnetted, 2 subnets, 2 masks
C 192.168.10.0/24 is directly connected, Loopback10
L 192.168.10.1/32 is directly connected, Loopback10
192.168.20.0/24 is variably subnetted, 2 subnets, 2 masks
B 192.168.20.0/24 is directly connected, 00:03:33, Loopback20
L 192.168.20.1/32 is directly connected, Loopback20
Router#sh ip route vrf TEST_B
Routing Table: TEST_B
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
a - application route
+ - replicated route, % - next hop override, p - overrides from PfR
Gateway of last resort is not set
192.168.10.0/24 is variably subnetted, 2 subnets, 2 masks
B 192.168.10.0/24 is directly connected, 00:03:40, Loopback10
L 192.168.10.1/32 is directly connected, Loopback10
192.168.20.0/24 is variably subnetted, 2 subnets, 2 masks
C 192.168.20.0/24 is directly connected, Loopback20
L 192.168.20.1/32 is directly connected, Loopback20
Router#
Regards,
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