通信人家园

 找回密码
 注册

只需一步,快速开始

短信验证,便捷登录

搜索

军衔等级:

  下士

注册:2022-1-10
跳转到指定楼层
1#
发表于 2025-6-25 20:11:27 |只看该作者 |倒序浏览
本帖最后由 lary2020 于 2025-6-25 20:30 编辑

原文链接:https://mp.weixin.qq.com/s/wlK5ovtnMEDpYuiiPH6hhA
前言
ONT产品测试过程中,运营商通常要求支持通过omci查询ONT的信息,例如ONT的收发光功率、上线时间、软硬件版本等等。本文详细介绍中兴C300 V2.1版本局端查询ONT信息的指令,分享给有需要的朋友。
精简指令
查看ONT状态
show gpon onu state  gpon-olt_1/8/7 64
查看ONT详细信息
show gpon onu detail-info gpon-onu_1/8/7:64
查看ONT的设备信息
show gpon remote-onu equip gpon-onu_1/8/7:64
查看ONT的版本信息
show remote-unit information gpon-olt_1/8/7 64
查看ONT的能力集
show gpon remote-onu capability gpon-onu_1/8/7:64
查看ONT的PON口状态
show gpon remote-onu interface pon gpon-onu_1/8/7:64
查看OLT/ONT的收发光功率信息
show pon power attenuation gpon-onu_1/8/7:64
查看ONT的WAN口信息
show gpon remote-onu wan-ip gpon-onu_1/8/7:64
查看ONT的ip host
show gpon remote-onu ip-host gpon-onu_1/8/7:64
查看ONT的eth接口状态
show gpon remote-onu interface eth gpon-onu_1/8/7:64
查看ONT以太网接口学到的mac
show gpon remote-onu mac gpon-onu_1/8/1:64 ethuni
查看ONT的WIFI状态
show gpon remote-onu wifi info gpon-onu_1/8/1:64    #2.4G WiFi
show gpon remote-onu wifi info 5g gpon-onu_1/8/1:64   #5G wifi
GPON查看ONT的ONU接口信息的系列指令
show gpon onu ?
GPON查看ONU的远程管理接口信息的系列指令
show gpon remote-onu ?
GPON/EPON ONT查看版本升级信息的系列指令
show remote-unit ?
EPON查看ONT的ONU接口信息的系列指令
show remote onu ?
EPON查看ONT的远程管理接口信息的系列指令
show remote epon ?
EPON查看ONT信息的系列指令
show onu ?
查看ONT状态
show gpon onu state  gpon-olt_1/8/7 64
ZXAN#show gpon onu state  gpon-olt_1/8/7 64OnuIndex   Admin State  OMCC State  Phase State  Channel1/8/7:64    enable       enable      working      1(GPON)ONU Number: 1/1
查看ONT详细信息
show gpon onu detail-info gpon-onu_1/8/7:64
ZXAN#show gpon onu detail-info gpon-onu_1/8/7:64ONU interface:         gpon-onu_1/8/7:64Name:                ONU-7:64Type:                ZTE-F680State:               readyConfigured channel:  autoCurrent channel:     1(GPON)Admin state:         enablePhase state:         working       #阶段状态,working表示正常工作,LOS表示光纤断开,DyingGap表明ONT下电Config state:        success       #配置状态,如果是fail表明OLT下发的一些指令,ONT不支持Authentication mode: sn            #认证方式SN Bind:             disableSerial number:       ZTEGC47FEA82  #GPONSNPasswordescription:         ONU-7:64Vport mode:          gemportDBA Mode:            HybridONU Status:          enableOMCI BW Profileine Profile:        N/AService Profile:     N/AONU Distance:        40m            #ONT与OLT之间的距离Online Duration:     2h 38m 13s     #ONT注册上线时间FEC:                 none           #FEC状态FEC actual mode:     N/A1PPS+ToD:            disableAuto replace:        disableMulticast encryption:disable         #组播加密Multicast encryption current state:N/A   Authpass Time          OfflineTime             Cause1   2025-05-16 17:13:56    0000-00-00 00:00:002   0000-00-00 00:00:00    0000-00-00 00:00:003   0000-00-00 00:00:00    0000-00-00 00:00:004   0000-00-00 00:00:00    0000-00-00 00:00:005   0000-00-00 00:00:00    0000-00-00 00:00:006   0000-00-00 00:00:00    0000-00-00 00:00:007   0000-00-00 00:00:00    0000-00-00 00:00:008   0000-00-00 00:00:00    0000-00-00 00:00:009   0000-00-00 00:00:00    0000-00-00 00:00:0010   0000-00-00 00:00:00    0000-00-00 00:00:00
查看ONT的版本信息
show remote-unit information gpon-olt_1/8/7 64
ZXAN#show remote-unit information gpon-olt_1/8/7 64gpon-onu_1/8/7: 64RuVendorName : ZTEGRuType       : F680V9.1.02      #硬件版本Region 1                        #1号软件镜像Vertag        : V9.1.10P1N9     #软件版本Commited      : Yes             #表明此版本为ONT上电时运行的版本Activated     : Yes             #表明此版本为ONT当前运行的版本Valid         : Yes             #表明此版本经过校验确认可用Region 2                        #2号软件镜像Vertag        : V9.1.10P1N9B    Commited      : No              Activated     : No              Valid         : Yes             ZXAN#

