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
To enable the virtual ethernet port as destination
interface in the monitor configuration, you can use
the destination interface vethernet slot/port
command.
Note
The following example shows how to configure an Ethernet SPAN destination port (HIF):
switch# configure terminal
switch(config)# interface ethernet100/1/24
switch(config-if)# switchport monitor
switch(config-if)# exit
switch(config)# monitor session 1
switch(config-monitor)# destination interface ethernet100/1/24
switch(config-monitor)#
The following example shows how to configure a virtual ethernet (VETH) SPAN destination port:
switch# configure terminal
switch(config)# interface vethernet10
switch(config-if)# switchport monitor
switch(config-if)# exit
switch(config)# monitor session 2
switch(config-monitor)# destination interface vethernet10
switch(config-monitor)#
Cisco Nexus 5600 Series NX-OS System Management Configuration Guide, Release 7.x
182 OL-31641-01
Configuring SPAN
Configuring an Ethernet Destination Port