3Com 4210, 5500G, 4200G manual 3Com qos cos-local-precedence-map 0 1 2 3 4 5 6

Models: 4210 5500 5500G 4200G

1 336
Download 336 pages 59.74 Kb
Page 218
Image 218

218CHAPTER 23: QOS/QOS PROFILE CONFIGURATION GUIDE

Configuration Procedure

1Define 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

2Configure 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

3Configure 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

4Configure 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-map 0 1 2 3 4 5 6 7

5Configure 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 2 3 4 5 6 7

#

queue-scheduler strict-priority

#

Page 218
Image 218
3Com 4210, 5500G, 4200G manual 3Com qos cos-local-precedence-map 0 1 2 3 4 5 6