>[оверквотинг удален]
>>Cisco-AVPair = "lcp:interface-config=rate-limit input 128000 24000 48000 conform-action transmit exceed-action drop",
>> Cisco-AVPair = "lcp:interface-config=rate-limit output
>>128000 24000 48000 conform-action transmit exceed-action drop"
>>,
>>
>>Работает без проблем...
>
>Если это freeradius, то надо писать
>Cisco-AVPair = "lcp:interface-config#1=rate-limit input 256000 7500 7500 conform-action continue exceed-action drop",
>Cisco-AVPair += "lcp:interface-config#2=rate-limit output 512000 7500 7500 conform-action continue exceed-action drop"Я на самом деле использую FreeRADIUS + NIBS.
Передаю:
Cisco-AVPair = "lcp:interface-config#1=rate-limit input 256001 7500 7500 conform-action continue exceed-action drop",
Cisco-AVPair += "lcp:interface-config#2=rate-limit output 512001 7500 7500 conform-action continue exceed-action drop"
Результат:
#sh int rate-limit
Virtual-Access191
Input
matches: all traffic
params: 256000 bps, 7500 limit, 7500 extended limit
conformed 0 packets, 0 bytes; action: continue
exceeded 0 packets, 0 bytes; action: drop
last packet: 1785723932ms ago, current burst: 0 bytes
last cleared 00:00:12 ago, conformed 0 bps, exceeded 0 bps
А на Output ограничение не появляется, хоть тресни.