F3726, F3211, F3174, R5135, R3816-HP Firewalls and UTM Devices Network Management Command Reference-6PW100

Table Of Contents
191
Parameters
normal: Specifies the normal padding format.
verbose: Specifies the verbose padding format.
node-identifier { mac | sysname | user-defined node-identifier }: Specifies access node identifier. By
default, the node MAC address is used as the node identifier.
mac indicates using MAC address as the node identifier.
sysname indicates using the device name of a node as the node identifier.
user-defined node-identifier indicates using a specific character string as the node identifier, in
which node-identifier is a string with 1 to 50 characters.
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.