< Home

bind mode (local user view)

Function

The bind mode command configures the binding mode between a user and an IP/MAC address.

The undo bind mode command restores the default binding mode between a user and an IP/MAC address.

Format

bind mode { bidirectional | unidirectional }

undo bind mode

Parameters

Parameter Description Value

bidirectional

Indicates bidirectional binding in which the user can use only the specified IP/MAC address for identity authentication. In addition, this IP/MAC address is exclusive to other bidirectional binding user.

-

unidirectional

Indicates unidirectional binding in which the user must use the specified IP/MAC address for identity authentication. However, other users can also use the same IP/MAC address for identity authentication.

-

Views

Local user view

Default Level

2: Configuration level

Usage Guidelines

By default, unidirectional binding between a user and an IP/MAC address is used.

  • Bidirectional IP address binding: If an IP address pool already exists, the IP address is automatically excluded from the IP address pool. If no IP address pool exists, the IP address is automatically excluded when an IP address pool is created.
  • Bidirectional IP+MAC address binding: If an IP address pool already exists, the IP+MAC static binding is automatically created for the IP address pool (you can also manually add the IP+MAC static binding in advance). If no IP address pool exists, the IP address is automatically excluded when an IP address pool is created.
  • Bidirectional IP+MAC address binding: If the IP address has been automatically excluded from an IP address pool, you need to delete and reconfigure bidirectional IP+MAC address binding so that the IP+MAC static binding can be generated in the IP address pool.

Example

# Configure bidirectional binding between user test and an IP/MAC address.

<sysname> system-view
[sysname] user-manage user test
[sysname-localuser-test] bind mode bidirectional
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >