This example shows how to configure RSPAN source session 1 to monitor a source interface and to configure
the destination RSPAN VLAN 900:
Device(config)# monitor session 1 source interface gigabitethernet1/0/1
Device(config)# monitor session 1 destination remote vlan 900
Device(config)# end
This example shows how to configure an RSPAN destination session 10 in the switch receiving the monitored
traffic:
Device(config)# monitor session 10 source remote vlan 900
Device(config)# monitor session 10 destination interface gigabitethernet1/0/2
This example shows how to configure the destination port for ingress traffic on VLAN 5 by using a security
device that supports IEEE 802.1Q encapsulation. Egress traffic replicates the source; ingress traffic uses IEEE
802.1Q encapsulation.
Device(config)# monitor session 2 destination interface gigabitethernet1/0/2 encapsulation
dot1q ingress dot1q vlan 5
This example shows how to configure the destination port for ingress traffic on VLAN 5 by using a security
device that does not support encapsulation. Egress traffic and ingress traffic are untagged.
Device(config)# monitor session 2 destination interface gigabitethernet1/0/2 ingress untagged
vlan 5
Related Commands
DescriptionCommand
Configures a new SPAN or RSPAN session.
monitor session
Configures a FSPAN or FRSPAN session filter.
monitor session filter
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)
508
monitor session destination