H3C S5120-EI Series Operation Manual page 262

Ethernet switches
Hide thumbs Also See for S5120-EI Series:
Table of Contents

Advertisement

Configuring the DHCP relay agent to support Option 82
Follow these steps to configure the DHCP relay agent to support Option 82:
To do...
Enter system view
Enter interface view
Enable the relay agent to
support Option 82
Configure the handling strategy
for requesting messages
containing Option 82
Configure the
padding format
for Option 82
Configure the
Configure
code type for the
non-user-
circuit ID
defined
sub-option
Option 82
Configure the
code type for the
remote ID
sub-option
Configure the
padding content
for the circuit ID
Configure
sub-option
user-defin
ed Option
Configure the
82
padding content
for the remote ID
sub-option
To support Option 82, it is required to perform related configuration on both the DHCP server and
relay agent.
If the handling strategy of the DHCP relay agent is configured as replace, you need to configure a
padding format for Option 82. If the handling strategy is keep or drop, you need not configure any
padding format.
If sub-option 1 (node identifier) of Option 82 is padded with the device name (sysname) of a node,
the device name must contain no spaces. Otherwise, the DHCP relay agent will drop the message.
Use the command...
system-view
interface interface-type
interface-number
dhcp relay information
enable
dhcp relay information
strategy { drop | keep |
replace }
dhcp relay information
format { normal | verbose
[ node-identifier { mac |
sysname | user-defined
node-identifier } ] }
dhcp relay information
circuit-id format-type
{ ascii | hex }
dhcp relay information
remote-id format-type
{ ascii | hex }
dhcp relay information
circuit-id string circuit-id
dhcp relay information
remote-id string
{ remote-id | sysname }
2-8
Remarks
Required
Disabled by default.
Optional
replace by default.
Optional
normal by default.
Optional
By default, the code type depends
on the padding format of Option 82.
Each field has its own code type.
The code type configuration
applies to non-user-defined Option
82 only.
Optional
By default, the code type is hex.
This code type configuration
applies to non-user-defined Option
82 only.
Optional
By default, the padding content
depends on the padding format of
Option 82.
Optional
By default, the padding content
depends on the padding format of
Option 82.

Advertisement

Table of Contents
loading

Table of Contents