dhcpv4-snooping external-storage

Syntax

dhcpv4-snooping external-storage volume <VOL-NAME> file <FILE-NAME> 
                
no dhcpv4-snooping external-storage

Description

Configures external storage to be used for backing up IP bindings (used by DHCPv4 snooping) to a file. When configured, the switch stores all the IP bindings in an external storage file so that they are retained after the switch restarts. When the switch restarts, it reads the IP bindings from the configured external storage file to populate its local cache.

The no form of this command disables the saving of IP bindings in an external storage file.

Command context

config

Parameters

volume <VOL-NAME>

Specifies the name of the existing external storage volume where the IP bindings file will be saved. Before running the dhcpv4-snooping external-storage volume command, first create the external storage volume using command external-storage <VOLUME-NAME>. See External storage commands in the Command-Line Interface Guide.

file <FILE-NAME>

Specifies the file name to use for storing IP bindings. Maximum 255 characters.

Authority

Administrators or local user group members with execution rights for this command.

Examples

Configuring IP bindings storage in file dsnoop_ipbindings on existing volume dhcp_snoop:

switch(config)# dhcpv4-snooping external-storage volume dhcp_snoop file dsnoop_ipbindings

Disabling external storage:

switch(config)# no dhcpv4-snooping external-storage