Tuesday, January 31, 2017

NXOS howto change between routing vrf contexts

In NXOS,  and within  switches that have tons of interfaces that are spread across multiple VRF, it's  sometime easier to just  use the  routing-context command when issuing commands for showing certain items in that VRF.



Take a look at these 3 VRF and the  output of the command show ip interface brief



To get back to the default vrf just execute the command and specify default

e.g

routing-context  vrf  default 


Here's another example of command execution in  the VRF management.







To determine in what context  your in, you just look at the cli %<VRF_NAME>#



Ken Felix

NSE ( network security expert) and Route/Switching Engineer
kfelix  -----a----t---- socpuppets ---dot---com
     ^      ^
=(  @  @ )=
         o 
        /  \
  

No comments:

Post a Comment