< Home

dhcp snooping bind-table static (VLAN view)

Function

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.

Format

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

Parameters

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. -

Views

VLAN view

Default Level

2: Configuration level

Usage Guidelines

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.

Example

# Configure the static binding entry between the IP and MAC addresses in VLAN 100.

<sysname> system-view
[sysname] vlan 100
[sysname-vlan-100] dhcp snooping bind-table static ip-address 10.10.10.2 mac-address 0028-0120-0327 interface GigabitEthernet 0/0/1
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >