DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide
484
59-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
<portlist>
- Enter the list of ports to be configured here.
all
- Specifies that all the ports will be used for the configuration.
add
- Specifies to add an S-Tag to the packet.
cvid
- Specifies the customer VLAN ID used.
<vidlist>
- Enter the customer VLAN ID used here.
replace
- Specifies to replace the C-Tag with the S-Tag.
cvid
- Specifies the customer VLAN ID used.
<vlanid 1-4094>
- Enter the customer VLAN ID used here.
svid
- Specifies the service provider VLAN ID used.
<vlanid 1-4094>
- Enter the service provider VLAN ID used here.
priority
- (Optional) Specifies to assign an 802.1p priority to the S-Tag. If the priority is not specified, the priority
of the ports will be set to S-TAG by default.
<priority 0-7>
- Enter the 802.1p S-Tag priority value here. This value must be between 0 and 7.
Restrictions
Only Administrators, Operators and Power-Users can issue this command.
Example
To replace the C-Tag in which the CVID is 20, with the S-Tag and the S-VID is 200 at UNI Port 1:
DGS-1510-28XMP/ME:admin# create vlan_translation ports 1 replace cvid 20 svid 200
Command: create vlan_translation ports 1 replace cvid 20 svid 200
Success.
DGS-1510-28XMP/ME:admin#
To add S-Tag, when the S-VID is 300, to a packet in which the CVID is 30 at UNI Port 1:
Содержание DGS-1510/ME Series
Страница 1: ......