
华为OLT的命令:
常见命令:
ONUdisp cudisp boadisp boa 0/0disp pst s 0/1disp vlan alldisp vlanOLTdisp boa 0/1disp cuint gp 0/1disp port
查看LOID的命令:
display ont autofind all查看是否有新接入
interface epon 0/2display ont info 1 all(显示该PON下已注册的ONU设备)
display ont info 1 1(显示ONU注册后的具体信息,这里面需关注的是SNMP profile ID、Line profile ID两个值)
添加删除注册信息命令:
display ont info //查看所有ONU的信息,包括注册和没注册的,状态是active的都是注册的。
添加和删除已注册的ONT信息(这里是以MAC认证的方式举例):ont add 0 7 mac-auth 0018-82E8-1007 snmp ont-lineprofile-id 13 desc "XXX" //在第0个pon口添加ID为7的ONU,注册方式为MAC认证,ONT的线路模板为13ont ipconfig 0 7 ip-address 192.168.68.182 mask 255.255.255.0 gateway 192.168.68.254 manage-vlan 996 priority 0 //自动给ONU下发管理地址并定义管理vlan。
删除已经注册的ONU:1.先删除给ONU下发的管理地址:undo ont ipconfig 0 7 ip-address 192.168.68.182 mask 255.255.255.0 gateway 192.168.68.254 manage-vlan 996 priority 02.再删除ONU在OLT上的MAC地址认证:undo ont add 0 7 mac-auth 0018-82E8-1007 snmp ont-lineprofile-id 13 desc "XXX"
详细命令说明:
普通
