Cisco Nexus 5000 Series Switch CLI Software Configuration Guide, NX-OS 4.0(1a)N1 (OL-16597-01, January 2009)

Send feedback to nx5000-docfeedback@cisco.com
49-6
Cisco Nexus 5000 Series Switch CLI Software Configuration Guide
OL-16597-01
Chapter 49 Configuring SPAN
Configuring SPAN
To configure the source channels for a SPAN session, perform this task:
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
To provide a descriptive name of the SPAN session for ease of reference, perform this task:
The following example shows configuring a description of a SPAN session:
switch# configure terminal
switch(config)# monitor session 2
switch(config-monitor)# description monitoring ports fc2/2-fc2/4
Command Purpose
switch(config-monitor)# source
{interface {port-channel |
san-port-channel} channel-number rx |
vlan vlan-range | vsan vsan-range }
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.
Command Purpose
switch(config-monitor)# description
description
Applies a descriptive name to the SPAN session.