HP VPN Firewall Appliances Network Management Command Reference
188
Usage guidelines
If configuring the handling strategy of the DHCP relay agent as replace, you need to configure a
padding format of Option 82. If the handling strategy is keep or drop, you need not configure any
padding format.
If sub-option 1 (node identifier) of Option 82 is padded with the device name (sysname) of a node, the
device name must contain no spaces. Otherwise, the DHCP relay agent drop the message.
Examples
# Specify the verbose padding format for Option 82.
<Sysname> system-view
[Sysname] interface gigabitethernet 0/1
[Sysname-GigabitEthernet0/1] dhcp relay information enable
[Sysname-GigabitEthernet0/1] dhcp relay information strategy replace
[Sysname-GigabitEthernet0/1] dhcp relay information format verbose
Related commands
display dhcp relay information
dhcp relay information remote-id format-type
Use dhcp relay information remote-id format-type to configure the code type for the non-user-defined
remote ID sub-option.
Use undo dhcp relay information remote-id format-type to restore the default.
Syntax
dhcp relay information remote-id format-type { ascii | hex }
undo dhcp relay information remote-id format-type
Default
The code type for the remote ID sub-option is HEX.
Views
Interface view
Default command level
2: System view
Parameters
ascii: Specifies the code type for the remote ID sub-option as ascii.
hex: Specifies the code type for the remote ID sub-option as hex.
Usage guidelines
This command applies to configuring the non-user-defined remote ID sub-option only. After you configure
the padding content for the remote ID sub-option by using the dhcp relay information remote-id string
command, ASCII is adopted as the code type.
Examples
# Configure the code type for the non-user-defined remote ID sub-option as hex.
<Sysname> system-view
[Sysname] interface gigabitethernet 0/1