Configuring the Description of a SPAN Session
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)#
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)#
Configuring the Description of a SPAN Session
For ease of reference, you can provide a descriptive name for a SPAN session.
Procedure
Step 1
Step 2
Step 3
The following example shows how to configure a SPAN session description:
switch# configure terminal
switch(config) # monitor session 2
switch(config-monitor) # description monitoring ports eth2/2-eth2/4
switch(config-monitor) #
Cisco Nexus 3548 Switch NX-OS System Management Configuration Guide, Release 6.x
148
Command or Action
switch# configure terminal
switch(config) # monitor session
session-number
switch(config-monitor) # source {interface
{port-channel} channel-number [rx | tx |
both] | vlan vlan-range}
Command or Action
switch# configure terminal
switch(config) # monitor session
session-number
switch(config-monitor) # description
description
Purpose
Enters global configuration mode.
Enters monitor configuration mode for the
specified SPAN session.
Configures port channel or VLAN sources. For
VLAN sources, the monitored direction is
implicit.
Purpose
Enters global configuration mode.
Enters monitor configuration mode for the
specified SPAN session.
Creates a descriptive name for the SPAN
session.
Configuring SPAN