user-priority phb

Function

The user-priority phb command configures the mapping between the user priority, the CoS, and the packet color in the PHB table for a DS domain.

The undo user-priority command restores the default settings.

By default, the mapping between the user priority, the CoS, and the packet color in the PHB table for a DS domain is shown in Table 1 in Usage Scenario.

This command is supported only on the NetEngine 8000 F1A.

Format

user-priority priority phb { af1 | af2 | af3 | af4 | be | cs6 | cs7 | ef } [ green | yellow | red ]

undo user-priority [ priority ]

Parameters

Parameter Description Value
priority

Specifies the user priority.

It is an integer ranging from 0 to 7.

af1

Specifies the class service as af1.

-

af2

Specifies the class service as af2.

-

af3

Specifies the class service as af3.

-

af4

Specifies the class service as af4.

-

be

Specifies the class service as be.

-

cs6

Specifies the class service as cs6.

-

cs7

Specifies the class service as cs7.

-

ef

Specifies the class service as ef.

-

green

Specifies the packets as green packets.

-

yellow

Specifies the packets as yellow packets.

-

red

Specifies the packets as red packets.

-

Views

DiffServ domain view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
qos write

Usage Guidelines

Usage Scenario

The mapping between the user priority, the CoS, and the packet color takes effect only after the user-priority command is configured in the AAA domain (specifying the priority of user traffic) and the DS domain that is configured with the user-priority phb command is applied to a AAA domain or BAS interface.

**Table1 ** Default mapping between the user priority, CoS and packet color

User Priority CoS Color
0 BE green
1 AF1 green
2 AF2 green
3 AF3 green
4 AF4 green
5 EF green
6 CS6 green
7 CS7 green

Example

# Set the CoS that corresponds to user priority 2 to AF1 and mark the packets in green.
<HUAWEI> system-view
[~HUAWEI] diffserv domain d1
[*HUAWEI-dsdomain-d1] user-priority 2 phb af1 green
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >