註冊onu 有2 個步驟app
rootide
adminoop
enable ui
config spa
第一個步驟,註冊接口
interface gpon 0/1 // 進入0機框1板位ip
ont add 2 2 sn-auth 485754436D7FDA20 snmp ont-lineprofile-id 100 desc zhonglingmaoyiguangchuangzhengzh //添加onu路由
ont ipconfig 2 2 static ip-address 172.172.172.5 mask 255.255.255.0 vlan 2 priority 3 gateway 172.172.172.1 //給onu配置一個管理ip地址get
Quit // 退入0機框1板位it
service-port vlan 2 gpon 0/1/2 ont 2 gemport 2 multi-service user-vlan 2 rx-cttr 6 tx-cttr 6 //給該onu 透傳管理vlan 2
service-port vlan 3103 gpon 0/1/2 ont 2 gemport 0 multi-service user-vlan other-all rx-cttr 6 tx-cttr 6 //給onu透傳外層業務 vlan 3103
第二個步驟,給onu透傳vlan和每一個端口劃分vlan
telnet 172.172.172.5 //遠程進入該onu
root
mduadmin
enable
config
vlan 1100-1107 smart //建立內層vlan
y
port vlan 1100-1107 0/0 1 //在onu的一光口透傳業務vlan
y
port vlan 1100-1107 0/0 2 //在onu的二光口透傳業務vlan
y
service-port vlan 1100 eth 0/1/1 multi-service user-vlan untagged rx-cttr 6 tx-cttr 6
service-port vlan 1101 eth 0/1/2 multi-service user-vlan untagged rx-cttr 6 tx-cttr 6
service-port vlan 1102 eth 0/1/3 multi-service user-vlan untagged rx-cttr 6 tx-cttr 6
service-port vlan 1103 eth 0/1/4 multi-service user-vlan untagged rx-cttr 6 tx-cttr 6
service-port vlan 1104 eth 0/1/5 multi-service user-vlan untagged rx-cttr 6 tx-cttr 6
service-port vlan 1105 eth 0/1/6 multi-service user-vlan untagged rx-cttr 6 tx-cttr 6
service-port vlan 1106 eth 0/1/7 multi-service user-vlan untagged rx-cttr 6 tx-cttr 6
service-port vlan 1107 eth 0/1/8 multi-service user-vlan untagged rx-cttr 6 tx-cttr 6
Save //保存配置。必定要提示配置完成100% ,才能夠退出onu或者給onu關電
quit
quit
y
經常使用命令:
1.FuZhou-ZhongLing-MA5680T(config)#display ip routing-table //查看onu的管理vlan和管理ip段
命令:
display ip routing-table
路由標誌: R - 迭代路由, D - 下發到轉發表, DC - DHCP客戶端
------------------------------------------------------------------------------
路由表: Public
目的地址個數 : 9 路由條數 : 9
目的地址/掩碼 協議 優先級 花費 標誌 下一跳 接口
0.0.0.0/0 Static 60 0 RD 10.70.0.129 vlanif98
10.70.0.0/24 Direct 0 0 D 10.70.0.221 vlanif98
10.70.0.221/32 Direct 0 0 D 127.0.0.1 InLoopBack0
10.200.128.0/17 Direct 0 0 D 10.200.128.1 vlanif3620 //這是onu管理vlan 3620 ip地址段和子 網掩碼和網關
10.200.128.1/32 Direct 0 0 D 127.0.0.1 InLoopBack0
127.0.0.0/8 Direct 0 0 D 127.0.0.1 InLoopBack0
127.0.0.1/32 Direct 0 0 D 127.0.0.1 InLoopBack0
172.172.172.0/24 Direct 0 0 D 172.172.172.1 vlanif3 //這是onu管理vlan 3 ip地址段和子 網掩碼和網關
172.172.172.1/32 Direct 0 0 D 127.0.0.1 InLoopBack0
2.查看外層業務vlan 方法:
FuZhou-ZhongLing-MA5680T(config)#display vlan all
{ <cr>|vlanattr<K>|vlantype<E><mux,standard,smart,super> }:
Command:
display vlan all
---------------------------------------------------------
VLAN Type Attribute STND-Port NUM SERV-Port NUM
---------------------------------------------------------
1 smart common 6 0
2 smart common 0 4
3 smart common 0 2
60 standard common 4 0
98 standard common 4 0
404 smart common 4 0
1100 smart common 0 0
1101 smart common 0 0
1102 smart common 0 0
1103 smart common 0 0
1104 smart common 0 0
1105 smart common 0 0
1106 smart common 0 0
1107 smart common 0 0
2000 smart common 4 2
3101 smart QinQ 4 3 //0 pon口外層業務vlan
3102 smart QinQ 4 3 //1 pon口外層業務vlan
3103 smart QinQ 4 3 //2 pon口外層業務vlan
3104 smart QinQ 4 1 //3 pon口外層業務vlan
3105 smart QinQ 4 5 //4 pon口外層業務vlan
3106 smart QinQ 4 1 //5 pon口外層業務vlan
3107 smart QinQ 4 1 //6 pon口外層業務vlan
3108 smart QinQ 4 1 //7 pon口外層業務vlan
---------------------------------------------------------
Total: 55
Note : STND-Port--standard port, SERV-Port--service virtual port
3.查看onu光衰
FuZhou-ZhongLing-MA5680T(config)#interface gpon 0/1 // 進入0機框1板位
FuZhou-ZhongLing-MA5680T(config-if-gpon-0/1)#display ont optical-info 2 1 //查看該板位2 pon口下 ont序列號爲1的光衰狀況。
---------------------------------------------------------------
Rx Optical Power(dBm) : -23.09
RX power current Warning Threshold(dBm) : [-,-]
RX power current Alarm Threshold(dBm) : [-,-]
Tx Optical Power(dBm) : 2.42
TX power current Warning Threshold(dBm) : [-,-]
TX power current Alarm Threshold(dBm) : [-,-]
Laser Bias Current(mA) : 11
TX bias current Warning Threshold(mA) : [-,-]
TX bias current Alarm Threshold(mA) : [-,-]
Temperature(C) : 55
Temperature Warning Threshold(C) : [-,-]
Temperature Alarm Threshold(C) : [-,-]
Voltage(mV) : 3340
Supply voltage Warning Threshold(mV) : [-,-]
Supply voltage Alarm Threshold(mV) : [-,-]
OLT Rx ONT Optical Power(dBm) : -23.86
CATV Rx Optical Power(dBm) : -
---------------------------------------------------------------
FuZhou-ZhongLing-MA5680T(config-if-gpon-0/1)#display ont ipconfig 2 1 //查看該板位2 pon口下 ont序列號爲1的ip地址,子網掩碼,網關,管理vlan。
---------------------------------------------
ONT IP host index : 0
ONT config type : Static config
ONT IP : 172.172.172.5
ONT subnet mask : 255.255.128.0
ONT gateway : 172.172.172.1
ONT primary DNS : -
ONT slave DNS : -
ONT manage VLAN : 3 //onu管理vlan 爲3
ONT manage priority : 3
Dscp mapping table index : 0
---------------------------------------------