xStack
®
DGS-3400 Series Layer 2 Gigabit Managed Switch CLI Manual
413
delete rspan vlan
Purpose
Used to delete an RSPAN VLAN.
Syntax
delete rspan vlan [vlan_name <vlan_name> | vlan_id <value 1-4094>]
Description
This command is used to delete an RSPAN VLAN.
Parameters
vlan_name
– Deletes the RSPAN VLAN by VLAN name.
vlan_id
– Deletes the RSPAN VLAN by VLAN ID.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example usage:
To delete an RSPAN VLAN by VLAN name:
DGS-3426:5#delete rspan vlan vlan_name v2
Command: delete rspan vlan vlan_name v2
Success.
DGS-3426:5#
To delete an RSPAN VLAN by VLAN ID:
DGS-3426:5#delete rspan vlan vlan_id 6
Command: delete rspan vlan vlan_id 6
Success.
DGS-3426:5#
config rspan vlan source
Purpose
Used by the source switch to configure the source settings for the RSPAN VLAN.
Syntax
config rspan vlan [vlan_name <vlan_name>| vlan_id <vlanid 1-4094>] source {[add
| delete] ports <portlist> [rx | tx | both]}]
Description
This command is used to configure the source setting for the RSPAN VLAN on the
source switch. The output port of the RSPAN mirrored packet will use the same
destination port as defined by the mirror command.
Note:
That if RSPAN is enabled, the packets mirrored to the destination port are always
added with RSPAN VLAN tag. If the mirror is enabled but RSPAN is disabled, the
packets mirrored to the destination port may be in tagged or untagged form.
Note:
That only one RSPAN VLAN can be configured with source settings.
Parameters
vlan_name
– Specifies the RSPAN VLAN by VLAN name.
vlan_id
– Specifies the RSPAN VLAN by VLAN ID.
source
– When ports are not specified by this command, the source of RSPAN can come
from the source specified by the mirror command or the flow-based source specified by
ACL.
add
– Add source ports.
delete
– Delete source ports.
ports <portlist>
– Specifies the source portlist to add or delete from the RSPAN souce.
rx
– Only monitors ingress packets.
tx
– Only monitors egress packets.
both
– Monitors both ingress and egress packets.
Restrictions
Only Administrator and Operator-level users can issue this command.