How To Configure Erspan - Cisco Catalyst 4500 Series Software Configuration Manual

Cisco ios xe release 3.9.xe and cisco ios release 15.2(5)ex
Hide thumbs Also See for Catalyst 4500 Series:
Table of Contents

Advertisement

Chapter 67
Configuring ERSPAN

How to Configure ERSPAN

Configuring an ERSPAN Source Session
The ERSPAN source session defines the session configuration parameters and the ports or VLANs to be
monitored.
Command or Action
Step 1
Switch> enable
Step 2
Switch# configure terminal
Step 3
Switch(config)# monitor session
span-session-number type erspan-source
Step 4
Switch(config-mon-erspan-src)#
description description
Step 5
Switch(config-mon-erspan-src)# source
{interface type number | vlan vlan-ID}
[, | - | both | rx | tx]
Step 6
Switch(config-mon-erspan-src)# filter
{ip {standard-access-list |
expanded-access-list | acl-name} | ipv6
{access-group acl-name} | vlan vlan-ID}
Step 7
Switch(config-mon-erspan-src)# no
shutdown
Step 8
Switch(config-mon-erspan-src)#
destination
Step 9
Switch(config-mon-erspan-src-dst)# ip
address ip-address
Step 10
Switch(config-mon-erspan-src-dst)#
erspan-id erspan-ID
Step 11
Switch(config-mon-erspan-src-dst)#
origin ip address ip-address
Configuring an ERSPAN Source Session, page 67-5
Catalyst 4500 Series Switch, Cisco IOS Software Configuration Guide - Cisco IOS XE 3.9.xE and IOS 15.2(5)Ex
Purpose
Enables privileged EXEC mode.
Enter your password if prompted.
Enters global configuration mode.
Defines an ERSPAN source session using the session ID and the
session type, and enters ERSPAN monitor source session
configuration mode.
Session IDs for source sessions or destination sessions are in the
same global ID space, so each session ID is globally unique for
both session types.
The span-session-number and the session type (configured by
the erspan-source keyword) cannot be changed once
configured. Use the no form of this command to remove the
session and then re-create the session with a new session ID or
a new session type.
Describes the ERSPAN source session.
Configures the source interface or the VLAN, and the traffic
direction to be monitored.
(Optional) Configures source VLAN filtering when the ERSPAN
source is a trunk port.
You cannot include source VLANs and filter
Note
VLANs in the same session.
Disables the shutting down of the configured session.
Defines an ERSPAN destination session and enters ERSPAN
monitor destination session configuration mode.
Configures an IP address for the ERSPAN destination session.
Configures the ID used by the destination session to identify the
ERSPAN traffic.
Configures the IP address used as the source for the ERSPAN traffic.
How to Configure ERSPAN
67-5

Advertisement

Table of Contents
loading

Table of Contents