Displaying Span And Rspan Status - Cisco WS-C2960-24LC-S Software Configuration Manual

Software guide
Table of Contents

Advertisement

Displaying SPAN and RSPAN Status

Command
Step 5
monitor session session_number
destination remote vlan vlan-id
Step 6
end
Step 7
show monitor [session session_number]
show running-config
Step 8
copy running-config startup-config
To monitor all VLANs on the trunk port, use the no monitor session session_number filter vlan global
configuration command.
This example shows how to remove any existing configuration on RSPAN session 2, configure RSPAN
session 2 to monitor traffic received on trunk port 2, and send traffic for only VLANs 1 through 5 and 9
to destination RSPAN VLAN 902.
Switch(config)# no monitor session 2
Switch(config)# monitor session 2 source interface gigabitethernet0/2 rx
Switch(config)# monitor session 2 filter vlan 1 - 5 , 9
Switch(config)# monitor session 2 destination remote vlan 902
Switch(config)# end
Displaying SPAN and RSPAN Status
To display the current SPAN or RSPAN configuration, use the show monitor user EXEC command.
You can also use the show running-config privileged EXEC command to display configured SPAN or
RSPAN sessions.
Catalyst 2960 Switch Software Configuration Guide
23-22
Purpose
Specify the RSPAN session and the destination remote VLAN
(RSPAN VLAN).
For session_number, enter the session number specified in step 3.
For vlan-id, specify the RSPAN VLAN to carry the monitored traffic
to the destination port.
Return to privileged EXEC mode.
Verify the configuration.
(Optional) Save the configuration in the configuration file.
Chapter 23
Configuring SPAN and RSPAN
OL-8603-04

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ws-c2960s-24td-lWs-c2960s-48lpd-lCatalyst 2960

Table of Contents