C613-50100-01 REV C Command Reference for x930 Series 2375
AlliedWare Plus™ Operating System - Version 5.4.6-1.x
DHCP SNOOPING COMMANDS
IP
DHCP SNOOPING DELETE-BY-LINKDOWN
ip dhcp snooping delete-by-linkdown
Overview Use this command to set the switch to remove a dynamic entry from the DHCP
snooping database when its port goes down. If the port is part of an aggregated
link, the entries in the database are only deleted if all the ports in the aggregated
link are down.
Use the no variant of this command to set the switch not to delete entries when
ports go down.
Syntax
ip dhcp snooping delete-by-linkdown
no ip dhcp snooping delete-by-linkdown
Default Disabled: by default DHCP Snooping bindings are not deleted when an interface
goes down.
Mode Global Configuration
Usage If this command is enabled in a stack, and the master goes down and is replaced
by a new master, entries in the DHCP snooping database for ports on the master
are removed, unless they are part of link aggregators that are still up.
Examples To set the switch to delete DHCP snooping lease entries from the DHCP snooping
database when links go down, use the commands:
awplus# configure terminal
awplus(config)# ip dhcp snooping delete-by-linkdown
To set the switch not to delete DHCP snooping lease entries from the DHCP
snooping database when links go down, use the commands:
awplus# configure terminal
awplus(config)# no ip dhcp snooping delete-by-linkdown
Related
Commands
show ip dhcp snooping