Displaying Span And Rspan Status - Cisco 4500M Software Manual

Software guide
Table of Contents

Advertisement

Displaying SPAN and RSPAN Status

Command
Step 4
Switch(config)# monitor session
session_number filter vlan vlan-id [,
| -]
Step 5
Switch(config)# monitor session
session_number destination remote vlan
vlan-id
Step 6
Switch(config)# end
Step 7
Switch# show monitor [session
session_number ]
Step 8
Switch# 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 clear any existing configuration on RSPAN session 2, configure RSPAN
session 2 to monitor traffic received on trunk port 4, and send traffic for only VLANs 1 through 5 and 9
to destination remote VLAN 902.
Switch(config)# no monitor session 2
Switch(config)# monitor session 2 source interface gigabitethernet1/1 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 status of the current SPAN or RSPAN configuration, use the show monitor privileged
EXEC command.
This example displays the output for the show monitor command for SPAN source session 1:
Switch# show monitor session 1
Session 1
---------
Type: Local Source Session
Source Ports:
Software Configuration Guide—Release 12.2(25)EW
39-24
RX Only:
Fa3/13
TX Only:
None
Both:
None
Purpose
Limits the RSPAN source traffic to specific VLANs.
For session_number, specifies the session number identified with this
RSPAN session (1 through 6).
For vlan-id, the range is 1 to 4094; do not enter leading zeros.
(Optional) Use a comma (,) to specify a series of VLANs or use a
hyphen (-) to specify a range of VLANs. Enter a space after the
comma; enter a space before and after the hyphen.
Specifies the RSPAN session, the destination remote VLAN.
For session_number, specifies the session number identified with this
RSPAN session (1 through 6).
For vlan-id, specifies the RSPAN VLAN to carry the monitored traffic
to the destination port.
Returns to privileged EXEC mode.
Verifies your entries.
(Optional) Saves your entries in the configuration file.
Chapter 39
Configuring SPAN and RSPAN
OL-6696-01

Advertisement

Table of Contents
loading

This manual is also suitable for:

4500 series

Table of Contents