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

Table Of Contents
86
DHCP snooping configuration commands
A DHCP snooping enabled device can work between the DHCP client and relay agent or between the
DHCP client and server. It does not work if it is between the DHCP relay agent and DHCP server.
The DHCP snooping commands are supported only when SAP modules operate in Layer 2 mode.
dhcp-snooping
Use dhcp-snooping to enable DHCP snooping.
Use undo dhcp-snooping to disable DHCP snooping.
Syntax
dhcp-snooping
undo dhcp-snooping
Default
DHCP snooping is disabled.
Views
System view
Default command level
2: System level
Usage guidelines
When DHCP snooping is disabled, the device forwards all responses received from DHCP servers and
does not record MAC-IP binding information for DHCP clients.
Examples
# Enable DHCP snooping.
<Sysname> system-view
[Sysname] dhcp-snooping
Related commands
display dhcp-snooping
dhcp-snooping binding database filename
Use dhcp-snooping binding database filename to specify a file to store DHCP snooping entries.
Use undo dhcp-snooping binding database filename to restore the default.
Syntax
dhcp-snooping binding database filename filename
undo dhcp-snooping binding database filename