Configuring Source Ports - Cisco nexus 5000 series Cli Configuration Manual

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

Advertisement

Chapter 1
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
Command
Step 6
switch(config)# monitor session
session-number
Step 7
switch(config-monitor)# destination
interface fc slot/port
The following example shows configuring an Ethernet SPAN destination port:
switch# configure terminal
switch(config)# interface fc 2/4
switch(config-if)# switchport mode SD
switch(config-if)# switchport speed 1000
switch(config-if)# exit
switch(config)# monitor session 2
switch(config-monitor)# destination interface fc 2/4

Configuring Source Ports

You can configure the source ports for a SPAN session. The source ports can be Ethernet, Fibre Channel,
or virtual Fibre Channel ports.
To configure the source ports for a SPAN session, perform this task:
Command
switch(config-monitor)# source interface
type slot/port [rx | tx | both]
The following example shows configuring an Ethernet SPAN source port:
switch# configure terminal
switch(config)# monitor session 2
switch(config-monitor)# source interface ethernet 1/16
The following example shows configuring a Fibre Channel SPAN source port:
...
switch(config-monitor)# source interface fc 2/1
The following example shows configuring a virtual Fibre Channel SPAN source port:
...
switch(config-monitor)# source interface vfc 129
Configuring Source Port Channels, VLANs, or VSANs
You can configure the source channels for a SPAN session. These ports can be port channels, SAN port
channels, VLANs, and VSANs. The monitored direction can only be ingress and applies to all physical
ports in the group.
OL-16597-01
Purpose
Enters the monitor configuration mode.
Configures the Fibre Channel destination port.
Purpose
Configures sources and the traffic direction in which
to duplicate packets. You can enter a range of
Ethernet, Fibre Channel, or virtual Fibre Channel
ports. You can specify the traffic direction to
duplicate as ingress (rx), egress (tx), or both. By
default, the direction is both.
Cisco Nexus 5000 Series Switch CLI Software Configuration Guide
Configuring SPAN
1-5

Advertisement

Table of Contents
loading

Table of Contents