PurposeCommand or Action
Example:
switch(config-if)# monitor session 3
type erspan-destination
switch(config-erspan-dst)#
Configures a description for the session. By
default, no description is defined. The
description description
Example:
Step 9
description can be up to 32 alphanumeric
characters.
switch(config-erspan-dst)# description
erspan_dst_session_3
Configures the source IP address in the
ERSPAN session. Only one source IP address
is supported per ERSPAN destination session.
source ip ip-address
Example:
switch(config-erspan-dst)# source ip
10.1.1.1
Step 10
This IP address must match the destination IP
address that is configured in the corresponding
ERSPAN source session.
Configures a destination for copied source
packets. You can configure only interfaces as
a destination.
destination {[interface [type slot/port[-port],
[type slot/port [port]]]}
Example:
Step 11
You can configure destination ports
as trunk ports.
Note
switch(config-erspan-dst)# destination
interface ethernet 2/5
Configures the ERSPAN ID for the ERSPAN
session. The range is from 1 to 1023. This ID
erspan-id erspan-id
Example:
Step 12
uniquely identifies a source and destination
switch(config-erspan-dst)# erspan-id 5
ERSPAN session pair. The ERSPAN ID
configured in the corresponding destination
ERSPAN session must be same as the one
configured in the source session.
Enables the ERSPAN destination session. By
default, the session is created in the shut state.
no shut
Example:
Step 13
Only 16 active ERSPAN
destination sessions can be running
simultaneously.
Note
switch(config)# no shut
Displays the ERSPAN session configuration.(Optional) show monitor session {all |
session-number | range session-range}
Step 14
Example:
switch(config)# show monitor session 3
Displays the running ERSPAN configuration.(Optional) show running-config monitor
Example:
Step 15
switch(config-erspan-src)# show
running-config monitor
Cisco Nexus 3548 Switch NX-OS System Management Configuration Guide, Release 7.x
156
Configuring ERSPAN
Configuring an ERSPAN Destination Session