R3303-HP HSR6800 Routers Layer 3 - IP Services Command Reference

Table Of Contents
67
Usage guidelines
After you configure the padding content for the remote ID sub-option using this command, ASCII is
adopted as the code type.
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.
Examples
# Configure the padding content for the remote ID sub-option as device001.
<Sysname> system-view
[Sysname] interface gigabitethernet 3/1/1
[Sysname-GigabitEthernet3/1/1] dhcp relay information remote-id string device001
Related commands
dhcp relay information format
display dhcp relay information
dhcp relay information strategy
Use dhcp relay information strategy to configure DHCP relay agent handling strategy for messages
containing Option 82.
Use undo dhcp relay information strategy to restore the default handling strategy.
Syntax
dhcp relay information strategy { drop | keep | replace }
undo dhcp relay information strategy
Default
The handling strategy for messages containing Option 82 is replace.
Views
Interface view
Default command level
2: System level
Parameters
drop: Specifies the dropping of messages containing Option 82.
keep: Specifies the forwarding of messages containing Option 82 without any change.
replace: Specifies the forwarding of messages containing Option 82 after replacing the original Option
82 with the Option 82 padded in the specified padding format.
Examples
# Configure the DHCP relay agent handling strategy for messages containing Option 82 as keep.
<Sysname> system-view
[Sysname] interface gigabitethernet 3/1/1
[Sysname-GigabitEthernet3/1/1] dhcp relay information enable
[Sysname-GigabitEthernet3/1/1] dhcp relay information strategy keep