xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
597
config rspan vlan redirect
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.
Parameters
vlan
- See below:
vlan_name
- Specify the RSPAN VLAN by VLAN name.
vlan_id
- Specify the RSPAN VLAN by VLAN ID.
redirect
- Specify output portlist for the RSPAN VLAN packets. If the redirect port is a Link
Aggregation port, there will perform the Link Aggregation behavior for RSPAN packets.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example usage:
To add or delete redirect ports for special RSPAN VLAN on intermediate or destination switch:
DGS-3627:admin# config rspan vlan vlan_name vlan2 redirect add ports 18
Command: config rspan vlan vlan_name vlan2 redirect add ports 18
Success.
DGS-3627:admin#
show rspan
Purpose
Used to display RSPAN configuration.
Syntax
show rspan {[vlan_name <vlan_name> | vlan_id <vlanid 1-4094>]}
Description
This command displays the RSPAN configuration.
Parameters
vlan_name
- Specify the RSPAN VLAN by VLAN name
vlan_id
- Specify the RSPAN VLAN by VLAN ID.
Restrictions
None.
Example usage:
Display the specific settings:
DGS-3627:admin# show rspan vlan_id 63
Command: show rspan vlan_id 63
RSPAN
: Enabled
RSPAN VLAN ID : 63
-------------------
Mirror Group ID
: 1
Target Port
: 1:1
Source Ports
RX
: 1:2-1:5
TX
: 1:2-1:5
Redirect Ports
: 1:9
Total RSPAN VLAN : 1
DGS-3627:admin#