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

Table Of Contents
94
Examples
# Configure the code type for the non-user-defined remote ID sub-option as ascii.
<Sysname> system-view
[Sysname] interface gigabitethernet 3/1/1
[Sysname-GigabitEthernet3/1/1] dhcp-snooping information remote-id format-type ascii
Related commands
display dhcp-snooping information
dhcp-snooping information format
dhcp-snooping information remote-id string
Use dhcp-snooping information remote-id string to configure the padding content for the user-defined
remote ID sub-option.
Use undo dhcp-snooping information remote-id string to restore the default.
Syntax
dhcp-snooping information [ vlan vlan-id ] remote-id string { remote-id | sysname }
undo dhcp-snooping information [ vlan vlan-id ] remote-id string
Default
The padding content for the remote ID sub-option depends on the padding format of Option 82.
Views
Layer 2 Ethernet interface view, Layer 2 aggregate interface view
Default command level
2: System level
Parameters
vlan vlan-id: Specifies a VLAN ID in the range of 1 to 4094.
remote-id: Padding content for the user-defined circuit 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 a VLAN is specified, the configured remote ID sub-option only takes effect within the VLAN. If no VLAN
is specified, the configured remote ID sub-option takes effect in all VLANs. The remote ID sub-option
configured for a VLAN is padded for the packets within the VLAN.
If you want to specify a character string (a case-insensitive character string) as the padding content for
the remote ID sub-option, 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, 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