Procedure
PurposeCommand or Action
Enters global configuration mode.switch# configure terminal
Step 1
Enters the monitor configuration mode. New
session configuration is added to the existing
session configuration.
switch(config)# monitor session
session-number
Step 2
Example
The following example shows how to configure a SPAN monitor session:
switch# configure terminal
switch(config) # monitor session 2
switch(config) #
Configuring an Ethernet Destination Port
You can configure an Ethernet interface as a SPAN destination port.
The SPAN destination port can only be a physical port on the switch.
Note
Procedure
PurposeCommand or Action
Enters global configuration mode.switch# configure terminal
Step 1
Enters interface configuration mode for the
Ethernet interface with the specified slot and
port.
switch(config)# interface ethernet slot/port
Step 2
To enable the switchport monitor
command on virtual ethernet ports,
you can use the interface vethernet
slot/port command.
Note
Enters monitor mode for the specified Ethernet
interface. Priority flow control is disabled when
the port is configured as a SPAN destination.
switch(config-if)# switchport monitor
Step 3
Reverts to global configuration mode.switch(config-if)# exit
Step 4
Enters monitor configuration mode for the
specified SPAN session.
switch(config)# monitor session
session-number
Step 5
Configures the Ethernet SPAN destination port.switch(config-monitor)# destination interface
ethernet slot/port
Step 6
Cisco Nexus 3548 Switch NX-OS System Management Configuration Guide, Release 7.x
138
Configuring SPAN
Configuring an Ethernet Destination Port