beautypg.com

Ip dhcp snooping delete-by-client, No ip dhcp snooping delete-by-client – Allied Telesis AlliedWare Plus Operating System Version 5.4.4C (x310-26FT,x310-26FP,x310-50FT,x310-50FP) User Manual

Page 1454

background image

DHCP Snooping Commands

Software Reference for x310 Series Switches

56.16

AlliedWare Plus

TM

Operating System - Version 5.4.4C

C613-50046-01 REV A

ip dhcp snooping delete-by-client

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

Use the no variant of this command to set the switch to forward DHCP release messages
received on untrusted ports without removing any entries from the database.

Syntax

ip dhcp snooping delete-by-client

no ip dhcp snooping delete-by-client

Default

Enabled: by default, DHCP lease entries are deleted from the DHCP snooping database
when matching DHCP release messages are received.

Mode

Global Configuration

Usage

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 variant of this command to ignore these release messages. Lease entries
corresponding to ignored DHCP release messages eventually time out when the lease
expires.

Examples

To set the switch to delete DHCP snooping lease entries from the DHCP snooping
database when a matching release message is received, use the commands:

To set the switch to forward and ignore the content of any DHCP release messages it
receives, use the commands:

Related Commands

show ip dhcp snooping

awplus#

configure terminal

awplus(config)#

ip dhcp snooping delete-by-client

awplus#

configure terminal

awplus(config)#

no ip dhcp snooping delete-by-client