Setting the DSCP value for DHCP packets sent by
the DHCP relay agent
The DSCP value of a packet specifies the priority level of the packet and affects the transmission priority
of the packet.
To set the DSCP value for DHCP packets sent by the DHCP relay agent:
Step
1.
Enter system view.
2.
Set the DSCP value for DHCP
packets sent by the DHCP relay
agent.
Displaying and maintaining the DHCP relay agent
Execute display commands in any view and reset commands in user view.
Task
Display information about DHCP servers specified
on the DHCP relay agent interface.
Display Option 82 configuration information on the
DHCP relay agent.
Display relay entries on the DHCP relay agent.
Display packet statistics on the DHCP relay agent.
Clear relay entries on the DHCP relay agent.
Clear packet statistics on the DHCP relay agent.
DHCP relay agent configuration examples
DHCP relay agent configuration example
Network requirements
As shown in
addresses and configuration parameters from the DHCP server on another subnet.
Figure
22, configure the DHCP relay agent on Router A so that DHCP clients can obtain IP
Command
system-view
dhcp dscp dscp-value
Command
display dhcp relay server-address [ interface
interface-type interface-number ]
display dhcp relay information [ interface interface-type
interface-number ]
display dhcp relay client-information [ interface
interface-type interface-number | ip ip-address
[ vpn-instance vpn-instance-name ] ]
display dhcp relay statistics [ interface interface-type
interface-number ]
reset dhcp relay client-information [ interface
interface-type interface-number | ip ip-address
[ vpn-instance vpn-instance-name ] ]
reset dhcp relay statistics [ interface interface-type
interface-number ]
61
Remarks
N/A
By default, the DSCP value in DHCP packets
sent by the DHCP relay agent is 56.