1308
Command Reference for AT-IX5-28GPX High Availability, High Power Video Surveillance PoE Switch
C613-50057-01 REV A
AlliedWare Plus™ Operating System - Version 5.4.5-0.x
DHCP S
NOOPING
C
OMMANDS
IP
SOURCE
BINDING
ip source binding
Overview
Use this command to add or replace a static entry in the DHCP snooping database.
Use the
no
variant of this command to delete the specified static entry or all static
entries from the database.
Syntax
ip source binding <
ipaddr
> [<
macaddr
>] vlan <
vid
> interface
<
port
>
no ip source binding [<
ipaddr
>]
Mode
Global Configuration
Usage
This command removes static entries from the database.
To remove dynamic entries, use the
clear ip dhcp snooping binding
command or
the
no
variant of the
ip dhcp snooping binding
command.
Examples
To add a static entry to the DHCP snooping database for a client with the IP address
192.168.1.2, MAC address 0001.0002.0003, on port1.0.6 of vlan6, use the
command:
awplus#
configure terminal
awplus(config)#
ip source binding 192.168.1.2 0001.0002.0003
vlan 6 interface port1.0.6
To remove the static entry for IP address 192.168.1.2 from the database, use the
commands:
awplus#
configure terminal
awplus(config)#
no ip source binding 192.168.1.2
To remove all static entries from the database, use the commands:
awplus#
configure terminal
awplus(config)#
no ip source binding
Parameter
Description
<
ipaddr
>
Client’s IP address. If there is already an entry in the DHCP
snooping database for this IP address, then this command
replaces it with the new entry.
<
macaddr
>
Client’s MAC address in HHHH.HHHH.HHHH format.
<
vid
>
The VLAN ID associated with the entry.
<
port
>
The port the client is connected to.