Displaying Span And Rspan Status - Cisco Catalyst 4500 Series Software Configuration Manual

Cisco ios xe release 3.9.xe and cisco ios release 15.2(5)ex
Hide thumbs Also See for Catalyst 4500 Series:
Table of Contents

Advertisement

Displaying SPAN and RSPAN Status

Command
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# configure terminal
Enter configuration commands, one per line.
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:
Source VLANs:
Source RSPAN VLAN: None
Destination Ports: None
Filter VLANs:
Dest RSPAN VLAN: None
Ingress : Enabled, default VLAN=2
Learning : Disabled
Catalyst 4500 Series Switch, Cisco IOS Software Configuration Guide - Cisco IOS XE 3.9.xE and IOS 15.2(5)Ex
66-24
RX Only:
Fa3/13
TX Only:
None
Both:
None
RX Only:
None
TX Only:
None
Both:
None
Encapsulation: DOT1Q
Ingress:Enabled, default VLAN=5
None
Purpose
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.
End with CNTL/Z.
Chapter 66
Configuring SPAN and RSPAN

Advertisement

Table of Contents
loading

Table of Contents