xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide
1019
89-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.
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
- Specifies the RSPAN VLAN by VLAN name.
<vlan_name>
- Enter the VLAN name.
vlan_id
- Specifies the RSPAN VLAN by VLAN ID.
<vlanid 1-4094>
- Enter the VLAN ID between 1 and 4094.
redirect
- Specifies 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
- Specifies to add the redirect port.
delete
- Specifies to delete the redirect port.
ports
- Specifies 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.
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>
- 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 Administrator and Operator-level users can issue this command.
Example
To configure an RSPAN source entry without source target port:
Summary of Contents for xStack
Page 1: ......
Page 553: ...xStack DGS 3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 548 ...
Page 565: ...xStack DGS 3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 560 ...
Page 1011: ...xStack DGS 3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 1006 ...
Page 1120: ...xStack DGS 3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 1115 ...