Administrator Guide

Monitoring Switch Traffic 557
Configuring RSPAN
RSPAN is an extension of port mirroring that operates across multiple
switches. Use the following commands in Privileged EXEC mode to configure
RSPAN. Remember to assign VLANs to physical interfaces (steps not shown).
Configuring RSPAN (Source Switch)
Command Purpose
configure Enter Global Configuration mode.
vlan
vlan-id
Configure an RSPAN VLAN.
remote-span Configure the VLAN as a spanning VLAN.
exit Exit to Global Configuration mode.
interface te1/0/1 Enter interface configuration mode.
switchport mode trunk Set the egress span interface to trunk mode.
switch trunk allowed
vlan
vlan-id
Restrict the trunk to the spanning VLAN (optional).
exit Exit to Global Configuration mode.
monitor session
session-
number
source
{interface
interface–id
|
vlan
vlan-id
| remote
vlan
rspan-vlan-id
} [rx |
tx]
Configure a source (monitored) port for a monitor session.
session_number
—The monitoring session ID, which
ranges from 1 to 4. The Dell Networking N1500 supports
a single session.
interface–id
—The interface to be monitored. The
internal CPU port may not be configured as an RSPAN
source.
rx | tx
— Monitor ingress (rx) or egress (tx) traffic. If no
parameter is given, both ingress and egress traffic are
monitored.
monitor session
session-
number
destination
{interface
interface–id
|
remote vlan
rspan-vlan-
id
reflector-port
interface–id
}
Configure a local RSPAN reflector port on the source
switch. The reflector port should be configured as a trunk
port.