Procedure
1. Configure a DBA profile.
huawei(config)#dba-profile add profile-name fttb_dba type3 assure 8192 max
20480
2. Configure an ONU line profile.
huawei(config)#ont-lineprofile gpon profile-id 10 profile-name fttb(c)
huawei(config-gpon-lineprofile-10)#tcont 4 dba-profile-name fttb_dba
huawei(config-gpon-lineprofile-10)#gem add 11 eth tcont 4 cascade on
huawei(config-gpon-lineprofile-10)#gem add 12 eth tcont 4 cascade on
huawei(config-gpon-lineprofile-10)#gem add 13 eth tcont 4 cascade on
huawei(config-gpon-lineprofile-10)#gem mapping 11 0 vlan 8
huawei(config-gpon-lineprofile-10)#gem mapping 12 1 vlan 1001
huawei(config-gpon-lineprofile-10)#gem mapping 13 2 vlan 200
huawei(config-gpon-lineprofile-10)#commit
huawei(config-gpon-lineprofile-10)#quit
3. (Optional) Add an alarm profile.
In this example, the default alarm profile is used and therefore the configuration of the
alarm profile is not required.
Assume that the ID of GPON port 0/2/1 is 1, SN is 32303131B39FD641, management mode is SNMP, and the bound line profile is fttb(c). Connect the ONU to such a GPON port through the optical splitter.
discovered ONU.
1 Add an ONU offline.
huawei(config)#interface gpon 0/2
huawei(config-if-gpon-0/2)#ont add 1 ontid 1 sn-auth 32303131B39FD641
snmp ont-lineprofile-name fttb(c)
2 Confirm an automatically discovered ONU.
huawei(config)#interface gpon 0/2
huawei(config-if-gpon-0/2)#port 1 ont-auto-find enable
huawei(config-if-gpon-0/2)#display ont autofind 1
huawei(config-if-gpon-0/2)#ont confirm 1 ontid 1 sn-auth 32303131B39FD641
snmp ont-lineprofile-name fttb(c)
3 (Optional) Bind the alarm profile to the ONU.
In this example, default alarm profile 1 is used and therefore the configuration of the alarm
profile is not required.
Step 3 Check the ONU status.
After an ONU is added, run the display ont info command to query the current status of the ONU. Ensure that Config flag of the ONU is active, Run State is online, and Config state is normal.
huawei(config-if-gpon-0/2)#display ont info 1 1
———————————————————————
F/S/P : 0/2/1
ONT-ID : 1
Control flag : active //The ONU is activated.
Run state : online //The ONU is online.
Config state : normal //The ONU configurations are recovered
…//The rest of the response information is not provided here.
huawei(config-if-gpon-0/2)#quit
Step 4 Configure the inband management VLAN and IP address of the OLT.
huawei(config)#vlan 8 smart
huawei(config)#vlan priority 8 6
huawei(config)#interface vlanif 8
huawei(config-if-vlanif8)#ip address 192.168.50.1 24
huawei(config-if-vlanif8)#quit
Step 5 Configure the inband management VLAN and IP address of the ONU.
huawei(config)#interface gpon 0/2
huawei(config-if-gpon-0/2)#ont ipconfig 1 1 static ip-address 192.168.50.2 mask
255.255.0 gateway
168.50.254 vlan 8
huawei(config-if-gpon-0/2)#quit
Step 6 Configure an inband management service port.
huawei(config)#service-port 1 vlan 8 gpon 0/2/1 ont 1 gemport 11 multi-service
user-vlan 8 rx-cttr 6 tx-cttr 6
Step 7 Confirm that the management channel between the OLT and the ONU is available.
l On the OLT, run the ping 192.168.50.2 command to check the connectivity between the
OLT and the ONU. The ICMP ECHO-REPLY packet from the ONU should be received.
l On the OLT, you can remote log in to the ONU to perform the configuration.
Step 8 Configure the channel for the Internet access service.
huawei(config)#vlan 100 smart
huawei(config)#vlan attrib 100 stacking
huawei(config)#port vlan 100 0/19 0
huawei(config)#service-port 101 vlan 100 gpon 0/2/1 ont 1 gemport 12 multiservice
user-vlan 1001 tag-transform translate-and-add inner-vlan 258 rx-cttr 6 tx-cttr 6
Step 9 Configure the channel for the VoIP service.
huawei(config)#vlan 200 smart
huawei(config)#port vlan 200 0/19 0
huawei(config)#traffic table ip index 9 cir off priority 5 priority-policy localsetting
huawei(config)#service-port 201 vlan 200 gpon 0/2/1 ont 1 gemport 13 multiservice
user-vlan 200 rx-cttr 9 tx-cttr 9
Step 10 Configure LAG for upstream ports.
Configure upstream ports 0/19/0 and 0/19/1 into an aggregation group. Each member port in the aggregation group allocates packets based on the source MAC address. The working mode is LACP static aggregation.
huawei(config)#link-aggregation 0/19 0-1 ingress workmode lacp-static
Step 11 (Optional) When PPPoE is adopted, enable forwarding the packets with PITP tag on the OLT equipment.
huawei(config)#pitp permit-forwarding service-port 101 enable
Step 12 (Optional) When IPoE is adopted, enable forwarding the packets with DHCP option on the OLT equipment.
huawei(config)#dhcp-option82 permit-forwarding service-port 101 enable //For IPv4
packets
huawei(config)#dhcpv6-option permit-forwarding port 0/2/1 ontid 1 enable //For IPv6 packets
Step 13 Save the configuration data on the Huawei OLT.
huawei(config)#save
Step 14 Log in to and configure the ONU.
You can remote log in to the ONU from the OLT to perform the configuration. By default, the user name is root and the password is mduadmin.
More blog:
No comments:
Post a Comment