primap color-map-dp
Syntax
primap color-map-dp
undo primap color-map-dp
View
Traffic behavior view
Default level
2: System level
Description
Use primap color-map-dp to configure the action of mapping the packet color to the drop precedence
value in the traffic behavior.
Use undo primap color-map-dp to delete the action.
These two commands must be used in conjunction with the car command.
The packet color-to-drop precedence mappings are fixed as follows:
red to drop precedence 2
•
yellow to drop precedence 1
•
green to drop precedence 0
•
Examples
# Configure the action of mapping packet color to drop precedence in traffic behavior behavior 1.
<Sysname> system-view
[Sysname] traffic behavior behavior1
[Sysname-behavior-behavior1] car cir 1600
[Sysname-behavior-behavior1] primap color-map-dp
primap pre-defined
Syntax
primap pre-defined dscp-dscp
undo primap pre-defined dscp-dscp
View
Traffic behavior view
Default level
2: System level
Parameters
pre-defined: Pre-defined priority mapping table.
dscp-dscp: DSCP-to-DSCP priority mapping table.
51