查看ONT的能力集
show gpon remote-onu capability gpon-onu_1/8/7:64
ZXAN#show gpon remote-onu capability gpon-onu_1/8/7:64T-CONT number:               8         #支持的TCONT数GEM port number:             256       #支持的GEMPORT数Total priority queue number: 104Up priority queue number:    64Down priority queue number:  40Traffic scheduler number:    8Traffic management option:   priority&rate controlledTotal UNI number:            14Ethernet UNI number:       4    (10GE:0   GE:4   FE:0)  #支持的以太网接口数CES UNI number:            0POTS UNI number:           1   #支持的语音口数Video UNI number:          0   #支持的有线电视接口数WIFI UNI number:           8   #支持的WiFi接口数xDSL UNI number:           0IP host number:              10IPv6 host number:            10VEIP number:                 1Operator ID:                 CTCCTC spc version:             CTC V2.0CUC spc version:             N/AONU type:                    SFU    #ONU的类型,分SFU和HGUTx power supply control:     Tx power control only
查看ONT的PON口状态
show gpon remote-onu interface pon gpon-onu_1/8/7:64
ZXAN#show gpon remote-onu interface pon gpon-onu_1/8/7:64Interface:                   pon_0/1GEM blocklen:                48 (bytes)SF threshold:                5SD threshold:                9Alarm:                       enableAlarm disable interval:      0Total T-CONT number:         8Piggyback DBA rpt mode:      mode0 onlyWhole ONU DBA rpt mode:      not supportRx optical level:            -21.308(dBm)             #PON模块接收光功率Lower rx optical threshold:  ont internal policyUpper rx optical threshold:  ont internal policyTx optical level:            2.512(dBm)               #PON模块发送光功率Lower tx optical threshold:  ont internal policyUpper tx optical threshold:  ont internal policyONU response time:           0(ns)Power feed voltage:          3.26(V)                  #PON模块电压Laser bias current:          15.900(mA)               #PON模块电流Temperature:                 38.902(C)                #PON模块温度
查看OLT/ONT的收发光功率信息
show pon power attenuation gpon-onu_1/8/7:64
ZXAN#show pon power attenuation gpon-onu_1/8/7:64OLT                  ONU              Attenuationup      Rx :-20.288(dbm)      Tx:2.381(dbm)        22.669(dB)down    Tx :3.497(dbm)        Rx:-21.308(dbm)      24.805(dB)
查看ONT的WAN口信息
show gpon remote-onu wan-ip gpon-onu_1/8/7:64
ZXAN#show gpon remote-onu wan-ip gpon-onu_1/8/7:64WAN idex:              1Mode:                  DHCPONU identifiering response:         enableTraceroute response:   disableVLAN tag mode:         tagCVLAN:                 201CVLAN priority:        0SVLAN:                 0Current IP:            10.99.201.6Current mask:          255.255.255.0Current gateway:       10.99.201.1Current primary DNS:   172.24.11.10Current secondary DNS: 172.24.10.10Domain name:Host name:             omci_ipv4_dhcp_1MAC address:           3436.545c.a8f0IP host ID:            1
查看ONT的ip host
show gpon remote-onu ip-host gpon-onu_1/8/7:64
ZXAN#show gpon remote-onu ip-host gpon-onu_1/8/7:64Host ID:            1Host name:          omci_ipv4_dhcp_1       #WAN连接描述Identify:           IP addres:          0.0.0.0Mask:               0.0.0.0Gateway:            0.0.0.0Primary DNS:        0.0.0.0Second DNS:         0.0.0.0DHCP enable:        enablePing response:      enableTraceroute response:enableMAC address:        3436.545c.a8f0       #WAN口macCurrent IP address: 10.99.201.6          #WAN口IPCurrent mask:       255.255.255.0Current gateway:    10.99.201.1Current primary DNS:172.24.11.10Current second DNS: 172.24.10.10Domain name:        Host ID:            2Host name:          omci_ipv4_dhcp_2Identify:           IP addres:          0.0.0.0Mask:               0.0.0.0Gateway:            0.0.0.0Primary DNS:        0.0.0.0Second DNS:         0.0.0.0DHCP enable:        enablePing response:      enableTraceroute response:enableMAC address:        3436.545c.a8f1Current IP address: 10.99.202.13Current mask:       255.255.255.0Current gateway:    10.99.202.1Current primary DNS:172.24.11.10Current second DNS: 172.24.10.10Domain name:        Host ID:            3Host name:          Identify:           IP addres:          0.0.0.0Mask:               0.0.0.0Gateway:            0.0.0.0Primary DNS:        0.0.0.0Second DNS:         0.0.0.0DHCP enable:        disablePing response:      disableTraceroute response:disableMAC address:        0000.0000.0000Current IP address: 0.0.0.0Current mask:       0.0.0.0Current gateway:    0.0.0.0Current primary DNS:0.0.0.0Current second DNS: 0.0.0.0Domain name:        Host ID:            4Host name:          Identify:           IP addres:          0.0.0.0Mask:               0.0.0.0Gateway:            0.0.0.0Primary DNS:        0.0.0.0Second DNS:         0.0.0.0DHCP enable:        disablePing response:      disableTraceroute response:disableMAC address:        0000.0000.0000Current IP address: 0.0.0.0Current mask:       0.0.0.0Current gateway:    0.0.0.0Current primary DNS:0.0.0.0Current second DNS: 0.0.0.0Domain name:        Host ID:            5Host name:          Identify:           IP addres:          0.0.0.0Mask:               0.0.0.0Gateway:            0.0.0.0Primary DNS:        0.0.0.0Second DNS:         0.0.0.0DHCP enable:        disablePing response:      disableTraceroute response:disableMAC address:        0000.0000.0000Current IP address: 0.0.0.0Current mask:       0.0.0.0Current gateway:    0.0.0.0Current primary DNS:0.0.0.0Current second DNS: 0.0.0.0Domain name:        ZXAN#

