通信人家园

标题: 华为OLT操作命令  [查看完整版帖子] [打印本页]

时间:  2021-7-21 14:57
作者: 淡水鱼游大海     标题: 华为OLT操作命令

登OLT,选地址,进入


3. enable 启动

4. config 全局

5. switch language-mode    切换成中文

6. display ont autofind all   发现光猫

7. display board  0/2 查看*槽位的ONU数量

8. display service-port port 0/8/5 查看*槽*口下的外层VLAN

9.做好查看   display service-port port 0/0/1 ont 26 查看索引 看是否正常状态


interface gpon 0/15
display  ont  optical-info  15  all     查华为整个pon的收光


查看OLT基站端口VLAN段:
display current-configuration section vlan


删除光猫步骤
1、查询PON和ONTID
display  ont info by-sn 4857544311111111、 display  ont info by-loid 18377796246244443
2、查看索引
display  service-port port  0/2/1 ont 0
3、删除索引
undo service-port 197
4、删除光猫
interface gpon  0/2  
ont delete  1 28
互通型号不带WIFI:CMCC_SFU_1 通用,    带WIFI:CMCC_HGU 用这个

interface gpon 0/4
display ont optical-info 7 14  查光猫的光功率

display ont optical-info 414C434CF231FD8E  查光功率



HG8546脚本

interface gpon 0/2
ont add 1 0 sn-auth 485754437E48729E omci ont-lineprofile-name CMCC_HGU ont-srvprofile-name CMCC_AUTO desc 777_18877796661_HW_CMCC_HGU

quit

service-port  vlan 1160 gpon 0/2/1 ont 0 gemport 0 multi-service user-vlan 66 tag-transform translate-and-add inner-vlan 1007 inner-priority 1 inbound traffic-table index 6 outbound traffic-table index 6



============================================
型号:HG8010 (铁通基站华为8010.8310配置脚本)

要操作的命令


interface gpon 0/11

ont add 2 35 sn-auth 485754434B260117 omci ont-lineprofile-name CMCC_SFU ont-srvprofile-name CMCC_AUTO  desc yh-13471706563-CMCC_SFU_1

quit   

service-port  vlan 1925 gpon 0/11/2 ont 35 eth 1 multi-service user-vlan untagged tag-transform add-double inner-vlan 1018 inner-priority 1 inbound traffic-table index 11 outbound traffic-table index 11



辅助脚本
display current-configuration | begin  48575443CB407A6F/13411111111/18775756951286612----通过sn、账号、loid查看相关信息

display  ont info by-sn 48575443CE5A4A2C-------------------------------------------------有完整sn情况下查看光猫信息

display service-port port 0/2/2----------------------------------------------------------查看pon口下的外层VLAN、 pon下带设备数

interface gpon  0/3----------------------------------------------------------------------删除终端配置的端口速率限制
undo ont port car 3 0 eth 1 inbound  outbound

interface gpon  0/3----------------------------------------------------------------------查看版口信息以及是否存在流氓ont
display port state all

interface gpon 0/3 ----------------------------------------------------------------------查看数据时,显示去激活。用此指令激活
ont activate 2 19

interface gpon 0/3-----------------------------------------------------------------------ont设备运行、收光有情情况
display  ont optical-info  4  2


display   current-configuration   service-port    898-------根据业务虚端口索引查配置信息

display mac-address service-port 898 -----------------------查看对应索引是否有MAC






去激活:
interface gpon 0/15
ont deactivate 4 6

激活:
interface gpon 0/15
  ont activate 4 6


写光猫步骤  
display  service-port port   0/16/7




查看内外层vlan
display  service-port port   0/1/2  ont  33
display  current-configuration service-port  574

查看ONU端口VLAN:
root
mduadmin
enable
config
switch language-mode
display current-configuration


查看OLT基站端口VLAN:
display current-configuration section vlan







通信人家园 (https://www.txrjy.com/) Powered by C114