Users Guide

Table Of Contents
Layer 2 Switching Commands 707
Syntax
erspan-id
erspan-flow-identifier
no erspan-id
erspan-flow-identifier
— The ERSPAN flow identifier. The range is 1 to
1023.
Default Configuration
This command has no default configuration.
Command Mode
ERSPAN Destination Source Configuration mode. ERSPAN Source
Destination Configuration mode.
User Guidelines
ERSPAN encapsulates monitored traffic into GRE packets. Configure a
matching ERSPAN flow ID using the erspan-id command in both ERSPAN
destination source and ERSPAN source destination configuration modes. An
ERSPAN flow is identified by the IP address and ERSPAN ID.
ERSPAN utilizes separate source and destination sessions. This command is
configured on both the source and destination session switch.
Example
This example configures the source switch to mirror received packets with
ERSPAN flow ID 200 to interface gi1/0/1. The packets are sent to IP address
10.10.10.11.
console(config)#monitor session 2 type erspan-destination
console(config-erspan-src)#destination interface gi1/0/1
console(config-erspan-src)#source
console(config-erspan-src-dst)#erspan-id 200
console(config-erspan-src-dst)#ip address 10.10.10.11
Command History
Command introduced in version 6.7.0 firmware.