cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Announcements
Join Customer Connection to register!
256
Views
0
Helpful
2
Replies
Highlighted
Beginner

VRF Static Route

Hi there,

Can someone explain the difference between the following commands:

1. ip route 10.0.0.0/24 10.1.1.1 vrf TEST-vrf1

2. vrf context TEST-vrf1

ip route 10.0.0.0/24 10.1.1.1


Thanks.

Frank

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
VIP Mentor

Hi

They are basically the same thing. Using the static route within vrf context you can have a static route with a next hop associated to another vrf if you go into vrf context and type in ip route x.x.x.x/x x.x.x.x vrf xxxx (leaking).


Thanks
Francesco
PS: Please don't forget to rate and select as validated answer if this answered your question

View solution in original post

2 REPLIES 2
Highlighted
VIP Mentor

Hi

They are basically the same thing. Using the static route within vrf context you can have a static route with a next hop associated to another vrf if you go into vrf context and type in ip route x.x.x.x/x x.x.x.x vrf xxxx (leaking).


Thanks
Francesco
PS: Please don't forget to rate and select as validated answer if this answered your question

View solution in original post

Highlighted

Francesco,
Thank you for the clarification.
Frank