primap pre-defined color
Use primap pre-defined color to configure an action of mapping source precedence to target precedence through the specified colored priority mapping table for a traffic behavior.
Use undo primap pre-defined color to delete the action.
Syntax
primap pre-defined color { dot1p-dot1p | dot1p-dp | dot1p-dscp | dot1p-exp | dot1p-lp | dscp-dot1p | dscp-dp | dscp-dscp | dscp-exp | dscp-lp | exp-dot1p | exp-dp | exp-dscp | exp-exp | exp-lp }
undo primap pre-defined color { dot1p-dot1p | dot1p-dp | dot1p-dscp | dot1p-exp | dot1p-lp | dscp-dot1p | dscp-dp | dscp-dscp | dscp-exp | dscp-lp | exp-dot1p | exp-dp | exp-dscp | exp-exp | exp-lp }
Default
No priority mapping action is configured in a traffic behavior.
Views
Traffic behavior view
Predefined user roles
network-admin
mdc-admin
Parameters
pre-defined: Pre-defined priority mapping table.
color: Uses colored priority mapping tables for priority mapping.
The switch provides the following types of priority map.
Table 21: Priority maps
Priority map | Description |
---|---|
dot1p-dot1p | 802.1p-802.1p priority map. |
dot1p-dp | 802.1p-drop priority map. |
dot1p-dscp | 802.1p-DSCP priority map. |
dot1p-exp | 802.1p-EXP priority map. |
dot1p-lp | 802.1p-local priority map. |
dscp-dot1p | DSCP-802.1p priority map. |
dscp-dp | DSCP-drop priority map. |
dscp-dscp | DSCP-DSCP priority map. |
dscp-exp | DSCP-EXP priority map. |
dscp-lp | DSCP-local priority map. |
exp-dot1p | EXP-802.1p priority map. |
exp-dp | EXP-drop priority map. |
exp-dscp | EXP-DSCP priority map. |
exp-exp | EXP-EXP priority map. |
exp-lp | EXP-local priority map. |
Usage guidelines
You must use the primap pre-defined color command together with the car command.
Examples
# Configure the action of mapping DSCP values to drop priority through the colored DSCP-to-drop mapping table in traffic behavior behavior1.
<Sysname> system-view [Sysname] traffic behavior behavior1 [Sysname-behavior-behavior1] car cir 1600 [Sysname-behavior-behavior1] primap pre-defined color dscp-dp
Related commands
display qos map-table color