==========================================
MA5680T用户名:root,密码:admin
==========================================
MA5680T(config)#sysname ShuiAn-MA5680T //设备命名
*********如果业务板、上行板没有发现或误删除,需添加单板,并进行确认******************
MA5680T(config)#board add 0/19 H801GICF //添加上行业务板,本次
上行板为H801GICF,业务板为:H807GPBD,主控板为:H801SCUL
MA5680T(config)# board add 0/1 H807GPBD
board add 0/17 H801GICF
board add 0/18 H801GICF
board add standby 使其生效
MA5680T(config)#vlan 88 smart //创建管理Vlan
MA5680T(config)#vlan 2000 smart //创建业务vlan
MA5680T(config)#vlan 3000 smart //创建业务vlan
MA5680T(config)#port vlan 88 0/17 0
MA5680T(config)#port vlan 2000 0/17 0
MA5680T(config)#port vlan 3000 0/17 0 //配置Vlan上行口
MA5680T(config)#port desc 0/17/0 description UpLink-To-S5720S-24 //对上行口进行描述
MA5680T(config)#interface giu 0/18
MA5680T(config-if-giu-0/19)#shutdown 1 //将未用上行口关闭
MA5680T(config)#interface vlanif88 //配置管理地址
MA5680T(config-if-vlanif88)#ip address 172.16.88.2 255.255.255.0
MA5680T(config-if-vlanif88)#description Link-Vlan //对管理Vlan进行描述
MA5680T(config)#ip route-static 0.0.0.0 0.0.0.0 222.74.60.1 //配置缺省路由
MA5680T(config)#interface gpon 0/1 //进入GPON单板配置模式
MA5680T(config-if-gpon-0/1)#port 0 ont-auto-find enable //打开端口自动发
现功能,ONU会自动上报设备sn
MA5680T(config-if-gpon-0/1)#port 1 ont-auto-find enable
MA5680T(config-if-gpon-0/1)#port 2 ont-auto-find enable
MA5680T(config-if-gpon-0/1)#port 3 ont-auto-find enable
MA5680T(config-if-gpon-0/1)#display ont autofind 0 发现的ONU信息
//查看端口下自动
MA5680T(config-if-epon-0/1)#display ont autofind 1
MA5680T(config-if-epon-0/1)#display ont autofind 2
MA5680T(config-if-epon-0/1)#display ont autofind 3
MA5680T(config)# ont-srvprofile gpon profile-id 10 profile-name \"HG8310M\" //创建服务模板
ont-port eth 1 //单网口ONU
port vlan eth 1 translation 2000 user-vlan 2000 //透传vlan2000
port vlan eth 1 translation 3000 user-vlan 3000 //透传
vlan3000
commit //保存退出
MA5680T(config)# ont-srvprofile gpon profile-id 20 profile-name \"HG8245\"
ont-port pots 2 eth 4 //四个网口两个电话口ONU
port vlan eth 1 translation 2000 user-vlan 2000 //网口1透传vlan2000
port vlan eth 2 translation 3000 user-vlan 3000 //网口2透传vlan3000
commit //保存退出
MA5680T(config)#dba-profile add profile-id 10 profile-name \"10M\" type3
assure 9984 max 19968 //创建dba 10M模板
MA5680T(config)# dba-profile add profile-id 20 profile-name \"20M\" type3 assure 19968 max 29952 //创建dba20M模板
MA5680T(config)# ont-lineprofile gpon profile-id 10 profile-name \"10M\" //创建链路模板绑定dba模板
tr069-management ip-index 0
tcont 1 dba-profile-id 10
gem add 1 eth tcont 1
gem mapping 1 0 vlan 3000
gem mapping 1 1 vlan 2000
commit
quit
MA5680T(config)# ont-lineprofile gpon profile-id 20 profile-name \"20M\"
tr069-management ip-index 0
tcont 1 dba-profile-id 20
gem add 1 eth tcont 1
gem mapping 1 0 vlan 2000
gem mapping 1 1 vlan 3000
commit
quit
MA5680T(config)# traffic table ip index 20 name \"20M\" cir 20480 cbs 657360 pir 20480 pbs 657360 priority 0 priority-policy tag-in-package // 限速模板
MA5680T(config)#traffic table ip index 10 name \"10M\" cir 9984 cbs 321488 pir 9984 pbs 321488
priority 0 priority-policy tag-in-package
MA5680T(config)# aaa
local-user \"root\" password \"O',96K1@/D2;Y!a\"[%*/[Q!!\"
local-user \"root\" privilege level 2
local-user \"root\" service-type terminal telnet
下面开通客户步骤:
interface gpon 0/1#ont add 0 1 sn-auth \"48575443D18E9164\" omci ont-lineprofile-id 10
ont-srvprofile-id 10 desc \"LW_C-9F\" 添加ONU
ont port native-vlan 0 1 eth 1 vlan 2000 priority 0 透传vlan2000
MA5680T(config)# service-port 1 vlan 2000 gpon 0/1/0 ont 1 gemport 1 multi-service user-vlan
2000 tag-transform translate inbound traffic-table index 4 outbound
traffic-table index 10 //进行限速
下挂MA5626
MA5680T(config)# \"MA5626-24\"
ont-srvprofile gpon profile-id 6 profile-name
ont-port eth adaptive ONT端口自适应
commit
ont-lineprofile gpon profile-id 6 profile-name \"line-profile_6\"
tr069-management ip-index 0
tcont 1 dba-profile-id 0
gem add 1 eth tcont 1
gem mapping 1 0 vlan 88
gem mapping 1 1 vlan 300
commit
quit
MA5680T(config-if-gpon-0/1)# ont add 4 0 sn-auth \"48575443E73FAE60\" omci ont-lineprofile-id 6
ont-srvprofile-id 6 desc \"ONT_NO_DESCRIPTION\"
ont ipconfig 4 0 static ip-address 10.88.88.5 mask 255.255.255.0 vlan 88 priority 5 gateway 10.88.88.3
MA5680T(config)# service-port 103 vlan 88 gpon 0/1/4 ont 0 gemport 1 multi-service user-vlan 88 tag-transform translate
service-port 104 vlan 300 gpon 0/1/4 ont 0 gemport 1 multi-service user-vlan 300 tag-transform translate
因篇幅问题不能全部显示,请点此查看更多更全内容