xStack
®
DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide
858
Example
To delete an RSPAN VLAN entry by VLAN name “v2”:
DGS-3120-24TC:admin#delete rspan vlan vlan_name v2
Command: delete rspan vlan vlan_name v2
Success.
DGS-3120-24TC:admin#
To delete an RSPAN VLAN entry by VLAN ID “3”:
DGS-3120-24TC:admin#delete rspan vlan vlan_id 3
Command: delete rspan vlan vlan_id 3
Success.
DGS-3120-24TC:admin#
86-5
config rspan vlan
Description
This command is used to configure the source setting for the RSPAN VLAN on the source switch
or configures the redirect port on the intermediate switch and destination switch.
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
- Specify the RSPAN VLAN used for this configuration.
vlan_name
- Specify the RSPAN VLAN by VLAN name.
<vlan_name>
- Enter the VLAN name here.
vlan_id
- Specify the RSPAN VLAN by VLAN ID.
<value 1-4094>
- Enter the VLAN ID here. This value must be between 1 and 4094.
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.
add
- Specify to add output ports for the RSPAN VLAN packets.
delete
- Specify to delete output ports for the RSPAN VLAN packets.
ports
- Specify the output ports for the RSPAN VLAN packets.
<portlist>
- Enter the list of ports that will be used for this configuration here.
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
– Specify the mirror session used for RSPAN source function.
<value 1-4>
- Enter the value between 1 and 4.
add
- (Optional) Add source ports.
delete
- (Optional) Delete source ports.
ports
- (Optional) Specify source portlist to add to or delete from the RSPAN source.
<portlist>
- Enter the list of ports that will be used for this configuration here.
rx
- (Optional) Only monitor ingress packets.
Summary of Contents for xStack DGS-3120-24PC
Page 1: ......
Page 186: ...xStack DGS 3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide 181 ...
Page 204: ...xStack DGS 3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide 199 ...
Page 363: ...xStack DGS 3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide 358 ...
Page 1056: ...xStack DGS 3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide 1051 ...