R0106-HP MSR Router Series Layer 3 - IP Services Command Reference(V7)
68
If this feature is disabled, the relay agent forwards requests that contain or do not contain Option 82 to
the DHCP server.
Examples
# Enable Option 82 support on the relay agent.
<Sysname> system-view
[Sysname] interface gigabitethernet 2/1/1
[Sysname-GigabitEthernet2/1/1] dhcp relay information enable
Related commands
• dhcp relay information circuit-id
• dhcp relay information remote-id
• dhcp relay information strategy
• display dhcp relay information
dhcp relay information remote-id
Use dhcp relay information remote-id to configure the padding content and padding format for the
Remote ID sub-option of Option 82.
Use undo dhcp relay information remote-id to restore the default.
Syntax
dhcp relay information remote-id { normal [ format { ascii | hex } ] | string remote-id | sysname }
undo dhcp relay information remote-id
Default
The content mode is normal and the padding format is hex.
Views
Interface view
Predefined user roles
network-admin
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.