Setting The Dscp Value For Dhcp Packets Sent By The Dhcp Relay Agent - H3C SR8800-F Configuration Manual

Comware 7 user access
Hide thumbs Also See for SR8800-F:
Table of Contents

Advertisement

Step
2.
Enter interface view.
3.
Enable the relay agent to handle
Option 82.
4.
(Optional.) Configure the strategy
for handling DHCP requests that
contain Option 82.
5.
(Optional.) Configure the padding
mode and padding format for the
Circuit ID sub-option.
6.
(Optional.) Configure the padding
mode and padding format for the
Remote ID sub-option.
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.
Command
interface interface-type
interface-number
dhcp relay information enable
dhcp relay information strategy
{ drop | keep | replace }
dhcp relay information circuit-id
{ bas [ sub-interface-vlan ]
[ with-vxlan ] | string circuit-id |
{ normal | verbose
[ node-identifier { mac | sysname
| user-defined node-identifier } ]
[ sub-interface-vlan ]
[ interface ] } [ format { ascii |
hex } ] }
dhcp relay information remote-id
{ normal [ format { ascii | hex } ] |
string remote-id | sysname }
Command
system-view
dhcp dscp dscp-value
142
Remarks
N/A
By default, handling of
Option 82 is disabled.
By default, the handling
strategy is replace.
If the handling strategy is
replace, configure a
padding mode and a
padding format for Option
82. If the handling strategy
is keep or drop, you do not
need to configure a padding
mode or padding format for
Option 82.
By default, the padding
mode for Circuit ID
sub-option is normal, and
the padding format is hex.
The device name
(sysname) must not include
spaces if it is configured as
the padding content for
sub-option 1. Otherwise, the
DHCP relay agent will fail to
add or replace Option 82.
By default, the padding
mode for the Remote ID
sub-option is normal, and
the padding format is hex.
Remarks
N/A
By default, the DSCP value in DHCP
packets sent by the DHCP relay agent is
56.

Advertisement

Table of Contents
loading

Table of Contents