Hà Nội: NTT03, Line 1, Thống Nhất Complex, 82 Nguyễn Tuân, Thanh Xuân, Hà Nội. ● HCM: Số 31B, Đường 1, Phường An Phú, Quận 2 (Thủ Đức), TP HCM. ===> Đơn Vị Hàng Đầu Trong Lĩnh Vực Cung Cấp Thiết Bị Security - Network - Wifi - CCTV - Conference - Máy chủ Server - Lưu trữ Storge.
Danh mục sản phẩm

Configure Storing of DHCP Snooping Bound Entries

The DHCP Snooping function supports the auto or manual storing to the specified path of the bound entries. If the device restarts, the stored bound entries can be restored, avoiding affecting the communication because the bound entries are lost.

The specified path can be device FLASH, FTP server or TFTP server.

Configuration Condition

Before configuring the storing path of the bound entries as the FTP/TFTP server, first complete the following task:

  1. FTP/TFTP server, enable the FTP/TFTP server function normally
  2. The device can ping the IP address of the FTP/TFTP server.

Configure Auto Storing of DHCP Snooping Bound Entries

DHCP Snooping bound entries can be configured as the auto storing mode, that is, system automatically stores the bound entries regularly.

The system periodically refreshes the bound entries, detecting whether the bound entries are updated. If yes, we need to store the updated entries to the specified path after the storing delay arrives. The storing delay can prevent and control the frequent storing of the system because the entries are updated continuously.

Table 7-9 Configure the auto storing of DHCP Snooping bound entries

Step

Command

Description

Enter global configuration mode

configure terminal

-

Configure the auto storing of the DHCP Snooping bound entries

dhcp-snooping database savetype auto { flash file-name | ftp dest-ip-address ftp-username ftp-password file-name | tftp dest-ip-address file-name }

Mandatory

By default, the storing mode of the bound entries is auto mode, the storing path is flash, and the storing file name is dhcpsp_binding.db.

Configure the storing delay of the bound entries

dhcp-snooping database savedelay seconds

Optional

By default, the storing delay of the bound entries is 1800s.

Configure the refresh interval of the bound entries

dhcp-snooping database savepool seconds

Optional

By default, the refresh interval of the bound entries is 30s.

Configure Manual Storing of DHCP Snooping Bound Entries

DHCP Snooping bound entries can be configured as the manual storing mode, that is, execute the store command to complete the storing of the bound entries.

Table 7-10 Configure the manual storing of the DHCP Snooping bound entries

Step

Command

Description

Enter global configuration mode

configure terminal

-

Configure the manual storing of the DHCP Snooping bound entries

dhcp-snooping database savetype manual { flash file-name | ftp dest-ip-address ftp-username ftp-password file-name | tftp dest-ip-address file-name }

Mandatory

By default, the storing mode of the bound entries is auto mode, the storing path is flash and the storing file name is dhcpsp_binding.db.

Configure the storing bound file

dhcp-snooping database save

Mandatory

Store the bound entries to the specified path.

By default, the bound entries are not stored to the specified path.