Jump to content

Recommended Posts

Posted

Созданы политики в зависимости от времени

 policy access-list Pol-in
 condition 1 time-range
  periodic weekend weekdays 00:00 to 01:59 class UDay
  periodic weekend weekdays 14:00 to 23:59 class UDay
...
seq 900 permit ip any any class UNight condition 1

policy access-list Pol-out
 condition 1 time-range
  periodic weekend weekdays 00:00 to 01:59 class UDay
  periodic weekend weekdays 14:00 to 23:59 class UDay
...
seq 900 permit ip any any class UNight condition 1
! subscriber profile Pol
  qos policy policing Pol-in
  qos policy metering Pol-out
!
radius service profile Pol8_24
 parameter value RateDay 8192
 parameter value BurstDay 1048576
 parameter value RateNight 24576
 parameter value BurstNight 3145728
 accounting in qos "UDay UNight"
 accounting out qos "UDay UNight"
 seq 10 attribute Dynamic-Policy-Filter "ip in forward class UDay qos"
 seq 20 attribute Dynamic-Policy-Filter "ip out forward class UDay qos"
 seq 50 attribute Dynamic-Policy-Filter "ip in forward class UNight qos"
 seq 60 attribute Dynamic-Policy-Filter "ip out forward class UNight qos"
 seq 90 attribute Dynamic-Qos-Parameter "meter-class-rate UDay rate-absolute $RateDay"
 seq 100 attribute Dynamic-Qos-Parameter "meter-class-burst UDay $BurstDay"
 seq 110 attribute Dynamic-Qos-Parameter "police-class-rate UDay rate-absolute $RateDay"
 seq 120 attribute Dynamic-Qos-Parameter "police-class-burst UDay $BurstDay"
 seq 170 attribute Dynamic-Qos-Parameter "meter-class-rate UNight rate-absolute $RateNight"
 seq 180 attribute Dynamic-Qos-Parameter "meter-class-burst UNight $BurstNight"
 seq 190 attribute Dynamic-Qos-Parameter "police-class-rate UNight rate-absolute $RateNight"
 seq 200 attribute Dynamic-Qos-Parameter "police-class-burst UNight $BurstNight"
 seq 250 attribute Service-Interim-Accounting 1200

По логике в 14-00 скорость у клиента должна менятся с 24Мб/с до 8Мб/с, но по графику на интерфейсе в этом время происходит резкий рост трафика.

Чем это может быть вызвано?

Posted
qos policy Pol-in policing radius-guided
access-group Pol-in local
 class UDay
  rate 2048 burst 262144
 class UNight
  rate 4096 burst 524288
!
qos policy Pol-out metering radius-guided
access-group Pol-out local
 class UDay
  rate 2048 burst 262144
 class UNight
  rate 4096 burst 524288
!

Posted

Они все однотипные, отличаются только названиями и значениями параметров RateDay/BurstDay и RateNight/BurstNight.

У всех RateDay < RateNight.

Posted

Вот вывод команды. Просто перечисление классов и их параметров. Какой из них используется не понятно.

 

В случае с Cisco по команде sh access-list видно какая часть в данный момент active.

Есть в SE600 аналог?

 

Circuit: 1/3 vlan-id 4011 pppoe 4396
----------------------------------------------------------

Policy Name       : Marathon-in
Policy Type       : policing
Hierarchical Type : None
Rate              :                   Rate Source       :
Burst             :                   Excess Burst      :

Dynamic Parameters
Class 0:
Rate              : 51200             Burst             : 6553600
Excess Burst      :
Mark              :                   Value             :
Conform           :                   Value             :
Exceed            :                   Value             :
Violate           :                   Value             :
Class 1:
Rate              : 2048              Burst             : 262144
Excess Burst      :
Mark              :                   Value             :
Conform           :                   Value             :
Exceed            :                   Value             :
Violate           :                   Value             :
Class 2:
Rate              : 5120              Burst             : 655360
Excess Burst      :
Mark              :                   Value             :
Conform           :                   Value             :
Exceed            :                   Value             :
Violate           :                   Value             :
Class mapping     : 1-->0, 2-->0, 3-->0, 4-->0, 5-->0, 6-->0, 7-->0, 8-->0

Posted

Замерил изменения на одной из политик. Параметры с 2-00 до 13-59 - 5Мб/с после 14-00 - 2Мб/с.

