V Commands

verify (session)

To verify the current configuration session, use the verify command.

verify

Syntax Description

This command has no arguments or keywords.

Command Default

None

Command Modes

Session configuration mode

Command History

Release

Modification

6.0(2)N1(1)

This command was introduced.

Examples

This example shows how to verify a session:


switch(config-s)# verify
 
Failed to start Verification: Session Database already locked, Verify/Commit in
Progress.
switch(config-s)# 

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.

Command Default

None

Command Modes

NetFlow exporter configuration (config-flow-exporter)

Command History

Release

Modification

7.0(0)N1(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)#

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.

Command Default

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

Command Modes

Flow export configuration

Command History

Release

Modification

7.0(0)N1(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

vrf (ERSPAN)

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. To revert to the defaults, use the no form of this command.

vrf {vrf_name | default | management}

no vrf {vrf_name | default | management}

Syntax Description

vrf_name

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

default

Specifies the default VRF instance.

management

Specifies the management VRF instance.

Command Default

None

Command Modes

ERSPAN source session configuration mode (config-erspan-src)

SPAN-on-Drop ERSPAN session configuration mode (config-span-on-drop-erspan)

SPAN-on-Latency ERSPAN session configuration mode (config-span-on-latency-erspan)

Command History

Release

Modification

7.0(0)N1(1)

This command was modified. This command was implemented in the following modes: SPAN-on-Drop ERSPAN session configuration mode and SPAN-on-Latency ERSPAN session configuration mode.

6.0(2)N1(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 session:


switch# configure terminal
switch(config)# monitor session 1 type erspan-source
switch(config-erspan-src)# vrf default
switch(config-erspan-src)#

This example shows how to configure a VRF instance for the SPAN-on-Drop ESRSPAN source session:


switch# configure terminal
switch(config)# monitor session 1 type span-on-drop-erspan
switch(config-span-on-drop-erspan)# vrf default
switch(config-span-on-drop-erspan)#

This example shows how to configure a VRF instance for the SPAN-on-Latency ESRSPAN source session:


switch# configure terminal
switch(config)# monitor session 1 type span-on-latency-erspan
switch(config-span-on-latency-erspan)# vrf default
switch(config-span-on-latency-erspan)#