For IPv4
Syntax
[no] ip source-binding <mac-address> vlan <vlan-id><ip-address>interface <port-number>
- mac-address
Specifies a MAC address to bind with a VLAN and IP address on the specified port in the DHCP binding database.
- vlan-id
Specifies a VLAN ID number to bind with the specified MAC and IP addresses on the specified port in the DHCP binding database.
- ip-address
Specifies an IP address to bind with a VLAN and MAC address on the specified port in the DHCP binding database.
- <port-number>
Specifies the port number on which the IP-to- MAC address and VLAN binding is configured in the DHCP binding database.
An example of the ip source-binding
command
is shown here:
switch(config)# ip source-binding 0030c1-7f49c0 interface vlan 100 10.10.20.1 interface A4
The ip source-binding
command
is the same command used by the Dynamic IP Lockdown feature to configure
static bindings. The Dynamic ARP Protection and Dynamic IP Lockdown
features share a common list of source IP-to-MAC bindings.