Фактические значения: до 14-00 скорость соответствовала заявленной - 5Мб/с. В момент наступления 14-00 скорость не ограничивается. Если разорвать РРРоЕ соединение и подключится заново, то скорость соответствует - 2Мб/с. Если не разрывать соединение скорость остается без ограничений.

 

Прикладываю общий график.

ericsson2.png

Posted

>[local]se2#sh card 1 qos policing circuit 1/3:1023:63/6/2/107272
Slot 1 Ingress:

 Circuit 1/3:1023:63/6/2/107272, policy Marathon-in, id 42361b80/3000002d
  Class ID 1:
   Rate 51200 kbps, burst 6553600 bytes
   Max burst 460390400 clocks, duration 460390400 clocks
     last packet 112092425:782104 clocks/seconds
     left shift 0, right shift 2, multiplier 281
  Class ID 2:
   Rate 2048 kbps, burst 262144 bytes
   Max burst 460587008 clocks, duration 460587008 clocks
     last packet 596720750:777151 clocks/seconds
     left shift 0, right shift 0, multiplier 1757
  Class ID 3:
   Rate 5120 kbps, burst 655360 bytes
   Max burst 460718080 clocks, duration 460718080 clocks
     last packet 2147432757:778892 clocks/seconds
     left shift 0, right shift 0, multiplier 703

 

Тест показывает 17Мб/с

Posted

>[local]se2#sh card 1 qos policing circuit 1/3:1023:63/6/2/107272
Slot 1 Ingress:

 Circuit 1/3:1023:63/6/2/107272, policy Marathon-in, id 42361b80/3000002d
  Class ID 1:
   Rate 51200 kbps, burst 6553600 bytes
   Max burst 460390400 clocks, duration 460390400 clocks
     last packet 112092425:782104 clocks/seconds
     left shift 0, right shift 2, multiplier 281
  Class ID 2:
   Rate 2048 kbps, burst 262144 bytes
   Max burst 460587008 clocks, duration 460587008 clocks
     last packet 596720750:777151 clocks/seconds
     left shift 0, right shift 0, multiplier 1757
  Class ID 3:
   Rate 5120 kbps, burst 655360 bytes
   Max burst 460718080 clocks, duration 460718080 clocks
     last packet 2147432757:778892 clocks/seconds
     left shift 0, right shift 0, multiplier 703

 

Тест показывает 17Мб/с

 

 

У вас рост трафика в каком направлении происходит ? в metering наверное но не в policing

Posted

Выглядит точно так же

 

 

[local]se2#sh card 1 qos met circuit 1/3:1023:63/6/2/107272
Slot 1 Egress:

 Circuit 1/3:1023:63/6/2/107272, policy Marathon-out, id 627364c0/3000002d
  Class ID 1:
   Rate 51200 kbps, burst 6553600 bytes
   Max burst 460390400 clocks, duration 460390400 clocks
     last packet 1546846974:785104 clocks/seconds
     left shift 0, right shift 2, multiplier 281
  Class ID 2:
   Rate 2048 kbps, burst 262144 bytes
   Max burst 460587008 clocks, duration 460587008 clocks
     last packet 660706080:777151 clocks/seconds
     left shift 0, right shift 0, multiplier 1757
  Class ID 3:
   Rate 5120 kbps, burst 655360 bytes
   Max burst 460718080 clocks, duration 460718080 clocks
     last packet 2024777249:778891 clocks/seconds
     left shift 0, right shift 0, multiplier 703

Posted

Число в last packet для class ID 2: меняется, остальные числа не меняются. Эффекта на ограничение скорости это не прибавляет.

Posted

просто посмотрите что qos изменялся с соответсвующими параметрами

245 1 1 112 circuit update policy 0/2 default-out

queue 0, up id 0 H-n flags 0

2/1:1023:63/7/2/117 mode 0x1 type 0x100

channel 0

Remap parent class array { 8, 8, 8, 8, 8, 8, 8, 8 }

246 19 1 60 Params update circuit parameters for 2/1:1023:63/7/2/117

Dynamic param rate - size 20

classid 0, rate 1024, burst 192000, excess_burst 0, % 0

set/reset 0x60/0

Dynamic param rate - size 20

classid 0x1, rate 100000, burst 18750000, excess_burst 0, % 0

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...
На сайте используются файлы cookie и сервисы аналитики для корректной работы форума и улучшения качества обслуживания. Продолжая использовать сайт, вы соглашаетесь с использованием файлов cookie и с Политикой конфиденциальности.