dscp (Connect-PCE server view)

Function

The dscp command is used to set the DSCP value of PCEP packets. All packets sent from the same session have the same DSCP value.

The undo dscp command is used to restore the default DSCP priority of a PCEP session.

By default, The DSCP value of PCEP packets is 6.

Format

dscp dscp-val

undo dscp [ dscp-val ]

Parameters

Parameter Description Value
dscp-val

Differentiated services code point.

The value is an integer ranging from 0 to 7.

Views

Connect-PCE server view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
pce write

Usage Guidelines

Usage Scenario

The DSCP value is designed to ensure the communication service quality. It is an 8-bit identifier contained in an IP packet header, and identifies service types and priorities.

When network data transmission is stable, PCE Client does not need to change the DSCP value of the data packets sent. When packet loss occurs during data transmission, you can configure a DSCP value for the data packets sent. You can improve the priority of packet transmission to ensure the quality of network data transmission.

Prerequisites

Run the connect-server command to configure a candidate PCE server for the PCE client.

Precautions

The DSCP value of IPv4 packets ranges from 0 to 7.

Example

# Configure a DSCP value for a PCE client.
<HUAWEI> system-view
[~HUAWEI] pce-client
[*HUAWEI-pce-client] connect-server 1.1.1.1
[*HUAWEI-pce-client-connect-1.1.1.1] dscp 3
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >