R3102-R3103-HP 6600/HSR6600 Routers Layer 3 - IP Services Command Reference

66
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 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 3/1/1
[Sysname-GigabitEthernet3/1/1] dhcp relay information remote-id format-type hex
Related commands
display dhcp relay information
dhcp relay information remote-id string
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.
Syntax
dhcp relay information remote-id string { remote-id | sysname }
undo dhcp relay information remote-id string
Default
The padding content for the remote ID sub-option depends on the padding format of Option 82.
Views
Interface view
Default command 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.
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,