![图片[1]-17.2 WRED配置-大赛人网](https://www.dsrw.com/wp-content/uploads/2023/03/图片32-6-1024x426.png)
1.R1配置ACL
[R1]acl number 2001
[R1-acl-basic-2001]rule permit source 192.168.1.1 0
[R1]acl number 2002
[R1-acl-basic-2002]rule permit source 192.168.1.2 0
[R1]acl number 2003
[R1-acl-basic-2003]rule permit source 192.168.1.3 0
[R1]acl number 2004
[R1-acl-basic-2004]rule permit source 192.168.1.4 0
2.R1配置流分类
[R1]traffic classifier 2001
[R1-classifier-2001]if-match acl 2001
[R1]traffic classifier 2002
[R1-classifier-2002]if-match acl 2002
[R1]traffic classifier 2003
[R1-classifier-2003]if-match acl 2003
[R1]traffic classifier 2004
[R1-classifier-2004]if-match acl 2004
3.R1配置流行为
[R1]traffic behavior 2001
[R1-behavior-2001]remark ip-precedence 5
[R1]traffic behavior 2002
[R1-behavior-2002]remark ip-precedence 4
[R1]traffic behavior 2003
[R1-behavior-2003]remark ip-precedence 3
[R1]traffic behavior 2004
[R1-behavior-2004]remark ip-precedence 2
4.R1配置流策略,关联流分类和流行为
[R1]traffic policy p
[R1-trafficpolicy-p]classifier 2001 behavior 2001
[R1-trafficpolicy-p]classifier 2002 behavior 2002
[R1-trafficpolicy-p]classifier 2003 behavior 2003
[R1-trafficpolicy-p]classifier 2004 behavior 2004
5.R1配置WRED模板
[R1]drop-profile D
[R1-drop-profile-D]wred dscp
[R1-drop-profile-D]dscp af11 low-limit 30 high-limit 90 discard-percentage 40
[R1-drop-profile-D]dscp af12 low-limit 40 high-limit 95 discard-percentage 20
6.在CBQ里调用,接口调用
[R1]traffic behavior 2001
[R1-behavior-2001]queue wfq
[R1-behavior-2001]drop-profile D
[R1]traffic behavior 2002
[R1-behavior-2002]queue wfq
[R1-behavior-2002]drop-profile D
[R1]traffic behavior 2003
[R1-behavior-2003]queue wfq
[R1-behavior-2003]drop-profile D
[R1]traffic behavior 2004
[R1-behavior-2004]queue wfq
[R1-behavior-2004]drop-profile D
[R1]interface GigabitEthernet 0/0/1
[R1-GigabitEthernet 0/0/1]traffic-policy p inbound
7.在qos-profile里调用
[R1]qos queue-profile dsrw
[R1-qos-queue-profile-qq]schedule wfq 0 to 4
[R1-qos-queue-profile-qq]queue 0 to 4 drop-profile D
8.R1接口调用
[R1]interface GigabitEthernet 0/0/1
[R1-GigabitEthernet0/0/1]qos queue-profile dsrw
© 版权声明
文章版权归作者所有,未经允许请勿转载。
THE END
请登录后查看评论内容