dhcp-snooping binding database filename

Syntax

dhcp-snooping binding database filename filename

undo dhcp-snooping binding database filename

View

System view

Default level

2: System level

Parameters

filename: File name. For how to define the file name, see Fundamentals Configuration Guide.

Description

Use dhcp-snooping binding database filename to specify the name of the file for storing DHCP snooping entries.

Use undo dhcp-snooping binding database filename to restore the default.

By default, no file name is specified.

If no file with the specified name is found, the device will automatically create the file upon storing a DHCP snooping binding.

DHCP snooping entries are stored immediately after this command is used, and then updated at the interval set by the dhcp-snooping binding database update interval command.

Related commands: dhcp-snooping binding database update interval.

Examples

# Specify the name of the file for storing DHCP snooping entries as database.dhcp.

<Sysname> system-view
[Sysname] dhcp-snooping binding database filename database.dhcp