R3303-HP HSR6800 Routers Layer 3 - IP Services Command Reference

Table Of Contents
62
Examples
# Enable MAC address check on the DHCP relay agent.
<Sysname> system-view
[Sysname] interface gigabitethernet 3/1/1
[Sysname-GigabitEthernet3/1/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 3/1/1
[Sysname-GigabitEthernet3/1/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.