The documentation set for this product strives to use bias-free language. For the purposes of this documentation set, bias-free is defined as language that does not imply discrimination based on age, disability, gender, racial identity, ethnic identity, sexual orientation, socioeconomic status, and intersectionality. Exceptions may be present in the documentation due to language that is hardcoded in the user interfaces of the product software, language used based on RFP documentation, or language that is used by a referenced third-party product. Learn more about how Cisco is using Inclusive Language.
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. |