GPON 业务流量不通

2天前发表
  • 0收藏

描述

GPON 业务流量不通

 

1.排查配置

相关接口有没有Up, 线路模板绑定的对不对,Vlan有没有放通

2.线路模板子接口和Tcont 配置是否成功

[H3C]dis pon diagnostic config-error interface Onu 6/0/20:1 

Onu6/0/20:1

Line Profile Name: line_profile_default Cfg Profile Name: config_profile_default

//如果有以下两个表项: TCONT_ADD_DBA   ONU_ADD_GEMPORT 

 

排查Olt带宽不足

[H3C-probe]dis pon diagnostic dba slot 6

Total        Free          Fix          Assure

Olt6/0/20      8500000     8372000       128000         0  //Free的量要大于Tcont的固定带宽+保证带宽

AllocId      Fix     Assure    Max

Onu6/0/20:1 1024  0 0      10000000

 

Tcont必须被Gemrpot使用

 

Onu能力集返回支持Tcont个数小于配置的Tcont个数;返回支持Gemport个数小于配置的Gemport个数

[H3C-probe]dis hardware internal gpon onu cfg Onu 6/0/20:1 

Capability:

MaxOnuAllocIdNum:15, MaxOnuGemportNum:256, pontype:0, MaxBw:10000000

UniNumb:4, UniVoipNum:0, SerialPortNum:0, SessionNumPerSerialPort:0

UniPofNum:0

Onu通讯异常

重启Onu看是否恢复, 看其他配置是否正常

 

3.查询omci进程流模板信息

[H3C-probe]dis hardware internal gpon omci onu-mapping Onu 6/0/20:1 

Line profile:line_profile_default

LineProfileId:0, enLineStatus:1, SetCurCfgOk:1

ListNodeCnt:0, userCfgstatus:2, enOnuStatus:2

************* Gemport *************

Interface      GemportId       AllocId      Bandwidth

Onu6/0/20:1.1   1024            1024        0 //驱动分配的Gemport,AllocId 

----------------------------------------------------------

ONU report

Gemport-Id    Tcont-Id     Alloc-Id

0       65535         0

16384      65535     65535

1024         0         1024 //Pon芯片OmciGemport,AllocId 需要和上述分配的一致 

Onu-mapping found:3

----------------------------------------------------------

Assigned Onu Id

Assigned Onu Id:0

 

4. Onu进一步排查

替换onu进行测试

5.定位流量丢在哪里

流量链路:

Onu -- Pon芯片 -- 交换芯片

 

[H3C-Onu2/0/5:1]display uni 3 --查询Onu自己的UNI口统计

 

[H3C]display interface Onu 2/0/5:1 --查询的是PON芯片ONU的统计

XGSPON支持GPON不支持

 

[H3C]display interface Olt 2/0/5 --查询的是CTC OLT口的统计

XGSPON支持GPON需适配

 

XGSPON支持GPON不支持

[H3C-probe]dis hardware internal olt cnt-olt Olt 2/0/5

XFI: // PON芯片和交换芯片 

ui_rx_total_packets 0

ui_rx_total_bytes 0

ui_rx_total_good_packets 0 //交换芯片到PON芯片

ui_rx_total_good_bytes 0

ui_rx_packet_bad_fcs 0

ui_rx_pause 0

ui_rx_undersize 0

ui_rx_oversize 0

ui_tx_total_packets 0

ui_tx_total_bytes 0

ui_tx_total_good_packets 6565 //PON芯片到交换芯片

ui_tx_total_good_bytes 1139862

ui_tx_pause 0

ui_tx_packet_bad_fcs 0

Pon: //ONUPON芯片

ui_rx_total_packets 0

ui_rx_total_bytes 0

ui_rx_total_good_packets 6565 //OnuPON芯片

ui_rx_total_good_bytes 1113602

ui_rx_packet_bad_fcs 0

ui_rx_pause 0

ui_rx_undersize 0

ui_rx_oversize 0

ui_tx_total_packets 0

ui_tx_total_bytes 0

ui_tx_total_good_packets 0 //PON芯片到ONU

ui_tx_total_good_bytes 0

ui_tx_pause 0

ui_tx_packet_bad_fcs

 

 

具体故障处理步骤

1. 确认物理链路正常

1) 确认设备硬件运行正常。

2) 确认物理链路正常。

2. 检查mac表项学习

如果确认版本没有问题且配置已经下发,此时业务流量不通,请先确认设备是否已经学到对应表项。

示例:

# 查询P3500mac学习表项。

P3500#brief-show mac-address

Agingtimer                    :300

Total MAC Count               :4

S-VID     MAC Address         Forward Port   Type           Virtual Port   Gem Port

