host-packet type control-protocol dscp

Function

The host-packet type control-protocol dscp command sets a priority value for control protocol packets.

The undo host-packet type control-protocol dscp command deletes the priority value of control protocol packets.

By default, the ToS value is used as the priority value.

Format

host-packet type control-protocol dscp dscp-value

undo host-packet type control-protocol dscp

Parameters

Parameter Description Value
control-protocol

Indicates control protocol packets.

-

dscp dscp-value

Specifies a priority value of protocol packets.

The value is an integer ranging from 0 to 63.

Views

System view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
ip-stack write

Usage Guidelines

Usage Scenario

To set a priority value for management protocol packets or control protocol packets, run the host-packet type command. Generally, each protocol has a default DSCP value, and the DSCP values of some protocols can be configured using the host-packet type command or the corresponding commands for changing the DSCP values of the protocols. In this case, the rules for the DSCP values to take effect as follows:

  • If a protocol has its own command for changing the DSCP value, the DSCP value configured using its own command takes effect regardless of whether the DSCP value is controlled by the host-packet type command.
  • If a protocol does not have its own command for changing the DSCP value and the DSCP value is controlled by the host-packet type command, the DSCP value configured using the command takes effect.
  • If a protocol does not have its own command for changing the DSCP value and the DSCP value is not controlled by the host-packet type command, the default DSCP value takes effect.

    For details about how to change the values of ToS/DSCP and Traffic Class/DSCP, see: Feature Description > IP Services > IPv4 > DSCP.

Precautions

dscp-value specified in the host-packet type command only represents the priority of protocol packets.

Whether the priority of the protocol packets configured using this command takes effect depends on the specific service.

Example

# Set the priority value of all control protocol packets to 44.
<HUAWEI> system-view
[~HUAWEI] host-packet type control-protocol dscp 44
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >