The dhcp snooping bind-table static command configures the static binding between IP addresses and MAC addresses in the DHCP snooping binding table.
The undo dhcp snooping bind-table command cancels the static binding between IP addresses and MAC addresses in the DHCP snooping binding table.
By default, the static binding between IP addresses and MAC addresses in the DHCP snooping binding table is not configured.
Parameter | Description | Value |
---|---|---|
ip-address ip-address |
Specifies the IP address in dotted decimal notation. |
The value is in dotted decimal notation. |
mac-address mac-address |
Specifies the MAC address in the format of H-H-H. |
The value is in the format of H-H-H. Each H contains one to four hexadecimal numbers, such as 00e0 and fc01. If an H contains less than four bits, 0s are padded ahead. For example, an H is e0. It is displayed as 00e0 in the MAC address. |
vlan vlan-id |
Specifies the VLAN ID. |
The value ranges from 1 to 4094. |
ce-vlan ce-vlan-id |
Specifies the CE VLAN ID. |
The value ranges from 1 to 4094. |
Usage Scenario
To configure static binding entries, run the dhcp snooping bind-table static command. Dynamic binding entries can be generated after DHCP snooping is configured.
The static entry to be deleted must exist in the DHCP snooping binding table. The DHCP snooping binding table on each interface can be configured with a maximum of 4096 static entries. During the configuration of a static entry, if the number of static entries on an interface reaches 4096, the configuration failure.