Chapter 75 VLAN Stacking and Translation
OLT2406 User’s Guide
531
how to set the priority for ports ge-ge-5-1 and ge-5-2-1 to 3. It also sets port msc-1-1 as a tunnel port with
TPID 8100.
75.8 VLAN Translation Commands
Use these commands to configure VLAN translation on the OLT. With VLAN translation enabled, the OLT
can translate the VLAN ID and priority level of packets received from a private network to those used in
the service provider’s network.
OLT2406(config)# interface port-channel ge-5-1
OLT2406(config-interface)# vlan-stacking role access
OLT2406(config-interface)# exit
OLT2406(config)# interface port-channel ge-5-2
OLT2406(config-interface)# vlan-stacking role access
OLT2406(config-interface)# exit
OLT2406(config)# interface port-channel msc-1-1
OLT2406(config-interface)# vlan-stacking role tunnel
OLT2406(config-interface)# vlan-stacking tunnel-tpid 8100
OLT2406(config-interface)# exit
OLT2406(config)# interface uni-port ge-5-1
OLT2406(config-interface)# vlan-translation name 37 ing-ivid 24 egr-cvid
24 egr-svid 37 egr-spri 3 active on
OLT2406(config-interface)# vlan-translation
OLT2406(config-interface)# exit
OLT2406(config)# interface uni-port ge-5-2
OLT2406(config-interface)# vlan-translation name 37 ing-ivid 24 egr-cvid
24 egr-svid 37 egr-spri 3 active on
OLT2406(config-interface)# vlan-translation
OLT2406(config-interface)# exit
OLT2406# show vlan-stacking
Switch Vlan Stacking Configuration
Operation: active
STPID: 0x8100
Port Role Tunnel Port TPIC SPVID
Priority
ge-5-1 access 0x88a8 1 0
ge-5-2 access 0x88a8 1 0
ge-5-3 normal 0x88a8 1 0
ge-5-4 normal 0x88a8 1 0
------------------------------------------------------------------------
--
msc-1-1 tunnel 0x8100 1 0
Table 272 VLAN Translation Commands
COMMAND DESCRIPTION M P
interface uni-port <aid>
Enters config-uniport mode for the specified
port.
aid: <msc|ge|pon>-<slot>-<port>
C13
vlan-translation
Enables VLAN translation on the port. C 13
vlan-translation help
Lists VLAN translation rule options. C 13