Chapter 14
| Port Mirroring Commands
RSPAN Mirroring Commands
– 409 –
â—†
A destination port can still send and receive switched traffic, and participate in
any Layer 2 protocols to which it has been assigned.
Example
The following example configures port 4 to receive mirrored RSPAN traffic:
Console(config)#rspan session 1 destination interface ethernet 1/2
Console(config)#
rspan remote vlan
Use this command to specify the RSPAN VLAN, switch role (source, intermediate or
destination), and the uplink ports. Use the
no
form to disable the RSPAN on the
specified VLAN.
Syntax
[
no
]
rspan session
session-id
remote vlan
vlan-id
{
source
|
intermediate
|
destination
}
uplink
interface
session-id – A number identifying this RSPAN session. (Range: 1-3)
Three sessions are allowed, including both local and remote mirroring,
using different VLANs for RSPAN sessions.
vlan-id - ID of configured RSPAN VLAN. (Range: 1-4094)
Use the vlan
rspan command to reserve a VLAN for RSPAN mirroring before
enabling RSPAN with this command.
source
- Specifies this device as the source of remotely mirrored traffic.
intermediate
- Specifies this device as an intermediate switch,
transparently passing mirrored traffic from one or more sources to one or
more destinations.
destination
- Specifies this device as a switch configured with a destination
port which is to receive mirrored traffic for this session.
uplink
- A port configured to receive or transmit remotely mirrored traffic.
interface -
ethernet
unit/port
ethernet
unit/port
unit - Unit identifier. (Range: 1)
port - Port number. (Range: 1-10/28)
Default Setting
None
Command Mode
Global Configuration