53
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. Configure the binding
interface based on the service type of the user.
•
If the user is an 802.1X user, specify the 802.1X-enabled Layer 2 Ethernet interface through
which the user accesses the device.
•
If the user is a MAC authentication user, specify the MAC authentication-enabled Layer 2
Ethernet interface through which the user accesses the device.
•
If the user is a portal user, specify the portal-enabled interface through which the user accesses
the device. Specify the Layer 2 Ethernet interface if portal is enabled on a VLAN interface and
the
portal roaming enable
command is not configured.
Examples
# Bind IP address 3.3.3.3 with 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
company
Use
company
to specify the company of a local guest.
Use
undo company
to restore the default.
Syntax
company
company-name
undo company
Default
No company is specified for a local guest.
Views
Local guest view
Predefined user roles
network-admin
Parameters
company-name
: Specifies the company name, a case-sensitive string of 1 to 255 characters.
Examples
# Specify company
yyy
for local guest
abc
.
<Sysname> system-view
[Sysname] local-user abc class network guest
[Sysname-luser-network(guest)-abc] company yyy
Related commands
display local-user