qos map-table color

Use qos map-table color to enter the specified colored priority map view.

Syntax

qos map-table color { green | yellow | red } { inbound { 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 } | outbound { dot1p-dot1p | dot1p-dscp | dot1p-exp | dscp-dot1p| dscp-dscp | dscp-exp | exp-dot1p | exp-dscp | exp-exp } }

Views

System view

Predefined user roles

network-admin

mdc-admin

Parameters

green: Specifies green packets.

yellow: Specifies yellow packets.

red: Specifies red packets.

inbound: Specifies the priority maps for incoming packets.

outbound: Specifies the priority maps for outgoing packets.

For the description of other keywords, see Table 32.

Usage guidelines

Packets processed by traffic policing are colored green, yellow, or red. To perform priority mapping for packets in different colors, the device provides colored priority maps, each of which is a priority map specific to a color. For how traffic policing processes and colors packets, see ACL and QoS Configuration Guide.

Examples

# Enter the view of the DSCP-local priority map for incoming red packets.

<Sysname> system-view
[Sysname] qos map-table color red inbound dscp-lp
[Sysname-maptbl-red-in-dscp-lp]

Related commands