当前位置: 首页 > article >正文

【GPON实战】7360局端和C300局端流量统计指令

引言

在研发和生产ONT的过程,LAN口 和PON口打流是必测项。当发生打流丢包时需要排查是ONT引起的丢包还是局端环境导致的丢包的问题。本文介绍Nokia 7360局端和中兴C300局端,查询ONT接口流量统计、PON口流量统计和上联口流量统计,快速排查丢包的故障点。

测试拓扑

TestCenter接口1接到ONT的LAN口,接口2接到OLT的上联口

以上行流为例,流的方向是:TC接口1>>ONT接口>>OLT的PON接口>>OLT上联口>>TC接口2

如果打流五丢包,则五个接口的流量统计值相同(某些接口可能会发个别杂包);如果发生丢包,则看哪两个接口的流量统计值不一致,例如ONT接口流量小于TC接口1,则丢包可能发生在ONT的LAN口。

TC接口1和TC接口2的接口流量统计可以在TestCenter上查看。

ONT接口的流量统计

C300局端

show performance pon-onu eth gpon-onu_1/8/6:1 current

ZXAN(config)#show performance pon-onu eth gpon-onu_1/8/6:1 current
  PON-ETH-ONU gpon-onu_1/8/6:1 current performance data:
------------------------------------------------
  DropEvents                       :N/A;
  Received Octets                  :6907593269241;
  Sent Octets                      :6609702262043;
  Received Packets                 :8543230318;
  Sent Packets                     :8720971668;
  Received Broadcast Packets       :N/A;
  Sent Broadcast Packets           :N/A;
  Received Multicast Packets       :N/A;
  Sent Multicast Packets           :N/A;
  Received CRC Errors              :N/A;
  Sent CRC Errors                  :N/A;
  Received Undersize Packets       :N/A;
  Sent Undersize Packets           :N/A;
  Received Oversize Packets        :N/A;
  Sent Oversize Packets            :N/A;
  Received Fragments               :N/A;
  Sent Fragments                   :N/A;
  Received Jabbers                 :N/A;
  Sent Jabbers                     :N/A;
  Collisions                       :N/A;
  Received 64B                     :N/A;
  Received 65-127B                 :N/A;
  Received 128-255B                :N/A;
  Received 256-511B                :N/A;
  Received 512-1023B               :N/A;
  Received 1024-1518B              :N/A;
  Sent 64B                         :N/A;
  Sent 65-127B                     :N/A;
  Sent 128-255B                    :N/A;
  Sent 256-511B                    :N/A;
  Sent 512-1023B                   :N/A;
  Sent 1024-1518B                  :N/A;
ZXAN(config)#

7360局端

configure veip ont 1/1/1/2/9/4/1 l2 pm-64bit enable   //使能ONT接口流量统计
configure>veip>ont>1/1/1/2/9/4/1>l2# show l2uni ont performance-data-64bit   //查询接口流量

typ:isadmin># configure veip ont 1/1/1/2/9/4/1 l2 pm-64bit enable
typ:isadmin>configure>veip>ont>1/1/1/2/9/4/1>l2# show l2uni ont performance-data-64bit current-interval 1/1/1/2/9/4/1 detail
=============================================================================================================================================================================================================================================
current-interval table (detailed)
=============================================================================================================================================================================================================================================

---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
current-interval
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
              if-index : 1/1/1/2/9/4/1                      tx-frames : 284                                rx-frames : 303                                 tx-bytes : 56473                               rx-bytes : 68086                
   tx-frames-multicast : 1                        rx-frames-multicast : 0                             rx-dropped-evt : 0                           rx-frame-brdcast : 0                            rx-crc-errframe : 0                    
      rx-undersz-frame : 0                            rx-oversz-frame : 0                                rx-64-octet : 0                           rx-65to127-octet : 0                          rx-128to255-octet : 0                    
     rx-256to511-octet : 0                           rx-512to1023-oct : 0                          rx-1024to1518-oct : 0                             tx-dropped-evt : 1                           tx-frame-brdcast : 0                    
       tx-crc-errframe : 0                           tx-undersz-frame : 0                            tx-oversz-frame : 0                                tx-64-octet : 0                           tx-65to127-octet : 0                    
     tx-128to255-octet : 0                          tx-256to511-octet : 0                           tx-512to1023-oct : 0                          tx-1024to1518-oct : 0                     
