Foundry NetIron M2404C and M2404F Metro Access Switches
Configuring QoS (Rev. 03)
Overview
© 2008 Foundry Networks, Inc.
Page 56 of 62
2.
Set ACG 102 for RADIUS (Gold class), marking the DSCP value with 26 and vpt value with 4:
device-name
(config-if 1/1/9)#
ip access-group 102 option
device-name
(config-if 1/1/9 acg 102)#
set traffic-class dscp 26
device-name
(config-if 1/1/9 acg 102)#
priority 4 green
device-name
(config-if 1/1/9 acg 102)#
exit
3.
Set ACG 103 for Telnet (Silver class), marking the DSCP value with 22 and vpt value with 3
(color green):
device-name
(config-if 1/1/9)#
ip access-group 103 option
device-name
(config-if 1/1/9 acg 103)#
set traffic-class dscp 22
device-name
(config-if 1/1/9 acg 103)#
priority 3 green
device-name
(config-if 1/1/9 acg 103)#
exit
4.
Set ACG 104 for SMTP (Silver class), marking the DSCP value with 20 and vpt value with 3
(color yellow):
device-name
(config-if 1/1/9)#
ip access-group 104 option
device-name
(config-if 1/1/9 acg 104)#
set traffic-class dscp 20
device-name
(config-if 1/1/9 acg 104)#
priority 3 yellow
device-name
(config-if 1/1/9 acg 104)#
exit
5.
Set ACG 105 for FTP (Silver class), marking the DSCP value with 18 and vpt value with 2:
device-name
(config-if 1/1/9)#
ip access-group 105 option
device-name
(config-if 1/1/9 acg 105)#
set traffic-class dscp 18
device-name
(config-if 1/1/9 acg 105)#
priority 2 green
device-name
(config-if 1/1/9 acg 105)#
exit
6.
Set ACG 106 for bronze class, marking the DSCP value with 10 and vpt value with 1:
device-name
(config-if 1/1/9)#
ip access-group 106 option
device-name
(config-if 1/1/9 acg 106)#
set traffic-class dscp 10
device-name
(config-if 1/1/9 acg 106)#
priority 1 green
device-name
(config-if 1/1/9 acg 106)#
rate-limit single-rate 64k 4k 4k
device-name
(config-if 1/1/9 acg 106)#
exit
9. Set the minimum traffic weight for each class:
•
Gold ~ 50%
•
Bronze ~ 15%
•
Platinum – Strict priority
•
Silver ~ 35%
•
Best-effort – 0%.
device-name
(config)#
qos map 5 txq7
device-name
(config)#
qos scheduling hybrid-1 1 2 5 1 8 1 1
10. Set ACLs to match the premium class traffic received on interface 1/1/10:
device-name
(config)#
access-list 111 remark Platinum
device-name
(config)#
access-list 111 permit udp any any vpt 5
11. Set ACLs to match the gold class traffic received on interface 1/1/10:
device-name
(config)#
access-list 112 remark Gold
device-name
(config)#
access-list 112 permit tcp any any vpt 4