destination (SPAN session)

To configure a Switched Port Analyzer (SPAN) destination port, use the destination command. To remove the destination SPAN port, use the no form of this command.

destination interface { ethernet slot / port }

no source interface { ethernet slot / port }

Syntax Description

interface
Specifies the interface type to use as the destination SPAN port.
ethernet slot / port
Specifies the Ethernet interface to use as the destination SPAN port. The slot number is from 1 to 255 and the port number is from 1 to 128.

Command Default

None

Command Modes

SPAN session configuration mode

Command History

Release
Modification
4.0(0)N1(1a)
This command was introduced.

Usage Guidelines

Each local SPAN session destination session must have a destination port (also called a monitoring port ) that receives a copy of traffic from the source port.

The destination port can be any Ethernet physical port and must reside on the same switch as the source port (for a local SPAN session). The destination port cannot be a source port, a port channel, or SAN port channel group.

A destination port receives copies of sent and received traffic for all monitored source ports. If a destination port is oversubscribed, it can become congested. This congestion can affect traffic forwarding on one or more of the source ports.

Examples

This example shows how to configure an Ethernet interface SPAN destination port and activate the SPAN session:

switch# configure terminal
switch(config)# interface ethernet 1/5
switch(config-if)# switchport monitor
switch(config-if)# exit
switch(config)# monitor session 9 type local
switch(config-monitor)# description A Local SPAN session
switch(config-monitor)# source interface ethernet 1/1
switch(config-monitor)# destination interface ethernet 1/5
switch(config-monitor)# no shutdown
switch(config-monitor)#
 

Related Commands

Command
Description
source (SPAN session)
Configures a source SPAN port.
monitor session
Creates a new SPAN session configuration.
show monitor session
Displays SPAN session configuration information.
show running-config monitor
Displays the running configuration information of a SPAN session.