< Home

bind (local user view)

Function

The bind command binds a user to the specified IP and MAC addresses.

The undo bind command unbinds a user from the specified IP and MAC addresses.

Format

bind { ipv4 ipv4-address | mac mac-address | ipv4 ipv4-address mac mac-address }

undo bind { all | ipv4 ipv4-address | mac mac-address | ipv4 ipv4-address mac mac-address }

Parameters

Parameter Description Value
ipv4 ipv4-address Specifies the IP address bound to a user. The value is in dotted decimal notation.
mac mac-address Specifies the MAC address bound to a user. The value is in the H-H-H format in which H represents four hexadecimal digits.
ipv4 ipv4-address mac mac-address Specifies the IP and MAC addresses bound to a user. The IP address is in dotted decimal notation, and the MAC address is in the H-H-H format in which H represents four hexadecimal digits.
all Unbinds a user from all IP or MAC addresses. -

Views

Local user view

Default Level

2: Configuration level

Usage Guidelines

The FW can bind users to only IPv4 addresses, but not IPv6 addresses.

A user can be bound to a maximum of three IP addresses, three MAC addresses, three pairs of IP and MAC addresses, or a flexible combination of the three types.

Example

# Bind user test to IP address 10.2.2.2.

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