Install guide
26 DHCP Snooping Release Note
Software Version 2.7.6
C613-10462-00 REV A
show dhcpsnooping database
Syntax SHow DHCPSnooping DATABase
Description This command displays the information currently stored in the DHCP
snooping database (Figure 10, Tab le 3).
Figure 10: Example output from the show dhcpsnooping database command
DHCP Snooping Binding Database
------------------------------------------
Full Leases/Max Leases ... 3/52
Check Interval ........... 60 seconds
Database Listeners ....... CLASSIFIER
Current valid entries
MAC Address IP Address Expires(s) VLAN Port ID Source
-------------------------------------------------------------------------------
00-00-cd-08-0c-2c 192.168.12.110 566 46 15 2 Dynamic
00-00-cd-08-0d-de 192.168.12.111 1023 46 16 3 Dynamic
00-00-cd-09-43-22 192.168.12.210 Static 46 12 4 User
-------------------------------------------------------------------------------
Entries with client lease but no listeners
MAC Address IP Address Expires(s) VLAN Port ID Source
-------------------------------------------------------------------------------
None...
-------------------------------------------------------------------------------
Entries with no client lease and no listeners
MAC Address IP Address Expires(s) VLAN Port ID Source
-------------------------------------------------------------------------------
00-00-cd-08-1d-de 192.168.12.112 3511 46 15 4 Dynamic
Table 3: Parameters in output of the show dhcpsnooping database command
Parameter Meaning
Full Leases/Max Leases The number of valid snooped leases, followed by the maximum
number of leases allowed on the switch.
Check interval The DHCP snooping database check interval. This shows how
frequently the switch deletes expired entries.
Database listeners A list of processes within the switch that make use of the
binding database information. Currently, the Classifier module
is supported.
Current valid entries This section lists the current snooped DHCP leases on the
specified ports, ordered by ascending MAC address. Entries in
this section indicate that the Classifier listening module has
been updated successfully. Dynamic sourced entries in this
section indicate that a DHCP ACK packet was forwarded to the
client. The expires parameter indicates the time in seconds
until the lease is set to expire.
Entries with client lease but
no listeners
This section lists the current snooped DHCP leases where a
DHCP ACK packet was forwarded to the client, but a valid lease
could not be established due to an error with the Classifier
listening module.
This can occur if DHCP snooping is disabled while there are
current valid entries in the DHCP snooping database, and DHCP
snooping is then reconfigured and re-enabled.