Basic Service Configuration
Basic Service Configuration: VLAN, GPON Service, NTP Service:
The ZXA10 C300/C320 supports a maximum of 4094 VLANs.
VLAN Applications
1. Basic VLAN : Used to isolate ports.
2. Service port VLAN : Used to implement VLAN translation at the ONU level.
3. TLS VLAN : Used to add an SVLAN to a packet to implement the Transparent LAN Service (TLS) whatever the user access mode is, or no matter whether the upstream packet has a VLAN tag, or whatever the VLAN tag is.
4. VLAN cross connection : Used to set the special channel for the user port and uplink port. The packets are forwarded in 1:1 mode in accordance with the
VLAN ID.
5. Flexible QinQ : Used to add different SVLANs based on different data streams to extend the VLAN. VLAN translation Implements translation from a customer VLAN to a network VLAN and adds different SVLANs based on user-side VLANs.
Example:
How to configure a port VLAN in uplink interface configuration mode?
ZXAN(config)#interface gei_1/19/1
ZXAN(config-if)#switchport vlan 2-100 tag
Configuring a Service Port VLAN: By configuring a service port VLAN on the PON-ONU interface, you can implement VLAN translation at the ONU level.
The service port configuration of the ZXA10 C300/C320 supports the following applications:
1. Adding CVLAN + SVLAN to untagged packets
2. Adding SVLANs to user VLANs in accordance with the user VLAN range
3. Translating a user VLAN to VLAN + SVLAN
4. Translating a user VLAN to VLAN + SVLAN based on the Ethernet protocol type
5. Translating a user VLAN to VLAN + SVLAN based on 802.1p priorities
6. Translating a user VLAN to VLAN + SVLAN based on combinations (user VLAN, Ethernet protocol type, and 802.1p priority)
7. Modifying SVLAN 802.1p priorities
8. TLS VLAN
How to configure a service port VLAN in ONU interface configuration mode?
ZXAN(config)#interface gpon-onu_1/5/1:1
ZXAN(config-if)#service-port 1 vport 1 user-vlan 7 vlan 8 svlan 9
ZXAN(config-if)#service-port 2 vport 1 other-all tls-vlan 501
Configuring the VLAN Cross Connection:
This procedure describes how to configure the VLAN cross connection to implement 1:1 VLAN forwarding.
The VLAN cross connection is a special channel for a user port and an uplink port. After the VLAN cross connection is configured, packets are forwarded in 1:1 mode in accordance with the VLAN ID but not forwarded in MAC + VLAN mode.
For the VLAN cross exchange, data is exchanged in accordance with:
1.SVLAN
2. CVLAN + SVLAN dual tags
Example
1. Take the ZXA10 C300 for example, configure a port VLAN in uplink interface configuration mode:
ZXAN(config)#interface gei_1/19/1
ZXAN(config-if)#switchport vlan 5 tag
ZXAN(config-if)#exit
2. Take the ZXA10 C300 for example, configure a service port VLAN in ONU interface configuration mode:
ZXAN(config)#interface gpon-onu_1/5/1:1
ZXAN(config-if)#service-port 1 vport 1 user-vlan 3 svlan 5
ZXAN(config-if)#exit
3. Take the ZXA10 C300 for example, set VLAN translation to 1:1 VLAN translation in VLAN configuration mode:
ZXAN(config)#vlan 5
ZXAN(config-vlan5)#xconnect enable cvlan 3
Configuring Flexible QinQ: This procedure describes how to configure the flexible QinQ rule to add different external-layer VLAN tags for different service streams to implement service distribution.
For the flexible QinQ function of the ZXA10 C300/C320, the service stream classification is based on the following options:
1. CoS priority of a service stream
2. User CVLAN range
3. Ethernet type (Ether-type) of a service stream Combination of CVLAN and CoS
4. Combination of CVLAN and a Ethernet type
5. For the GPON, it is recommended to indirectly implement the flexible QinQ function through the ONU interface’s service-port. It is not recommended to use the flexible QinQ function provided by the OLT interface.
Example
1. Take the ZXA10 C300 for example, enable the flexible QinQ function in global configuration mode:
ZXAN(config)#vlan-smart-qinq enable
2. Take the ZXA10 C300 for example, enable the flexible QinQ function in OLT interface configuration mode:
ZXAN(config)#interface gpon-olt_1/5/1
ZXAN(config-if)#vlan-smart-qinq enable
ZXAN(config-if)#exit
3. Take the ZXA10 C300 for example, configure the VLAN Smart QinQ rule:
ZXAN(config)#vlan-smart-qinq ingress-port gpon-olt_1/5/1 cvlan 200 to 299 svlan 4000 newcos 6
ZXAN(config)#vlan-smart-qinq ingress-port gpon-olt_1/5/1 ether-type 0x8863 svlan 1000
4. Take the ZXA10 C300 for example, configure a port VLAN in uplink interface configuration mode:
ZXAN(config)#interface gei_1/19/2
ZXAN(config-if)#switchport vlan 1000,4000 tag
ZXAN(config-if)#exit
Configuring VLAN Translation:
For the GPON, it is recommended to indirectly implement the VLAN translation function through the ONU interface’s service-port. It is not recommended to use the VLAN translation function provided by the OLT interface.
Example
1. Take the ZXA10 C300 for example, the following example shows how to configure a
VLAN translation entry:
-Run the following command to configure 1:1 VLAN translation:
ZXAN(config)#vlan-translate ingress-port epon-olt_1/6/1 user-vlan 101 vlan 201 1:1
– Run the following command to configure N:1 VLAN translation:
ZXAN(config)#vlan-translate ingress-port epon-olt_1/6/1 user-vlan 102 vlan 202 N:1
ZXAN(config)#vlan-translate ingress-port epon-olt_1/6/1 user-vlan 103 vlan 202 N:1
– Run the following command to configure 1:1 VLAN translation and add an SVLAN:
ZXAN(config)#vlan-translate ingress-port epon-olt_1/6/1 user-vlan 100 vlan 200 svlan 300 1:1
– Run the following command to configure N:1 VLAN translation and add an SVLAN:
ZXAN(config)#vlan-translate ingress-port epon-olt_1/6/1 user-vlan 105 vlan 205 svlan 305 N:1
ZXAN(config)#vlan-translate ingress-port epon-olt_1/6/1 user-vlan 106 vlan 205 svlan 305 N:1
2. Take the ZXA10 C300 for example, the following example shows how to configure a port VLAN in uplink interface configuration mode:
ZXAN(config)#interface gei_1/19/2
ZXAN(config-if)#switchport vlan 201,202,300,305 tag
ZXAN(config-if)#exit
Configuring VLAN Translation for Broadcast Traffic:
The VLAN translation configuration on the Service-port or switchport and the EPON OLT interface takes effect only for the traffic on the unicast LLID and unicast GEM Port, but not for that on the broadcast LLID and broadcast GEM Port.
– On the EPON interface card, the broadcast LLID transmits downlink multicast, broadcast, and flooding traffic, and the unicast LLID transmits other downlink traffic and all uplink traffic.
– On the GPON interface card, the broadcast GEM Port transmits only downlink multicast, and the unicast GEM Port transmits other downlink traffic and all uplink traffic.
Example
1. The following example shows how to configure a global unicast VLAN translation entry:
ZXAN(config)#mvlan-translate 4000 to 3006
2. Configure the SCB VLAN processing on the EPON OLT interface.
a. The following example shows how to remove the VLAN tag of the downlink SCB traffic:
ZXAN(config)#vlan-scb-action interface epon-olt_1/6/1 vlan-remove 4094
b. The following example shows how to configure the VLAN translation entry for the downlink SCB traffic:
ZXAN(config)#vlan-scb-action interface epon-olt_1/6/1 vlan-translate svlan 10 vlan 20 user-vlan 30
GPON Service Configuration
Gigabit Passive Optical Network (GPON) access is a flexible access technology that provides super bandwidth access in both broadband and narrowband service environments. It supports multiple rate modes and uses a single optical fiber to provide a user with the voice, data, and video services.
Configuring a GPON ONU Type Profile
Before authentication of a GPON Optical Network Unit (ONU), you need to create an ONU
type profile if an ONU type does not exist.
The ZXA10 C300/C320 supports the following default GPON ONU types:
– ZTE-F601
– ZTE-F621
– ZTE-F622
– ZTE-F625
– ZTE-F628
– ZTE-F640
– ZTE-F641
Example:
Create an ONU type profile in PON configuration mode:
ZXAN(config)#pon
ZXAN(config-pon)#onu-type ZTEG-F620 gpon description 4FE,2POTS max-tcont 7 max-gemport 32 max-switch-perslot 1 max-flow-perswitch 32
Configure a user port for the ONU type:
ZXAN(config-pon)#onu-type-if ZTEG-F620 eth_0/1-4
ZXAN(config-pon)#onu-type-if ZTEG-F620 pots_0/1-2
Display the configured ONU type profile:
ZXAN(config-pon)#show onu-type gpon ZTEG-F620