CLI Reference Guide
Command Mode
Global Configuration Mode
Example
Bind an entry with the IP 192.168.0.1, MAC 00:00:00:00:00:01, VLAN ID 2 and
Port number 5 manually. And then enable the entry for the ARP detection:
TL-SG3424(config)# ip source binding host1 192.168.0.1 00:00:00:00:00:01
vlan 2 interface gigabitEthernet 1/0/5 arp-detection
Delete the IP-MAC –VID-PORT entry with the index 5:
TL-SG3424(config)# no ip source binding index 5
ip source binding index
Description
The ip source binding index command is used to modify the existing entry of ip
source binding.
Syntax
ip source binding inde x idx {hostn a me hostname | mac mac-addr | v lan
vlan-id | interface gigabitEthernet port | none | arp-detection }
Parameter
idx ——The entry number needed to be modified. You can use the show ip
source binding command to get the idx. Pay attention that the entry number is
the actual number in the binding table which is not displayed in an arranged
order.
hostname ——The modified Host Name, which contains 20 characters at most.
mac-addr —— The modified MAC address of the Host.
vlan-id ——The modified VLAN ID, ranging from 1 to 4094.
port —— The modified number of port connected to the Host.
none | arp-detection ——The modified protect type for the entry. “none” indicates
applying none; “arp-detection” indicates ARP detection.
Command Mode
Global Configuration Mode
Example
Modify the hostname as “tp-link” of the entry with the index 1:
62