446 Monitoring Switch Traffic
Configuring RSPAN (Transit Switch)Configuring RSPAN (Destination Switch)
exit Exit to Privileged EXEC mode.
Command Purpose
configure Enter Global Configuration mode.
vlan
vlan-id
Create an RSPAN VLAN.
remote-span Configure the VLAN as a spanning VLAN.
exit Exit to Global Configuration mode.
interface range te1/0/1-2 Configure the span interfaces.
switchport mode trunk Configure the interface to be in trunking mode.
switch trunk allowed
vlan
vlan-id
Restrict the trunk to the spanning VLAN (optional).
exit Exit to Global Configuration mode.
Command Purpose
configure Enter Global Configuration mode.
vlan
vlan-id
Create an RSPAN VLAN.
remote-span Configure the VLAN as a spanning VLAN.
exit Exit to Global Configuration mode
monitor session
session_id
source remote
vlan
vlan_id
Configure a source RSPAN VLAN on the destination
switch.
monitor session
session_id
destination
interface
interface
Configure the destination port on the RSPAN destination
switch.
monitor session
session_id
mode
Enable the monitor session.
Command Purpose