Cisco Nexus 9000 Series Configuration Manual page 211

Nx-os system management configuration guide, release 6.x
Hide thumbs Also See for Nexus 9000 Series:
Table of Contents

Advertisement

Configuring SPAN
Before You Begin
You must configure the destination ports in access or trunk mode. For more information, see the Cisco Nexus
9000 Series NX-OS Interfaces Configuration Guide.
Procedure
Step 1
Step 2
Step 3
Step 4
Step 5
Step 6
Step 7
Command or Action
configure terminal
Example:
switch# configure terminal
switch(config)#
interface interface slot/port
Example:
switch(config)# interface ethernet
2/5
switch(config-if)#
switchport
Example:
switch(config-if)# switchport
switchport monitor
Example:
switch(config-if)# switchport monitor
Repeat Steps 2 through 4 to configure
monitoring on additional SPAN destinations.
no monitor session session-number
Example:
switch(config)# no monitor session 3
monitor session session-number {rx | tx}
[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)#
Cisco Nexus 9000 Series NX-OS System Management Configuration Guide, Release 6.x
Configuring a SPAN Session
Purpose
Enters global configuration mode.
Enters interface configuration mode on the selected
slot and port.
Configures switchport parameters for the selected
slot and port or range of ports.
Configures the switchport interface as a SPAN
destination.
(Optional)
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.
191

Advertisement

Table of Contents
loading

Table of Contents