Страница 1 из 1

MES2124M (ip sla udp-jitter)

Добавлено: 11 апр 2017 23:29
Feodin
Решил посмотреть поведение ip sla udp-jitter на паре MES2124M, стоящих на сети. Поведение показалось несколько странным.

Взял другую пару MES2124M собрал у себя на столе. Установил версию ПО 1.1.46
Схема простая:
ПК <-> Gi1/0/2 mes_down Gi1/0/1 <-> Gi1/0/1 mes_up

Конфиг коммутаторов:

Код: Выделить всё

mes_down#sh run
vlan database
 vlan 100
exit
!
hostname mes_down
!
clock source sntp
sntp unicast client enable
sntp unicast client poll
sntp server 192.168.200.100 poll
!
interface gigabitethernet 1/0/1
 switchport mode trunk
 switchport trunk allowed vlan add 100
exit
!
interface vlan 1
 ip address 192.168.200.1 255.255.255.0
 no ip address dhcp
exit
!
interface vlan 100
 name test_vlan                                               
 ip address 10.1.1.1 255.255.255.252
exit
!
ip sla operation 1
 udp-jitter 10.1.1.2 65000 source-address 10.1.1.1 source-port 65000 num-packets 120 interval 500
 request-data-size 40
 frequency 61
 tag sla_test
exit
!
mes_down#


Код: Выделить всё

mes_up#sh run
vlan database
 vlan 100
exit
!
hostname mes_up
!
clock source sntp
sntp unicast client enable
sntp unicast client poll
sntp server 192.168.200.100 poll
!
interface gigabitethernet 1/0/1
 switchport mode trunk
 switchport trunk allowed vlan add 100
exit
!
interface vlan 1
 ip address 192.168.200.2 255.255.255.0
 no ip address dhcp
exit
!
interface vlan 100
 name test_vlan                                               
 ip address 10.1.1.2 255.255.255.252
exit
!
ip sla responder udp_jitter 65000
!
mes_up#


Синхронизировал оба MES от ПК:

Код: Выделить всё

mes_down#sh sntp status
Clock is synchronized, stratum 3, reference is 192.168.200.100, unicast
Reference time is dc977acc.71615e96 15:54:52.0 UTC Apr 11 2017

Unicast servers:

    Server       Status      Last Response     Offset   Delay   
                                               [mSec]   [mSec] 
--------------- --------- ------------------- --------- -------
192.168.200.100    up     15:54:52.0 UTC Apr    2442       0   
                          11 2017                               


Anycast server:

    Server      Interface  Status        Last Response       Offset   Delay   
                                                             [mSec]   [mSec] 
--------------- --------- --------- ----------------------- --------- -------


Broadcast:

 Interface     IP address         Last Response     
------------ --------------- -----------------------         

mes_down#

mes_up#sh sntp status
Clock is synchronized, stratum 3, reference is 192.168.200.100, unicast
Reference time is dc977e28.1c1d6ced 16:09:12.0 UTC Apr 11 2017

Unicast servers:

    Server       Status      Last Response     Offset   Delay   
                                               [mSec]   [mSec] 
--------------- --------- ------------------- --------- -------
192.168.200.100    up     16:09:12.0 UTC Apr    2109       0   
                          11 2017                               


Anycast server:

    Server      Interface  Status        Last Response       Offset   Delay   
                                                             [mSec]   [mSec] 
--------------- --------- --------- ----------------------- --------- -------


Broadcast:

 Interface     IP address         Last Response     
------------ --------------- -----------------------         

mes_up#


Стартуем тест, ждём... Получаем такое:

Код: Выделить всё

mes_down#sh ip sla statistics 1


IP SLA Statistics for Index 1
Operational state of entry: Active
Type of operation: udp-jitter
      Latest operation return code: OK
      Latest latency value: 7 ms
Latency two-way values:
      Number of Latency two-way samples: 29
      Latency Min/Avg/Max: 7/7/11 ms
Latency one-way values:
      Number of SD Latency samples: 14
      Number of DS Latency samples: 11
      Source to Destination Latency one way Min/Avg/Max: 64/65/66 ms
      Source to Destination Latency one way Sum: 913 ms
      Destination to Source Latency one way Min/Avg/Max: 941/941/944 ms
      Destination to Source Latency one way Sum: 10357 ms
Jitter values:
      Source to Destination positive jitter Min/Avg/Max: 0/0/0 ms
      Source to Destination positive jitter Num/Sum: 0/0 ms
      Source to Destination negative jitter Min/Avg/Max: 0/0/0 ms
      Source to Destination negative jitter Num/Sum: 0/0 ms
      Destination to Source positive jitter Min/Avg/Max: 0/0/0 ms
      Destination to Source positive jitter Num/Sum: 0/0 ms
      Destination to Source negative jitter Min/Avg/Max: 0/0/0 ms
      Destination to Source negative jitter Num/Sum: 0/0 ms
Packet Loss values:
      Out Of Sequence: 0
Number of successes: 0
Number of failures: 0
Operations failed due to TimeOut/Unable Send/Bad Reply: 0/0/0
Operations failed due to Unreachable Net/Host/Port/Prot: 0/0/0/0
Operations failed due to Exceeded TTL/Time of reassembly: 0/0


mes_down#


