33-15
Catalyst 6500 Series Switch Software Configuration Guide—Release 8.7
OL-8978-04
Chapter 33 Configuring DHCP Snooping and IP Source Guard
Storing DHCP-Snooping Binding Entries to a Flash Device
5/12 32 0
5/13 32 0
5/14 32 0
5/15 32 0
5/16 32 0
5/17 32 0
5/18 32 0
5/19 32 0
5/20 32 0
5/21 32 0
5/22 32 0
5/23 32 0
5/24 32 0
Console> (enable)
Storing DHCP-Snooping Binding Entries to a Flash Device
The DHCP-snooping binding entries can be stored to a flash device so the bindings can be restored
immediately after the switch is reset.
The
auto-save
interval
option is for configuring the auto-save interval for DHCP-snooping bindings.
Valid ranges for the interval are 1 through 35000 minutes. Specifying a 0 disables the periodic saving of
bindings on the flash device and deletes the bindings file stored in flash. Specifying a 0 does not clear a
user-specified filename. The user-specified filename is cleared and returned to the default filename after
the
clear config all
command is entered.
The
device:filename
option is for specifying the flash device and filename for storing the bindings. By
default, the flash device is bootflash and the default filename is dhcp-snooping-bindings-database. If you
have not configured a filename, the bindings are automatically saved with the default filename on the
flash device.
To enable the
auto-save
option for DHCP-snooping binding entries and specify the interval to periodically
save the bindings, perform this task in privileged mode:
This example shows how to enable the
auto-save
option for DHCP-snooping binding entries and specify
an interval of 600 minutes to periodically save the bindings:
Console> (enable)
set dhcp-snooping bindings-database auto-save 600
DHCP Snooping auto-save interval set to 600 minutes.
Console> (enable)
To specify the flash device and filename for storing the bindings, perform this task in privileged mode:
This example shows how to specify the flash device and filename for storing the bindings:
Console> (enable)
set dhcp-snooping bindings-database disk1:dhcp-bindings
Task
Command
Enable the
auto-save
option for
DHCP-snooping binding entries and specify
the interval to periodically save the bindings.
set dhcp-snooping bindings-database auto-save
interval
Task
Command
Specify the flash device and filename for
storing the bindings.
set dhcp-snooping bindings-database
device:
[
filename
]