Cisco Nexus 7000 Series Configuration Manual page 323

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

Advertisement

Configuring SPAN
Step 8
Step 9
Step 10
Step 11
Command or Action
monitor session session-number [shut]
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)#
mode extended
Example:
switch(config-monitor)# mode
extended
descriptiondescription
Example:
switch(config-monitor)#
description my_span_session_3
source {interface {all | 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
Cisco Nexus 7000 Series NX-OS System Management Configuration Guide
Configuring a SPAN Session
Purpose
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 keywords
are as follows:
• rx—Specifies an ingress extended SPAN session.
• tx—Specifies an egress extended SPAN session.
• shut—Specifies a shut state for the selected session.
(Optional) Configures the SPAN session as an extended
bidirectional session.
You cannot use this command for a unidirectional
Note
SPAN session.
Configures a description for the session. By default, no
description is defined. The description can be up to 32
alphanumeric characters.
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, a range of VLANs, a
Cisco Nexus 2000 Series Fabric Extender interface, or a
fabric port channel connected to a Cisco Nexus 2000 Series
Fabric Extender.
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. The VLAN range is from
1 to 3967. The VLAN range of 4048 to 4093 is also
supported for Cisco NX-OS releases prior to 6.1.
You can specify the traffic direction to copy as ingress
(rx), egress (tx), or both. By default, the direction is both.
For a unidirectional session, the direction of the source
must match the direction specified in the session.
Beginning with Cisco NX-OS Release 7.3(0)D1(1), you
can use the all keyword to enable the monitor session to
monitor all VLANs and ports in the VDC such as physical
ports, Port Channels, FEX ports and FEX Port Channels.
The all keyword is supported only in Extended SPAN
sessions.
295

Advertisement

Table of Contents
loading

Table of Contents