Cisco Nexus 7000 Series Configuration Manual page 366

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

Advertisement

Configuring an ERSPAN Source Session
Step 3
Step 4
Step 5
Step 6
Step 7
Step 8
Step 9
Cisco Nexus 7000 Series NX-OS System Management Configuration Guide
338
Command or Action
switch(config)# no monitor session
{session-number | all}
switch(config)# monitor session
{session-number | all} type
erspan-source [shut]
switch(config-erspan-src)#
description description
switch(config-erspan-src)# source
{[interface [all] [type
slot/port[-port][, type
slot/port[-port]]] [port-channel
channel-number]] [vlan {number |
range}]} [rx | tx | both]
Repeat Step 6 to configure all
ERSPAN sources.
switch(config-erspan-src)# filter
vlan {number | range}
Repeat Step 8 to configure all
source VLANs to filter.
Purpose
Clears the configuration of the specified ERSPAN session.
The new session configuration is added to the existing
session configuration.
Configures an ERSPAN Type II source session. By default
the session is bidirectional. The optional keyword shut
specifies a shut state for the selected session.
Configures a description for the session. By default, no
description is defined. The description can be up to 32
alphanumeric characters.
Configures the sources and traffic direction in which to copy
packets. You can enter a range of Ethernet ports, a port
channel, an inband interface, or a range of VLANs.
You can configure one or more sources, as either a series
of comma-separated entries or a range of numbers.
You can specify the traffic direction to copy as ingress,
egress, or both. The default direction is both.
Source VLANs are supported only in the ingress
Note
(rx) direction.
For a unidirectional session, the direction of the source must
match the direction specified in the session.
Beginning with Cisco NX-OS Release 7.3(0)D1(1), you
can use the all keyword to enable the monitor session to
monitor all VLANs and ports in the VDC such as physical
ports, Port Channels, FEX ports and FEX Port Channels.
The all keyword is supported only in extended ERSPAN
sessions.
(Optional)
(Optional)
Configures which VLANs to select from the configured
sources. You can configure one or more VLANs, as either
a series of comma-separated entries or a range of numbers.
For information on the VLAN range, see the Cisco Nexus
7000 Series NX-OS Layer 2 Switching Configuration Guide.
You can enable monitoring of a higher number of specific
VLAN sources than the VLAN source limits currently
supported in extended ERSPAN monitor session by using
the filter vlan command with the source interface all
command to filter the irrelevant VLANs.
(Optional)
Configuring ERSPAN

Advertisement

Table of Contents
loading

Table of Contents