xStack® DES-3528/DES-3552 Series Layer 2 Managed Stackable Fast Ethernet Switch CLI Reference Guide
411
RSPAN Commands
The Remote Switched Port Analyzer (RSPAN) commands in the Command Line Interface (CLI) are listed (along with
the appropriate
parameters) in the following table.
Command
Parameters
enable rspan
disable rspan
create rspan vlan
[vlan_name <vlan_name> | vlan_id <value 1-4094>]
delete rspan vlan
[vlan_name <vlan_name> | vlan_id <value 1-4094>]
config rspan vlan
[vlan_name <vlan_name> | vlan_id <vlanid 1-4094>] [redirect [add | delete] port <port>
| source {[add | delete] ports <portlist> [rx | tx | both]}]
show rspan
{[vlan_name <vlan_name> | vlan_id <vlanid 1-4094>]}
Each command is listed, in detail, in the following sections.
enable rspan
Purpose
Used to enable RSPAN.
Syntax
enable rspan
Description
This command controls the RSPAN function. The purpose of RSPAN function is to mirror the
packets to the remote Switch. The packet travels from the Switch where the monitored
packet is received, through an intermediate Switch, then to the Switch where the sniffer is
attached. The first Switch is also named the source Switch. To make the RSPAN work, for
the source Switch, the RSPAN VLAN source setting must be configured. For the
intermediate and the last Switch, the RSPAN VLAN redirect setting must be configured.
NOTE:
RSPAN VLAN mirroring only works when RSPAN is enabled, an
RSPAN VLAN has been configured with source ports, and mirror is
enabled. RSPAN redirect function will work when RSPAN is enabled and
at least one RSPAN VLAN has been configured with redirect ports.
Parameters
None.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example usage:
To enable RSPAN:
DES-3528:admin# enable rspan
Command: enable rspan
Success.
DES-3528:admin#
disable rspan
Purpose
Used to disable RSPAN.
Syntax
disable rspan
Description
This command controls the RSPAN function
Parameters
None.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example usage:
To disable RSPAN: