
24-12
Catalyst 3550 Multilayer Switch Software Configuration Guide
78-11194-09
Chapter 24 Configuring SPAN and RSPAN
Configuring SPAN
This example shows how to configure the destination port for ingress traffic on VLAN 5 by using a
security device that does not support 802.1Q encapsulation.
Switch(config)# monitor session 1 destination interface Fa 0/5 ingress vlan 5
This example shows how to configure the destination port for ingress traffic on VLAN 5 by using a
security device that supports 802.1Q encapsulation.
Switch(config)# monitor session 1 destination interface Fa 0/5 encapsulation dot1q ingress
vlan 5
This example shows how to disable ingress traffic forwarding on the destination port.
Switch(config)# monitor session 1 destination interface Fa 0/5 encapsulation dot1q
Step 4
monitor session session_number
destination interface interface-id
[encapsulation {dot1q [ingress vlan vlan id]
| ISL [ingress]} | ingress vlan vlan id]
Specify the SPAN session, the destination port (monitoring port), the
packet encapsulation, and the ingress VLAN.
For session_number, specify 1 or 2.
For interface-id, specify the destination port. Valid interfaces include
physical interfaces.
(Optional) Specify the encapsulation of the packets transmitted on
the SPAN destination port. If no encapsulation is specified, all
transmitted packets will be sent in native format (untagged).
•
Enter encapsulation dot1q to send native VLAN packets
untagged and all other VLAN tx packets tagged dot1q.
•
Enter encapsulation isl to send all tx packets encapsulated using
ISL.
(Optional) Specify whether forwarding is enabled for ingress traffic
on the SPAN destination port.
•
For native (untagged) and dot1q encapsulation, specify ingress
vlan vlan id to enable ingress forwarding with vlan id as the
native VLAN; vlan id will also be used as the native VLAN for
transmitted packets
•
Specify ingress to enable ingress forwarding when using ISL
encapsulation.
Step 5
end
Return to privileged EXEC mode.
Step 6
show monitor [session session_number]
Verify your entries.
Step 7
copy running-config startup-config
(Optional) Save your entries in the configuration file.
Command
Purpose