Configure VLAN Translate in ZTE OLT
[boxads]
Today i will be discuss how to Configure VLAN Translate in ZTE OLT.
Prerequisites:
- Make sure that the network device works normally.
- The ONU is registered.
- Log in to the ZXA10 C220 through HyperTerminal or Telnet.
Context:
According to VLAN translate rules, when the ZXA10 C220 receives upstream tag packets on the GPON-ONU port, it modifies the user VLAN tags to CVLAN tags and adds SVLAN tags to the packet. When the packets arrive at the port on the opposite end, the packets are sent to the user according to the CVLAN tags after the SVLAN tags are removed.
To configure the VLAN translate, perform the following steps:
Step-1. Use the configure terminal command to enter global configuration mode.
Step-2. Use the interface command to enter the GPON-ONU configuration mode.
Step-3. Use the switchport mode command to configure port VLAN mode.
Step-4. Use the switchport translate command to configure VLAN translate rule.
Note:
- In a VLAN, VLAN QinQ and VLAN translate can not be configured simultaneously.
- User VLAN ID and SVLAN ID must be different.
Example of Configure VLAN Translate in ZTE OLT:
- User VLAN ID: 100
- CVLAN ID: 200
- SVLAN ID: 1000
- Uplink port: 0/14/1
- GPON-ONU port: 0/5/1:1
[bodyads]
ZXAN#configure terminal
Enter the configuration commands, one per line. End with CTRL/Z.
ZXAN(config)#interface gei_0/14/1
ZXAN(config)#switchport vlan 1000 tag
ZXAN(config-if)#exit
ZXAN(config)#interface gpon-onu_0/5/1:1
ZXAN(config-if)#switchport mode hybrid vport 1
ZXAN(config-if)#switchport vlan 100 tag vport 1
ZXAN(config-if)#switchport translate vlan 100 cvlan 200 svlan 1000 vport 1