F3726, F3211, F3174, R5135, R3816-HP Firewalls and UTM Devices Network Management Command Reference-6PW100

Table Of Contents
188
[Sysname-GigabitEthernet0/1] dhcp relay check mac-address
dhcp relay client-detect enable
Use dhcp relay client-detect enable to enable offline detection on the DHCP relay agent.
Use undo dhcp relay client-detect enable to disable offline detection on the DHCP relay agent.
Syntax
dhcp relay client-detect enable
undo dhcp relay client-detect enable
Default
This function is disabled.
Views
Interface view
Default command level
2: System level
Usage guidelines
With this feature enabled, the DHCP relay agent considers that a DHCP client goes offline when the ARP
entry for the client ages out. In addition, it removes the client entry and sends a DHCP-RELEASE message
to the DHCP server to release the IP address of the client.
Examples
# Enable offline detection on the DHCP relay agent.
<Sysname> system-view
[Sysname] interface gigabitethernet 0/1
[Sysname-GigabitEthernet0/1] dhcp relay client-detect enable
dhcp relay information circuit-id format-type
Use dhcp relay information circuit-id format-type to configure the code type for the non-user-defined
circuit ID sub-option.
Use undo dhcp relay information circuit-id format-type to restore the default.
Syntax
dhcp relay information circuit-id format-type { ascii | hex }
undo dhcp relay information circuit-id format-type
Default
The code type for the circuit ID sub-option depends on the specified padding format of Option 82. Each
field has its own code type.
Views
Interface view
Default command level
2: System level