The static-bind command configures the statically bound IP-MAC address pair.
The undo static-bind command deletes the statically bound IP-MAC address pair.
By default, no IP-MAC address pair is bound statically.
This command is supported only on the NetEngine 8000 F1A.
Parameter | Description | Value |
---|---|---|
ip-address ip-address |
Specifies the IP address to be bound. |
The value is in dotted decimal notation. |
mac-address mac-address |
Specifies the host MAC address to be bound. |
The value is a 12-digit hexadecimal number, in the format of H-H-H. Each H is 4 digits. If an H contains fewer than 4 digits, the left-most digits are padded with zeros. For example, e0 is displayed as 00e0. The MAC address cannot be set to FFFF-FFFF-FFFF. |
Usage Scenario
The static-bind command is used to configure the statically bound IP-MAC address pair, which corresponds to manual address assignment. Assume that an IP address 10.110.20.10 is bound to an MAC address 00e0-fc12-3456. Then, the user with the MAC address 00e0-fc12-3456 is always assigned the bound IP address 10.110.20.10.
In configuring the static-bind command, the gateway command must be used to configure the IP address of a gateway and the section command must be used to configure the usable address range. In configuring the static-bind command, make sure that the statically bound IP address is unused. In addition, the static-bind command is valid only if the local address pool is used to assign IP addresses.Precautions
<HUAWEI> system-view [~HUAWEI] ip pool huawei bas local Info: It's successful to create an IP address pool [*HUAWEI-ip-pool-huawei] commit [~HUAWEI-ip-pool-huawei] gateway 10.1.1.1 255.255.255.0 [*HUAWEI-ip-pool-huawei] section 0 10.1.1.2 10.1.1.253 [*HUAWEI-ip-pool-huawei] static-bind ip-address 10.1.1.10 mac-address 00e0-fc12-3456