Syntax:
[no] dhcp-snooping database [file <tftp://<ip-address>/<ascii-string>>]
[delay <15-86400>] [timeout <0-86400>]
DetailTaskParameter
Maximum filename length = 63
characters.
Must be in Uniform Resource Locator (URL) format
— “tftp://ip-address/ascii-string”.
file
Default = 300 seconds.Number of seconds to wait before writing to the
database.
delay
Default = 300 seconds.Number of seconds to wait for the database file
transfer to finish before returning an error. A value
of zero (0) means retry indefinitely.
timeout
A message is logged in the system event log if the DHCP binding database fails to update. To
display the contents of the DHCP snooping binding database, enter this command:
Syntax:
show dhcp-snooping binding
Example 8 The DHCP snooping binding database contents
HP Switch(config)# show dhcp-snooping binding
MacAddress IP VLAN Interface Time left
------------- --------------- ---- --------- ---------
22.22.22.22.22.22 10.0.0.1 4 6 1600
NOTE: If a lease database is configured and the switch reboot completes quickly, the switch
drops all DHCP packets until the lease database is read. If the switch cannot read the lease database
from the tftp server, it waits until that operation times out and then starts forwarding DHCP packets.
Clearing DHCP snooping statistics
Syntax:
clear dhcp-snooping statistics
Clears all the statistics counters for DHCP snooping; the counters are reset to zero.
Enabling debug logging
To enable debug logging for DHCP snooping, use this command:
Syntax:
[no] debug dhcp-snooping [ agent | event | packet ]
TaskParameter
Displays DHCP snooping agent messages.agent
Displays DHCP snooping event messages.event
Displays DHCP snooping packet messages.packet
• DHCP is not configurable from the WebAgent or menu interface.
• If packets are received at too high a rate, some may be dropped and need to be re-transmitted.
Configuring advanced threat protection 13