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,与安全过滤无关.
推荐阅读
- 硝酸钠是做什么用的
- 崩溃大陆三个愿望任务怎么做
- 网红饮料做法 简单易做又好喝
- 清炖鸭子怎么做好吃没腥味
- 烤糍粑的做法
- 智能支边
- 莲花菜凉拌怎么做好吃
- 质点组内部保守力做功度量了什么
- ps快速为两张图片做自然过渡具体操作方法
- 桂花酿的做法大全