Setting The Vrf Scope - Cisco Nexus 3000 Series Configuration Manual

Nx-os unicast routing configuration guide, nx-os release 5.0(3)u1(1)
Hide thumbs Also See for Nexus 3000 Series:
Table of Contents

Advertisement

Verifying the VRF Configuration
S e n d d o c u m e n t c o m m e n t s t o n e x u s 3 k - d o c f e e d b a c k @ c i s c o . c o m

Setting the VRF Scope

You can set the VRF scope for all EXEC commands (for example, show commands). This 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.
To set the VRF scope, use the following command in EXEC mode:
Command
routing-context vrf vrf-name
Example:
switch# routing-context vrf red
switch%red#
To return to the default VRF scope, use the following command in EXEC mode:
Command
routing-context vrf default
Example:
switch%red# routing-context vrf default
switch#
Verifying the VRF Configuration
To display the VRF configuration information, perform one of the following tasks:
Command
show vrf [vrf-name]
show vrf [vrf-name] detail
show vrf [vrf-name] [interface interface-type
slot/port]
Configuration Examples for VRF
This example shows how to configure VRF Red, add an SNMP server to that VRF, and add an instance
of OSPF to VRF Red:
Cisco Nexus 3000 Series NX-OS Unicast Routing Configuration Guide, NX-OS Release 5.0(3)U1(1)
9-12
Chapter 9
Configuring Layer 3 Virtualization
Purpose
Sets the routing context for all EXEC commands.
Default routing context is the default VRF.
Purpose
Sets the default routing context.
Purpose
Displays the information for all or one VRF.
Displays detailed information for all or one VRF.
Displays the VRF status for an interface.

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents