V Commands
vrf
704
Cisco Nexus 7000 Series NX-OS System Management Command Reference
OL-25806-03
vrf
To configure a virtual routing and forwarding (VRF) instance for Encapsulated Remote Switched Port
Analyzer (ERSPAN) traffic forwarding in both the source and destination, use the vrf command.
vrf {vrf_name} | {[default | foo]}
Syntax Description
Defaults None
Command Modes config-erspan-src
config-erspan-dst
Supported User Roles network-admin
network-operator
Command History
Usage Guidelines This command does not require a license.
Examples This example shows how to configure a VRF instance for the ESRSPAN source:
switch# configure terminal
switch(config)# monitor session 5 type erspan-source
switch(config-erspan-src)# vrf default
switch(config-erspan-src)#
This example shows how to configure a VRF instance for the ERSPAN destination:
switch# configure terminal
switch(config)# monitor session 2 type erspan-destination
switch(config-erspan-dst)# vrf default
switch(config-erspan-dst)#
vrf_name Name of the VRF. The VRF name can be any case-sensitive, alphanumeric
string up to 32 characters.
default (Optional) Specifies the VRF name as the default.
foo (Optional) Specifies the VRF name as foo.
Release Modification
5.1(1) This command was introduced.