ZXAN#show gpon onu state gpon-olt_1/2/1 OnuIndex Admin State OMCC State O7 State Phase State ---------------------------------------------------------------------------- gpon-onu_1/2/1:1 enable enable operation working gpon-onu_1/2/1:2 enable disable unknown DyingGasp gpon-onu_1/2/1:3 enable disable unknown DyingGasp ONU Number: 1/3 ZXAN#show pon power onu-rx gpon-onu_1/2/1:1 Rx power: -26.020(dbm) 查看某一个ONU(gpon-onu_1/2/1:1)的距离: ZXAN#show gpon onu distancegpon-onu_1/2/1:1 Eqd (bit) Distance(m) ....................................... 238883 2159 ZXAN#show gpon onu uncfg gpon-olt_1/2/2 OnuIndex Sn State --------------------------------------------------------------------- gpon-onu_1/2/2:1 ZTEGC035F014 unknown ZXAN#conf ter ZXAN#conf terminal Enter configuration commands, one perline. End with CTRL/Z. ZXAN(config-if)#onu 1 type ZTE-F620 snZTEGC035F014 .[Successful] ZXAN(config-if)#exit ZXAN(config)#show gpon onu stategpon-olt_1/2/2 OnuIndex Admin State OMCC State O7 State Phase State ---------------------------------------------------------------------------- gpon-onu_1/2/2:1 enable disable Sn Logging ONU Number: 0/1 ZXAN(config)#show gpon onu stategpon-olt_1/2/2 OnuIndex Admin State OMCC State O7 State Phase State ---------------------------------------------------------------------------- gpon-onu_1/2/2:1 enable disable Sn Logging ONU Number: 0/1 ZXAN(config)#show gpon onu stategpon-olt_1/2/2 OnuIndex Admin State OMCC State O7 State Phase State ---------------------------------------------------------------------------- gpon-onu_1/2/2:1 enable disable Sn Logging ONU Number: 0/1 ZXAN(config)#show pon power onu-rxgpon-onu_1/2/2:1 Rx power: N/A ZXAN(config)#show pon power onu-txgpon-onu_1/2/2:1 Tx power: N/A ZXAN(config)#show pon power olt-rxgpon-onu_1/2/2:1 Rx power: N/A ZXAN(config)#show gpon onu stategpon-olt_1/2/2 OnuIndex Admin State OMCC State O7 State Phase State ---------------------------------------------------------------------------- gpon-onu_1/2/2:1 enable disable Sn Logging ONU Number: 0/1 ZXAN(config)#show gpon onu stategpon-olt_1/2/2 OnuIndex Admin State OMCC State O7 State Phase State ---------------------------------------------------------------------------- gpon-onu_1/2/2:1 enable disable Sn Logging ONU Number: 0/1 查看PON口gpon-olt_1/2/2默认支持的基本距离及最远距离,其中基本距离为0,最远距离为200*100m=20000m ZXAN(config)#show gpon o ZXAN(config)#show gpon o? olt Show the information of OLT onu Show GPON ONU information ZXAN(config)#show gpon olt ? config Show configuration ofOLT performance Show OLTperformance statistics data range-mode Show OLT range mode ZXAN(config)#show gpon olt ran ZXAN(config)#show gpon olt range-mode ? gpon-olt_1/2 Gpon-olt interface gpon-olt_1/3 Gpon-olt interface gpon-olt_1/4 Gpon-olt interface gpon-olt_1/5 Gpon-olt interface gpon-olt_1/6 Gpon-olt interface ZXAN(config)#show gpon olt range-mode gp ZXAN(config)#show gpon olt range-modegpon-olt_1/2/2 OltInterface Base-distance(100m) Maximum-distance(100m) --------------------------------------------------------------------- gpon-olt_1/2/2 0 200 进入PON口gpon-olt_1/2/2中,修改range-mode。在修改range-mode之前要先将该端口shutdown,改完之后再no shutdown。 只修改最远距离为25公里ONU仍然注册不上,但修改基本距离为5公里,最远距离仍为20公里时就可以正常注册,并且配置的业务正常。 建议将基本距离修改为5公里,而将最远距离修改为25公里 ZXAN(config)#inter gpon-olt_1/2/2 ZXAN(config-if)#ran ZXAN(config-if)#range? range Show portlist of therange range-mode Configure OLT rangemode ZXAN(config-if)#range-mode ? <0-1000> Base distance,unit is 100m ZXAN(config-if)#range-mode 250 ? <0-1000> Maximum distance, unit is 100m ZXAN(config-if)#range-mode 250 % Incomplete command. ZXAN(config-if)#range-mode 0 250 ? <cr> ZXAN(config-if)#range-mode 0 250 %Code 32390-GPONSRV : Please make sure thePON is shutdown or is not an active protection PON when setting the range. ZXAN(config-if)#shutd ZXAN(config-if)#range-mode 0 250 .[Successful] ZXAN(config-if)#no shut ZXAN(config-if)#no shutdown ZXAN(config-if)#show gp ZXAN(config-if)#show gpon onu st ZXAN(config-if)#show gpon onu state gp ZXAN(config-if)#show gpon onu stategpon-olt_1/2/2 OnuIndex Admin State OMCC State O7 State Phase State ---------------------------------------------------------------------------- gpon-onu_1/2/2:1 enable disable Sn Logging ONU Number: 0/1 ZXAN(config-if)#show gpon onu stategpon-olt_1/2/2 OnuIndex Admin State OMCC State O7 State Phase State ---------------------------------------------------------------------------- gpon-onu_1/2/2:1 enable disable unknown LOS ONU Number: 0/1 ZXAN(config-if)#show gpon onu stategpon-olt_1/2/2 OnuIndex Admin State OMCC State O7 State Phase State ---------------------------------------------------------------------------- gpon-onu_1/2/2:1 enable disable Sn Logging ONU Number: 0/1 ZXAN(config-if)#show gpon onu stategpon-olt_1/2/2 OnuIndex Admin State OMCC State O7 State Phase State ---------------------------------------------------------------------------- gpon-onu_1/2/2:1 enable disable Sn Logging ONU Number: 0/1 ZXAN(config-if)#show gpon olt range-modegpon-olt_1/2/2 OltInterface Base-distance(100m) Maximum-distance(100m) --------------------------------------------------------------------- gpon-olt_1/2/2 0 250 ZXAN(config-if)#show gpon onu stategpon-olt_1/2/2 OnuIndex Admin State OMCC State O7 State Phase State ---------------------------------------------------------------------------- gpon-onu_1/2/2:1 enable disable Sn Logging ONU Number: 0/1 ZXAN(config-if)#show gpon onu stategpon-olt_1/2/2 OnuIndex Admin State OMCC State O7 State Phase State ---------------------------------------------------------------------------- gpon-onu_1/2/2:1 enable disable unknown LOS ONU Number: 0/1 ZXAN(config-if)#show gpon onu stategpon-olt_1/2/2 OnuIndex Admin State OMCC State O7 State Phase State ---------------------------------------------------------------------------- gpon-onu_1/2/2:1 enable disable Sn Logging ONU Number: 0/1 ZXAN(config-if)#range-mode 50 250 %Code 32390-GPONSRV : Please make sure thePON is shutdown or is not an active protection PON when setting the range. 上述信息指明端口必须是shutdown或未激活态时才能设定距离参数。 ZXAN(config-if)#shut ZXAN(config-if)#range-mode 50 250 .[Successful] ZXAN(config-if)#no shut ZXAN(config-if)#show gpon olt range-modegpon-olt_1/2/2 OltInterface Base-distance(100m) Maximum-distance(100m) --------------------------------------------------------------------- gpon-olt_1/2/2 50 250 ZXAN(config-if)#show gpon onu stategpon-olt_1/2/2 OnuIndex Admin State OMCC State O7 State Phase State ---------------------------------------------------------------------------- gpon-onu_1/2/2:1 enable enable operation working ONU Number: 1/1 ZXAN(config-if)#show gpon onu stategpon-olt_1/2/2 OnuIndex Admin State OMCC State O7 State Phase State ---------------------------------------------------------------------------- gpon-onu_1/2/2:1 enable enable operation working ONU Number: 1/1 ZXAN(config-if)#shut ZXAN(config-if)#range-mode 0 250 .[Successful] ZXAN(config-if)#no shut 验证是否不修改基本距离参数,而只修改最远距离参数ONU在20公里处仍注册不上: ZXAN(config-if)#show gpon onu stategpon-olt_1/2/2 OnuIndex Admin State OMCC State O7 State Phase State ---------------------------------------------------------------------------- gpon-onu_1/2/2:1 enable disable unknown LOS ONU Number: 0/1 ZXAN(config-if)#show gpon onu stategpon-olt_1/2/2 OnuIndex Admin State OMCC State O7 State Phase State ---------------------------------------------------------------------------- gpon-onu_1/2/2:1 enable disable Sn Logging ONU Number: 0/1 ZXAN(config-if)#show gpon onu stategpon-olt_1/2/2 OnuIndex Admin State OMCC State O7 State Phase State ---------------------------------------------------------------------------- gpon-onu_1/2/2:1 enable disable Sn Logging ONU Number: 0/1 ZXAN(config-if)#show gpon onu stategpon-olt_1/2/2 OnuIndex Admin State OMCC State O7 State Phase State ---------------------------------------------------------------------------- gpon-onu_1/2/2:1 enable disable Sn Logging ONU Number: 0/1 ZXAN(config-if)#show gpon onu stategpon-olt_1/2/2 OnuIndex Admin State OMCC State O7 State Phase State ---------------------------------------------------------------------------- gpon-onu_1/2/2:1 enable disable Sn Logging ONU Number: 0/1 ZXAN(config-if)#shut ZXAN(config-if)#range-mode 50 200 .[Successful] ZXAN(config-if)#no shutdown ZXAN(config-if)#show gpon onu stategpon-olt_1/2/2 OnuIndex Admin State OMCC State O7 State Phase State ---------------------------------------------------------------------------- gpon-onu_1/2/2:1 enable enable operation working ONU Number: 1/1 ZXAN(config-if)#exit 结果证明事实确实如此,在修改端口距离时必须要修改基本距离参数,该参数不能为0。 下面是配置业务进行验证,经过验证业务正常。 ZXAN(config)#inter gpon-onu_1/2/2:1 ZXAN(config-if)#tcont 1 name Kuandaiprofile UP-4M ZXAN(config-if)#gemport 1 NAME KD unicasttcont 1 ZXAN(config-if)#service-port 1 vport 1user-vlan 802 vlan 802 ZXAN(config-if)#traffic-profile DOWN-10Mvport 1 direction egress ZXAN(config-if)#exit ZXAN(config)#pon-onu-mng gpon-onu_1/2/2:1 ZXAN(gpon-onu-mng)#service Kuandai typeinternet gemport 1 vlan 802 ZXAN(gpon-onu-mng)#vlan port eth_0/1 modetag vlan 802 ZXAN(gpon-onu-mng)#vlan port eth_0/2 modetag vlan 802 ZXAN(gpon-onu-mng)#exit ZXAN(config)#show gpon onu stategpon-olt_1/2/2 OnuIndex Admin State OMCC State O7 State Phase State ---------------------------------------------------------------------------- gpon-onu_1/2/2:1 enable enable operation working ONU Number: 1/1 ZXAN(config)#show pon power onu-rxgpon-onu_1/2/2:1 Rx power: -13.808(dbm) ZXAN(config)#show gpon onu stategpon-olt_1/2/2 OnuIndex Admin State OMCC State O7 State Phase State ---------------------------------------------------------------------------- gpon-onu_1/2/2:1 enable enable operation working ONU Number: 1/1 这个是ONU在20公里处,同时接二级分光器时收到的光功率: ZXAN(config)#show pon power onu-rxgpon-onu_1/2/2:1 Rx power: -23.564(dbm) ZXAN(config)#show runn inter gpon-olt_1/2/2 Building configuration... ! interface gpon-olt_1/2/2 range-mode 50 200 onu1 type ZTE-F620 sn ZTEGC035F014 ! end ZXAN(config)#inter gpon-olt_1/2/2 ZXAN(config-if)#shutdown ZXAN(config-if)#range-mode 50 250 .[Successful] ZXAN(config-if)#no shutdown ZXAN(config-if)#show gpon onu stategpon-olt_1/2/2 OnuIndex Admin State OMCC State O7 State Phase State ---------------------------------------------------------------------------- gpon-onu_1/2/2:1 enable disable unknown LOS ONU Number
|