R3721-F3210-F3171-HP High-End Firewalls Network Management Command Reference-6PW101
175
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
dhcp relay information remote-id format-type
Syntax
dhcp relay information remote-id format-type { ascii | hex }
undo dhcp relay information remote-id format-type
View
Interface view
Default 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.
Description
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.
By default, the code type for the remote ID sub-option is HEX.
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 using the dhcp relay information remote-id string
command, ASCII is adopted as the code type.
Related commands: display dhcp relay information.
Examples
# Configure the code type for the non-user-defined remote ID sub-option as hex.
<Sysname> system-view
[Sysname] interface GigabitEthernet 0/1
[Sysname-GigabitEthernet0/1] dhcp relay information remote-id format-type hex
dhcp relay information remote-id string
Syntax
dhcp relay information remote-id string { remote-id | sysname }
undo dhcp relay information remote-id string