Configuring SPAN
Configuring Source Port Channels, VSANs, or VLANs
You can configure the source channels for a SPAN session. These ports can be port channels SAN port
channels, VSANs and VLANs. The monitored direction can be ingress, egress, or both and applies to all
physical ports in the group.
Procedure
Step 1
Step 2
Step 3
The following 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 1 rx
switch(config-monitor)# source interface port-channel 3 tx
switch(config-monitor)# source interface port-channel 5 both
switch(config-monitor)#
This example shows how to configure a SAN port channel SPAN source:
switch(config-monitor)#switch# configure terminal
switch(config)# monitor session 2
switch(config-monitor)# source interface san-port-channel 3 rx
switch(config-monitor)#
The following example shows how to configure a VLAN SPAN source:
switch# configure terminal
switch(config)# monitor session 2
switch(config-monitor)# source vlan 1
switch(config-monitor)#
switch(config-monitor)#This example shows how to configure a VSAN SPAN source:
switch(config-monitor)#switch# configure terminal
switch(config)# monitor session 2
switch(config-monitor)# source vsan 1
switch(config-monitor)#
Configuring the Description of a SPAN Session
For ease of reference, you can provide a descriptive name for a SPAN session.
OL-31641-01
Command or Action
switch# configure terminal
switch(config) # monitor session
session-number
switch(config-monitor) # source {interface
{port-channel | san-port-channel}
channel-number [rx | tx | both] | vlan
vlan-range | vsan vsan-range }
Cisco Nexus 5600 Series NX-OS System Management Configuration Guide, Release 7.x
Configuring Source Port Channels, VSANs, or VLANs
Purpose
Enters global configuration mode.
Enters monitor configuration mode for the
specified SPAN session.
Configures port channel, SAN port channel,
VLAN, or VSAN sources. For VLAN or VSAN
sources, the monitored direction is implicit.
185