Users Guide

Table Of Contents
Layer 2 Switching Commands 706
Syntax
destination interface
interface-id
no destination interface
interface-id — The interface on the destination switch over which the
GRE encapsulated packets are transmitted to the packet sniffer.
Default Configuration
By default, there is no destination interface.
Command Mode
ERSPAN Source Destination Configuration mode
User Guidelines
A destination interface must be configured on the destination switch. The
ERSPAN packets are transmitted on the destination interface encapsulated in
GRE. It may be necessary to configure the packet sniffer to properly analyze
the encapsulated packet data.
ERSPAN utilizes separate source and destination sessions. This command is
utilized in the destination session.
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.
erspan-id
Use this command to configure an ERSPAN flow identifier.