source (SPAN, ERSPAN)
S e n d c o m m e n t s t o n e x u s 3 k - d o c f e e d b a c k @ c i s c o . c o m
source (SPAN, ERSPAN)
To add an Ethernet Switched Port Analyzer (SPAN) or an Encapsulated Remote Switched Port Analyzer
(ERSPAN) source port, use the source command. To remove the source SPAN or ERSPAN port, use the
no form of this command.
Syntax Description
interface
ethernet slot/port
port-channel
channel-num
both
rx
tx
vlan vlan-num
Command Default
None
Command Modes
SPAN session configuration mode
ERSPAN session configuration mode
Command History
Release
5.0(3)U2(2)
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, or a VLAN port. It cannot be a
destination port.
For ERSPAN, if you do not specify both, rx, or tx, the source traffic is analyzed for both directions.
Cisco Nexus 3000 Series NX-OS System Management Command Reference
-SM-320
source {interface {ethernet slot/port | port-channel channel-num} [{both | rx | tx}] | vlan
vlan-num}
no source {interface {ethernet slot/port | port-channel channel-num} | vlan vlan-num}
Specifies the interface type to use as the source SPAN port.
Specifies the IEEE 802.3z Ethernet interface to use as the source SPAN port.
The slot number is from 1 to 255 and the port number is from 1 to 128.
Specifies the EtherChannel interface to use as the source SPAN port. The
EtherChannel number is from 1 to 4096.
(Optional) Specifies both ingress and egress traffic on the source port.
Note
(Optional) Specifies only ingress traffic on the source port.
Note
(Optional) Specifies only egress traffic on the source port.
Note
Specifies the VLAN inteface to use as the source SPAN port. The range is
from 1 to 3967 and 4048 to 4093.
Modification
This command was introduced.
Applies to ERSPAN source port.
Applies to ERSPAN source port.
Applies to ERSPAN source port.
Chapter
System Management Commands
OL-29557-04