Собственно, что не очень понятно:
1. Jitter не показывает совсем;
2. Number of successes: 0, хотя он явно что-то считает;
3. Односторонняя задержка даёт странные значения в оба направления;

Каких-то явных указаний на ошибку не нашёл.

Re: MES2124M (ip sla udp-jitter)

Добавлено: 12 апр 2017 14:40
Evgen_94
Добрый день.
Собрал стенд в СЦ с вашей конфигурацией.

Код: Выделить всё

mes_down#sh ip sla statistics 2


IP SLA Statistics for Index 2
Operational state of entry: Active
Type of operation: udp-jitter
      Latest operation return code: OK
      Latest latency value: 8 ms
Latency two-way values:
      Number of Latency two-way samples: 608
      Latency Min/Avg/Max: 7/9/212 ms
Latency one-way values:
      Number of SD Latency samples: 608
      Number of DS Latency samples: 0
      Source to Destination Latency one way Min/Avg/Max: 598/600/612 ms
      Source to Destination Latency one way Sum: 365080 ms
      Destination to Source Latency one way Min/Avg/Max: 0/0/0 ms
      Destination to Source Latency one way Sum: 0 ms
Jitter values:
      Source to Destination positive jitter Min/Avg/Max: 1/14/123 ms
      Source to Destination positive jitter Num/Sum: 24/338 ms
      Source to Destination negative jitter Min/Avg/Max: 1/2/12 ms
      Source to Destination negative jitter Num/Sum: 17/49 ms
      Destination to Source positive jitter Min/Avg/Max: 1/37/199 ms
      Destination to Source positive jitter Num/Sum: 23/859 ms
      Destination to Source negative jitter Min/Avg/Max: 1/27/202 ms
      Destination to Source negative jitter Num/Sum: 21/569 ms
Packet Loss values:
      Out Of Sequence: 0
Number of successes: 5
Number of failures: 0
Operations failed due to TimeOut/Unable Send/Bad Reply: 0/0/0
Operations failed due to Unreachable Net/Host/Port/Prot: 0/0/0/0
Operations failed due to Exceeded TTL/Time of reassembly: 0/0

Пересоберите стенд у себя, и перепроверьте еще раз работу ip sla.

Re: MES2124M (ip sla udp-jitter)

Добавлено: 12 апр 2017 16:35
Feodin
Схему я не разбирал. Просто перезагрузил коммутаторы.

Код: Выделить всё

mes_down#sh ip sla statistics 1


IP SLA Statistics for Index 1
Operational state of entry: Active
Type of operation: udp-jitter
      Latest operation return code: OK
      Latest latency value: 8 ms
Latency two-way values:
      Number of Latency two-way samples: 1826
      Latency Min/Avg/Max: 4/8/269 ms
Latency one-way values:
      Number of SD Latency samples: 0
      Number of DS Latency samples: 1794
      Source to Destination Latency one way Min/Avg/Max: 0/0/0 ms
      Source to Destination Latency one way Sum: 0 ms
      Destination to Source Latency one way Min/Avg/Max: 218/224/483 ms
      Destination to Source Latency one way Sum: 401950 ms
Jitter values:
      Source to Destination positive jitter Min/Avg/Max: 1/40/2004 ms
      Source to Destination positive jitter Num/Sum: 62/2510 ms
      Source to Destination negative jitter Min/Avg/Max: 1/2/15 ms
      Source to Destination negative jitter Num/Sum: 46/99 ms
      Destination to Source positive jitter Min/Avg/Max: 1/52/1999 ms
      Destination to Source positive jitter Num/Sum: 60/3173 ms
      Destination to Source negative jitter Min/Avg/Max: 1/16/181 ms
      Destination to Source negative jitter Num/Sum: 45/749 ms
Packet Loss values:
      Out Of Sequence: 0
Number of successes: 15
Number of failures: 0
Operations failed due to TimeOut/Unable Send/Bad Reply: 0/0/0
Operations failed due to Unreachable Net/Host/Port/Prot: 0/0/0/0
Operations failed due to Exceeded TTL/Time of reassembly: 0/0


mes_down#


У меня показывает результаты D -> S, у Вас S -> D.
И несколько настораживают задержки: средняя односторонняя в 224мс при средней задержке RTT в 8мс.
И джиттер максимальный в 2 секунды.

Вероятно время не очень нормально синхронизируется, хотя источник один и после перезагрузки оба коммутатора с ним синхронизировались.

Re: MES2124M (ip sla udp-jitter)

Добавлено: 12 апр 2017 17:48
Evgen_94
Что вы используете в качестве ntp-сервера ?

Re: MES2124M (ip sla udp-jitter)

Добавлено: 12 апр 2017 18:09
Feodin
ПК с Linux со стандартным демоном ntpd. ПК подключен ко второму порту mes_down.

Re: MES2124M (ip sla udp-jitter)

Добавлено: 13 апр 2017 10:40
Evgen_94
Есть проблема с синхронизацией миллисекунд по sntp, следовательно поэтому отображаются некорректные значения джиттера. Сообщите в лс ваши контактные данные,название организации и критичность проблемы.

Re: MES2124M (ip sla udp-jitter)

Добавлено: 13 апр 2017 13:08
Feodin
Спасибо. Информацию отправил в ЛС.
Полагаю, тему можно пока закрывать.