資源描述:
《S9306速率限制配置》由會員上傳分享,免費(fèi)在線閱讀,更多相關(guān)內(nèi)容在教育資源-天天文庫。
1、S9306速率限制配置S9306的入方向限速為:首先需要定義acl:aclnumber3000[Quidway-acl-advanced-3000]rulepermitip然后定義流分類,來匹配該acl:trafficclassifierc1[Quidway-classifier-c1]if-matchacl3000定義流動作,動作里面做限速的配置,此處限速1000kbits/s:舉例說明限速1Mtrafficbehaviorb1[Quidway-behavior-b1]carcir1000定義策略,把流行為和流
2、動作關(guān)聯(lián)起來:trafficpolicyp1[Quidway-trafficpolicy-p1]classifierc1behaviorb1進(jìn)入端口下下發(fā)該策略既可:interfaceGigabitEthernet0/0/1[Quidway-GigabitEthernet0/0/1]traffic-policyp1inboundS9306的出方向限速為:[Quidway-Ethernet0/0/1]qoslrcir1000cbs200000注意:cbs=200*cir2M速率模板(inbound)aclnumbe
3、r3001[Quidway-acl-advanced-3001]rulepermitiptrafficclassifier2m[Quidway-classifier-2m]if-matchacl3001trafficbehavior2m[Quidway-behavior-2m]carcir2000trafficpolicy2mclassifier2mbehavior2m3M速率模板(inbound)aclnumber3001rulepermitiptrafficclassifier3mif-matchacl300
4、1trafficbehavior3mcarcir3000trafficpolicy3mclassifier3mbehavior3m4M速率模板(inbound)aclnumber3003[Quidway-acl-advanced-3003]rulepermitiptrafficclassifier4mif-matchacl3001trafficbehavior4mcarcir4000trafficpolicy4mclassifier4mbehavior4m6M速率模板(inbound)aclnumber3004[
5、Quidway-acl-advanced-3004]rulepermitiptrafficclassifier6mif-matchacl3001trafficbehavior6mcarcir6000trafficpolicy6mclassifier6mbehavior6m10M速率模板(inbound)aclnumber3005[Quidway-acl-advanced-3005]rulepermitiptrafficclassifier10mif-matchacl3001trafficbehavior10mca
6、rcir10000trafficpolicy10mclassifier10mbehavior10m20M速率模板(inbound)aclnumber3006[Quidway-acl-advanced-3006]rulepermitiptrafficclassifier20mif-matchacl3001trafficbehavior20mcarcir20000trafficpolicy20mclassifier20mbehavior20m30M速率模板(inbound)aclnumber3007[Quidway-
7、acl-advanced-3007]rulepermitiptrafficclassifier30mif-matchacl3001trafficbehavior30mcarcir30000trafficpolicy30mclassifier30mbehavior30m40M速率模板(inbound)aclnumber3008[Quidway-acl-advanced-3008]rulepermitiptrafficclassifier40m[Quidway-classifier-40m]if-matchacl30
8、08trafficbehavior40m[Quidway-behavior-40m]carcir40000trafficpolicy40m[Quidway-trafficpolicy-40m]classifier40mbehavior40m45M速率模板(inbound)aclnumber3009[Quidway-acl-advanced-3009]rulepermiti