xStack® DES-3528/DES-3552 Series Layer 2 Managed Stackable Fast Ethernet Switch CLI Reference Guide
413
config rspan vlan
Purpose
Used by the source Switch to configure the source and redirect settings for the RSPAN
VLAN.
Syntax
config rspan vlan [vlan_name <vlan_name> | vlan_id <vlanid 1-4094>] [redirect [add |
delete] port <port> | source {[add | delete] ports <portlist> [rx | tx | both]}]
Description
This command configures the source and redirect setting for the RSPAN VLAN on the
Switch. The output port of the RSPAN mirrored packet will use the same destination port as
defined by the mirror command. The redirect command makes sure that the RSPAN VLAN
packets can be egress to the redirect ports. 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 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 redirect
settings at the same time.
NOTE:
If RSPAN is enabled, the packets mirrored to the destination port
are always added with an RSPAN VLAN tag. If mirror is enabled but
RSPAN is disabled, the packets mirrored to the destination port may be
in tagged form or in untagged form.
NOTE:
Only one RSPAN VLAN can be configured with source settings.
Parameters
vlan
– Specify the RSPAN VLAN on the Switch.
vlan_name
– Specify RSPAN VLAN by VLAN name.
vlan_id
– Specify RSPAN VLAN by VLAN ID.
redirect
– Specify ouptut port for the RSPAN VLAN packets.
source
– Specify the source settings for the RSPAN VLAN on the source Switch.
add
– Add source ports into the RSPAN source.
delete
– Delete source ports from the RSPAN source.
ports
– Specify source portlist to add to or delete from the RSPAN source.
rx –
Only monitor ingress packets.
tx
– Only monitor egress packets.
both
– Monitor both ingress and egress packets.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example usage:
To configure the rx traffic of port 2 to port 5 mirrored and add vid tag 2 :
DES-3528:admin# config rspan vlan vlan_name v3 source add ports 2-5 rx
Command: config rspan vlan vlan_name v3 source add ports 2-5 rx
Success.
DES-3528:admin#
Summary of Contents for DES-3528 - xStack Switch - Stackable
Page 1: ......