F3726, F3211, F3174, R5135, R3816-HP Firewalls and UTM Devices Network Management Configuration Guide-6PW100
201
If the handling strategy of the DHCP relay agent is configured as replace, you must 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
424. Enter system view. system-view N/A
425. Enter interface view.
interface interface-type interface-number N/A
426. Enable the relay agent
to handle Option 82.
dhcp relay information enable The default setting is disabled.
427. Configure the strategy
for handling DHCP
requests containing
Option 82.
dhcp relay information strategy { drop |
keep | replace }
Optional.
The default setting is replace.
428. 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.
429. 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.
520BDisplaying and maintaining the DHCP relay agent
Task Command
Remarks
Display information about DHCP server
groups correlated to a specific or all
interfaces.
display dhcp relay { all | interface
interface-type interface-number } [ | { begin
| exclude | include } regular-expression ]
Available in any
view.