===========================================================================================================================================================================================================================================

OLT PON接口流量统计

C300局端

show performance pon-olt eth gpon-olt_1/8/6 current

ZXAN(config)#show performance pon-olt eth gpon-olt_1/8/6 current
  PON-ETH-OLT gpon-olt_1/8/6 current performance data:
------------------------------------------------
  DropEvents                       :N/A;
  Received Octets                  :8200266871127;
  Sent Octets                      :6609702274573;
  Received Packets                 :8543243116;
  Sent Packets                     :8624671407;
  Received Broadcast Packets       :22124;
  Sent Broadcast Packets           :152472744;
  Received Multicast Packets       :19438;
  Sent Multicast Packets           :0;
  Received CRC Errors              :1;
  Sent CRC Errors                  :N/A;
  Received Undersize Packets       :0;
  Sent Undersize Packets           :N/A;
  Received Oversize Packets        :42813804;
  Sent Oversize Packets            :49276714;
  Received Fragments               :N/A;
  Sent Fragments                   :N/A;
  Received Jabbers                 :N/A;
  Sent Jabbers                     :N/A;
  Collisions                       :N/A;
  Received 64B                     :913327356;
  Received 65-127B                 :1139390068;
  Received 128-255B                :41866;
  Received 256-511B                :1360574;
  Received 512-1023B               :320789927;
  Received 1024-1518B              :6125519521;
  Sent 64B                         :1297372993;
  Sent 65-127B                     :928736714;
  Sent 128-255B                    :2230153;
  Sent 256-511B                    :967462;
  Sent 512-1023B                   :308915100;
  Sent 1024-1518B                  :5988932059;

7360局端

show port lt:1/1/1 detail

typ:isadmin># show port lt:1/1/1 detail          

===============================================================================
Ethernet Interface
===============================================================================
Description        : 1/2.5/10/20/40 Gig Ethernet LT
Interface          : lt:1/1/1                   Oper Speed       : 40 Gbps
Link-level         : Ethernet                   Config Speed     : N/A
Admin State        : up                         Oper Duplex      : full
Oper State         : up                         Config Duplex    : N/A
Physical Link      : Yes                        MTU              : 9212
IfIndex            : 36143104                   Hold time up     : 0 seconds
Last State Change  : 02/02/1970 05:31:36        Hold time down   : 0 seconds
Last Cleared Time  : N/A                        
Phys State Chng Cnt: 3                          RS-FEC Mode      : None

Configured Mode    : access                     Encap Type       : 802.1q
Dot1Q Ethertype    : 0x8100                     
Auto-negotiate     : N/A                        MDI/MDX          : unknown
Oper Phy-tx-clock  : not-applicable             
use-vlan-dot1q-ety*: No                         
Egress Rate        : Default                    
Egress Burst       : Default                    


Configured Address : 54:a6:19:6f:56:e3
Hardware Address   : 54:a6:19:6f:56:e3
Category           : residential                
LoopbackMode       : none                       LoopbackVlan     : 0
Remark             : disabled                   
State Change Count : 3                          
Local NT Ports Only: disabled                   

Transceiver Data

Transceiver Status : not-equipped
===============================================================================
* indicates that the corresponding row element may have been truncated.

===============================================================================
Traffic Statistics
===============================================================================
                                                   Input                 Output
-------------------------------------------------------------------------------
Octets                                     7291123726164         17483133897057
Packets                                       4933705233            11953193268
Errors                                                 0                      0

===============================================================================
Ethernet Statistics
===============================================================================

Broadcast Pckts  :           140167324  Drop Events      :                   0
Multicast Pckts  :           544417324  CRC/Align Errors :                   0
Undersize Pckts  :                   0  Fragments        :                   0
Oversize Pckts   :                   0  Jabbers          :                   0
Collisions       :                   0

