R211x-HP Flexfabric 11900 Security Command Reference

Table Of Contents
25
Use undo bind-attribute to remove binding attributes of a local user.
Syntax
bind-attribute { ip ip-address | location interface interface-type interface-number | mac mac-address |
vlan vlan-id } *
undo bind-attribute { ip | location | mac | vlan } *
Default
No binding attribute is configured for a local user.
Views
Local user view
Predefined user roles
network-admin
mdc-admin
Parameters
ip ip-address: Specifies the IP address to which the user is bound.
location interface interface-type interface-number: Specifies the interface to which the user is bound. The
interface-type argument represents the interface type and the interface-number argument represents the
interface number. To pass authentication, the user must access the network through the bound interface.
mac mac-address: Specifies the MAC address of the user in the format H-H-H.
vlan vlan-id: Specifies the VLAN to which the user belongs. The vlan-id argument is in the range of 1 to
4094.
Usage guidelines
Binding attributes are checked upon authentication of a local user. If the local user has a non-matching
attribute or lacks a required attribute, user authentication fails.
When you configure binding attributes for a local user, verify the following items:
The device can obtain from the user's packet all attributes for checking. For example, you can
configure an IP address binding for an 802.1X user, because 802.1X authentication can include the
user's IP address in the packet. However, you cannot configure IP address bindings for MAC
authentication users, because MAC authentication does not use IP addresses.
The binding interface type must meet the requirements of the local user. For example, you can bind
an 802.1X user to a physical port. If you bind the 802.1X user to a logical interface (for example,
a VLAN interface), the user will fail the local authentication.
Examples
# Bind IP address 3.3.3.3 with the network access user abc.
<Sysname> system-view
[Sysname] local-user abc class network
[Sysname-luser-network-abc] bind-attribute ip 3.3.3.3
Related commands
display local-user