Clearing Dhcp Snooping Statistics; Enabling Debug Logging - HP 2530 Manual Supplement

Table of Contents

Advertisement

Syntax:
[no] dhcp-snooping database [file <tftp://<ip-address>/<ascii-string>>]
[delay <15-86400>] [timeout <0-86400>]
Parameter
file
delay
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
-------------
22.22.22.22.22.22
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 ]
Parameter
agent
event
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.
Task
Must be in Uniform Resource Locator (URL) format
— "tftp://ip-address/ascii-string".
Number of seconds to wait before writing to the
database.
Number of seconds to wait for the database file
transfer to finish before returning an error. A value
of zero (0) means retry indefinitely.
IP
--------------- ---- --------- ---------
10.0.0.1
Task
Displays DHCP snooping agent messages.
Displays DHCP snooping event messages.
Displays DHCP snooping packet messages.
Detail
Maximum filename length = 63
characters.
Default = 300 seconds.
Default = 300 seconds.
VLAN Interface Time left
4
6
1600
Configuring advanced threat protection
13

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents