C613-50057-01 REV A
Command Reference for AT-IX5-28GPX High Availability, High Power Video Surveillance PoE Switch
1299
AlliedWare Plus™ Operating System - Version 5.4.5-0.x
DHCP S
NOOPING
C
OMMANDS
IP
DHCP
SNOOPING
BINDING
ip dhcp snooping binding
Overview
Use this command to manually add a dynamic-like entry (with an expiry time) to
the DHCP snooping database. Once added to the database, this entry is treated as
a dynamic entry, and is stored in the DHCP snooping database backup file. This
command is not stored in the switch’s running configuration.
Use the
no
variant of this command to delete a dynamic entry for an IP address
from the DHCP snooping database, or to delete all dynamic entries from the
database.
CAUTION
: If you remove entries from the database for current clients, they will
lose IP connectivity until they request and receive a new DHCP lease. If you clear
all entries, all clients connected to untrusted ports will lose connectivity.
Syntax
ip dhcp snooping binding <
ipaddr
> [<
macaddr
>] vlan <
vid
>
interface <
port
> expiry <
expiry-time
>
no ip dhcp snooping binding [<
ipaddr
>]
Mode
Privileged Exec
Usage
Note that dynamic entries can also be deleted from the DHCP snooping database
by using the
clear ip dhcp snooping binding
command.
To add or remove static entries from the database, use the
ip source binding
command.
Example
To restore an entry in the DHCP snooping database for a DHCP client with the IP
address 192.168.1.2, MAC address 0001.0002.0003, on port1.0.6 of vlan6, and with
an expiry time of 1 hour, use the commands:
awplus#
ip dhcp snooping binding 192.168.1.2 0001.0002.0003
vlan 6 interface port1.0.6 expiry 3600
Related
Commands
clear ip dhcp snooping binding
ip source binding
show ip dhcp snooping binding
Parameter
Description
<
ipaddr
>
Client’s IP address.
<
macaddr
>
Client’s MAC address in HHHH.HHHH.HHHH format.
<
vid
>
The VLAN ID for the entry, in the range 1 to 4094.
<port>
The port the client is connected to. The port can be a switch port,
or a static or dynamic link aggregation (channel group).
<
expiry-time
>
The expiry time for the entry, in the range 5 to 2147483647
seconds.