C
ONFIGURING
THE
S
WITCH
2-144
CLI – The following example globally enables DSCP Priority service on
the switch, maps DSCP value 1 to CoS value 0 on port 5, and then displays
all the DSCP Priority settings.
*Mapping specific values for IP Precedence is implemented as an interface
configuration command, but any changes will apply to all interfaces on the switch.
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.
Console(config)#map ip dscp 3-199
Console(config)#interface ethernet 1/5
Console(config-if)#map ip dscp 1 cos 0 3-200
Console(config-if)#end
Console#show map ip dscp ethernet 1/5 3-203
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#