This chapter describes the Cisco NX-OS Layer 3 interfaces commands that begin with R.
To set the virtual routing and forwarding (VRF) scope for all EXEC commands, use the routing-context vrf command. To return to the default setting, use the no form of this command.
routing-context vrf vrf-name
no routing-context vrf vrf-name
vrf-name |
Name of the VRF instance. The name can be any case-sensitive, alphanumeric string up to 32 characters. |
default VRF
EXEC mode
|
|
---|---|
5.0(3)N1(1) |
This command was introduced. |
Use the routing-context vrf command to set the VRF scope for all EXEC commands (for example, show commands). This feature automatically restricts the scope of the output of EXEC commands to the configured VRF. You can override this scope by using the VRF keywords available for some EXEC commands.
This example shows how to limit EXEC commands to the management VRF:
switch# routing-context vrf management
switch%management#
|
|
---|---|
show routing-context |
Displays the current routing context. |