Ip source binding, Ip source binding [ interface Page 1461: Ip source binding command
Page 1461: Ip source binding command
DHCP Snooping Commands
Software Reference for x310 Series Switches
C613-50046-01 REV A
AlliedWare Plus
TM
Operating System - Version 5.4.4C
56.23
ip source binding
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 on page
or the no variant of the
ip dhcp snooping binding command on page 56.14
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:
To remove the static entry for IP address 192.168.1.2 from the database, use the
commands:
To remove all static entries from the database, use the commands:
Related Commands
clear ip dhcp snooping binding
ip dhcp snooping binding
show ip dhcp snooping 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.
awplus#
configure terminal
awplus(config)#
ip source binding 192.168.1.2 0001.0002.0003
vlan 6 interface port1.0.6
awplus#
configure terminal
awplus(config)#
no ip source binding 192.168.1.2
awplus#
configure terminal
awplus(config)#
no ip source binding