R3721-F3210-F3171-HP High-End Firewalls Network Management Command Reference-6PW101

176
View
Interface view
Default level
2: System level
Parameters
remote-id: Padding content for the user-defined remote ID sub-option, a case-sensitive string of 1 to 63
characters.
sysname: Specifies the device name as the padding content for the remote ID sub-option.
Description
Use dhcp relay information remote-id string to configure the padding content for the user-defined remote
ID sub-option.
Use undo dhcp relay information remote-id string to restore the default.
By default, the padding content for the remote ID sub-option depends on the padding format of Option
82.
After you configure the padding content for the remote ID sub-option using this command, ASCII is
adopted as the code type.
NOTE:
If you want to specify the character string sysname (a case-insensitive character string) as the padding
content for the remote ID sub-option, you need to use quotation marks to make it take effect. For example,
if you want to specify Sysname as the padding content for the remote ID sub-option, you need to enter the
dhcp relay information remote-id string "Sysname" command.
Related commands: dhcp relay information format and display dhcp relay information.
Examples
# Configure the padding content for the remote ID sub-option as device001.
<Sysname> system-view
[Sysname] interface GigabitEthernet 0/1
[Sysname-GigabitEthernet0/1] dhcp relay information remote-id string device001
dhcp relay information strategy
Syntax
dhcp relay information strategy { drop | keep | replace }
undo dhcp relay information strategy
View
Interface view
Default level
2: System level
Parameters
drop: Specifies to drop messages containing Option 82.
keep: Specifies to forward messages containing Option 82 without any change.