查看ONT的eth接口状态
show gpon remote-onu interface eth gpon-onu_1/8/7:64
ZXAN#show gpon remote-onu interface eth gpon-onu_1/8/7:64Interface      : eth_0/1Speed status   : autoOperate status : disable      #以太网口接网线后会变成enableAdmin status   : unlock       #unlock表示启用以太网口,lock表示禁用以太网口ARC            : 0ARC interval   : 0Expect type    : 0Speed config   : autoEthernet loop  : disableMax frame      : 1632Pause time     : 0Wiring         : dceBridge or IP   : eitherPPPoE filter   : disablePower control  : disableStatus changes : 0              #接口状态变化次数,每次UP和DOWN,数值加一Interface      : eth_0/2Speed status   : autoOperate status : disableAdmin status   : unlockARC            : 0ARC interval   : 0Expect type    : 0Speed config   : autoEthernet loop  : disableMax frame      : 1632Pause time     : 0Wiring         : dceBridge or IP   : eitherPPPoE filter   : disablePower control  : disableStatus changes : 0Interface      : eth_0/3Speed status   : autoOperate status : disableAdmin status   : unlock
查看ONT以太网接口学到的mac
show gpon remote-onu mac gpon-onu_1/8/1:64 ethuni
ZXAN(config)#show gpon remote-onu mac gpon-onu_1/8/1:64 ethuniTotal mac address of eth_0/4: 1  Mac address      Vlan/Age      Type       Action-------------------------------------------------------  94C6.91D2.F5F8   0             dynamic    filter
查看ONT的WIFI状态
show gpon remote-onu wifi info gpon-onu_1/8/1:64    #2.4G WiFi
show gpon remote-onu wifi info 5g gpon-onu_1/8/1:64   #5G wifi
ZXAN(config)#show gpon remote-onu wifi info gpon-onu_1/8/1:64    #2.4G WiFiAdmin status:              enableOperate status:            enableRadio measurement:         enableSSID isolation:            not isolated          #相同SSID内终端隔离Work mode:                 802.11b-11g-11n       #支持的WiFi模式    Bandwidth:                 20(MHz)               #WiFi频宽SGI status:                disableCurrent regulatory domain: China                 #WiFi国家码Channel:                   auto                  #WiFi信道Tx rate:                   autoTransmitting power:        100%                  #WiFi功率模式,100%对应穿墙模式QoS type:                  WMMZXAN(config)#show gpon remote-onu wifi info 5g gpon-onu_1/8/1:64   #5G wifiAdmin status:              enableOperate status:            enableRadio measurement:         enableSSID isolation:            not isolatedWork mode:                 802.11a-11ac-11nBandwidth:                 20(MHz)SGI status:                disableCurrent regulatory domain: ChinaChannel:                   autoTx rate:                   autoTransmitting power:        100%QoS type:                  WMM
GPON查看ONT的ONU接口信息的系列指令
show gpon onu ?
ZXAN(config)#show gpon onu ?  baseinfo        Show GPON ONU basic information  by              Show GPON ONU search result  config-fail     Show GPON ONU config failed information  detail-info     Show GPON ONU detail information  distance        Show GPON ONU distance information  gemport         Show GPON ONU GEM port information  next-available  Show GPON ONU next available resource index  profile         Show GPON ONU profile information  state           Show GPON ONU state information  tcont           Show GPON ONU T-CONT information  uncfg           Show GPON unconfigured ONU information  vport           Show GPON ONU vport information
GPON查看ONU的远程管理接口信息的系列指令
show gpon remote-onu ?
ZXAN(config)#show gpon remote-onu ?  alg               Show ONU ALG information  arp               Show ONU ARP information  auto-shutdown     Show ONU auto shutdown information  broadcast-limit   Show ONU broadcast limit information  call-record       Show ONU call record information about VOIP  capability        Show ONU capability information  cfm               Show ONU CFM information  dhcp              Show ONU DHCP information  dhcp-client       Show ONU DHCP client information  dhcp-ip           Show ONU DHCP IP control information on Ethernet UNI  dhcp-option60     Show ONU DHCP option60 information  dhcp-server       Show ONU DHCP server information  dot1p-map         Show ONU 802.lp mapper information  dot1x             Show ONU 802.1x information  equip             Show ONU equipment information  ex-vlan           Show ONU extended VLAN information  ex-vlan-table     Show ONU extended VLAN table information  file-server       Show ONU file server information  firewall          Show ONU firewall information  flow              Show ONU flow information  gemport           Show ONU GEM port information  gfast             Show ONU gfast information  gfast-service     Show G.fast service of  the xDSL's port  information  holdover          Show ONU holdover information  igmp              Show ONU IGMP information  interface         Show ONU interface information  ip                Show ONU IP information  ip-host           Show ONU IP host information  ip-service-map    Show ONU IP service map information  ipv6-host         Show ONU IPv6 host information  lct               Show ONU LCT administrative state information  loid              Show ONU LOID information  loop-detect       Show ONU Ethernet UNI loop detect information  loopback          Show ONU loopback information  mac               Show ONU UNI MAC address information  mac-filter        Show ONU MAC address filter information  mgc-service       Show ONU MGC service informatio  mgmt-ip           Show ONU management IP information  mirror            Show ONU mirror information  model             Show ONU model information  mvlan             Show ONU multicast VLAN information  name              Show ONU alias information  nat-session       Show ONU NAT session information  onu-vlan          Show ONU VLAN tag information  performance       Show ONU performance information  pkt-filter        Show ONU packet filter information  port-map          Show ONU port map information  power-shedding    Show ONU power shedding information  pppoe             Show ONU PPPoE information  proto-proc        Show ONU protocol frame process information  pw                Show ONU pseudowire service information  qos               Show ONU QoS rule information  schedule          Show ONU schedule information  security-ctrl     Show ONU security control information  security-mgmt     Show ONU security management information  service           Show ONU service information  sip-service       Show ONU SIP service information  snmp              Show ONU SNMP information  sntp              Show ONU time management information  ssid              Show ONU SSID information  switch            Show ONU switch information  switchport        Show ONU switch port information  sys-attr          Show ONU system attributes information  test-result       Show ONU test result information  tr069-mgmt        Show ONU TR069 management information  traffic-limit     Show ONU traffic limit information  veip              Show ONU VEIP information  vlan              Show ONU VLAN tag information  vlan-filter       Show ONU VLAN filter information  vlan-filter-mode  Show ONU VLAN filter mode information  voip              Show ONU VoIP information  voip-ip           Show ONU VoIP IP information  voip-linestatus   Show ONU VoIP line status  vrp               Show ONU video return path information  wan               Show ONU WAN information  wan-ip            Show ONU WAN IP information  weight            Show ONU queue weight information  wifi              Show ONU WIFI information  xdsl              Show ONU xDSL information  xdsl-service      Show xDSL service information
GPON/EPON ONT查看版本升级信息的系列指令
show remote-unit ?
ZXAN(config)#show remote-unit ?  aging-time       Remote onu aging-time  cfg-file-status  Show RU update status  cfg-map          ONU config file map information  information      RU information  summary-of       Show task or manual summary  task             Show task parameter  update-status    Show RU update status
EPON查看ONT的ONU接口信息的系列指令
show remote onu ?
ZXAN(config)#show remote onu ?  alarm                   Show remote onu alarm information  alarm-threshold         Show remote onu alarm-threshold information  auto-config             Show remote onu auto config state  classification          Show onu classification information  compatibility           Show ONU compatibility.  config-counter          Show remote onu config counter number  config-pvid             Show remote onu  zte vlan pvid  config-vlan             Show remote onu  zte vlan ifno  dba                     Show onu dba information  fastleave               Show onu fast leave information  file-server             Show ONU file server configure information  holdover                Show remote onu holdover information  info                    Show onu detail information  llid-queue              Show remote onu llid-queue information  loopdetect              Show remote onu loopdetect information  mac                     Show onu mac information  mgmt-ip                 Show ip management information  mng-snmp                Show remote onu mng-snmp information  multicast-info          Show onu multicast information  performance             Show remote onu performance parameters  pon                     Show pon-info  pon-buffer              Show onu pon buffer configuration  pon-buffer-cap          Show onu pon buffer management capability  pon-downstream-shaping  Show onu pon downstream shapingion  pon-if                  Show remote onu pon-if information  port                    Show onu port information  power-saving            show remote onu power saving info  pppoe-test              Show eth pppoe-test result  protection              Show remote onu protection parameters  queue                   Show remote onu sla queue information  security-mng            Show Security Management for Apply Protocol.  serial-port             Show serial port  svlan-base              Show MDU svlan base  test-result             Show ONU related test result  transceiver             Show remote onu transceiver information  uni-mac                 Show remote  onu uni mac  uni-statistic           Show onu uni statistic  vlan                    Show onu vlan information  vlan-translate          Vlan translate  vlan-trunk              Show onu vlan list  information  voip-mng-ip             Show EPON VoIP IP information  wan                     Show onu wan information  wan-work-mode           Show remote onu wan-work-mode  wifi-port               Show WIFI port infomations
EPON查看ONT的远程管理接口信息的系列指令
show remote epon ?
ZXAN(config)#show remote epon ?  fax                  show fax profile information  h248-profile         show h248-profile information  ims-sip-profile      Show IMS SIP profile information  mgcp-profile         show mgcp-profile information  onu-queue-profile    Show sla profile information  ping-test            show remote epon voip ip-address information  pots                 show pots status information  rms                  Show EPON VoIPrms information  serial-port          show serial-port information  sip-profile          show sip-profile information  voip  voip-ip              show voip-ip profile information  voip-media-ip        Show EPON VoIP media IP information  voip-module          show voip-module profile information  voip-vlan            show voip-vlan profile information  wan-general-profile  show remote wan-general-profile information
EPON查看ONT信息的系列指令
show onu ?
ZXAN(config)#show onu ?  all-status        Show all ONU status  authentication    Show EPON authentication onu  config            Show EPON ONU configuration result  detail-info       Show EPON ONU information in detail  mpcpinfo          Show EPON mpcp infornation  oam               Show EPON ONU oam information  priority-trans    Show ONU priority translation  running           Show ONU interface information  sla               Show EPON ONU bandwidth information  unauthentication  Show EPON unauthentication onu  vport-info        Show ONU vport info


举报本楼

本帖有 3 个回帖,您需要登录后才能浏览 登录 | 注册
您需要登录后才可以回帖 登录 | 注册 |

版规|手机版|C114 ( 沪ICP备12002291号-1 )|联系我们 |网站地图  

GMT+8, 2025-6-26 16:49 , Processed in 0.660841 second(s), 18 queries , Gzip On.

Copyright © 1999-2023 C114 All Rights Reserved

Discuz Licensed

回顶部