Planet Technology SGSW-2840 Switch User Manual


 
User’s Manual of SGSD-1022 / SGSD-1022P
SGSW-2840 / SGSW-2840P
625
Command Mode
Global Configuration
Command Usage
The command map ip dscp enables the feature on the switch. The command map ip dscp dscp-value cos
cos-queue maps DSCP 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 DSCP 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 DSCP value 1 to queue 0, then enable the feature on the switch.
Console(config)# map ip dscp 1 cos 0
Console(config)# map ip dscp
Console(config)#
map ip port
Use this command to enable and set IP port priority mapping (i.e., TCP/UDP port priority mapping). Use the no form to disable
the feature or remove a settting.
Syntax
map ip port [port-number cos cos-queue]
no map ip port [port-number]
port-number - 16-bit TCP/UDP port number. (Range: 0-65535)
cos-queue - Port Class-of-Service queue (Range: 0-3)
Default Setting
Disabled
Command Mode
Global Configuration
Command Usage
The command map ip port enables the feature on the switch. The command map ip port port-number cos cos-queue
maps IP ports 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 port priority for all interfaces.
Example