Configuring An Erspan Destination Session - Cisco Nexus 7000 Series Configuration Manual

Hide thumbs Also See for Nexus 7000 Series:
Table of Contents

Advertisement

Configuring an ERSPAN Destination Session

Configuring an ERSPAN Destination Session
You can configure an ERSPAN destination session to copy packets from a source IP address to destination
ports on the local device. By default, ERSPAN destination sessions are created in the shut state.
Before You Begin
Ensure that you are in the correct VDC (or use the switchto vdc command).
Ensure that you have already configured the destination ports in monitor mode. For more information, see
the Cisco Nexus 7000 Series NX-OS Interfaces Configuration Guide.
Procedure
Step 1
Step 2
Step 3
Step 4
Step 5
Step 6
Step 7
Step 8
Step 9
Step 10
Cisco Nexus 7000 Series NX-OS System Management Configuration Guide
340
Command or Action
switch# configure terminal
switch(config)# interface ethernet
slot/port[-port]
switch(config-if)# switchport
switch(config-if)# switchport mode
[access | trunk]
switch(config-if)# switchport monitor
Repeat Steps 2 to 5 to configure
monitoring on additional ERSPAN
destinations.
switch(config-if)# no monitor session
{session-number | all}
switch(config-if)# monitor session
{session-number | all} type
erspan-destination
switch(config-erspan-dst)# description
description
switch(config-erspan-dst)# source ip
ip-address
Purpose
Enters global configuration mode.
Enters interface configuration mode on the selected
slot and port or range of ports.
Configures switchport parameters for the selected slot
and port or range of ports.
Configures the following switchport modes for the
selected slot and port or range of ports:
• access
• trunk
Configures the switchport interface as an ERSPAN
destination.
(Optional)
Clears the configuration of the specified ERSPAN
session. The new session configuration is added to
the existing session configuration.
Configures an ERSPAN destination session.
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.
Configuring ERSPAN

Advertisement

Table of Contents
loading

Table of Contents