1、OLT?app
一、進入MA5680T後進入終端配置模式進行操做,進入此模式的方法爲:?
?
MA5680T>enable??
MA5680T#config?
MA5680T(config)#ide
查看自動發現的ONU
MA5680T(config)#display ont autofind all學習
查看端口下ONU的狀態
MA5680T(config)#interface gpon(框/槽)
MA5680T(config-if-gpon-0/1)#display ont info (口) all
如:須要查看0/1/2端口下的ONU狀態:
MA5680T(config)#interface gpon 0/1
MA5680T(config-if-gpon-0/1)#display ont info 2 all測試
2、ONU spa
查看端口狀態:
查看MA5626下端口的狀態: 若端口爲 激活 則已經打開,若爲 去激活 則爲關閉
MA5626(config)#display board 0/1orm
一、經過端口查看ONU的mac-address
MA5680T (config)# display mac-address port 0/1/0 (0/1/0是框號/槽號/端口號)索引
二、經過VLAN查看ONU的mac-address
MA5680T (config)# display mac-address vlan 100 ( 100是VLAN id)接口
三、查看ONU的service-port 信息
MA5680T(config)#display service-port port 0/1/0 ont 1(0/1/0是框號/槽號/端口號 1是ONU id)ip
四、查看MA5680T的版本信息
MA5680T(config)# display version ci
五、查看DBA 模板
MA5680T(config)# display dba-profile all
六、查看線路模板
MA5680T(config)#display ont-lineprofile gpon all
七、查看單板信息
MA5680T(config)# display board 0
八、查看單板上ONU的信息
MA5680T(config)# display board 0/1 (0/1是框號/槽號)
一、查看ONU收光功率
MA5680T(config-if-gpon-0/1)#display ont optical-info 0 1 (0是端口號 1是ONU id 號)
二、查看ONU的狀態
MA5680T(config-if-gpon-0/1)#display ont info 0 1 ( 0是端口號 1是ONU id 號)
三、查看PON板的端口信息
MA5680T(config-if-gpon-0/1)#display port info 0 (0是端口號
四、查看PON板的端口狀態
MA5680T(config-if-gpon-0/1)#display port state 0 (0是端口號
五、查看ONU的註冊信息
MA5680T(config-if-gpon-0/1)#display ont register-info 0 1 ( 0是端口號 1是ONU id 號)
六、查看ONU版本信息
MA5680T(config-if-gpon-0/1)#display ont version 0 1 ( 0是端口號 1是ONU id 號)
disp service-port port 0/6/7 ont 26 查看限速模版
ont port native-vlan 3 0 eth 4 vlan 4 開H的eth
建立DBA模板 (模板id爲120,模板名稱爲hisense,模板類型爲type4最大帶寬)
Huawei(config)# dba-profile add profile-id 120 profile-name hisense type4 max 102400
Huawei(config)#display dba-profile all
建立vlan,並將上聯端口加入該vlan
Huawei(config)# vlan 112 smart
Huawei(config)# port vlan 112 0/8 0 (0爲機框號,8爲上聯板槽位號,0爲上聯端口號)
Huawei(config)#display port vlan 0/8/0
建立線路模板 (模板id爲100,模板名稱爲hisense)
Huawei(config)# ont-lineprofile gpon profile-name hisense profile-id 100 綁定T-cont 與dba模板(只有綁定了dba模板的T-cont才能承載業務)
Huawei(config-gpon-lineprofile-100)# tcont 1 dba-profile-id 120 創建線路模板中GEM port 與T-cont的綁定關係(在創建業務虛端口以前,首先應創建GEM port 與T-cont的綁定關係)
Huawei(config-gpon-lineprofile-100)# gem add 0 eth tcont 1 創建GEM port與ont用戶接口上行數據流的映射關係(gem索引號爲0,gem mapping索引號爲1)
Huawei(config-gpon-lineprofile-100)# gem mapping 0 1 vlan 112
Huawei(config-gpon-lineprofile-100)# commit
Huawei(config)#display ont-lineprofile gpon profile-id 100
建立業務模板 (模板id爲100,模板名稱爲hisense)
Huawei(config)# ont-srvprofile gpon profile-name hisense profile-id 100 進入該業務模板,建立ONT uni類型(以HG8110爲例:1個以太網口、1個pots口; 若HG8245爲例,則該處的配置爲ont-port eth 4 port 2),並將ont以太網口配置爲透傳模式
Huawei(config-gpon-srvprofile-200)# ont-port eth 1 pots 1
Huawei(config-gpon-srvprofile-200)# port vlan eth 1 transparent
Huawei(config-gpon-srvprofile-200)# commit
Huawei(config)#display ont-srvprofile gpon profile-id 100
建立業務模板 (模板id爲100,模板名稱爲hisense)
Huawei(config)# ont-srvprofile gpon profile-name hisense profile-id 100 進入該業務模板,建立ONT uni類型(以HG8110爲例:1個以太網口、1個pots口; 若HG8245爲例,則該處的配置爲ont-port eth 4 port 2),並將ont以太網口配置爲透傳模式
Huawei(config-gpon-srvprofile-200)# ont-port eth 1 pots 1
Huawei(config-gpon-srvprofile-200)# port vlan eth 1 transparent
Huawei(config-gpon-srvprofile-200)# commit
Huawei(config)#display ont-srvprofile gpon profile-id 100
建立業務虛端口,並將pon口下的ont加入該業務虛端口。(業務虛端口用於用戶設備的接入,經過用戶設備接到業務虛端口造成業務流,從而使用戶接入各類業務流。成功執行後,業務承載於此虛端口上。)
Huawei(config)# service-port 0 vlan 112 gpon 0/3/0 ont 0 gemport 0 multi-service user-vlan 112 (0爲機框號,3爲業務板槽位號,0爲pon口號,0爲ont ID)
SS-HaiBingLu-OLT051(config)#display ont info 0 13 3 all 查看PON口下全部設備信息(SN ONTID 在線狀況 激活狀況)
SS-HaiBingLu-OLT051(config)#display ont info 0 13 3 63 查看ONU設備信息
SS-HaiBingLu-OLT051(config)#display ont-lineprofile gpon all 查看線路模板
SS-HaiBingLu-OLT051(config)#display service-port port 0/13/3 ont 63 查看ONU service-port信息
SS-HaiBingLu-OLT051(config)#display mac-address vlan 1526 查看OLT上學習到該VLAN的MAC地址
display current-configuration section gpon | include 0 13 3 篩選單獨配置信息
display current-configuration section v 查看 OLT VLAN信息
查看線路模板給的限速
dba-profile add profile-id 11 profile-name "Manage" type3 assure 1024 max 2048
dba-profile add profile-id 48 profile-name "MA5626G_24FE-4" type3 assure 102400 max 204800
ont-lineprofile gpon profile-id 30 profile-name "MA5626G_8FE"
tcont 1 dba-profile-id 11
tcont 2 dba-profile-id 42 //調用限速模板 ID 42
gem add 0 eth tcont 1 cascade on
gem add 1 eth tcont 2 //用TCONT 2 限速(大帶寬新建線路模板不要GEM CAR)
gem mapping 0 0 vlan 8
gem mapping 1 0 vlan 100
SS-HaiBingLu-OLT051(config-if-gpon-0/13)#display statistics ont-line-quality 3 查看PON口下的誤碼狀況(可加ONTID)
clear statistics ont-line-quality 3 清除PON口下的誤碼信息
display ont autofind 3(ALL PON口外使用) 查看新發現設備
ont add 3 63 sn-auth 4857544334716A2C snmp ont-lineprofile-id 30 在PON口3添加ONTID63的ONU 使用線路模板30模式SNMP 串號認證
ont add 3 63 password-auth 1111 hex 1111 always-on omci ont-lineprofile-id 1 ont-srvprofile-id 1 添加ONTID63使用線路模板1服務模板1(僅H設備須要添加服務模板)密碼認證
ONT Modify 3 1 sn
ONT Modify 3 1 ont-lineprofile-id 1 ont-srvprofile-id 1 修改ONU串號 密碼 線路模板 服務模板各類
SS-HaiBingLu-OLT051(config-if-gpon-0/13)#display ont optical-info 3 63 查看設備光功率信息
ont port native-vlan 3 1 eth 1 vlan 4 priority 0 (H設備使用)在H設備第一口使用VLAN 4 優先級0
ont ipconfig 0 63 static ip-address 10.220.21.184 mask 255.255.252.0 gateway 10.220.20.1 vlan 8 priority 0 (B設備)手工分配B設備管理IP
service-port vlan 1986 gpon 0/18/0 ont 63 gemport 1 multi-service user-vlan 101 tag-transform translate-and-add inner-vlan 3 inner-priority 0 inbound traffic-table index 6 outbound traffic-table index 6 添加service-port將外層VLAN 1986內層VLAN 3 ONU設備VLAN使用101 使用限速模板6(不限速)
service-port vlan 8 gpon 0/18/0 ont 63 gemport 0 multi-service user-vlan 8 tag-transform transparent inbound traffic-table index 6 outbound traffic-table index 6 爲ONU添加管理VLAN 8 (不添加管理VLAN沒法登錄ONU)
service-port vlan 1612 gpon 0/13/3 ont 63 gemport 1 multi-service user-vlan 100 tag-transform translate inbound traffic-table index 6 outbound traffic-table index 6 專線透傳VLAN 打標籤,m
port vlan 1620 0/19 VLAN1620上行口0/19
vlan 1575 smart 建立VLAN SMART 類型
(test模式下)pots emulational-caller caller-port 0/2/1 callee-telno xxxxxxxxxxx 仿真測試