EESky
asked on
Command “vrf context management” in Nexus 5000
Expert
I have the question. What is the function of command “vrf context management” in Nexus 5000 ? The command can be used for interface management ip address, and it can be used like this”
N5k-1(config)#int mgmt 0
N5k-1(config-if)#ip address 172.116.1.10/24
N5k-1(config-if)#vrf context management
N5k-1(config-vrf)#ip route 0.0.0.0 0.0.0.0 172.116.1.1
I cannot understand why it is added under interface management. What is difference between the vrf in Nexus and vrf in MPLS ?
Thank you
I have the question. What is the function of command “vrf context management” in Nexus 5000 ? The command can be used for interface management ip address, and it can be used like this”
N5k-1(config)#int mgmt 0
N5k-1(config-if)#ip address 172.116.1.10/24
N5k-1(config-if)#vrf context management
N5k-1(config-vrf)#ip route 0.0.0.0 0.0.0.0 172.116.1.1
I cannot understand why it is added under interface management. What is difference between the vrf in Nexus and vrf in MPLS ?
Thank you
ASKER
Thank you for your reply!
The command "vrf context management" is creating a vrf. In here, what does "context" mean ? it is a vrf or something else ? it should not be a VDC ? One VDC can have several vrf, right ?
The command "vrf context management" is creating a vrf. In here, what does "context" mean ? it is a vrf or something else ? it should not be a VDC ? One VDC can have several vrf, right ?
Not exactly. In this situation, you are changing to the configuration mode for the management vrf. You don't create the management vrf since it was pre-existing. In fact, you can't delete the management vrf.
The "context" is simply a required keyword.
And yes, you have... 16,000 (IIRC) vrf's in a VDC.
The "context" is simply a required keyword.
And yes, you have... 16,000 (IIRC) vrf's in a VDC.
ASKER
N5k-1(config)#int mgmt 0
N5k-1(config-if)#ip address 172.116.1.10/24
N5k-1(config-if)#vrf context management
N5k-1(config-vrf)#ip route 0.0.0.0 0.0.0.0 172.116.1.1
Can i say that all of the commands are for using management interface ? If so, i would be able to login to the Nexus through the management interface and make any configuration in the whole Nexus, right ?
Yes and yes.
ASKER
Thank you !
With "the default route would exist in the default context." does it mean the default context would exist in the default context and could not go out ?
Usually Cisco devices need to be configured with management interface, which are two commands: #int management and #ip address x.x.x.x. What made the difference of management interface configuration between Nexus and others? If we configure management interface in Nexus like general Cisco router and switch, can it work well ? Thank you.
Had you not issued the "vrf context management" command first, the default route would exist in the default context.
With "the default route would exist in the default context." does it mean the default context would exist in the default context and could not go out ?
Usually Cisco devices need to be configured with management interface, which are two commands: #int management and #ip address x.x.x.x. What made the difference of management interface configuration between Nexus and others? If we configure management interface in Nexus like general Cisco router and switch, can it work well ? Thank you.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Excellent! You are really an expert. Thank you !