dhcv6p-server external-storage
Syntax
dhcpv6-server external-storage file [delay ] no dhcpv6-server external-storage file [delay ]
Description
Configures the external storage file location for DHCPv6 server lease information. This file provides persistent storage, enabling DHCPv6 server settings to be restored when the switch is restarted. Lease information is stored in a flat file on the configured external device.
If external storage is not configured, then after a failure or reboot, all existing lease information is lost.
Lease information is saved to external storage each time the delay timer expires, which by default is every 300 seconds.
Lease information is not restored when issuing the commanddhcp-server enable
.
The没有
form of this command removes external storage support for the DHCPv6 server.
Command context
config
Parameters
-
-
Specifies the external storage volume name. Range: 1 to 64 printable ASCII characters.
-
file
-
指定外部存储文件名. Range: 1 to 255 printable ASCII characters.
-
delay
-
Specifies the interval in seconds between updates to the external storage file. Range: 15 to 86400. Default: 300.
Authority
Administrators or local user group members with execution rights for this command.
Example
Stores the lease file on external storage volumeStorage1在文件LeaseFileat an interval of 600 seconds.
switch(config)#dhcpv6-server external-storage Storage1 file LeaseFile delay 600
Disables storage of the lease file on external storage volumeStorage1在文件LeaseFile.
switch(config)#没有dhcpv6-server external-storage Storage1 file LeaseFile delay 600