dns dscp

Syntax

dns dscp dscp-value

undo dns dscp

View

System view

Default level

2: System level

Parameters

dscp-value: Specifies the DSCP value in DNS packets, in the range of 0 to 63.

Description

Use dns dscp to set the DSCP value for DNS packets.

Use undo dns dscp to restore the default.

By default, the DSCP value in DNS packets is 0.

Examples

# Set the DSCP value to 30 for DNS packets.

<Sysname> system-view
[Sysname] dns dscp 30