The dhcp snooping bind-table static command configures the static binding entries between IP addresses and MAC addresses.
The undo dhcp snooping bind-table command deletes the binding entries in the binding table, including the dynamic entries and the static entries.
dhcp snooping bind-table static ip-address ip-address mac-address mac-address interface interface-type interface-number
undo dhcp snooping bind-table ip-address ip-address
| Parameter | Description | Value |
|---|---|---|
| ip-address ip-address | Specifies the user IP address. | The value is in dotted decimal notation. |
| mac-address mac-address | Specifies the user MAC address. | The value is in form of H-H-H. |
| interface interface-type interface-number | Specifies the type and number of an interface. | - |
After running the dhcp snooping bind-table static interface command, you does not need to configure the dynamic entries in the DHCP snooping binding table. The dynamic entries can be generated after you enable DHCP snooping. But you need to configure the static entries by the commands.
To delete a static entry, ensure that the static entry must exist in the DHCP snooping binding table. Otherwise, an error occurs. The system prompts: The static bound entry does not exist.