You can verify your settings by entering the show monitor privileged EXEC command. You can display
SPAN, RSPAN, FSPAN, and FRSPAN configuration on the switch by entering the show running-config
privileged EXEC command. SPAN information appears near the end of the output.
Examples
This example shows how to limit SPAN traffic in an existing session only to specific VLANs:
Switch(config)# monitor session 1 filter vlan 100 - 110
This example shows how to create a local SPAN session 1 to monitor both sent and received traffic on source
port 1 on stack member 1 to destination port 2 on stack member 2 and to filter IPv4 traffic using access list
number 122 in an FSPAN session:
Switch(config)# monitor session 1 source interface gigabitethernet1/0/1 both
Switch(config)# monitor session 1 destination interface gigabitethernet1/0/2
Switch(config)# monitor session 1 filter ip access-group 122
Related Commands
DescriptionCommand
Configures a new SPAN or RSPAN session.
monitor session
Configures a FSPAN or FRSPAN destination session.
monitor session destination
Configures a FSPAN or FRSPAN source session.
monitor session source
Displays information about all SPAN and RSPAN sessions.
show monitor
Command Reference, Cisco IOS XE Everest 16.5.1a (Catalyst 3650 Switches)
510
monitor session filter