R0106-HP MSR Router Series Layer 3 - IP Services Configuration Guide(V7)

58
Ste
p
Command
Remarks
4. (Optional.) Configure the strategy
for handling DHCP requests that
contain Option 82.
dhcp relay information strategy
{ drop | keep | replace }
By default, the handling
strategy is replace.
5. (Optional.) Configure the padding
content and code type for the
Circuit ID sub-option.
dhcp relay information circuit-id
{ string circuit-id | { normal |
verbose [ node-identifier { mac |
sysname | user-defined
node-identifier } ] } [ format { ascii |
hex } ] }
By default, the padding
format for Circuit ID
sub-option is normal, and the
code type is hex.
6. (Optional.) Configure the padding
content and code type for the
Remote ID sub-option.
dhcp relay information remote-id
{ normal [ format { ascii | hex } ] |
string remote-id | sysname }
By default, the padding
format for the Remote ID
sub-option is normal, and the
code type is hex.
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:
Ste
p
Command
Remarks
1. Enter system view.
system-view N/A
2. Set the DSCP value for DHCP
packets sent by the DHCP relay
agent.
dhcp dscp dscp-value
By default, the DSCP value in DHCP packets
sent by the DHCP relay agent is 56.
Displaying and maintaining the DHCP relay agent
Execute display commands in any view and reset commands in user view.
Task Command
Display information about DHCP servers specified
on the DHCP relay agent interface.
display dhcp relay server-address [ interface
interface-type interface-number ]
Display Option 82 configuration information on the
DHCP relay agent.
display dhcp relay information [ interface interface-type
interface-number ]
Display relay entries on the DHCP relay agent.
display dhcp relay client-information [ interface
interface-type interface-number | ip ip-address
[ vpn-instance vpn-instance-name ] ]
Display packet statistics on the DHCP relay agent.
display dhcp relay statistics [ interface interface-type
interface-number ]
Display MAC address check entries on the DHCP
relay agent.
display dhcp relay check mac-address