rate-limit на интерфейсе

вариант 1

ip access-list extended 2000
permit ip any host 10.0.0.22

ip access-list extended 2699
permit ip any any

interface GigabitEthernet0/1.8
rate-limit output access-group 2000 8192000 1536000 3072000 conform-action transmit exceed-action drop
.....
rate-limit output access-group 2699 256000 65536 131072 conform-action transmit exceed-action drop



sh run
....
!
interface GigabitEthernet0/1.8
 description 9
 encapsulation dot1Q 11
 ip address 10.1.1.1 255.255.255.192 secondary
 ip address 10.0.0.1 255.255.255.192
 ip flow ingress
 ip flow egress
 rate-limit output access-group 2000 8192000 1536000 3072000 conform-action transmit exceed-action drop
 rate-limit output access-group 2699 256000 65536 131072 conform-action transmit exceed-action drop
 no cdp enable
!
.....
access-list 2000 permit ip any host 10.0.0.22
access-list 2699 permit ip any any


Читать дальше →

rate-limit для QoS’а на Cisco

rate-limit output 15360000 2880000 5760000 conform-action transmit exceed-action drop

rate-limit output ‘rate’ ‘burst_norm’ ‘burst_max’ conform-action transmit exceed-action drop


burst_norm = rate * 0,125 * 1,5 (seconds)
burst_max = burst_norm * 2

0,125 = 1(byte)/8(bits)