Accton Technology ES5508 Switch User Manual


 
Priority Commands
4-193
4
map ip precedence (Interface Configuration)
This command sets IP precedence priority (i.e., IP Type of Service priority). Use the
no form to restore the default table.
Syntax
map ip precedence ip-precedence-value cos cos-value
no map ip precedence
precedence-value - 3-bit precedence value. (Range: 0-7)
cos-value - Class-of-Service value (Range: 0-7)
Default Setting
The list below shows the default priority mapping.
Command Mode
Interface Configuration (Ethernet Ports 1-8, Port Channel)
Command Usage
The precedence for priority mapping is IP Port, IP Precedence or IP DSCP,
and default switchport priority.
IP Precedence values are mapped to default Class of Service values on a
one-to-one basis according to recommendations in the IEEE 802.1p standard,
and then subsequently mapped to the eight hardware priority queues.
This command sets the IP Precedence for all interfaces.
Example
The following example shows how to map IP precedence value 1 to CoS value 0:
map ip dscp (Global Configuration)
This command enables IP DSCP mapping (i.e., Differentiated Services Code Point
mapping). Use the no form to disable IP DSCP mapping.
Syntax
[no] map ip dscp
Default Setting
Disabled
Command Mode
Global Configuration
Table 4-66 Mapping IP Precedence to CoS Values
IP Precedence Value 01234567
CoS Value
01234567
Console(config)#interface ethernet 1/5
Console(config-if)#map ip precedence 1 cos 0
Console(config-if)#