1163
Cisco Nexus 5500 Series NX-OS Layer 2 Interfaces Command Reference
OL-27880-02
Chapter S Commands
source (SPAN, ERSPAN)
Command History
Usage Guidelines
A source port (also called a
monitored port
) is a switched port that you monitor for network traffic
analysis. In a single local SPAN session, you can monitor source port traffic such as received (Rx),
transmitted (Tx), or bidirectional (both).
A source port can be an Ethernet port, port channel, SAN port channel, VLAN, or a VSAN port. It cannot
be a destination port.
There is no limit to the number of egress SPAN source ports.
SAN Port Channel interfaces can be configured as ingress or egress source ports.
The limit on the number of egress (TX) sources in a monitor session has been lifted.
Port-channel interfaces can be configured as egress sources.
For ERSPAN, if you do not specify
both
,
rx
, or
tx
, the source traffic is analyzed for both directions.
Examples
This example shows how to configure an Ethernet SPAN source port:
switch#
configure terminal
switch(config)#
monitor session 9 type local
switch(config-monitor)#
description A Local SPAN session
switch(config-monitor)#
source interface ethernet 1/1
switch(config-monitor)#
This example shows how to configure a port channel SPAN source:
switch#
configure terminal
switch(config)#
monitor session 2
switch(config-monitor)#
source interface port-channel 5
switch(config-monitor)#
This example shows how to configure an ERSPAN source port to receive traffic on the port:
switch#
configure terminal
switch(config)#
monitor session 1 type erspan-source
switch(config-erspan-src)#
source interface ethernet 1/5 rx
switch(config-erspan-src)#
Related Commands
Release
Modification
6.0(2)N1(1)
Support for the QSFP+ GEM was added.
5.2(1)N1(1)
This command was introduced.
Command
Description
destination (SPAN,
ERSPAN)
Configures a destination SPAN port.
monitor session
Creates a new SPAN session configuration.
show monitor session
Displays SPAN session configuration information.
show running-config
monitor
Displays the running configuration information of a SPAN session.