Ip dhcp snooping max-bindings, Ip dhcp snooping max-bindings <0-520 – Allied Telesis AlliedWare Plus Operating System Version 5.4.4C (x310-26FT,x310-26FP,x310-50FT,x310-50FP) User Manual
Page 1456
![background image](/manuals/427254/1456/background.png)
DHCP Snooping Commands
Software Reference for x310 Series Switches
56.18
AlliedWare Plus
TM
Operating System - Version 5.4.4C
C613-50046-01 REV A
ip dhcp snooping max-bindings
Use this command to set the maximum number of DHCP lease entries that can be stored
in the DHCP snooping database for each of the ports. Once this limit has been reached, no
further DHCP lease allocations made to devices on the port are stored in the database.
Use the no variant of this command to reset the maximum to the default, 1.
Syntax
ip dhcp snooping max-bindings <0-520>
no ip dhcp snooping max-bindings
Default
The default for maximum bindings is 1.
Mode
Interface Configuration (port)
Usage
The maximum number of leases cannot be changed for a port while there are DHCP
snooping Access Control Lists (ACL) associated with the port. Before using this command,
remove any DHCP snooping ACLs associated with the ports. To display ACLs used for
DHCP snooping, use the
show ip dhcp snooping acl command on page 56.32
In general, the default (1) will work well on an edge port with a single directly connected
DHCP client. If the port is on an aggregation switch that is connected to an edge switch
with multiple DHCP clients connected through it, then use this command to increase the
number of lease entries for the port.
If there are multiple VLANs configured on the port, the limit is shared between all the
VLANs on this port. For example, the default only allows one lease to be stored for one
VLAN. To allow connectivity for the other VLANs, use this command to increase the
number of lease entries for the port.
Example
To set the maximum number of bindings to be stored in the DHCP snooping database to
10 per port for ports 1.0.1 to 1.0.6, use the commands:
Related Commands
show ip dhcp snooping acl
show ip dhcp snooping interface
Parameter
Description
<0-520>
The maximum number of bindings that will be stored for the port in
the DHCP snooping binding database. If 0 is specified, no entries will
be stored in the database for the port.
awplus#
configure terminal
awplus(config)#
interface port1.0.1-port1.0.6
awplus(config-if)#
ip dhcp snooping max-bindings 10