![D-Link xStack DGS-3400 Series Скачать руководство пользователя страница 415](http://html.mh-extra.com/html/d-link/xstack-dgs-3400-series/xstack-dgs-3400-series_cli-manual_77433415.webp)
xStack
®
DGS-3400 Series Layer 2 Gigabit Managed Switch CLI Manual
411
54
RSPAN
C
OMMANDS
The Remote Switched Port Analyzer (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 is used to control 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:
D G S - 3 4 2 6 : 5 # e n a b l e r s p a n
Command: enable rspan
Success.
D G S - 3 4 2 6 : 5 #