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