![D-Link xStack DGS-3612G series Cli Manual Download Page 473](http://html1.mh-extra.com/html/d-link/xstack-dgs-3612g-series/xstack-dgs-3612g-series_cli-manual_3519854473.webp)
xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
470
To config RSPAN VLAN by VLAN ID:
DGS-3627:5# config rspan vlan vlan_id 6 source add ports 2-5 rx
Command: config rspan vlan vlan_id 6 source add ports 1:2-1:5 rx
Success.
DGS-3627:5#
To config RSPAN VLAN:
DGS-3627:5#config rspan vlan vlan_id 2 source
Command: config rspan vlan vlan_id 2 source
Success.
DGS-3627:5#
config rspan vlan redirect
Purpose
Used by the intermediate or the last switch to configure the output for
the RSPAN mirrored packet.
Syntax
config rspan vlan [vlan_name <vlan_name>| vlan_id <vlanid 1-
4094>] redirect [add | delete] port <port>
Description
This command is used by the intermediate or the last switch to
configure the output port of the RSPAN VLAN packets. The redirect
command makes sure that the RSPAN VLAN packets can be egressed
to the redirect port. In addition to this redirect command, the VLAN
setting must be correctly configured to make the RSPAN VLAN work
correctly. That is, for the intermediate switch, the redirect port must be
a tagged member port of the RSPAN VLAN. For the last switch, the
redirect port must be either a tagged member port or untagged member
port of the RSPAN VLAN based on users’ requirement. If untagged
membership is specified, the RSPAN VLAN tag will be removed.
The redirect function will only work when RSPAN is enabled.
Multiple RSPAN VLANs can be configured with redirect settings at the
same time. An RSPAN VLAN can be configured with source settings
and redirect settings at the same time.
Parameters
vlan_name
– Specifies the RSPAN VLAN by VLAN name.
vlan_id
– Specifies the RSPAN VLAN by VLAN ID.
r
edirect
– Specifies the output port for the RSPAN VLAN packets.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example usage:
To configure RSPAN redirect:
DGS-3627:5# config rspan vlan vlan_id 2 redirect add port 1:18
Command: config rspan vlan vlan_id 2 redirect add port 1:18
DGS-3627:5#