//登录,开启特权,进入设置,设置语言,显示所有单板,确认所有单板
enable
config
switch language-mode
disp board 0
board confirm 0
//设置系统名称,添加管理vlan并绑定到上联,添加管理地址
sysname ZM-MA5680T
vlan 199 standard
port vlan 199 0/20 0
interface vlanif 199
ip address 192.168.199.2 255.255.255.0
MA5680T(config-if-giu-0/20)#native-vlan 0 vlan 200\加入vlan业务..待查….
//开通SNMP,和U2000对接,记得团体名称要一致哦
snmp-agent community read public
snmp-agent community write private
//好戏开始了!这才是重点
//开启ONT自动发现并增加上联业务vlan
interface epon 0/1
port 0 ont-auto-find enable
….
…
vlan 200-500 smart
port vlan 200-500 0/20 0
//配置DBA带宽
dba-profile add profile-id 10 profile-name speed type1 fix 102400
//配置线路模板并板顶DBA模板
ont-lineprofile epon profile-id 10
llid dba-profile-id 10
commit
quit
//配置ONT业务模板
ont-srvprofile epon profile-id 10
ont-port eth 4
port vlan eth 1 200 //ont端口id和vlan id
commit
quit
//增加注册ONT并绑定线路模板和业务模板
ont add 0 0 mac-auth 001A-A998-4698 oam ont-lineprofile-id 10 ont-srvprofile-id 10
//端口编号+ONT编号+MAC+认证方式+线路模板+业务模板
ont port native-vlan 0 0 eth 1 vlan 200
//增加ont物理端口vlan。端口号+ONT编号+物理编号+vlan
quit
service-port vlan 200 epon 0/1/0 ont 0 multi-service user-vlan 200
save
over
其他细节: 5680t默认出厂地址 10.11.104.2
disp board 0 显示所有单板并准备
board confirm 0 确认所有单板,如果没有确认需要修改参数,0指机框,0/2指0框2槽
删除ONU首先要删除虚拟业务,undo service-port epon 0/2/0 ont 0
然后进入相应接口再删除ONT,ont delete 0 0 ,删除端口0 编号0的ONT
epon ont add 0 0 loid-auth slot-0-port-0-ont-0 always-on oam ont-lineprofile-id 10 ont-srvprofile-id 10
gpon ont add 0 0 loid-auth slot-2-port-0-ont-0 always-on omci ont-lineprofile-id 11 ont-srvprofile-id 11