第一種方式:Qos
1,先進入到端口模式。
2,輸入命令
qos lr inbound cir 10240 cbs 1280000 \\限制服務器上傳,限制速度為10M
qos lr outbound cir 10240 cbs 1280000 \\限制服務器下載,限制速度為10M
第二種方式:traffic-limit
1,先創建一個acl 規則允許任何ip訪問
acl 2000
rule 5 permit source any
2,輸入命令
traffic-limit inbound acl 2000 cir 10240 \\限制服務器上傳,限制速度為10M
traffic-limit outbound acl 2000 cir 10240 \\限制服務器下載,限制速度為10M