static-bind

Function

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.

Format

static-bind ip-address ip-address mac-address mac-address

undo static-bind ip-address ip-address mac-address mac-address

Parameters

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.

Views

Bas IP address pool view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
ippool write

Usage Guidelines

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

  • In VS mode, this command is supported only by The admin VS.
  • 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.

Example

# Bind the PC whose MAC address is 00e0-fc12-3456 with the IP address 10.1.1.10.
<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
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >