xStack
®
DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide
832
DGS-3120-24TC:admin# show qinq ports 1:1-1:2
Command: show qinq ports 1:1-1:2
Port ID: 1:1
---------------------------------------------------------
Role: NNI
Miss Drop: Disabled
Outer Tpid: 0x88a8
Add Inner Tag: Disabled
Port ID: 1:2
---------------------------------------------------------
Role: NNI
Miss Drop: Disabled
Outer Tpid: 0x88a8
Add Inner Tag: Disabled
DGS-3120-24TC:admin#
83-8
create vlan_translation ports
Description
This command is used to create a VLAN translation rule. This setting will not be effective when the
QinQ mode is disabled.
This configuration is only effective for a UNI port. At UNI port, the ingress C-VLAN tagged packets
will be translated to S-VLAN tagged packets by adding or replacing according the configured rule.
The S-VLAN Tag of egress packets at this port will be recovered to C-VLAN Tag or stripped.
Format
create vlan_translation ports [<portlist> | all] [add cvid <vidlist> | replace cvid <vlanid 1-
4094>] svid <vlanid 1-4094> {priority <priority 0-7>}
Parameters
ports
- Specify a list of ports to be configured.
<portlist>
- Enter the list of ports to be configured here.
all
- Specify that all the ports will be used for the configuration.
add
- Specify to add an S-Tag to the packet.
cvid
- Specify the customer VLAN ID used.
<vidlist>
- Enter the customer VLAN ID used here.
replace
- Specify to replace the C-Tag with the S-Tag.
cvid
- Specify the customer VLAN ID used.
<vlanid 1-4094>
- Enter the customer VLAN ID used here.
svid
- Specify the service provider VLAN ID used.
<vlanid 1-4094>
- Enter the service provider VLAN ID used here.
priority
- (Optional) Specify to assign an 802.1p priority to the S-Tag. If the priority is not
specified, a 802.1p priority of the S-Tag will be assigned by default.
<priority 0-7>
- Enter the 802.1p S-Tag priority value here. This value must be between 0 and
7.
Summary of Contents for xStack DGS-3120 Series
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...