Chinaunix

标题: cisco 3550 EMI交换机给VLAN网段限速 [打印本页]

作者: samwang816    时间: 2009-07-01 16:46
标题: cisco 3550 EMI交换机给VLAN网段限速

cisco
3550 EMI交换机给
VLAN
网段限速
在3550 EMI上做速率限制是采用QOS的速率管制功能(policying),依次需要做如下配置。
  1、在所有端口上关闭流量控制
3550(config)#interface range gigabitEthernet 0/1 - 123550(config-if-range)#flowcontrol receive off3550(config-if-range)#flowcontrol send off
  2、启用
QOS
3550(config)#mls qos3550#show mls qosQoS is enabled
  3、依次配置ACL、Class-map、Policy-map并应用在Gi0/8接口下:
access-list 110 permit ip host 10.10.11.25 anyclass-map match-all All-IPTrafficmatch access-group 110policy-map QOSclass All-IPTrafficpolice 2048000 102400 exceed-action dropinterface GigabitEthernet0/8switchport access vlan 3switchport mode accessservice-policy input QOSflowcontrol send offno cdp enable
  4、经过检验,这个限速确实能起作用。


本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u/17811/showart_1983152.html




欢迎光临 Chinaunix (http://bbs.chinaunix.net/) Powered by Discuz! X3.2