现场客户使用MSR5660设备替换客户处原有华为的设备,之前华为的设备做了GTS流量整形和WFQ的带宽保证,需求见下面图片描述
一、针对G1/0/1口入方向进行本地优先级的映射:
traffic classifier dot0 operator and
if-match customer-dot1p 0
traffic classifier dot1 operator and
if-match customer-dot1p 1
traffic classifier dot2 operator and
if-match customer-dot1p 2
traffic classifier dot3 operator and
if-match customer-dot1p 3
traffic classifier dot4 operator and
if-match customer-dot1p 4
traffic classifier dot5 operator and
if-match customer-dot1p 5
traffic classifier dot6 operator and
if-match customer-dot1p 6
traffic classifier dot7 operator and
if-match customer-dot1p 7
traffic classifier 3201
if-match acl 3201
traffic classifier 3202
if-match acl 3202
(2)配置相应的流量行为:
traffic behavior lp0
remark local-precedence 0
traffic behavior lp1
remark local-precedence 1
traffic behavior lp2
remark local-precedence 2
traffic behavior lp3
remark local-precedence 3
traffic behavior lp4
remark local-precedence 4
traffic behavior lp5
remark local-precedence 5
traffic behavior lp6
remark local-precedence 6
traffic behavior lp7
remark local-precedence 7
(3)配置QOS策略,将类和行为关联,将相应的802.1P优先级标记为本地优先级值。
qos policy in-qos
class dot0 beh lp2
class dot1 beh lp0
class dot2 beh lp1
class dot3 beh lp3
class dot4 beh lp4
class dot5 beh lp5
class dot6 beh lp6
class dot7 beh lp7
class 3201 beh lp6
class 3202 beh lp2
(4)接口下调用QOS:
[MSR5660-GigabitEthernet1/0/1]qos apply policy in-qos inbound
二、 针对G1/0/2口出方向进行流量的整形和带宽保证:
(1)配置QOS类,匹配相应的本地优先级:
traffic classifier lp0 operator and
if-match local-precedence 0
traffic classifier lp1 operator and
if-match local-precedence 1
traffic classifier lp2 operator and
if-match local-precedence 2
traffic classifier lp3 operator and
if-match local-precedence 3
traffic classifier lp4 operator and
if-match local-precedence 4
traffic classifier lp5 operator and
if-match local-precedence 5
traffic classifier lp6 operator and
if-match local-precedence 6
traffic classifier lp7 operator and
if-match local-precedence 7
(2)配置相应的QOS动作,将相应的流量入队列:
traffic behavior q7
queue sp
traffic behavior q6
queue ef bandwidth 1280 cbs 32000
gts cir 1280 cbs 32000
traffic behavior q2
queue af bandwidth remaining-pct 16
gts cir 1700 cbs 50000
traffic behavior q0
queue af bandwidth remaining-pct 16
traffic behavior q1
queue af bandwidth remaining-pct 16
traffic behavior q3
queue af bandwidth remaining-pct 16
traffic behavior q4
queue af bandwidth remaining-pct 16
traffic behavior q5
queue af bandwidth remaining-pct 16
(3)配置QOS策略,将类和行为做关联:
qos policy rtlimitQ
class lp7 beh q7
class lp6 beh q6
class lp5 beh q5
class lp4 beh q4
class lp3 beh q3
class lp2 beh q2
class lp1 beh q1
class lp0 beh q0
(4) 接口下调用QOS:
[MSR5660-GigabitEthernet1/0/2]qos apply policy rtlimitQ outbound
无
该案例暂时没有网友评论
✖
案例意见反馈
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作