運營商接入網學習筆記

一、OLT?

1、進入MA5680T後進入終端配置模式進行操作,進入此模式的方法爲:?
?
MA5680T>enable??
MA5680T#config?
MA5680T(config)#

  1. 查看自動發現的ONU
    MA5680T(config)#display ont autofind all

  2. 查看端口下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

  3. 查看ONU的詳細信息(ONU最近上下線的時間及原因等信息):
    MA5680T(config)#interface gpon(框/槽)
    MA5680T(config-if-gpon-0/1)#display ont info (口)(ONT ID
    如:查看0/1/2端口下ONT ID 爲0 的信息:
    MA5680T(config)# interface gpon 0/1
    MA5680T(config-if-gpon-0/1)#display ont info 0 0

二、ONU

  1. 查看端口狀態:
    查看MA5626下端口的狀態: 若端口爲 激活 則已經打開,若爲 去激活 則爲關閉
    MA5626(config)#display board 0/1

  2. 關閉或打開端口
    MA5626(config)# interface eth 0/1
    MA5626(config-if-eth-0/1)#undo shutdown (端口號) 打開端口
    MA5626(config-if-eth-0/1)#shutdown (端口號) 關閉端口
    MA5680T (config)#display board 0 查看所有的單板 0 是框號
    MA5680T (config)# interface gpon 0/1進入GPON命令模式 1是PON口號
    MA5680T(config-if-gpon-0/1)# port 0 ont-auto-find enable 0是 端口號

1、通過端口查看ONU的mac-address
MA5680T (config)# display mac-address port 0/1/0 (0/1/0是框號/槽號/端口號)

2、通過VLAN查看ONU的mac-address
MA5680T (config)# display mac-address vlan 100 ( 100是VLAN id)

3、查看ONU的service-port 信息
MA5680T(config)#display service-port port 0/1/0 ont 1(0/1/0是框號/槽號/端口號 1是ONU id)

4、查看MA5680T的版本信息
MA5680T(config)# display version

5、查看DBA 模板
MA5680T(config)# display dba-profile all

6、查看線路模板
MA5680T(config)#display ont-lineprofile gpon all

7、查看單板信息
MA5680T(config)# display board 0

8、查看單板上ONU的信息
MA5680T(config)# display board 0/1 (0/1是框號/槽號)

1、查看ONU收光功率
MA5680T(config-if-gpon-0/1)#display ont optical-info 0 1 (0是端口號 1是ONU id 號)

2、查看ONU的狀態
MA5680T(config-if-gpon-0/1)#display ont info 0 1 ( 0是端口號 1是ONU id 號)

3、查看PON板的端口信息
MA5680T(config-if-gpon-0/1)#display port info 0 (0是端口號

4、查看PON板的端口狀態
MA5680T(config-if-gpon-0/1)#display port state 0 (0是端口號

5、查看ONU的註冊信息
MA5680T(config-if-gpon-0/1)#display ont register-info 0 1 ( 0是端口號 1是ONU id 號)

6、查看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 仿真測試

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章