---------------------------------------------------------------------------------------

31        01:00:94:00:00:01   Slot 1         Dynamic        1/1/1/1        289

31        02:02:94:00:00:02   TRUNK 1        Dynamic

4094      a0:c0:a8:d2:fe:02   Slot 1         Management

1         00:1c:82:0b:60:4b   Local          Management

4094      00:1c:82:0b:60:4b   Local          Management

TOTAL Count: 3

可以看到设备从1号槽位olt1接口关联的ont1接口的vport1端口接收到vlan tag31的报文,学到的Mac地址为01:00:94:00:00:01;聚合口1接收的vlan tag31的报文,学习到的Mac地址为02:02:94:00:00:02

# 查询P3116mac学习表项。

telnet@P3116(config-t)# show mac-address-table

Total Mac Addresses: 0

Interface Vlan  Type   LAG-Group  GroupID  MAC address        ONU-ID  GEM-Port  Cvid

---------------------------------------------------------------------------------------

telnet@P3116(config-t)#

3. 检查设备配置

如果发现mac表项都没有学习到,请检查如下的配置。

4. 检查链路聚合配置

如果配置了链路聚合,首先检查链路是否UP

# 查询聚合口1信息。

P3500#configure l2 port show trunk 1

  Trunk group                :1

  Trunk name                 :1

  Port list                  :XGE 1,XGE 2

  Load balance scheme        :dstMAC

  Administrative Status      :UP

  Operational Status         :UP

  CfgSpeed                   :Auto

  CfgDup                     :Auto

  CfgFlow                    :Auto

  Actual speed               :10000M

  ActDup                     :Full

  ActFlow                    :Off

  Orient                     :Network

 telnet@P3116(config-t-if-lg-1)# show link-aggregation summary

Group    Name               Ports                   Load balance

--------+------------------+-----------------------+------------------

1        NA                 ge2/1-2                 dst-mac

# 查询聚合口1链路状态。

P3500#configure l2 port show port trunk 1

Port                Admin  Oper CfgSpeed CfgDup CfgFlow ActSpeed ActDup  ActFlow Orient

XGE 1 (trunk 1)     Unlock UP    Auto     Auto   Auto    10000M  Full    Off     Network

XGE 2 (trunk 1)     Unlock UP    Auto     Auto   Auto    10000M  Full    Off     Network

telnet@P3116(config-t)# show interface link-aggregation 1 switchport

Link Aggregation Group: 1

 Switchport: Enabled

 AdminStatus: Enable

 Member list: ge2/1-2

 Load balance method: dst-mac

 Maximum receive frame: 1532

 Ingress vlan filter: Enabled

 Flow Control receive configured: Enabled

 Flow Control transmit configured: Enabled

 Storm-control multicast: disable

 Storm-control broadcast 131

 Storm-control unicast 131

 Link Status: Up

 Speed:10000Mbps,  BW 0 Mbps

 PVID: 1

telnet@P3116(config-t)#

5. 检查gpon模板配置

# 模板id 1的是默认配置。

GPFA-1-1(config-t)# show configuration running gpon-profile

enable

configure terminal

 gpon profile dba id 1 name newprof_dba_1 type4 max 1244160

 gpon profile flow id 1 1 name newprof_flow_1 uni-type veip uni-bitmap 0xff upmap-type vlanId 101 101 pri-bitmap 0xff vport 1

 gpon profile flow id 2 1 name flow_2 uni-type ethernet-uni uni-bitmap 0xff upmap-type vlanId 31 31 pri-bitmap 0xff vport 1

 gpon profile flow id 2 2 name flow_2 uni-type ethernet-uni uni-bitmap 0xff upmap-type vlanId 32 32 pri-bitmap 0xff vport 2

 gpon profile flow id 2 3 name flow_2 uni-type ethernet-uni uni-bitmap 0xff upmap-type vlanId 33 33 pri-bitmap 0xff vport 3

 gpon profile flow id 2 4 name flow_2 uni-type ethernet-uni uni-bitmap 0xff upmap-type vlanId 34 34 pri-bitmap 0xff vport 4

 gpon profile rate-ctrl id 1 name newprof_rate_1 sir 102400 pir 102400

 gpon profile tcont-svc id 1 name newprof_tcontsvc_1 dba-id 1

 gpon profile vportsvc id 1 name newprof_vportsvc_1 us-pri 0 usratectrl-id 0 dsratectrl-id 0

 gpon profile tcont-bind id 1 v-port 1 name newprof_tcontbind_1 vportsvc-id 1 tcont-id 1 tcontsvc-id 1

 gpon profile tcont-bind id 2 v-port 1 name tcontbind_1 vportsvc-id 1 tcont-id 1 tcontsvc-id 1

 gpon profile tcont-bind id 2 v-port 2 name tcontbind_1 vportsvc-id 1 tcont-id 1 tcontsvc-id 1

 gpon profile tcont-bind id 2 v-port 3 name tcontbind_1 vportsvc-id 1 tcont-id 1 tcontsvc-id 1

 gpon profile tcont-bind id 2 v-port 4 name tcontbind_1 vportsvc-id 1 tcont-id 1 tcontsvc-id 1

 gpon ont-authentication snonly

 exit all

