Administrator Guide

Table Of Contents
Layer 2 Switching Commands 671
Example
This example shows how to configure a source switch using VLAN 723 as the
destination RSPAN VLAN and Gi1/0/3 as the source interface. Gi1/0/10 is
configured as the reflector port. It is recommended that interface Gi1/0/10 be
configured as a trunk port. Interface Gi1/0/10 must be configured as a
member of VLAN 723 and may also carry traffic on other VLANs.
console(config)#vlan 723
console(config-vlan723)#exit
console(config)#interface gi1/0/10
console(config-if-Gi1/0/10)#switchport mode trunk
console(config-if-Gi1/0/10)#exit
console(config)#monitor session 1 source interface gi1/0/3 both
console(config)#monitor session 1 destination remote vlan 723 reflector-port
gi1/0/10
This example shows how to configure a destination switch using VLAN 723 as
the source RSPAN VLAN and Gi1/0/10 as the destination interface. Interface
Gi1/0/10 is dedicated to monitoring and has a PC running WireShark
attached.
console(config)#vlan 723
console(config-vlan723)#exit
console(config)#interface gi1/0/10
console(config-if-Gi1/0/10)#switchport mode trunk
console(config)# monitor session 1 source remote vlan 723
console(config)# monitor session 1 destination interface gi1/0/10
console(config)# monitor session 1 mode
remote-span
Use this command to configure a VLAN as an RSPAN VLAN. Use the no
form of the command to remove the remote SPAN characteristics from a
VLAN and revert it to a normal MAC learning VLAN.
Syntax
remote-span
no remote-span
Default Configuration
There is no default configuration for this command.
2CSNXXX_SWUM204.book Page 671 Monday, January 25, 2016 1:25 PM