02-04-2014 02:30 PM - edited 03-07-2019 06:00 PM
I have a pair of nexus 7009s that are my core switches I just added an additional VRF to them so that I can segment a couple VLANs. I have it working fine, I was just confused about one of the commands, perhaps someone can enlighten me. At first, I couldn't get static routes working.
Having only used IOS before for VRFs, I used this command (which is similar to the IOS command)
ip route 0.0.0.0 0.0.0.0 172.28.0.5 vrf SecureServer
When that didn't work, I found the following which does work
vrf context SecureServers
ip route 0.0.0.0/0 172.28.0.5
Can someone explain to me why the first is there and what does it do? I looked it up in the command reference, which doesn't list "vrf" as an option to the "ip route" command.
02-04-2014 07:51 PM
Nexus OS is different from the traditional IOS you are used to. With Nexus, you enter the vrf and than configure the IP route etc... you need. It is the same for mgmt interface. The context is called management
vrf context management
ip route x.x.x.x
HTH
02-04-2014 08:55 PM
Yes I know. So what does the first command do?
02-05-2014 01:33 AM
Hello ncowger ,
I am planning to have similar change recently on our DC Nexus switches (7K as well ) , my plan was to use the command
ip route 0.0.0.0 0.0.0.0 172.28.0.5 vrf SecureServer
so it's like message for me not to use it
what IOS are using ? and have you experienced any issue with NX regarding VRF's ?
02-05-2014 08:07 AM
We are currently on 6.1 (3) we haven't seen any issues using VRFs though I've just done a little bit of testing. I would say it works as expected.
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