EasyManua.ls Logo

Cisco Catalyst 3750-E - Page 739

Cisco Catalyst 3750-E
1414 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
30-17
Catalyst 3750-E and 3560-E Switch Software Configuration Guide
OL-9775-08
Chapter 30 Configuring SPAN and RSPAN
Configuring SPAN and RSPAN
To delete a SPAN session, use the no monitor session session_number global configuration command.
To remove a source or destination port or VLAN from the SPAN session, use the no monitor session
session_number source {interface interface-id | vlan vlan-id} global configuration command or the no
monitor session session_number destination interface interface-id global configuration command. For
destination interfaces, the encapsulation and ingress options are ignored with the no form of the
command.
This example shows how to remove any existing configuration on SPAN session 2, configure SPAN
se
ssion 2 to monitor received traffic on Gigabit Ethernet source port 1, and send it to destination Gigabit
Ethernet port 2 with the same egress encapsulation type as the source port, and to enable ingress
forwarding with IEEE 802.1Q encapsulation and VLAN 6 as the default ingress VLAN.
Switch(config)# no monitor session 2
Switch(config)# monitor session 2 source gigabitethernet1/0/1 rx
Switch(config)# monitor session 2 destination interface gigabitethernet1/0/2 encapsulation
replicate ingre
ss dot1q vlan 6
Switch(config)# end
Step 4
monitor session session_number
destination {interface interface-id [, | -]
[encapsulation replicate] [ingress {dot1q
vlan vlan-id | isl | untagged vlan vlan-id |
vlan vlan-id}]}
Specify the SPAN session, the destination port, the packet
e
ncapsulation, and the ingress VLAN and encapsulation.
For s
ession_number, specify the session number entered in Step 3.
When entering this command on the Catalyst 3560E-12D switch, you
can only enter 1 for the session_number.
For in
terface-id, specify the destination port. The destination
interface must be a physical port; it cannot be an EtherChannel, and
it cannot be a VLAN.
(Optional) [, | -]
Specify a series or range of interfaces. Enter a space
before and after the comma or hyphen.
(Optional) Enter en
capsulation replicate to specify that the
destination interface replicates the source interface encapsulation
method. If not selected, the default is to send packets in native form
(untagged).
Enter ing
ress with keywords to enable forwarding of incoming
traffic on the destination port and to specify the encapsulation type:
dot1q vlan vlan-id—Accept incoming packets with IEEE
802.1Q encapsulation with the specified VLAN as the default
VLAN.
islForward ingress packets with ISL encapsulation.
untagged vlan vlan-id or vlan vlan-idAccept incoming
packets with untagged encapsulation type with the specified
VLAN as the default VLAN.
Step 5
end Return to privileged EXEC mode.
Step 6
show monitor [session session_number]
show running-config
Verify the configuration.
Step 7
copy running-config startup-config (Optional) Save the configuration in the configuration file.
Command Purpose

Table of Contents

Other manuals for Cisco Catalyst 3750-E

Related product manuals