Cisco ME 3400 Software Configuration Manual page 518

Ethernet access switch
Hide thumbs Also See for ME 3400:
Table of Contents

Advertisement

Configuring SPAN and RSPAN
Command
Step 6
show monitor [session session_number]
show running-config
Step 7
copy running-config startup-config
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 replicate keywords are ignored with the no form of the
command.
This example shows how to set up SPAN session 1 for monitoring source port traffic to a destination
port. First, any existing SPAN configuration for session 1 is deleted, and then bidirectional traffic is
mirrored from source Gigabit Ethernet port 1 to destination Gigabit Ethernet port 2, retaining the
encapsulation method.
Switch(config)# no monitor session 1
Switch(config)# monitor session 1 source interface gigabitethernet0/1
Switch(config)# monitor session 1 destination interface gigabitethernet0/2
encapsulation replicate
Switch(config)# end
This example shows how to remove port 1 as a SPAN source for SPAN session 1:
Switch(config)# no monitor session 1 source interface gigabitethernet0/1
Switch(config)# end
This example shows how to disable received traffic monitoring on port 1, which was configured for
bidirectional monitoring:
Switch(config)# no monitor session 1 source interface gigabitethernet0/1 rx
The monitoring of traffic received on port 1 is disabled, but traffic sent from this port continues to be
monitored.
This example shows how to remove any existing configuration on SPAN session 2, configure SPAN
session 2 to monitor received traffic on all ports belonging to VLANs 1 through 3, and send it to
destination Gigabit Ethernet port 2. The configuration is then modified to also monitor all traffic on all
ports belonging to VLAN 10.
Switch(config)# no monitor session 2
Switch(config)# monitor session 2 source vlan 1 - 3 rx
Switch(config)# monitor session 2 destination interface gigabitethernet0/2
Switch(config)# monitor session 2 source vlan 10
Switch(config)# end
Cisco ME 3400 Ethernet Access Switch Software Configuration Guide
26-12
Purpose
Verify the configuration.
(Optional) Save the configuration in the configuration file.
Chapter 26
Configuring SPAN and RSPAN
OL-9639-07

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents