R0106-HP MSR Router Series Layer 3 - IP Services Command Reference(V7)
67
Keyword (mode)
If no padding format is
s
p
ecified
If the padding
format is ascii
The padding format is hex
normal Hex. ASCII. Hex.
verbose
Hex for the VLAN ID.
ASCII for the node
identifier, Ethernet type,
chassis number, slot
number, sub-slot number,
and interface number.
ASCII.
ASCII for the node identifier and
Ethernet type.
Hex for the chassis number, slot
number, sub-slot number, interface
number, and VLAN ID.
Examples
# Specify the content mode as verbose, node identifier as the device name, and the padding format as
ASCII for the Circuit ID sub-option.
<Sysname> system-view
[Sysname] interface gigabitethernet 2/1/1
[Sysname-GigabitEthernet2/1/1] dhcp relay information enable
[Sysname-GigabitEthernet2/1/1] dhcp relay information strategy replace
[Sysname-GigabitEthernet2/1/1] dhcp relay information circuit-id verbose node-identifier
sysname format ascii
Related commands
• dhcp relay information enable
• dhcp relay information strategy
• display dhcp relay information
dhcp relay information enable
Use dhcp relay information enable to enable the relay agent to support Option 82.
Use undo dhcp relay information enable to disable Option 82 support.
Syntax
dhcp relay information enable
undo dhcp relay information enable
Default
The DHCP relay agent does not support Option 82.
Views
Interface view
Predefined user roles
network-admin
Usage guidelines
This command enables the DHCP relay agent to add Option 82 to DHCP requests that do not contain
Option 82 before forwarding the requests to the DHCP server. The content of Option 82 is determined
by the dhcp relay information circuit-id and dhcp relay information remote-id commands. If the DHCP
requests contain Option 82, the relay agent handles the requests according to the strategy configured
with the dhcp relay information strategy command.










