3 Configuring the Switch

CLI – The following example globally enables IP Port Priority service on the switch, maps HTTP traffic (on port 1) to CoS value 0, and then displays the IP Port Priority settings.

Console(config)#map

ip port

4-191

Console(config)#interface ethernet 1/1

4-125

Console(config-if)#map ip port 80 cos 0

4-191

Console(config-if)#end

 

Console#show map ip

port ethernet 1/5

4-195

TCP port mapping status: disabled

 

Port

Port no. COS

 

--------- --------

---

 

Eth 1/ 1

80

0

 

Console#

 

 

 

 

 

 

 

*Mapping specific values for IP Port Priority is implemented as an interface configuration command, but any changes will apply to the all interfaces on the switch.

Mapping CoS Values to ACLs

Use the ACL CoS Mapping page to set the output queue for packets matching an ACL rule as shown in the following table. Note that the specified CoS value is only used to map the matching packet to an output queue; it is not written to the packet itself. For information on mapping the CoS values to output queues, see page 3-149.

Table 3-16 Egress Queue Priority Mapping

Priority

0

1

2

3

4

5

6

7

 

 

 

 

 

 

 

 

 

Queue

1

2

0

3

4

5

6

7

 

 

 

 

 

 

 

 

 

Command Usage

You must configure an ACL mask before you can map CoS values to the rule.

Command Attributes

Port – Port identifier. (Range: 1-8)

Name23 – Name of ACL.Type – Type of ACL (IP or MAC).

CoS Priority – CoS value used for packets matching an IP ACL rule. (Range: 0-7)

23. For information on configuring ACLs, see page 3-73.

3-158