3Com 5500 Switch User Manual


 
218 CHAPTER 23: QOS/QOS PROFILE CONFIGURATION GUIDE
Configuration Procedure
1 Define traffic classification rules
# Create advanced ACL 3000 and enter advanced ACL view.
<3Com> system-view
[3Com] acl number 3000
# Define traffic classification rules with destination IP address as the match
criterion.
[3Com-acl-adv-3000] rule 0 permit ip destination 192.168.0.1 0
[3Com-acl-adv-3000] rule 1 permit ip destination 192.168.0.2 0
[3Com-acl-adv-3000] rule 2 permit ip destination 192.168.0.3 0
[3Com-acl-adv-3000] quit
2 Configure priority marking
# Mark the traffic matching ACL 3000 with a local precedence value on Ethernet
1/0/1.
[3Com] interface Ethernet 1/0/1
[3Com-Ethernet1/0/1] traffic-priority inbound ip-group 3000 rule 0 l
ocal-precedence 4
[3Com-Ethernet1/0/1] traffic-priority inbound ip-group 3000 rule 1 l
ocal-precedence 3
[3Com-Ethernet1/0/1] traffic-priority inbound ip-group 3000 rule 2 l
ocal-precedence 2
[3Com-Ethernet1/0/1] quit
3 Configure priority trust mode
# Configure the switch to trust port priority on Ethernet 1/0/3 and set the port
priority of Ethernet 1/0/3 to 5. (As port priority is trusted by default, you need not
to configure it here.)
[3Com] interface Ethernet 1/0/3
[3Com-Ethernet1/0/3] priority 5
[3Com-Ethernet1/0/3] quit
4 Configure a priority mapping table
# Configure the CoS-to-local precedence mapping table as follows: 0->0, 1->1,
2->2, 3->3, 4->4, 5->5, 6->6, and 7->7.
[3Com] qos cos-local-precedence-map01234567
5 Configure queue scheduling
# Configure the switch to adopt the SP queue scheduling algorithm.
[3Com] queue-scheduler strict-priority
Complete Configuration #
qos cos-local-precedence-map 0 1 234567
#
queue-scheduler strict-priority
#