Configuring SPAN
Procedure
Step 1
The following example shows configuring an Ethernet SPAN source port:
switch# configure terminal
switch(config)# monitor session 2
switch(config-monitor)# source interface ethernet 1/16
The following example shows configuring a Fibre Channel SPAN source port:
switch(config-monitor)# source interface fc 2/1
The following example shows configuring a virtual Fibre Channel SPAN source port:
switch(config-monitor)# source interface vfc 129
Configuring Source Port Channels, VLANs, or VSANs
You can configure the source channels for a SPAN session. These ports can be port channels, SAN port
channels, VLANs, and VSANs. The monitored direction can only be ingress and applies to all physical ports
in the group.
Procedure
Step 1
The following example shows configuring a port channel SPAN source:
switch# configure terminal
switch(config)# monitor session 2
switch(config-monitor)# source interface port-channel 1 rx
The following example shows configuring a SAN port channel SPAN source:
switch(config-monitor)# source interface san-port-channel 3 rx
The following example shows configuring a VLAN SPAN source:
switch(config-monitor)# source vlan 1
The following example shows configuring a VSAN SPAN source:
switch(config-monitor)# source vsan 1
Configuring the Description of a SPAN Session
You can provide a descriptive name of the SPAN session for ease of reference.
OL-16597-01
Command or Action
switch(config-monitor)# source
interface type slot/port [rx | tx |
both]
Command or Action
switch(config-monitor)# source {interface
{port-channel | san-port-channel}
channel-number rx | vlan vlan-range | vsan
vsan-range }
Configuring Source Port Channels, VLANs, or VSANs
Purpose
Configures sources and the traffic direction in which to
duplicate packets. You can enter a range of Ethernet, Fibre
Channel, or virtual Fibre Channel ports. You can specify the
traffic direction to duplicate as ingress (rx), egress (tx), or both.
By default, the direction is both.
Purpose
Configures port channel, SAN port channel, VLAN,
or VSAN sources. The monitored direction can only
be ingress and applies to all physical ports in the group.
For VLAN or VSAN sources, the monitored direction
is implicit.
Cisco Nexus 5000 Series Switch CLI Software Configuration Guide
677