Cisco Nexus 6000 Series NX-OS Unicast Routing Command Reference
R Commands
Downloads: This chapterpdf (PDF - 76.0 KB) The complete bookPDF (PDF - 4.5 MB) | Feedback

R Commands

Table Of Contents

R Commands

routing-context vrf

R Commands

This chapter describes the Cisco NX-OS Layer 3 interfaces commands that begin with R.

routing-context vrf

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

Syntax Description


Name of the VRF instance. The name can be any case-sensitive, alphanumeric string up to 32 characters.

Command Default

default VRF

Command Modes

EXEC mode

Command History



This command was introduced.

Usage Guidelines

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

Related Commands


show routing-context

Displays the current routing context.