S e n d d o c u m e n t a t i o n c o m m e n t s t o m d s f e e d b a c k - d o c @ c i s c o . c o m
52-7
Cisco MDS 9000 Family CLI Configuration Guide
OL-16184-01, Cisco MDS SAN-OS Release 3.x
Chapter 52 Monitoring Network Traffic Using SPAN
Configuring SPAN
To configure a SPAN session, follow these steps::
Command
Purpose
Step 1
switch#
config t
Enters configuration mode.
Step 2
switch(config)#
span session 1
switch(config-span)#
Configures the specified SPAN session (1).
If the session does not exist, it is created.
switch(config)#
no
span session 1
Deletes the specified SPAN session (1).
Step 3
switch(config-span)#
destination interface fc9/1
Configures the specified destination
interface (fc 9/1) in a session.
switch(config-span)#
no
destination interface
fc9/1
Removes the specified destination interface
(fc 9/1).
Step 4
switch(config-span)#
source interface fc7/1
Configures the source (fc7/1) interface in
both directions.
Note
The Cisco MDS 9124 Fabric Switch
does not support bi-directional
SPAN sessions (Rx and Tx)
switch(config-span)#
no source interface fc7/1
Removes the specified destination interface
(fc 7/1) from this session.
Step 5
switch(config-span)#
source interface sup-fc0
Configures the source interface (sup-fc0) in
the session.
switch(config-span)#
source interface fc1/5 - 6,
fc2/1 -3
Configures the specified interface ranges in
the session.
switch(config-span)#
source vsan 1-2
Configures source VSANs 1 and 2 in the
session.
switch(config-span)#
source interface
port-channel 1
Configures the source PortChannel
(port-channel 1).
switch(config-span)#
source interface fcip 51
Configures the source FCIP interface in the
session.
switch(config-span)#
source interface iscsi 4/1
Configures the source iSCSI interface in the
session.
switch(config-span)#
source interface svc1/1 tx
traffic-type initiator
Configures the source SVC interface in the
Tx direction for an initiator traffic type.
switch(config-span)#
no
source interface
port-channel 1
Deletes the specified source interface
(port-channel 1).
Command
Purpose
Step 1
switch#
config t
Enters configuration mode.
Step 2
switch(config)#
interface fc9/1
Configures the specified interface.
Step 3
switch(config-if)#
switchport mode SD
Configures the SD port mode for interface fc9/1.
Step 4
switch(config-if)#
switchport speed 1000
Configures the SD port speed to 1000 Mbps.
Step 5
switch(config-if)#
no
shutdown
Enables traffic flow through this interface.