Cisco AP776A - Nexus Converged Network Switch 5020 Configuration Manual page 1250

Cisco mds 9000 family cli configuration guide - release 4.x (ol-18084-01, february 2009)
Hide thumbs Also See for AP776A - Nexus Converged Network Switch 5020:
Table of Contents

Advertisement

Configuring SPAN
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
Example 51-1 Configuring a Generation 2 Fabric Switch for Ingress SPAN sessions
Command
Step 1
switch# config t
Step 2
switch(config)# span session 1
switch(config-span)#
Step 3
switch(config-span)# destination interface
fc1/1
Step 4
switch(config-span)# source interface fc1/2 rx
Example 51-2 Configuring a Generation 2 Fabric Switch for Egress SPAN Session
Command
Step 1
switch# config t
Step 2
switch(config)# span session 1
switch(config-span)#
Step 3
switch(config-span)# destination interface
fc1/1
Step 4
switch(config-span)# source interface fc1/2 tx
You can specify multiple SPAN source interfaces in Rx and Tx directions.
You cannot mix ingress and egress interfaces in the same SPAN session. The SPAN will reject any
configuration that mixes Rx ad Tx directions. However, you can specify multiple SPAN source interfaces
in a single direction.
Example 51-3 Configuring Cisco MDS 9124 for Multiple SPAN Interfaces
switch(config-span)# span session 1
switch(config-span)# destination interface fc1/1
switch(config-span)# source interface fc1/2 rx
switch(config-span)# source interface fc1/2 tx
Generation 2 Fabric Switches support VSAN filters for one VSAN only in the egress direction; this
restriction does not apply to the ingress direction. For example, if you have an interface that is a TE port,
with an active VSAN of 1 to 5, and you specify a VSAN filter for VSAN 2, then only the traffic on VSAN
2 will be filtered.
switch(config-span)# span session 1
switch(config-span)# source filter vsan 2
switch(config-span)# destination interface fc1/1
switch(config-span)# source interface fc1/2 tx
However, if you specify the VSAN filter for VSANs 1 to 2, then traffic from all VSANs (1 to 5) is
filtered–essentially rendering the filter useless.
switch(config-span)# span session 1
switch(config-span)# source filter vsan 1-2
switch(config-span)# destination interface fc1/1
switch(config-span)# source interface fc1/2 tx
Cisco MDS 9000 Family CLI Configuration Guide
51-10
Chapter 51
Monitoring Network Traffic Using SPAN
Purpose
Enters configuration mode.
Configures the specified session (1).
Configures interface fc1/1 as the destination.
Configures the source interface fc1/2 in the
ingress direction.
Purpose
Enters configuration mode.
Configures the specified session (1).
Configures interface fc1/1 as the destination.
Configures the source interface fc1/2 in the
egress direction.
OL-18084-01, Cisco MDS NX-OS Release 4.x

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents