User Manual
UMN:CLI
V8102
315
when the traffic is carried across the network
Trunk Port
By trunk port we mean a LAN port that is configured to operate as an inter-switch link/port,
able of carrying double-tagged traffic. A trunk port is always connected to another trunk
port on a different switch. Switching shall be performed between trunk ports and tunnels
ports and between different trunk ports.
Network-Network Interface (NNI) Port
NNI port has multiple SVLANs associated. Only frames tagged with those SVLAN are
forwarded on that port.
User Network Interface (UNI) Port
UNI port has an associated QinQ table that maps CVLANs with SVLANs.Configuring
UNI/NNI Port
To configure the UNI/NNI port, use the following command.
Command
Mode
Description
vlan dot1q-tunnel enable
PORTS
Interface
[XE/GE/GP
ON]
Enables QinQ port and configures an UNI port.
PORTS: qinq port to be enabled
vlan dot1q-tunnel disable
PORTS
Disables QinQ port.(default)
PORTS: qinq port to be disabled
9.1.5.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.
Command
Mode
Description
vlan dot1q-tunnel outer
tpid
TPID
Global
Interface
[XE/GE/GP
ON]
Configures TPID.
outer: outer Ethertype
inner: inner Ethertype
9.1.5.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.
Command
Mode
Description
vlan
dot1q-tunnel
ingress
mapping
c-vid
<1-4094>
trans-s-
vid
<1-4094>
Interface
[XE/GE/GP
ON]
Configures 1:1 VLAN mapping for UNI port and trans-
lates C-VLAN tag of incoming Single Inner Tagged
(SIT) packets to S-VLAN tag.
PORTS: UNI port number
vlan
dot1q-tunnel
ingress
mapping
c-vid
<1-4094>
trans-s-
Configures VLAN mapping for UNI port and adds S-
VLAN tag of incoming Single Inner Tagged (SIT) pack-