3550-24 EMI做限速

王朝other·作者佚名  2008-05-31
窄屏简体版  字體: |||超大  

internet----firewall----(port1)3550emi(port2)---vlan103(192.168.103.0)

(port3)---vlan104(192.168.104.0)

Internet总出口速率为1M,

为vlan103分配200Kbit/s的带宽,

为vlan104分配400Kbit/s的带宽.

mls qos

class-map match-all ipclass103

match Access-group 103

class-map match-all ipclass104

match access-group 104

!

!

policy-map flow_internet

class ipclass103

police 200000 8000 exceed-action drop

class ipclass104

police 400000 8000 exceed-action drop

!

!

spanning-tree extend system-id

!

!

!

interface FastEthernet0/1

switchport access vlan 200

switchport mode access

no ip address

flowcontrol receive on

service-policy input flow_internet

access-list 103 permit ip any 192.168.103.0 0.0.0.255

access-list 104 permit ip any 192.168.104.0 0.0.0.255

补充:

interface vlan103

ip address 192.168.103.1 255.255.255.0

interface vlan104

ip address 192.168.104.1 255.255.255.0

再ip routing即可.

access-list103和104是针对qos,与安全过滤无关.

 
 
 
免责声明:本文为网络用户发布,其观点仅代表作者个人观点,与本站无关,本站仅提供信息存储服务。文中陈述内容未经本站证实,其真实性、完整性、及时性本站不作任何保证或承诺,请读者仅作参考,并请自行核实相关内容。
 
 
© 2005- 王朝網路 版權所有 導航