UMN:CLI

User Manual

 

SURPASS hiD 6615 S223/S323 R1.5

 

 

 

8.8.7.6DHCP Snooping Database Agent

When DHCP snooping is enabled, the system uses the DHCP snooping binding database to store information about untrusted interfaces. Each database entry (binding) has an IP address, associated MAC address, lease time, interface to which the binding applies and VLAN to which the interface belongs.

To maintain the binding when reload the system, you must use DHCP snooping database agent. If the agent is not used, the DHCP snooping binding will be lost when the switch is rebooted. The mechanism for the database agent saves the binding in a file at a remote location. Upon reloading, the switch reads the file to build the database for the binding. The system keeps the current file by writing to the file as the database changes.

Specifying DHCP Snooping Database Agent

To specify a DHCP database agent and enable an automatic DHCP snooping database back-up, use the following command.

Command

Mode

Description

 

 

 

 

 

Specifies a DHCP snooping database agent and back-

ip dhcp snooping database

 

up interval.

A.B.C.D INTERVAL

Global

A.B.C.D: DHCP snooping database agent address

 

 

INTERVAL: 120-2147483637 (unit: second)

 

 

 

no ip dhcp snooping database

 

Deletes a specified DHCP snooping database agent.

 

 

 

To request snooping binding entries from a DHCP snooping database agent, use the fol- lowing command.

Command

Mode

Description

 

 

 

ip dhcp snooping database re-

 

Requests snooping binding entries from a DHCP

Global

snooping database agent.

new A.B.C.D

 

A.B.C.D: DHCP snooping database agent address

 

 

 

 

 

Specifying DHCP Snooping Binding Entry

The DHCP snooping binding table contains a hardware address, IP address, lease time, VLAN ID, and port information that correspond to the untrusted interfaces of the system.

To manually specify a DHCP snooping binding entry, use the following command.

Command

 

Mode

Description

 

 

 

 

 

 

 

Configures binding on DHCP snooping table.

ip dhcp snooping binding

<1-

 

1-4094: VLAN ID

 

PORT: port number

4094> PORT A.B.C.D MAC-ADDR

 

 

A.B.C.D: IP address

<120-2147483637>

 

Global

 

MAC-ADDR: MAC address

 

 

 

 

 

 

120-2147483637: lease time (unit: second)

 

 

 

clear ip dhcp snooping binding

 

Releases configured binding on DHCP snooping table.

PORT {A.B.C.D all}

 

 

 

 

 

 

 

 

 

260

A50010-Y3-C150-2-7619

Page 260
Image 260
Siemens S323, S223 Specifying Dhcp Snooping Database Agent, Specifying Dhcp Snooping Binding Entry, New A.B.C.D