Planet Technology SGSW-2840P Switch User Manual


 
User’s Manual of SGSD-1022 / SGSD-1022P
SGSW-2840 / SGSW-2840P
626
The following example shows how to map HTTP traffic to CoS queue 0, then enable the feature globally on the switch.
Console(config)#map ip port 80 cos 0
Console(config)#map ip port
Console(config)#
map ip precedence
Use this command to enable and set IP precedence priority mapping. Use the no form to disable the feature or restore a
Default Setting.
Syntax
map ip precedence [precedence-value cos cos-queue]
no map ip precedence [precedence-value]
precedence-value -3-bit precedence value. (Range: 0-7)
cos-queue - Port Class-of-Service queue. (Range: 0-3)
Default Setting
Status: Disabled
The list below shows the default priority mapping.
IP Precedence Value
0 1 2 3 4 5 6 7
CoS Queue
0 0 1 1 2 2 3 3
Table 5-81 Mapping IP Precedence to CoS Queues
Command Mode
Global Configuration
Command Usage
The command map ip precedence enables the feature on the switch. The command map ip precedence
precedence-value cos cos-queue maps IP Precedence values to port CoS queues.
The precedence for priority mapping is IP Port, IP Precedence/DSCP/TOS, and default switchport priority.
This command sets the IP Precedence priority for all interfaces.
IP Precedence, IP DSCP, and IP TOS Priority cannot all be enabled at the same time. Enabling one of these priority
types automatically disables the others.
Example
The following example shows how to map IP precedence value 1 to CoS value 0 and enable the feature on the switch.
Console(config)#map ip precedence 1 cos 0