Cisco Nexus 7000 Series Configuration Manual page 329

Hide thumbs Also See for Nexus 7000 Series:
Table of Contents

Advertisement

Configuring SPAN
Procedure
Step 1
Step 2
Step 3
Step 4
Step 5
Command or Action
configure terminal
Example:
switch# configure terminal
switch(config)#
no monitor session session-number
Example:
switch(config)# no monitor session 3
monitor session session-number
Example:
switch(config)# monitor session 3 rx
switch(config-monitor)#
Example:
switch(config)# monitor session 3 tx
switch(config-monitor)#
Example:
switch(config)# monitor session 3
shut
switch(config-monitor)#
source {interface type | vlan {number |
range}} [rx | tx | both]
Example:
switch(config-monitor)# source
interface ethernet 2/1-3, ethernet
3/1 rx
Example:
switch(config-monitor)# source
interface port-channel 2
Example:
switch(config-monitor)# source
interface sup-eth 0 both
Example:
switch(config-monitor)# source vlan
3, 6-8 rx
Example:
switch(config-monitor)# source
interface ethernet 101/1/1-3
Repeat Step 4 to configure all virtual SPAN
VLAN sources.
Cisco Nexus 7000 Series NX-OS System Management Configuration Guide
Configuring a Virtual SPAN Session
Purpose
Enters global configuration mode.
Clears the configuration of the specified SPAN
session. The new session configuration is added to
the existing session configuration.
Enters the monitor configuration mode. The new
session configuration is added to the existing session
configuration. By default, the session is created in
the shut state, and the session is a local SPAN
session. The optional keyword shut specifies a shut
state for the selected session.
Configures sources and the traffic direction in which
to copy packets. You can enter a range of Ethernet
ports, a port channel, an inband interface, or a range
of VLANs.
You can configure one or more sources, as either a
series of comma-separated entries or a range of
numbers. You can specify up to 128 interfaces.
You can specify the traffic direction to copy as
ingress (rx), egress (tx), or both. By default, the
direction is both.
Note
Source VLANs are supported only in the
ingress (rx) direction.
For a unidirectional session, the direction of the
source must match the direction specified in the
session.
(Optional)
301

Advertisement

Table of Contents
loading

Table of Contents