GPFA-1-1(config-t)#

6. 检查ont接口配置

查看ont接口配置(Ont接口下涉及业务模板应用,uni端口vlan配置以及vport端口创建)

# 查询命令如下:

GPFA-1-1(config-t)# show configuration running interface-gpon-olt 1/<olt id> <ont id>

telnet@P3116(config-t)# show configuration running interface-gpon-olt 1/<olt id> <ont id>

查看不同olt口,不同ont接口,只需要修改olt idont id即可:

# 查看16口下 ont16的配置,以3500设备举例:

GPFA-1-1(config-if-gpon-ont-1/8/1)# show configuration running interface-gpon-olt 1/16 16

ont 1

 description "ONT-1"

 virtual-port 1 encrypt disabled

 virtual-port 2 encrypt disabled

 virtual-port 3 encrypt disabled

 virtual-port 4 encrypt disabled

 service flow-profile 2 tcont-bind-profile 2

 ont-vlan eth-uni 1 up-mode add-vid down-mode delete-vid up-pri 0 up-vid 31

 eth-uni 1 poe enable

 ont-vlan eth-uni 2 up-mode add-vid down-mode delete-vid up-pri 0 up-vid 31

 eth-uni 2 poe enable

 ont-vlan eth-uni 3 up-mode add-vid down-mode delete-vid up-pri 0 up-vid 31

 eth-uni 3 poe enable

 ont-vlan eth-uni 4 up-mode add-vid down-mode delete-vid up-pri 0 up-vid 31

 eth-uni 4 poe enable

 ont-vlan eth-uni 5 up-mode add-vid down-mode delete-vid up-pri 0 up-vid 31

 eth-uni 5 poe enable

 ont-vlan eth-uni 6 up-mode add-vid down-mode delete-vid up-pri 0 up-vid 32

 eth-uni 6 poe enable

 ont-vlan eth-uni 7 up-mode add-vid down-mode delete-vid up-pri 0 up-vid 33

 eth-uni 7 poe enable

eth-uni 8 poe enable

exit

GPFA-1-1(config-if-gpon-ont-1/8/1)#

7. 检查全局VLAN配置

# 查看全局VLAN配置,可以看到IS1/2口和聚合口1加入到vlan31323334

P3500#brief-show vlan

vlan ingress check  : Enable

vlan user-isolation : Enable

S-Vlan TPID         : 0x8100

C-Vlan TPID         : 0x8100

 VID  Name                Ports                              Untag ports              Mode

----+-------------------+----------------------------------+------------------------+-------

1    DEFAULT_VLAN        IS 1/1-5/8,IU 1/1-3/4,XGE 1-4      IU 1/1-3/4,XGE 1-4       Full

31   31                  IS 1/2,TRUNK 1                                                Full

32   32                  IS 1/2,TRUNK 1                                                Full

33   33                  IS 1/2,TRUNK 1                                                Full

34   34                  IS 1/2,TRUNK 1                                                Full

4094 MNG_VLAN                                                                           Full

# 查看全局VLAN配置:telnet@P3116(config-t)# show configuration running vlan

P3116(config-t)# show configuration running vlan enable

configure terminal

vlan 31

  member ge1/16,ge2/1 tagged

exit

8. 检查vlan-translate配置

# 查看全局vlan-translate

P3500#brief-show vlan-translate

VLAN Translation Entry:

slot  port  ont   vport cvid      new-svid  new-cvid  cos       new-cos

--------------------------------------------------------------------------

1      16    1     1     31          31         4095       copy      8

 

# P3500的查看指定槽位/ont接口的vlan-translate

P3500#brief-show vlan-translate slot 1 port 16 ont 1

VLAN Translation Entry:

slot  port  ont   vport cvid      new-svid  new-cvid  cos       new-cos

--------------------------------------------------------------------------

1     16     1     1      31         31         4095       copy      8

# P3116vlan translate配置需要在olt接口下查询。

telnet@P3116(config-t)# show configuration running interface-gpon-olt 1/<olt id>


 

提出建议

    +

亲~登录后才可以操作哦!

确定

你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作