2-672
Catalyst 6500 Series Switch Command Reference—Release8.4
OL-6244-01
Chapter2 Catalyst 6500 Series Switch and ROM Monitor Commands
set span
set span
To enable or disable SPAN and to set up the switch port an d VLAN analyzer for multip le SPAN sessions,
use the set span command.
set span disable [dest_mod/dest_port | all]
set span disable session session_number
set span {src_mod/src_ports | src_vlans | sc0} {dest_mod/dest_port} [rx | tx | both]
[session session_number] [inpkts {enable | disable}] [learning {enable | disable}]
[multicast {enable | disable}] [filter vlans...] [create]
set span permit-list mod/port {include | exclude}
set span permit-list {enable | disable}
Syntax Description disable Disables SPAN.
dest_mod (Optional) Monitoring module (SPAN destination).
dest_port (Optional) Monitoring port (SPAN destination).
all (Optional) Disables all SPAN sessions.
session
session_number Specifies a unique SPAN session across all types of SPAN sessions.
src_mod Monitored module (SPAN source).
src_ports Monitored ports (SPAN source).
src_vlans Monitored VLANs (SPAN source).
sc0 Specifies the inband port is a valid source.
rx (Optional) Specifies that information received at the source (ingress SPAN) is
monitored.
tx (Optional) Specifies that information transmitted from the source (egress SPAN )
is monitored.
both (Optional) Specifies that information both transmitted from the source (ingress
SPAN) and received (egress SPAN) at the source are monitored.
inpkts enable (Optional) Enables the receiving of normal inbound traffic on the SPAN
destination port.
inpkts disable (Optional) Disables the receiving of normal inbound traffic on the SPAN
destination port.
learning enable (Optional) Enables learning for the SPAN destination port.
learning disable (Optional) Disables learning for the SPAN destination port.
multicast enable (Optional) Enables monitoring multicast traffic (egress traffic only).
multicast disable (Optional) Disables monitoring multicast traffic (egress traffic only).
filter vlans (Optional) Monitors traffic on selected VLANs on source trunk ports.
create (Optional) Creates a SPAN port.
permit-list Specifies a list of ports that can be configured as SPAN or RSPAN destinations.
mod/port Numbers of the modules and numbers of the ports on the modules.
include Includes the specified ports in the permit list.