dhcp dscp (for DHCP relay agent)

Syntax

dhcp dscp dscp-value

undo dhcp dscp

View

System view

Default level

2: System level

Parameters

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

Description

Use dhcp dscp to set the DSCP value for DHCP packets sent by the DHCP relay agent.

Use undo dhcp dscp to restore the default.

By default, the DSCP value in DHCP packets sent by the DHCP relay agent is 56.

Examples

# Set the DSCP value to 30 for DHCP packets.

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