HUAWEI OLT CONFIGURATION
1. ONU Template Configuration
DBA template
//check DBA template:
MA5680T(config)# display dba-profile all
//createDBAtemplate,IDis10,type3,makesurethebandwidthis10M,theMAXbandwidthi1000M.
MA5680T(config)# dba-pro¬le add pro¬le-id 10 type3 assure 10240 max 1024000
Line Template
MA5680T(config)# display ont-lineprofile gpon all //check line template.
MA5680T(config)# ont-lineprofi¬le gpon pro¬le-id 7 pro¬le-name HG326RW /create line template.
MA5680T(config-gpon-lineprofile-7)# tcont 1 dba-pro¬le-id 10 //create TCONT MA5680T(config-gpon-lineprofile-7)# gem add 1 eth tcont 1 //create gemport1
MA5680T(config-gpon-lineprofile-7)# gem add 2 eth tcont 1 //create gemport2
MA5680T(config-gpon-lineprofile-7)# gem add 3 eth tcont 1 //create gemport3
MA5680T(config-gpon-lineprofile-7)#gemmapping11 vlan100//creategemport1andvlan100maaping , mapping index is 1.
MA5680T(config-gpon-lineprofile-7)#gemmapping2 2 vlan200//creategemport2andvlan200mapping, mapping index is 2.
MA5680T(config-gpon-lineprofile-7)#gemmapping33 vlan300//creategemport3andvlan300mapping, mapping index is 3.
MA5680T(config-gpon-lineprofile-7)#commit //submit.
MA5680T(config-gpon-lineprofile-7)#quit //exit.
2. Configure Uplink Port
MA5680T(config)#portvlan1000/190//configureUplinkPort0/1/0toTagmodevlan100.
MA5680T(config)# port vlan 200 0/19 1 //configure Uplink Port 0/1/1 to Tag mode vlan200.
Also can configure to be untag mode:
MA5680T(config)# interface giu 0/19
MA5680T(config-if-giu-0/19)# native-vlan 0 vlan 100
3. Add Vlan one by one or in a group
MA5680T(config)# display vlan all // check VLAN.
MA5680T(config)# vlan 300 smart //add VLAN 300.
MA5680T(config)# vlan 10-20,100,200 smart //add VLAN in group 10-20 and VLAN100, 200.
4. Management IP
Out-band management IP
MA5680T(config)# display interface meth 0 /check the out-of-band management IP
MA5680T(config)# interface meth 0 //modify the out-of-band management IP
MA5680T(config-if-meth0)# ip address 192.168.3.177/24
In-band management IP
Configurein-bandmanagementinterfacemode,TelnetmodethoughLANIn-bandmanagementPort to enter the login the configuration command as below:
MA5606T(config)# vlan 200 smart //Create a network management VLAN
MA5606T(config)# port vlan 200 0/1 0 //add the VLAN to the center Uplink 0/1/0
MA5680T(config)# interface giu 0/19
MA5680T(config -if-giu-0/19)# native-vlan 0 vlan 200
MA5606T(config)# interface vlanif 200 //enter to the L3 port.
MA5606T(config -if-vlanif333)# ip address 10.10.10.10 24 //configure In-band management IP.