HP VPN Firewall Appliances Network Management Configuration Guide

201
To support Option 82, you must perform related configurations on both the DHCP server and relay
agent. For more information about DHCP server configuration, see "Configuring the DHCP
server."
If the handling strategy of the DHCP relay agent is configured as replace, you mus
t configure a
padding format for Option 82. If the handling strategy is keep or drop, you need not configure
any padding format.
The system name (sysname) if padded in sub-option 1 (node identifier) of Option 82 must not
contain spaces. Otherwise, the DHCP relay agent drops the message.
2. Configuration procedure.
To configure the DHCP relay agent to support Option 82:
Ste
p
Command
Remarks
1. Enter system view.
system-view N/A
2. Enter interface view.
interface interface-type interface-number N/A
3. Enable the relay agent
to handle Option 82.
dhcp relay information enable The default setting is disabled.
4. Configure the strategy
for handling DHCP
requests containing
Option 82.
dhcp relay information strategy { drop |
keep | replace }
Optional.
The default setting is replace.
5. Configure
non-user-defined Option
82.
Configure the padding format for
Option 82:
dhcp relay information format { normal
| verbose [ node-identifier { mac |
sysname | user-defined
node-identifier } ] }
Configure the code type for the circuit ID
sub-option:
dhcp relay information circuit-id
format-type { ascii | hex }
Configure the code type for the remote
ID sub-option:
dhcp relay information remote-id
format-type { ascii | hex }
Optional.
By default:
The padding format for
Option 82 is normal.
The code type for the circuit
ID sub-option depends on
the padding format of
Option 82. Each field has its
own code type.
The code type for the remote
ID sub-option is hex.
The remote ID sub-option
configuration and the circuit ID
sub-option configuration apply
to non-user-defined Option 82
only.
6. Configure user-defined
Option 82.
Configure the padding content for the
circuit ID sub-option:
dhcp relay information circuit-id string
circuit-id
Configure the padding content for the
remote ID sub-option:
dhcp relay information remote-id string
{ remote-id | sysname }
Optional.
By default, the padding content
depends on the padding format
of Option 82.