C
LASS

OF

S

ERVICE

C

ONFIGURATION

3-213

CLI21 – The following example globally enables DSCP Priority service on
the switch, maps DSCP value 0 to CoS value 1 (on port 5), and then
displays the DSCP Priority settings.

Mapping IP Port Priority

You can also map network applications to Class of Service values based on
the IP port number (i.e., TCP/UDP port number) in the frame header.
Some of the more common TCP service ports include: HTTP: 80, FTP:
21, Telnet: 23 and POP3: 110.
Command Attributes
IP Port Priority Status – Enables or disables the IP port priority.
Interface – Selects the port or trunk interface to which the settings apply.
IP Port Priority Table – Shows the IP port to CoS map.
IP Port Number (TCP/UDP) – Set a new IP port number.
Class of Service Value – Sets a CoS value for a new IP port. Note that
“0” represents low priority and “7” represent high priority.
Note: IP Port Priority settings apply to all interfaces.
Console(config)#map ip dscp 4-264
Console(config)#interface ethernet 1/5
Console(config-if)#map ip dscp 1 cos 0 4-265
Console(config-if)#end
Console#show map ip dscp ethernet 1/5 4-268
DSCP mapping status: disabled
Port DSCP COS
--------- ---- ---
Eth 1/ 5 0 0
Eth 1/ 5 1 0
Eth 1/ 5 2 0
Eth 1/ 5 3 0
.
.
.
Eth 1/ 5 61 0
Eth 1/ 5 62 0
Eth 1/ 5 63 0
Console#