DGS-3000 Series Layer 2 Managed Gigabit Ethernet Switch CLI Reference Guide
719
config rspan vlan
72-5
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 {[add | delete] ports <portlist> [rx | tx | both]}]
Parameters
vlan_name
- Specify the RSPAN VLAN by VLAN name.
<vlan_name>
- Enter the VLAN name.
vlan_id
- Specify the RSPAN VLAN by VLAN ID.
<vlanid 1-4094>
- Enter 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>
- Enter 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.
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>
- Enter 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 Administrators and Operators can issue this command.
Example
To configure an RSPAN source entry without source target port:
Summary of Contents for DGS-3000 series
Page 1: ......