User Manual UMN:CLI
V5808
269
8.1.9.1 TPID Configuration
TPID (Tag Protocol Identifier) is a kind of Tag protocol, and it indicates the currently used
tag information. User can change the TPID. By default the port which is configured as
802.1q (0x8100) cannot work as VLAN member.
To set TPID on a QinQ port, use the following command.
vlan dot1q-tunnel { outer | inner}
tpid TPID
Configures TPID.
outer: outer Ethertype
inner: inner Ethertype
8.1.9.2 One-to-One VLAN Mapping between S-VID and C-VID
To configure one-to-one VLAN mapping and translation, use the following command.
vlan dot1q-tunnel ingress
mapping PORTS c-vid <1-4094>
trans-s-vid <1-4094>
Configures 1:1 VLAN mapping for UNI port and
translates C-VLAN tag of incoming Single Inner Tagged
(SIT) packets to S-VLAN tag.
PORTS: UNI port number
vlan dot1q-tunnel ingress
mapping PORTS c-vid <1-4094>
trans-s-vid <1-4094> same-c-vid
Configures VLAN mapping for UNI port and adds S-
VLAN tag of incoming Single Inner Tagged (SIT)
packets with the given C-VLAN tag.
vlan dot1q-tunnel egress
mapping PORTS s-vid <1-4094>
trans-c-vid <1-4094>
Configures 1:1 VLAN mapping for UNI port and
translates S-VLAN tag of outgoing Single Outer Tagged
(SOT) packets to C-VLAN tag.
vlan dot1q-tunnel ingress range-
mapping PORTS c-vid <1-4094>
trans-s-vid <1-4094>
Configures 1:1 VLAN mapping for UNI port and
translates multiple C-VLAN tags of incoming Single
Inner Tagged (SIT) packets to S-VLAN tag.
PORTS: UNI port number
vlan dot1q-tunnel ingress range-
mapping PORTS c-vid <1-4094>
trans-s-vid <1-4094> same-c-vid
Configures 1:1 VLAN mapping for UNI port and adds
S-VLAN tag of incoming packets in the given C-VLAN
range.
vlan dot1q-tunnel ingress
mapping PORTS s-vid <1-4094>
trans-s-vid <1-4094>
Configures 1:1 VLAN mapping for NNI port and
translates multiple S-VLAN tags of incoming Single
Outer Tagged (SOT) packets to S-VLAN tag.
PORTS: NNI port number
vlan dot1q-tunnel egress
mapping PORTS s-vid <1-4094>
trans-s-vid <1-4094>
Configures 1:1 VLAN mapping for NNI port and
translates multiple S-VLAN tags of outgoing Single
Outer Tagged (SOT) packets to S-VLAN tag.
PORTS: NNI port number
vlan dot1q-tunnel ingress range-
mapping PORTS s-vid <1-4094>
trans-s-vid <1-4094>
Configures 1:1 VLAN mapping for NNI port and
translates multiple S-VLAN tags of incoming Single
Inner Tagged (SIT) packets to S-VLAN tag.