Procedure
PurposeCommand or Action
Enables privileged EXEC mode. Enter your
password if prompted.
enable
Example:
switch> enable
Step 1
Enters global configuration mode.configure terminal
Example:
switch# configure terminal
switch(config)#
Step 2
Enters interface configuration mode.
interface ethernet slot/port
Example:
switch(config)# interface ethernet 1/1
Step 3
Configures the latency threshold value on an
interface. Valid values are from 8 to 536870904
nano seconds.
packet latency threshold threshold
Example:
switch(config-if)# packet latency
threshold 53000000
Step 4
Defines an ERSPAN source session using the
session ID and the session type, and places the
monitor session session_number type
span-on-latency-erspan
Step 5
command in ERSPAN monitor source session
configuration mode.
Example:
switch(config)# monitor session 1 type
The session_number argument range is from 1 to
1024. The same session number cannot be used
more than once.
span-on-latency-erspan
switch(config-span-on-latency-erspan)#
The session ID (configured by the span_session
number argument) and the session type (configured
by the span-on-latency-erspan keyword) cannot be
changed once entered. To change session ID or
session type, use the no version of the command
to remove the session and then re-create the session
through the command with a new session ID or a
new session type.
Adds a description to the session configuration.
description description
Example:
switch(config-span-on-latency-erspan)#
description
SPAN-on-Latency-ERSPAN-session
Step 6
Specifies the Ethernet interface to use as the source
SPAN port.
source interface ethernet slot/port
Example:
switch(config-span-on-latency-erspan)#
source interface ethernet 1/3
Step 7
You can configure multiple SPAN source
ports.
Note
Cisco Nexus 5600 Series NX-OS System Management Configuration Guide, Release 7.x
OL-31641-01 211
Configuring ERSPAN
Configuring an ERSPAN SPAN-on-Latency Session