DHCP relay agent configuration commands
The DHCP relay agent configuration is supported only on VLAN interfaces.
dhcp dscp
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
dhcp enable
Syntax
dhcp enable
undo dhcp enable
View
System view
Default level
2: System level
Parameters
None
Description
Use dhcp enable to enable DHCP.
23