GPON命令模式

一、添加ont步驟

1.1 查看自動發現的ONT,並記錄SN號和PON口測試

複製代碼
MA5680T(config)#display ont autofind all 

---------------------------------------------------------------------
    Number         : 1
 
   F/S/P          : 0/1/0        ---PON口
 
   Ont SN         : 4857544365103A0D  --SN號
 
   Password        : 0x31383334313832783178(1834182x1x)
    Loid          :
    Checkcode        :
 
   VendorID        : HWTC
 
   Ont Version      : 170BC4B2
    Ont SoftwareVersion : V1R003C00S105
    Ont EquipmentID     : 010
 
   Ont autofind time   : 2014-04-20 21:48:09+08:00 
---------------------------------------------------------------
    The number of GPON autofind ONT is 1 
複製代碼

1.2 添加ontui

MA5680T(config)# interface  gpon  0/1spa

MA5680T(config-if-gpon-0/1)#ont  add  0  3 sn-auth  485754434B14D84C omci ont-lineprofile-id 1   ont-srvprofile-id 1 code

MA5680T(config-if-gpon-0/1)#ont port native-vlan 0  3 eth 1 vlan 100orm

MA5680T(config-if-gpon-0/1)#quit blog

1.3 配置業務流索引

MA5680T(config)#service-port  vlan 100 gpon 0/1/0  ont 3 gemport 1 multi-service user-vlan 100 tag-transform translate inbound traffic-table index 6 outbound traffic-table index 6ip

注:0   對應的是PON口  數值選擇爲0-7 共8個PON口 ci

      3   對應的是ONT ID,是在添加ONT時本身定義的一個數值,數值選擇爲0-128(添加ONT時) 產品

二、查看ont全部信息

MA5680T(config-if-gpon-0/1)#display ont info 0 3

三、刪除ont

3.1 刪除 service -port

undo service-port port 0/1/0  ont 0 gemindex 1 

3.2 刪除ont

MA5680T(config)# interface  gpon  0/1

MA5680T(config-if-gpon-0/1)#ont del 0 0 (前面是端口號  後面是ont邏輯編號)

四、查看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 號)
---------------------------------------------------------------------
  索引編號            : 2
  認證方式            : SN認證
  ONT序列號           : 485754436E3EDB04
  密   碼             : 
  ONT類型             : SmartAX MA5620
  上線時間            : 2012-03-07 06:42:56
  下線時間            : 2012-03-09 06:00:49
  下線緣由            : ONT掉電
---------------------------------------------------------------------
  索引編號            : 1
  認證方式            : SN認證
  ONT序列號           : 485754436E3EDB04
  密   碼             : 
  ONT類型             : SmartAX MA5620 
  上線時間            : 2012-02-10 09:25:58
  下線時間            : 2012-03-07 06:15:55
  下線緣由            : ONT掉電
---------------------------------------------------------------------

六、查看ONU版本信息
5680T(config-if-gpon-0/1)#display  ont version    0  1  ( 0是端口號 1是ONU id 號) 
--------------------------------------------------
  框/槽/端口   : 0/1/0 
  ONT編號      : 1 
  廠商編號     : HWTC 
  ONT版本      : MA5620 VER.B 
  產品編號     : 111 
  設備編號     : SmartAX MA5620 
  主用軟件版本 : V8R308 C00 
  備用軟件版本 :  
-------------------------------------------------
MA5680T(config)#vlan 10 smart (vlan能夠隨意添加沒用過的)
MA5680T(config-if-vlanif10)#ip address 192.168.100.2 255.255.255.0    ///(只要是192.168.100段除了1和255均可以)
MA5680T(config)#service-port vlan 10 epon 0/1/0 ont 1 multi-service user-vlan 1000   ///(0/1/0 ont 1 是ont所在端口和ont id)
======================================================================
MA5680T(config)#display  ont  info  ?

by-desc               根據描述信息查找ONT 
by-ip                 根據IP地址查找ONT  
by-loid               根據邏輯標識查找ONT 
by-mac                根據MAC地址查找ONT 
by-password           根據密碼查找ONT 
by-sn                 根據序列號查找
ONT frameid<U><0,1>       機框號
--------------------------------------------- 
3查看ONU的service-port 信息
  
MA5680T(config)#display service-port  port    0/1/0 ont   1(0/1/0是框號/槽號/端口號1是ONU id)
==================================
五、查看DBA 模板
  MA5680T(config)# display dba-profile all  
六、查看線路模板 
MA5680T(config)#display ont-lineprofile gpon all

22 查看語音扣板 narrow resource----display dsp state 0/0/1   (Failure:  frame 0 slot 0 does not have dsp resource) 上述語句說明查詢失敗,ASDA語音扣板故障

 

MAN.MA5680T(config-if-epon-0/18)#pppoe simulate start 3 21 eth 1 untagged user-name n0451***** user-password ****** authentication-mode chap

MAN.MA5680T(config-if-epon-0/18)#  ----------------------------------  ONT PPPoE 測試結果  ----------------------------------  框/槽/端口         : 0/18/3  ONT編號            : 21  ONT ETH 端口索引   : 1  ONT Vlan ID        : -  Vlan 優先級        : -  PPPoE 測試結果     : 成功  會話 ID            : 12903  用戶 IP            : 42.100.1.255  用戶網關           : 42.100.0.1

相關文章
相關標籤/搜索
本站公眾號
   歡迎關注本站公眾號,獲取更多信息