C613-50104-01 REV A Command Reference for x230 Series 1306
AlliedWare Plus™ Operating System - Version 5.4.6-1.x
DHCP SNOOPING COMMANDS
IP
DHCP SNOOPING DATABASE
ip dhcp snooping database
Overview Use this command to set the location of the file to which the dynamic entries in the
DHCP snooping database are written. This file provides a backup for the DHCP
snooping database.
Use the no variant of this command to set the database location back to the
default, nvs.
Syntax
ip dhcp snooping database {nvs|flash|card}
no ip dhcp snooping database
Default NVS
Mode Global Configuration
Usage If the location of the backup file is changed by using this command, a new file is
created in the new location, and the old version of the file remains in the old
location. This can be removed if necessary (hidden file: .dhcp.dsn.gz).
Example To set the location of the DHCP snooping database to non-volatile storage on the
switch, use the commands:
awplus# configure terminal
awplus(config)# ip dhcp snooping database nvs
Related
Commands
show ip dhcp snooping
Parameter Description
nvs The switch checks the database and writes the file to non-volatile
storage (NVS) on the switch at 2 second intervals if it has changed.
flash The switch checks the database and writes the file to Flash memory on
the switch at 60 second intervals if it has changed.
card The switch checks the database and writes the file to an SD card installed
in the switch at 2 second intervals if it has changed.
Note that a current DHCP snooping backup database file is essential to
maintain connectivity for DHCP clients after a switch reboot. If you
configure the switch to save this file to an SD card, we recommend that
you ensure the card is always present.