2-502
Catalyst 6500 Series Switch Command Reference—Release7.6
78-15328-01
Chapter2 Catalyst 6500 Series Switch and ROM Monitor Commands
set rspan
set rspan
To create remote Switched Port Analyzer (SPAN) sessions, use the set rspan command.
set rspan disable source [rspan_vlan | all]
set rpsan disable destination [mod/port | all]
set rspan source {src_mod/src_ports... | vlans... | sc0} {rspan_vlan} [rx | tx | both]
[multicast {enable | disable}] [filter vlans...] [create]
set rspan destination mod/port {rspan_vlan} [inpkts {enable | disable}]
[learning {enable | disable}] [create]
Syntax Description disable source Disables remote SPAN source information.
rspan_vlan (Optional) Remote SPAN VLAN.
all (Optional) Disables all remote SPAN source or destination sessions.
disable destination Disables remote SPAN destination information.
mod/port (Optional) Remote SPAN destination port.
src_mod/src_ports... Monitored ports (remote SPAN source).
vlans... Monitored VLANs (remote 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.
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 new remote SPAN session instead of overwriting
the previous SPAN session.
inpkts enable (Optional) Allows the remote SPAN destination port to receive normal
ingress traffic (from the network to the bus) while forwarding the
remote SPAN traffic.
inpkts disable (Optional) Disables the receiving of normal in bound tra ffic on the
remote SPAN destination port.
learning enable (Optional) Enables learning for the remote SPAN destination port.
learning disable (Optional) Disable s learni ng for the re mote SPAN destination port.