![H3C S5120-SI Series Operation Manual Download Page 226](http://html2.mh-extra.com/html/h3c/s5120-si-series/s5120-si-series_operation-manual_3711174226.webp)
1-8
To do…
Use the command…
Remarks
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-defined
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.
Displaying and Maintaining DHCP Relay Agent Configuration
To do…
Use the command…
Remarks
Display information about DHCP
server groups correlated to a specified
or all interfaces
display dhcp relay
{
all
|
interface
interface-type
interface-number
}
Available in any view
Display Option 82 configuration
information on the DHCP relay agent
display dhcp relay information
{
all
|
interface interface-type
interface-number
}
Available in any view
Display information about bindings of
DHCP relay agents
display dhcp relay security
[
ip-address
|
dynamic
|
static
]
Available in any view
Display statistics information about
bindings of DHCP relay agents
display dhcp relay security
statistics
Available in any view
Display information about the
refreshing interval for entries of
dynamic IP-to-MAC bindings
display dhcp relay security
tracker
Available in any view
Display information about the
configuration of a specified or all
DHCP server groups
display dhcp relay
server-group
{
group-id
|
all
}
Available in any view
Display packet statistics on relay agent
display dhcp relay statistics
[
server-group
{
group-id
|
all
} ]
Available in any view
Clear packet statistics from relay agent
reset dhcp relay statistics
[
server-group
group-id
]
Available in user view