Octets                         :      24774257623221
Packets                        :         16886898501
Packets of 64 Octets           :            11145139
Packets of 65 to 127 Octets    :           143038322
Packets of 128 to 255 Octets   :           362066558
Packets of 256 to 511 Octets   :             3061804
Packets of 512 to 1023 Octets  :            21064487
Packets of 1024 to 1518 Octets :         16182108480
Packets of 1519 or more Octets :           127478271
===============================================================================

===============================================================================
Port Statistics
===============================================================================
                                                   Input                 Output
-------------------------------------------------------------------------------
Unicast Packets                               4918697874            11283615979
Multicast Packets                               12597825              531819499
Broadcast Packets                                2409534              137757790
Discards                                            3815                      0
Unknown Proto Discards                                 0 
===============================================================================

===============================================================================
Ethernet-like Medium Statistics
===============================================================================

Alignment Errors :                   0  Sngl Collisions  :                   0
FCS Errors       :                   0  Mult Collisions  :                   0
SQE Test Errors  :                   0  Late Collisions  :                   0
CSE              :                   0  Excess Collisns  :                   0
Too long Frames  :                   0  Int MAC Tx Errs  :                   0
Symbol Errors    :                   0  Int MAC Rx Errs  :                   0
===============================================================================

OLT上联口流量统计

C300局端

show interface gei_1/20/2

ZXAN(config)#show interface gei_1/20/2
gei_1/20/2 is up,  line protocol is up
  Description is none
  Keepalive set:10 sec
  The port negotiation is enable
  The port is electric
  Duplex full
  VLAN mode is hybrid, pvid 311          BW 1000000 Kbits
  Last clearing of "show interface" counters never
     20 seconds input rate :                  3 Bps,                0 pps
     20 seconds output rate:                 19 Bps,                0 pps
  Interface peak rate  : 
    input            125000000 Bps, output            125000000 Bps 
  Interface utilization: input     0.00000%,     output     0.00000%
  Input:
    Packets          : 8498399080               Bytes          : 6609024667104       
    Unicasts         : 8491993377               Multicasts     : 6192965              
    Broadcasts       : 212736                   Undersize      : 0                    
    Oversize         : 0                        CRC-ERROR      : 2                   
    Dropped          : 57                       Fragments      : 0                    
    Jabber           : 0                        MacRxErr       : 0                    
    IncorrectVlanDrop: 116160              
  Output:
    Packets          : 8603094914               Bytes          : 6798300513932       
    Unicasts         : 8459576549               Multicasts     : 143358425            
    Broadcasts       : 159940                   Collision      : 0                   
    LateCollision    : 0                        SingCollision  : 0                   
    MultCollision    : 0                        Dropped        : 154                 
  Input detail:
    64B              : 1297939767               65-127B        : 821827661            
    128-255B         : 943319                   256-511B       : 30613300             
    512-1023B        : 308899989                1024-1518B     : 6038171507          
 

7360局端

show port nt-a:xfp:1 detail 

typ:isadmin># show port nt-a:xfp:1 detail 

===============================================================================
Ethernet Interface
===============================================================================
Description        : SFP Plus Port
Interface          : nt-a:xfp:1                 Oper Speed       : 1 Gbps
Link-level         : Ethernet                   Config Speed     : 1 Gbps
Admin State        : up                         Oper Duplex      : full
Oper State         : up                         Config Duplex    : full
Physical Link      : Yes                        MTU              : 9212
IfIndex            : 35848192                   Hold time up     : 0 seconds
Last State Change  : 03/12/1970 02:38:32        Hold time down   : 0 seconds
Last Cleared Time  : N/A                        
Phys State Chng Cnt: 9                          RS-FEC Mode      : None

Configured Mode    : access                     Encap Type       : 802.1q
Dot1Q Ethertype    : 0x8100                     
Auto-negotiate     : false                      MDI/MDX          : unknown
Oper Phy-tx-clock  : not-applicable             
use-vlan-dot1q-ety*: No                         
Egress Rate        : Default                    
Egress Burst       : Default                    


