Configuring The Destination Port; Configuring An Ethernet Destination Port; Configuring Fibre Channel Destination Port - Cisco nexus 5000 series Cli Configuration Manual

Hide thumbs Also See for nexus 5000 series:
Table of Contents

Advertisement

Configuring SPAN
S e n d f e e d b a c k t o n x 5 0 0 0 - d o c f e e d b a c k @ c i s c o . c o m

Configuring the Destination Port

The SPAN destination port can only be a physical port on the switch. There are minor differences
between the configuration of Ethernet and Fibre Channel destination ports as detailed in the following
topics.

Configuring an Ethernet Destination Port

To configure an Ethernet interface as a SPAN destination port, perform this task:
Command
Step 1
switch# configure terminal
Step 2
switch(config)# interface ethernet
slot/port
Step 3
switch(config-if)# switchport monitor
Step 4
switch(config-if)# exit
Step 5
switch(config)# monitor session
session-number
Step 6
switch(config-monitor)# destination
interface ethernet slot/port
The following example shows configuring an Ethernet SPAN destination port:
switch# configure terminal
switch(config)# interface ethernet 1/3
switch(config-if)# switchport monitor
switch(config-if)# exit
switch(config)# monitor session 2
switch(config-monitor)# destination interface ethernet 1/3

Configuring Fibre Channel Destination Port

To configure a Fibre Channel port as a SPAN destination port, perform this task:
Command
Step 1
switch# configure terminal
Step 2
switch(config)# interface fc slot/port
Step 3
switch(config-if)# switchport mode SD
Step 4
switch(config-if)# switchport speed 1000
Step 5
switch(config-if)# exit
Cisco Nexus 5000 Series Switch CLI Software Configuration Guide
1-4
Purpose
Enters global configuration mode.
Enters interface configuration mode for the specified
Ethernet interface selected by the slot and port values.
Sets the interface to monitor mode. Priority flow
control is disabled when the port is configured as a
SPAN destination.
Reverts to global configuration mode.
Enters the monitor configuration mode.
Configures the Ethernet destination port.
Purpose
Enters global configuration mode.
Enters interface configuration mode for the specified
Fibre Channel interface selected by the slot and port
values.
Sets the interface to SPAN destination (SD) mode.
Sets the interface speed to 1000. The auto speed
option is not allowed.
Reverts to global configuration mode.
Chapter 1
Configuring SPAN
OL-16597-01

Advertisement

Table of Contents
loading

Table of Contents