HP MSR2000/3000/4000 Router Series Layer 3 - IP Services Command Reference

67
Parameters
normal: Specifies the normal mode in which the padding content is the MAC address of the receiving
interface.
format: Specifies the code type for the remote ID sub-option. The default code type is hex.
ascii: Specifies the ASCII code type.
hex: Specifies the Hex code type.
string remote-id: Specifies a case-sensitive string of 1 to 63 characters as the content of the remote ID
sub-option.
sysname: Uses the device name as the content of the remote ID sub-option. You can set the device name
by using the sysname command.
Usage guidelines
The padding format for the specified character string (string) or the device name (sysname) is always
ASCII. The padding format for the normal mode is determined by the command.
If you use the command multiple times, the most recent configuration takes effect.
Examples
# Specify the padding content for the remote ID sub-option of Option 82 as device001.
<Sysname> system-view
[Sysname] interface ethernet 1/1
[Sysname-Ethernet1/1] dhcp relay information enable
[Sysname-Ethernet1/1] dhcp relay information strategy replace
[Sysname-Ethernet1/1] dhcp relay information remote-id string device001
Related commands
dhcp relay information enable
dhcp relay information strategy
display dhcp relay information
dhcp relay information strategy
Use dhcp relay information strategy to configure the strategy for the DHCP relay agent to handle
messages containing Option 82.
Use undo dhcp relay information strategy to restore the default handling strategy.
Syntax
dhcp relay information strategy { drop | keep | replace }
undo dhcp relay information strategy
Default
The handling strategy for messages that contain Option 82 is replace.
Views
Interface view
Predefined user roles
network-admin