cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
857
Views
0
Helpful
2
Replies

VRF Static Route

FrankZ49
Level 1
Level 1

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

Francesco Molino
VIP Alumni
VIP Alumni
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

Francesco Molino
VIP Alumni
VIP Alumni
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

Francesco,
Thank you for the clarification.
Frank
Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Review Cisco Networking products for a $25 gift card