Users Guide

Table Of Contents
Layer 2 Switching Commands 724
monitor session type erspan-source
Use this command to configure an ERSPAN source session.
Syntax
monitor session
session-id
type erspan-source
no monitor session
session-id
type erspan-source
session-id
— The session identifier (Range 1 to 4).
Default Configuration
This command has no default configuration.
Command Mode
Global Configuration mode
User Guidelines
ERSPAN encapsulates monitored traffic into GRE packets. Once in ERSPAN
Source Session configuration mode, configure the source ports from which
traffic is mirrored, the ERSPAN destination IPv4 address, the ERSPAN origin
IPv4 address, and the ERSPAN ID.
ERSPAN utilizes separate source and destination sessions. The source and
destination sessions must be configured on different switches. This command
is configured on the source session switch.
ERSPAN encapsulates monitored traffic into GRE packets. Once in ERSPAN
Source Session configuration mode, configure the source port or VLAN using
the source interface command.
The session ID is of local significance only. The session ID on the source
switch need not match the session ID on the destination switch.
Example
This example configures interface Gi1/0/1 to mirror received packets through
interface Te1/0/1 using GRE encapsulation using a source IP address of
11.10.10.10, a destination IP address of 10.10.10.11 and an ERSPAN flow
identifier of 200.