beautypg.com

Ip dhcp snooping delete-by-client – Allied Telesis AT-8100 Series User Manual

Page 653

background image

AT-8100 Switch Command Line User’s Guide

653

IP DHCP SNOOPING DELETE-BY-CLIENT

Syntax

ip dhcp snooping delete-by-client

Parameters

None

Mode

Global Configuration mode

Description

Use this command to set the switch to remove a dynamic entry from the
DHCP snooping database when it receives a valid DHCP message with
matching IP address, VLAN ID, and client hardware on an untrusted port.
In addition, setting this command causes the switch to discard release
messages that do not match an entry in the database. This command is
enabled by default.

DHCP clients send a release message when they no longer wish to use
the IP address they have been allocated by a DHCP server. Use this
command to enable DHCP snooping to use the information in these
messages to remove entries from its database immediately.

Use the no version of the command, the NO DHCP SNOOPING DELETE-
BY-CLIENT command, to ignore the release messages. Lease entries
corresponding to ignored DHCP release messages eventually time out
when the lease expires.

Confirmation Command

“SHOW RUNNING-CONFIG” on page 170

Example

This example sets the switch to delete DHCP snooping lease entries from
the DHCP snooping database when a matching release message is
received:

awplus> enable
awplus# configure terminal
awplus(config)# ip dhcp snooping delete-by-client