D-Link dgs-3420 Work Light User Manual


 
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide
708
73-5 config rspan vlan
Description
This command is used by the source switch to configure the source setting for the RSPAN VLAN.
The redirect command is used by the intermediate or last switch to configure the output port of the
RSPAN VLAN packets, and makes sure that the RSPAN VLAN packets can egress to the redirect
ports. In addition, 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 an
untagged member port of the RSPAN VLAN based on the users’ requirements. 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 the redirect setting
at the same time.
A RSPAN VLAN can be configured with the source setting and the redirect setting at the same
time.
Format
config rspan vlan [vlan_name <vlan_name> | vlan_id <vlanid 1-4094>] [redirect [add | delete]
ports <portlist> | source {[mirror_group_id <value 1-4> | [add | delete] ports <portlist> [rx |
tx | both]]}]
Parameters
vlan_name - Specify the RSPAN VLAN by VLAN name.
<vlan_name> - Specify the VLAN name.
vlan_id - Specify the RSPAN VLAN by VLAN ID.
<vlanid 1-4094> - Specify the VLAN ID between 1 and 4094.
redirect - Specify output port list for the RSPAN VLAN packets. If the redirect port is a Link
Aggregation port, the Link Aggregation behavior will apply to the RSPAN packets.
add - Specify to add the redirect port.
delete - Specify to delete the redirect port.
ports
- Specify the output port list to add to or delete from the RSPAN packets.
<portlist>
- Specify a range of ports to be configured.
source - If the ports are not specified by this command, the source of RSPAN will come from the
source specified by the mirror command or the flow-based source specified by an ACL. If no
parameter is specified for source, it deletes the configured source parameters.
mirror_group_id - The mirror group identify that specify which mirror session used for
RSPAN source function. If the mirror group is not specified when configuring the mirror
ports, the mirror group 1 will be the default group.
<value 1-4> - Enter the mirror group ID value here. This value must be between 1 and 4.
add - (Optional) Specify to add source ports.
delete - (Optional) Specify to delete source ports.
ports
- (Optional) Specify source port list to add to or delete from the RSPAN source.
<portlist> - Specify a range of ports to be configured.
rx - (Optional) Specify to only monitor ingress packets.
tx - (Optional) Specify to only monitor egress packets.
both - (Optional) Specify to monitor both ingress and egress packets.
Restrictions
Only Administrator and Operator-level users can issue this command.