Foundry NetIron M2404C and M2404F Metro Access Switches
Configuring HQoS (Rev.03)
Configuration
© 2008 Foundry Networks, Inc.
Page 92 of 98
SW2
(config hqos)#
egress-scheduler-policy Gold
5. Create Root Scheduler and apply shaper to it:
SW2
(config hqos-eg-sched-policy Gold)#
scheduler Bank root
6. Create Layer 2 scheduler and apply Shaping profile to it:
SW2
(config hqos-eg-sched-policy Gold)#
scheduler Sched1
SW2
(config hqos-eg-sched-policy-sched Sched1)#
parent Bank
SW2
(config hqos-eg-sched-policy-sched Sched1)#
shaper 66
7. Create qos-egress policy:
SW2
(config hqos)#
qos-egress-policy 15
8. Create Queues and apply WRED to them:
SW2
(config hqos-eg 15)#
queue 10 parent Sched1
SW2
(config hqos-eg-que 10)#
wred-profile 33
SW2
(config hqos-eg-que 10)#
service-wfq-profile 20
SW2
(config hqos-eg 15)#
queue 11 parent Sched1
SW2
(config hqos-eg-que 11)#
service-wfq-profile 21
9. Map FEC to service egress queues:
SW2
(config hqos-eg 15)#
fc l1
SW2
(config hqos-eg-fc l1)#
queue 10 parent Sched1
SW2
(config hqos-eg-fc l1)#
exit
SW2
(config hqos-eg 15)#
fc be
SW2
(config hqos-eg-fc be)#
queue 10 parent Sched1
SW2
(config hqos-eg-fc be)#
exit
SW2
(config hqos-eg 15)#
fc h1
SW2
(config hqos-eg-fc h1)#
queue 11 parent Sched1
10. Apply egress-scheduler and hqos-egress policies to SAP port:
SW2
(config-vpls 30)#
sap 1/1/1 option vlan 30
SW2
(config-vpls-sap 1/1/1:30)#
egress-scheduler-policy Gold
SW2
(config-vpls-sap 1/1/1:30)#
hqos-egress-policy 15
Configuration scheduler policy Silver and queue policy 16
1. Create Scheduler- WFQ Profile:
SW2
(config hqos)#
scheduler-wfq-profile egress 20 weight 50 cir-weight
200
SW2
(config hqos)#
scheduler-wfq-profile egress 21 weight 10 cir-weight
100
2. Create Shaping Profile
SW2
(config hqos)#
shaper egress 5 7000 7000 8 8
SW2
(config hqos)#
shaper egress 71 1000 1000 8 8
SW2
(config hqos)#
shaper egress 72 6000 10000 8 8
3. Create Egress Scheduler Policy:
SW2
(config hqos)#
egress-scheduler-policy Silver
4. Create Root Scheduler and apply shaper to it: