Cisco WS-C3550-12G Software Configuration Manual page 377

Multilayer switch
Hide thumbs Also See for WS-C3550-12G:
Table of Contents

Advertisement

Chapter 15
Configuring SPAN
Command
Step 4
monitor session session_number
destination interface interface-id
[encapsulation {dot1q | isl}]
Step 5
end
Step 6
show monitor [session session_number]
Step 7
copy running-config startup-config
To remove the entire SPAN session, use the no monitor session session_number global configuration
command. To remove a source or destination port from the SPAN session, use the no monitor session
session_number source interface interface-id global configuration command or the no monitor session
session_number destination interface interface-id global configuration command.
This example shows how to set up a SPAN session, session 1, for monitoring source port traffic to a
destination port. First, any existing SPAN configuration for session 1 is cleared, and then bidirectional
traffic is mirrored from source port 1 to destination port 10. The show monitor session privileged EXEC
command is used to verify the configuration.
Switch(config)# no monitor session 1
Switch(config)# monitor session 1 source interface gigabitethernet0/1
Switch(config)# monitor session 1 destination interface gigabitethernet0/10 encapsulation
dot1q
Switch(config)# end
Switch# show monitor session 1
Session 1
---------
Source Ports:
Source VLANs:
Destination Ports: Gi0/10
Filter VLANs:
78-11194-03
RX Only:
None
TX Only:
None
Both:
Gi0/1
RX Only:
None
TX Only:
None
Both:
None
Encapsulation: DOT1Q
None
Purpose
Specify the SPAN session and the destination port (monitoring port).
For session_number, specify 1 or 2.
For interface-id, specify the destination port. Valid interfaces include
physical interfaces.
(Optional) Specify the encapsulation header for outgoing packets. If
not specified, packets are sent in native form.
isl—Use ISL encapsulation.
dot1q—Use 802.1Q encapsulation.
Return to privileged EXEC mode.
Verify your entries.
(Optional) Save your entries in the configuration file.
Catalyst 3550 Multilayer Switch Software Configuration Guide
Configuring SPAN
15-9

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Catalyst 3550

Table of Contents