user-priority

Function

The user-priority command configures the priority of user traffic in a domain.

The undo user-priority command restores the default priority of traffic of users in a domain.

The user-priority set-dscp-outer command sets the outer DSCP value to be negotiated with an LNS for Echo Request and Echo Reply packets to be sent by the LNS over an L2TP tunnel.

The undo user-priority set-dscp-outer command restores the outer dscp value of the echo request/reply default setting sent by the LNS to 48.

By default, the priorities of the upstream and downstream traffic of users are both 0.

This command is supported only on the NetEngine 8000 F1A.

Format

user-priority { upstream | downstream } { priority | trust-8021p-inner | trust-8021p-outer | trust-exp-inner | trust-exp-outer | trust-dscp-inner | trust-dscp-outer | unchangeable }

user-priority set-dscp-outer dscp-outer

undo user-priority { upstream | downstream }

undo user-priority set-dscp-outer

Parameters

Parameter Description Value
upstream

Sets the priority of the user-side traffic in the upstream direction.

-

downstream

Sets the priority of the user-side traffic in the downstream direction.

-

priority

Specifies the priority of user traffic.

The value is a inter, ranging from 0 to 7.

trust-8021p-inner

Indicates that the user priority is the 8021p value of the inner tags carried in Layer 2 user packets.

-

trust-8021p-outer

Indicates that the user priority is the 8021p value of the outer tags carried in Layer 2 user packets.

-

trust-exp-inner

Indicates that the user priority is the EXP value of the inner tags carried in MPLS packets.

-

trust-exp-outer

Indicates that the user priority is the EXP value of the outer tags carried in MPLS packets.

-

trust-dscp-inner

Indicates that the user priority is the DSCP value of the inner tags carried in IP packets.

-

trust-dscp-outer

Indicates that the user priority is the DSCP value of the outer tags carried in IP packets.

-

unchangeable

Indicates that the user priority is not changed.

-

set-dscp-outer dscp-outer

Specifies the DSCP value of the outer tags carried in IP packets.

The value is an inter, ranging from 0 to 63.

Views

AAA domain view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
qos write

Usage Guidelines

Usage Scenario

The user-priority command configuration takes effect only after the trust upstream is configured in the AAA domain or on an interface.

Currently, one domain can be configured with only one user priority.

In the L2TP scenario, when the user-priority downstream trust-exp-inner command is configured on the LAC or LTS, packets are placed in queues based on the outer EXP value.

Precautions

The user-priority set-dscp-outer command takes effect on the LAC. After the command is run, the LAC sends the specified outer DSCP value to the LNS through an ICRQ packet, and negotiates the AVP48 attribute's DSCP value with the LNS. If the received outer DSCP value is mapped to a red queue, the LNS ignores the value and uses the fixed value 32.

Example

# Set the priority of upstream user traffic from domains 1 to 7.
<HUAWEI> system-view
[~HUAWEI] aaa
[*HUAWEI-aaa] domain domain1
[*HUAWEI-aaa-domain-domain1] commit
[~HUAWEI-aaa-domain-domian1] user-priority upstream 7
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >