![D-Link xStack DGS-3612G series Скачать руководство пользователя страница 469](http://html1.mh-extra.com/html/d-link/xstack-dgs-3612g-series/xstack-dgs-3612g-series_cli-manual_3519854469.webp)
xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
466
62
RSPAN
C
OMMANDS
The RSPAN function 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 < vlanid 1-4094>]
delete rspan vlan
[vlan_name <vlan_name> | vlan_id < vlanid 1-4094>]
config rspan vlan
[vlan_name <vlan_name> | vlan_id < vlanid 1-4094>]
source {[add | delete] ports <portlist> [rx | tx | both] }]
config rspan vlan
[vlan_name <vlan_name> | vlan_id < vlanid 1-4094>]
redirect [add | delete] port <port>
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 the RSPAN function is to mirror the packets to the
remote switch. The packet travels from the source switch through the
intermediate switch, where the monitored packet is received, then to
the switch where the sniffer is attached. 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,
once RSPAN VLAN has been configured with source ports, and the
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:
DGS-3627:5#
enable rspan
Command: enable rspan
Success.