
2-8
Configuring the DHCP relay agent to support Option 82
Follow these steps to configure the DHCP relay agent to support Option 82:
To do…
Use the command…
Remarks
Enter system view
system-view
—
Enter interface view
interface
interface-type
interface-number
—
Enable the relay agent to
support Option 82
dhcp relay information
enable
Required
Disabled by default.
Configure the handling strategy
for requesting messages
containing Option 82
dhcp relay information
strategy
{
drop
|
keep
|
replace
}
Optional
replace
by default.
Configure the
padding format
for Option 82
dhcp relay information
format
{
normal
|
verbose
[
node-identifier
{
mac
|
sysname
|
user-defined
node-identifier
} ] }
Optional
normal
by default.
Configure the
code type for the
circuit ID
sub-option
dhcp relay information
circuit-id format-type
{
ascii
|
hex
}
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.
Configure
non-user-
defined
Option 82
Configure the
code type for the
remote ID
sub-option
dhcp relay information
remote-id format-type
{
ascii
|
hex
}
Optional
By default, the code type is
hex
.
This code type configuration
applies to non-user-defined Option
82 only.
Configure the
padding content
for the circuit ID
sub-option
dhcp relay information
circuit-id string circuit-id
Optional
By default, the padding content
depends on the padding format of
Option 82.
Configure
user-defin
ed Option
82
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.
z
To support Option 82, it is required to perform related configuration on both the DHCP server and
relay agent.
z
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.
z
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.
Содержание S5120-EI Series
Страница 139: ...ii...
Страница 268: ...3 3 SwitchB system view SwitchB interface vlan interface 1 SwitchB Vlan interface1 ip address dhcp alloc...
Страница 328: ...i Table of Contents 1 Dual Stack Configuration 1 1 Dual Stack Overview 1 1 Configuring Dual Stack 1 1...
Страница 578: ...1 21 C...
Страница 739: ...1 12 Enable ARP detection based on 802 1X security entries SwitchB arp detection mode dot1x...
Страница 926: ...2 8...
Страница 942: ...ii Single Device Upgrade 3 4 IRF System Upgrade 3 5...
Страница 985: ...1 1...
Страница 1018: ...1 6...