xStack® DES-3200 Series Layer 2 Ethernet Managed Switch CLI Reference Guide
313
config qinq ports
disabled.
Parameters
<portlist> - A range of ports to configure.
role - Port role in Q-in-Q mode, it can be UNI port or NNI port.
outer_tpid - TPID in the SP-VLAN tag.
trust_cvid - For C-Tag packets, trust C-VID determines if S-VID is
enabled. Otherwise, the default is disabled.
vlan_translation - If specified as enabled, the VLAN translation will be
performed on the port. The setting is disabled by default.
Restrictions
Only Administrator-level users can issue this command.
Example usage:
To configure port list 1 to 4 as NNI port, set outer TPID to 0x88a8:
DES-3200-28:4#config qinq ports 1-4 role nni outer_tpid 0x88a8
Command: config qinq ports 1-4 role nni outer_tpid 0x88a8
Warning: The outer TPID will be globally applied to all ports!
Success.
DES-3200-28:4#
create vlan_translation
Purpose
Used to create a VLAN translation rule that will be added as a new rule
or replace a current rule.
Syntax
create vlan_translation [add cvid <vidlist> svid <vlanid 1-4094> | replace
cvid <vlanid 1-4094> svid <vlanid 1-4094>]
Description
This command is used to create a VLAN translation rule to add to or
replace the outgoing packet which is single S-tagged (the C-VID
changes to S-VID and the packet’s TPID changes to an outer TPID).
Parameters
cvid – C-VLAN ID of packets that ingress from a UNI port.
svid – The S-VLAN ID that replaces the C-VLAN ID or is inserted in the
packet.
<vlanid 1-4094> - A VLAN ID between 1 and 4094.
Restrictions
Only Administrator-level users can issue this command.
Example usage:
To create a VLAN translation rule which assigns add S-VLAN 100 to C-VLAN 1-10: