Public notesSign inGet started

PORT (traffic)

Edited

На OLT на сплитере всем пропускная способность 2/1.5 Гб/c

terminal
//2169 байт в секунду, чтобы перевести в мбит, нужно умножить на 8 и разделить на 1000000.
ztec300(config)#show interface gpon-onu_1/{board}/{spl}:{port}
ONU statistic:
   Input rate :                  0 Bps                0 pps
   Output rate:               2169 Bps               23 pps
   Input bandwidth thoughput :0.0%    
   Output bandwidth thoughput: N/A    
Interface peak rate:
   Input peak rate :            1625695 Bps             2302 pps
   Output peak rate:            6331967 Bps             4959 pps
Total statistic:
  Input:
    Bytes:289754175588         Packets:2800285780          
  Output:
    Bytes:9419657236013        Packets:9063857950 

terminal
ztec300(config)#interface gpon-onu_1/{board}/{spl}:{port}                                                                                                                                                                                                          
ztec300(config-if)#statistics service-port 1 start 
//смотрим кол-во outBytes.
ztec300(config-if)#show statistics interface gpon-onu_1/{board}/{spl}:{port} sport 1
  service port statistics informantion:
  -----------------------------------
  inBytes     : 0
  inRate      : 0(kbps)
  outBytes    : 0
  outRate     : 0(kbps)
//через 10 секунд повторяем, и чтобы понять скорость в мбит/с, нужно ((bytes_after-bytes_before) * 8) / (кол-во сек * 1000000)
ztec300(config-if)#show statistics interface gpon-onu_1/{board}/{spl}:{port} sport 1
  service port statistics informantion:
  -----------------------------------
  inBytes     : 0
  inRate      : 0(kbps)
  outBytes    : 0
  outRate     : 0(kbps)
ztec300(config-if)#statistics service-port 1 stop 
ztec300(config-if)#exit