xStack
®
DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual
491
delete rspan vlan
Syntax
delete rspan vlan [vlan_name <vlan_name> | vlan_id <value 1-4094>]
Description
This command is used to delete RSPAN VLANs.
Parameters
vlan_name
- Delete RSPAN VLAN by VLAN name.
vlan_id
- Delete RSPAN VLAN by VLAN ID.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example usage:
To delete an RSPAN VLAN entry by VLAN name “v2”:
DGS-3450:admin# delete rspan vlan vlan_name v2
Command: delete rspan vlan vlan_name v2
Success.
DGS-3450:admin#
To delete an RSPAN VLAN entry by VLAN ID “3”:
DGS-3450:admin# delete rspan vlan vlan_id 3
Command: delete rspan vlan vlan_id 3
Success.
DGS-3450:admin#
config rspan vlan source
Purpose
Used by the source switch to configure the source setting for the RSPAN VLAN.
Syntax
config rspan vlan [vlan_name <vlan_name> | vlan_id < vlanid 1-4094>] source { [
mirror_group_id <value 1-4> | [add | delete] ports <portlist> [rx | tx | both]]}
Description
This command configures the source setting for the RSPAN VLAN on the source switch.
Parameters
vlan
- See below:
vlan_name
- Specify the RSPAN VLAN by VLAN name.
vlan_id
- Specify the RSPAN VLAN by VLAN ID.
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
- Add source ports.
delete
- Delete source ports.
ports <portlist>
- 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.
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.
Restrictions
Only Administrator and Operator-level users can issue this command.