Cisco Nexus 7000 Series NX-OS System Management Command Reference
V Commands
Downloads: This chapterpdf (PDF - 201.0KB) The complete bookPDF (PDF - 12.71MB) | Feedback

V Commands

Table Of Contents

V Commands

verify

version 5

version 9

vrf


V Commands


This chapter describes the Cisco NX-OS system management commands that begin with the letter V.

verify

To verify the commands in the configuration session, use the verify command.

verify [verbose]

Syntax Description

verbose

(Optional) Verifies the current configuration session and displays more details on the results.


Defaults

None

Command Modes

Session configuration

Supported User Roles

network-admin
vdc-admin

Command History

Release
Modification

4.0(1)

This command was introduced.


Usage Guidelines

This command does not require a license.

Examples

This example shows how to verify a configuration session:

switch# configure session myACLs

switch(config-s)# verify 
switch(config-s)#

Related Commands

Command
Description

commit

Commits the commands in the configuration session.

abort

Deletes the session and exists session configuration mode.


version 5

To configure version 5 for the NetFlow exporter, use the version 5 command. To remove the version 5 configuration, use the no form of this command

version 5

no version 5

Syntax Description

This command has no arguments or keywords.

Defaults

None

Command Modes

NetFlow exporter configuration (config-flow-exporter)

Supported User Roles

network-admin
vdc-admin

Command History

Release
Modification

4.0(1)

This command was introduced.


Usage Guidelines

The default NetFlow exporter version is 5.

If you remove the version 5 configuration, the NetFlow exporter defaults to version 9.

This command does not require a license.

Examples

This example shows how to configure the NetFlow exporter version to version 5:

switch(config)# flow exporter Netflow-Exporter-1
switch(config-flow-exporter)# version 5
switch(config-flow-exporter-version-5)#
 
   

This example shows how to remove the version 5 configuration, which causes the NetFlow exporter to default to version 9:

switch(config-flow-exporter-version-5)# no version 5
switch(config-flow-exporter)#

Related Commands

Command
Description

show flow exporter

Displays information about NetFlow exporters.

version 9

Configures the NetFlow exporter to version 9.


version 9

To specify the export version 9 and enter the export version configuration mode, use the version 9 command.

version 9

no version 9

Syntax Description

This command has no arguments or keywords.

Defaults

Flow exporters are not present in the configuration until you create them.

Command Modes

Flow export configuration

Supported User Roles

network-admin
vdc-admin

Command History

Release
Modification

4.0(1)

This command was introduced.


Usage Guidelines

Flow exporters export the data in the flow monitor cache to a remote system, such as a server running NetFlow collector, for analysis and storage. Flow exporters are created as separate entities in the configuration. Flow exporters are assigned to flow monitors to provide data export capability for the flow monitors. You can create several flow exporters and assign them to one or more flow monitors to provide several export destinations. You can create one flow exporter and apply it to several flow monitors.

Once you enter the flow exporter configuration mode, the prompt changes to the following:

switch(config-flow-exporter)#
 
   

Within the flow exporter configuration mode, you can enter the version 9 keywords. Once you enter the version 9 keywords, the prompt changes to the following:

switch(config-flow-exporter-version-9)#
 
   

When entering the no form of this command, the seconds argument is optional.

This command does not require a license.

Examples

This example shows how to specify the name of the flow exporter that is created or modified.

switch(config)# flow exporter flow-export-test
switch(config-flow-exporter)# version 9
switch(config-flow-exporter-version-9)# 
 
   

This example shows how to specify the version 9 exporter statistics option templates and data:

switch(config)# flow exporter flow-export-test
switch(config-flow-exporter)# version 9
switch(config-flow-exporter-version-9)# exporter-stats
 
   

This example shows how to specify the version 9 interface table option templates and data:

switch(config)# flow exporter flow-export-test
switch(config-flow-exporter)# version 9
switch(config-flow-exporter-version-9)# interface-table
 
   

This example shows how to specify the version 9 interface table option templates and data:

switch(config)# flow exporter flow-export-test
switch(config-flow-exporter)# version 9
switch(config-flow-exporter-version-9)# sampler-table
 
   

This example shows how to specify the option resend time in seconds:

switch(config)# flow exporter flow-export-test
switch(config-flow-exporter)# version 9
switch(config-flow-exporter-version-9)# timeout 32
 
   

This example shows how to specify the data template:

switch(config)# flow exporter flow-export-test
switch(config-flow-exporter)# version 9

switch(config-flow-exporter-version-9)# template data

Related Commands

Command
Description

flow exporter

Creates a flow exporter.

flow monitor

Creates a flow monitor.

flow record

Creates a flow record.

sampler

Creates a flow sampler.


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

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.


Defaults

None

Command Modes

config-erspan-src
config-erspan-dst

Supported User Roles

network-admin
network-operator

Command History

Release
Modification

5.1(1)

This command was introduced.


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)#

Related Commands

Command
Description

ip ttl

Applies an access control group to an ERSPAN source session.

monitor-session

Enters the monitor configuration mode for configuring an ERSPAN or SPAN session for analyzing traffic between ports.