I Commands

This chapter describes the Cisco NX-OS quality of service (QoS) commands that begin with I.

ip dscp (ERSPAN)

To configure the differentiated dervices code point (DSCP) value of the packets in the Encapsulated Remote Switched Port Analyzer (ERSPAN) traffic, use the ip dscp command. To revert to the default value, use the no form of this command.

ip dscp dscp_value

no ip dscp dscp_value

 
Syntax Description

dscp_value

DSCP value of the packets in the ERSPAN traffic. The range is from 0 to 63.

 
Command Default

0

 
Command Modes

ERSPAN session configuration mode

 
Command History

Release
Modification

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 the DSCP value of the packets in the ESRSPAN traffic:

switch# configure terminal
switch(config)# monitor session 1 type erspan-source
switch(config-erspan-src)# ip dscp 10
switch(config-erspan-src)#
 

 
Related Commands

Command
Description

ip prec

Configures the IP precedence value of the ERSPAN traffic.

ip ttl

Configures the IP time-to-live (TTL) value of the ERSPAN traffic.

monitor-session

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

 

ip ttl (ERSPAN)

To configure the IP time-to-live (TTL) value of the Encapsulated Remote Switched Port Analyzer (ERSPAN) traffic, use the ip ttl command. To revert to the default configuration, use the no form of this command.

ip ttl ttl_value

no ip ttl ttl_value

 
Syntax Description

ttl_value

IP TTL value of the ERSPAN traffic. The range is from 1 to 255.

 
Command Default

255

 
Command Modes

ERSPAN session configuration mode

 
Command History

Release
Modification

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 the IP TTL value of the ESRSPAN source:

switch# configure terminal
switch(config)# monitor session 1 type erspan-source
switch(config-erspan-src)# ip ttl 30
switch(config-erspan-src)#
 
This example shows how to remove the IP TTL value from the ESRSPAN source:
switch# configure terminal
switch(config)# monitor session 1 type erspan-source
switch(config-erspan-src)# no ip ttl 30
switch(config-erspan-src)#
 

 
Related Commands

Command
Description

ip dscp

Configures the DSCP value of the packets in the ERSPAN traffic.

monitor-session

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