Users Guide

Layer 2 Switching Commands 353
ip dhcp snooping database
Use the ip dhcp snooping database command to configure the persistent
storage location of the DHCP snooping database. This can be local to the
switch or on a remote machine.
Syntax
ip dhcp snooping database {local | tftp://hostIP/filename}
hostIP
The IP address of the remote host.
filename
The name of the file for the database on the remote host. The
filename may contain any printable charact
er except a question mark
and is
checked only when attempting to open the file. The file must reside in the
working directory of the TFTP server. Specification of a sub-directory in the file
name parameter is not supported.
Default Configuration
The database is stored locally by default.
Configuration Mode
Global Configuration mode.
User Guidelines
There are no user guidelines for this command.
Example
The following example configures the storage location of the snooping
database as local.
console(config)#ip dhcp snooping database local
The following example configures the storage location of the snooping
database as remote.
console(config)#ip dhcp snooping database tftp://10.131.11.1/db.txt