display qos map-table color

Use display qos map-table color to display the configuration of a colored priority map.

Syntax

display 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

Any view

Predefined user roles

network-admin

network-operator

mdc-admin

mdc-operator

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.

The switch provides the following types of colored priority map.

Table 32: Colored priority maps

Colored priority mapping

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

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

# Display the configuration of the EXP-local priority map for incoming green packets.

<Sysname> display qos map-table color green inbound exp-lp
MAP-TABLE NAME: exp-lp   TYPE: pre-define   COLOR: green   DIRECTION: inbound
IMPORT  :  EXPORT
   0    :    0
   1    :    1
   2    :    2
   3    :    3
   4    :    4
   5    :    5
   6    :    6
   7    :    7 

Table 33: Command output

Field

Description

MAP-TABLE NAME

Priority map name.

TYPE

Priority map type.

COLOR

Priority map color.

DIRECTION

Direction of the priority map.

IMPORT

Input values of the priority map.

EXPORT

Output values of the priority map.