HP VPN Firewall Appliances Network Management Command Reference

183
Syntax
dhcp enable
undo dhcp enable
Default
DHCP is disabled.
Views
System view
Default command level
2: System level
Usage guidelines
Enable DHCP before performing DHCP server and relay agent configurations.
Examples
# Enable DHCP.
<Sysname> system-view
[Sysname] dhcp enable
dhcp relay address-check enable
Use dhcp relay address-check enable to enable address check on the relay agent.
Use undo dhcp relay address-check enable to disable address check on the relay agent.
Syntax
dhcp relay address-check enable
undo dhcp relay address-check enable
Default
The function is disabled.
Views
Interface view
Default command level
2: System level
Usage guidelines
With this feature enabled, the DHCP relay agent can dynamically record clients' IP-to-MAC bindings
after clients get IP addresses through DHCP. It also supports static bindings. You can manually configure
IP-to-MAC bindings on the DHCP relay agent, so that users can access external networks using fixed IP
addresses.
Upon receiving an ARP packet, the DHCP relay agent matches the sender's IP and MAC addresses in the
packet against the bindings (both dynamic and static). If no match is found, the DHCP relay agent does
not learn the ARP entry. The sending host cannot access external networks through the DHCP relay
agent.
The dhcp relay address-check enable command only checks IP and MAC addresses of clients.