Configuring A Virtual Span Session - Cisco Nexus 7000 Series Configuration Manual

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

Advertisement

Configuring a Virtual SPAN Session

Procedure
Step 1
Step 2
Step 3
Step 4
Configuring a Virtual SPAN Session
You can configure a virtual SPAN session to copy packets from source ports, VLANs, and RSPAN VLANs
to destination ports on the local device. By default, SPAN sessions are created in the shut state.
For sources, you can specify ports, VLANs, or RSPAN VLANs.
Before You Begin
Ensure that you are in the correct VDC (or use the switchto vdc command).
You have already configured the destination ports in trunk mode. For more information, see the Cisco
Nexus 7000 Series NX-OS Interfaces Configuration Guide.
You have already configured the destination ports to monitor a SPAN session with the switchport monitor
command.
Cisco Nexus 7000 Series NX-OS System Management Configuration Guide
300
Command or Action
configure terminal
Example:
switch# configure terminal
switch(config)#
monitor session
session-number[session-type]
Example:
switch(config)# monitor session 3
span
switch(config-monitor)#
destination interface {ethernet x/y |
port-channel z}
Example:
switch(config-monitor)# destination
interface ethernet1/2
no rate-limit {auto | rate-value}
Example:
switch(config-monitor-local)# no
rate-limit auto
Purpose
Enters global configuration mode.
Enters the monitor configuration mode and specifies a
SPAN session.
(Optional) Specifies the option to add a destination port.
Rate limit auto should be disabled for sharing
Note
SPAN destination ports across multiple
sessions. However, if the rate limit auto is
enabled for a destination port and the
destination port is already used in any other
SPAN session, there will be a request to disable
the auto mode first.
(Optional) Enables the rate limit.
Note
Auto rate limit should be disabled for sharing
SPAN destination ports across multiple
sessions. If a shared destination port is
configured in the span session, the CLI gets
rejected until you remove the shared destination
port.
Configuring SPAN

Advertisement

Table of Contents
loading

Table of Contents