Set the profile ID to ftth_hsi, the CIR to 4 Mbit/s, and the priority to 0. In addition,
configure the scheduling mode so that packets are scheduled according to their
priorities.
huawei(config)#traffic table ip name ftth_hsi cir 4096 priority 0 priority-
policy local-setting
2. Configure the mapping between a GEM port and a VLAN.
The service flow of C-VLAN 1001 is mapped to GEM port 14 in the ONT line profile.
huawei(config)#ont-lineprofile gpon profile-name ftth
huawei(config-gpon-lineprofile-1)#gem mapping 14 0 vlan 1001
huawei(config-gpon-lineprofile-1)#commit
huawei(config-gpon-lineprofile-1)#quit
3. Configure the VLAN of the Ethernet port on the ONT.
If the ONT is connected to the PC through Ethernet port 1, add Ethernet port 1 to
VLAN 1001 in the ONT service profile.
huawei(config)#ont-srvprofile gpon profile-name ftth
huawei(config-gpon-srvprofile-1)#port vlan eth 1 1001
huawei(config-gpon-srvprofile-1)#commit
huawei(config-gpon-srvprofile-1)#quit
4. Configure the native VLAN of the ONT port.
Set the native VLAN ID of Ethernet port 1 to 1001.
huawei(config)#interface gpon 0/1
huawei(config-if-gpon-0/1)#ont port native-vlan 0 1 eth 1 vlan 1001
huawei(config-if-gpon-0/1)#ont port native-vlan 0 2 eth 1 vlan 1001
huawei(config-if-gpon-0/1)#quit
5. Create an Internet access service VLAN and add an upstream port to it.
Add upstream port 0/19/0 to VLAN 100.
huawei(config)#vlan 100 smart
huawei(config)#vlan attrib 100 stacking
huawei(config)#port vlan 100 0/19 0
6. Create service flows.
Set the service VLAN to 100, GEM port ID to 14, and user VLAN to 1001. Use traffic
profile ftth_hsi.
huawei(config)#service-port vlan 100 gpon 0/1/0 ont 1 gemport 14 multi-
service
user-vlan 1001 tag-transform translate-and-add inner-vlan 1010 inbound
traffic-table name
ftth_hsi outbound traffic-table name ftth_hsi
huawei(config)#service-port vlan 100 gpon 0/1/0 ont 2 gemport 14 multi-
service
user-vlan 1001 tag-transform translate-and-add inner-vlan 1011 inbound
traffic-table name
ftth_hsi outbound traffic-table name ftth_hsi
7. Save the data.
huawei(config)#save
l The ONT does not need to be configured.
----End
SmartAX MA5600T/MA5603T/MA5608T Multi-service
Access Module
Commissioning and Configuration Guide
9 FTTH Configuration
Issue 01 (2014-04-30) Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
587