Accton Technology VS4512 Switch User Manual


 
Priority Commands
4-155
Example
The following example shows how to map IP DSCP value 1 to CoS value 0:
map ip port (Global Configuration)
Use this command to enable IP port mapping (i.e., class of service mapping for
TCP/UDP sockets). Use the no form to disable IP port mapping.
Syntax
map ip port
no map ip port
Default Setting
Disabled
Command Mode
Global Configuration
Command Usage
The precedence for priority mapping is IP Port, IP Precedence or IP DSCP,
and default switchport priority.
Example
The following example shows how to enable TCP/UDP port mapping globally:
map ip port (Interface Configuration)
Use this command to set IP port priority (i.e., TCP/UDP port priority). Use the no
form to remove a specific setting.
Syntax
map ip port port-number cos cos-value
no map ip port port-number
port-number - 16-bit TCP/UDP port number. (Range: 0-65535)
cos-value - Class-of-Service value (Range: 0-7)
Default Setting
None
Console(config)#interface ethernet 1/5
Console(config-if)#map ip dscp 1 cos 0
Console(config-if)#
Console(config)#map ip port
Console(config)#