Configured Address : 54:a6:19:6f:56:e5
Hardware Address   : 54:a6:19:6f:56:e5
Category           : regular                    
LoopbackMode       : none                       LoopbackVlan     : 0
Remark             : disabled                   
State Change Count : 9                          

Transceiver Data

Transceiver Status : not-equipped
===============================================================================
* indicates that the corresponding row element may have been truncated.

===============================================================================
Traffic Statistics
===============================================================================
                                                   Input                 Output
-------------------------------------------------------------------------------
Octets                                        6116766347           711775963162
Packets                                          8638077              477532733
Errors                                                 0                      0

===============================================================================
Ethernet Statistics
===============================================================================

Broadcast Pckts  :             2118223  Drop Events      :                   0
Multicast Pckts  :           483872597  CRC/Align Errors :                   0
Undersize Pckts  :                   0  Fragments        :                   0
Oversize Pckts   :                   0  Jabbers          :                   0
Collisions       :                   0

Octets                         :        717892729509
Packets                        :           486170810
Packets of 64 Octets           :             4076532
Packets of 65 to 127 Octets    :             1146199
Packets of 128 to 255 Octets   :              173205
Packets of 256 to 511 Octets   :             1518074
Packets of 512 to 1023 Octets  :               29006
Packets of 1024 to 1518 Octets :           479222789
Packets of 1519 or more Octets :                   0
===============================================================================

===============================================================================
Port Statistics
===============================================================================
                                                   Input                 Output
-------------------------------------------------------------------------------
Unicast Packets                                    19214                 160776
Multicast Packets                                7468045              476404552
Broadcast Packets                                1150818                 967405
Discards                                          177822                      0
Unknown Proto Discards                                 0 
===============================================================================

===============================================================================
Ethernet-like Medium Statistics
===============================================================================

Alignment Errors :                   0  Sngl Collisions  :                   0
FCS Errors       :                   0  Mult Collisions  :                   0
SQE Test Errors  :                   0  Late Collisions  :                   0
CSE              :                   0  Excess Collisns  :                   0
Too long Frames  :                   0  Int MAC Tx Errs  :                   0
Symbol Errors    :                   0  Int MAC Rx Errs  :                   0
===============================================================================

原创不易,你的支持是我最大的动力,欢迎大家点赞,收藏,关注!


http://www.kler.cn/a/516230.html

相关文章:

  • Vue中设置报错页面和“Uncaught runtime errors”弹窗关闭
  • docker日志保留策略设置
  • Codeforces Round 998 (Div. 3)
  • KNN的调参方法
  • 论文笔记(六十二)Diffusion Reward Learning Rewards via Conditional Video Diffusion
  • ZooKeeper 中的 ZAB 一致性协议与 Zookeeper 设计目的、使用场景、相关概念(数据模型、myid、事务 ID、版本、监听器、ACL、角色)
  • 如何实现各种类型的进度条
  • npm、cnpm 、yarn、pnpm的优势点和缺点
  • Prometheus+grafana实践:Doris数据库的监控
  • 30V/3A降压DCDC转换器CP8335封装可适用汽车系统
  • pinctrl子系统
  • Matlab实现TCN-BiLSTM时间卷积神经网络结合双向长短期记忆神经网络多特征分类预测(附模型研究报告)
  • vscode 自用插件
  • 优选算法——哈希表
  • 【算法】经典博弈论问题——巴什博弈 python
  • 背包模型 多重背包问题 3
  • 【智能体系统AgentOS】核心二:工作流
  • LetsWave脑电数据简单时频分析及画图matlab(二)
  • 我与NVIDIA的故事
  • 2025牛客寒假算法营2
  • 如何理解Linux的根目录?与widows系统盘有何区别?
  • Ansys Motor-CAD:IPM 电机实验室 - 扭矩速度曲线
  • 独立站运营新突破:Clock斗篷技术助力商家降本增效
  • 使用 Tailwind CSS + PostCSS 实现响应式和可定制化的前端设计
  • python学opencv|读取图像(四十二)使用cv2.add()函数实现多图像叠加
  • cudatex文本编辑器