Chapter 13
| Port Mirroring Commands
RSPAN Mirroring Commands
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-2)
Only two mirror sessions are allowed, including both local and remote
mirroring. If local mirroring is enabled with the
then there is only one session available for RSPAN.
vlan-id - ID of configured RSPAN VLAN. (Range: 2-4092)
Use the
vlan rspan
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-28/52)
Default Setting
None
Command Mode
Global Configuration
Command Usage
◆
Only 802.1Q trunk or hybrid (i.e., general use) ports can be configured as an
RSPAN uplink port – access ports are not allowed (see
◆
Only one uplink port can be configured on a source switch, but there is no
limitation on the number of uplink ports configured on an intermediate or
destination switch.
◆
Only destination and uplink ports will be assigned by the switch as members of
this VLAN. Ports cannot be manually assigned to an RSPAN VLAN with the
switchport allowed vlan
members to an RSPAN VLAN. Also, note that the
command to reserve a VLAN for RSPAN mirroring before
command. Nor can GVRP dynamically add port
– 340 –
port monitor
command,
switchport
mode).
show vlan
command will not