Ограничение скорости на интерфейсе Cisco IOS
Опубликовано Cisco Февраль 19, 2014 MarchdВариант номер раз:
Код:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | policy-map 1024k-flat-inbound class Inb-mark police cir 1000000 bc 62500 be 62500 conform-action transmit exceed-action drop policy-map 1024k-flat-internet class class-default shape average 1000000 ! interface FastEthernet0/0.9 encapsulation dot1Q 9 ip address xxx.xxx.xxx.xxx 255.255.255.252 ip verify unicast reverse-path no snmp trap link-status no cdp enable service-policy input 1024k-flat-inbound service-policy output 1024k-flat-internet ! |
Вариант номер два:
Код:
1 2 3 4 5 6 7 8 9 10 11 | ! interface FastEthernet0/0.7 encapsulation dot1Q 7 ip address ххх.ххх.ххх.ххх 255.255.255.252 ip access-group clients-firewall-in in ip verify unicast reverse-path rate-limit input 1024000 128000 128000 conform-action transmit exceed-action drop rate-limit output 1024000 128000 128000 conform-action transmit exceed-action drop no snmp trap link-status no cdp enable ! |
Источник: http://sysadmins.ru/
Теги: Cisco, traffic-shape, Настройка