41
•
If the user is an 802.1X user, specify the 802.1X-enabled Layer 2 Ethernet interface or Layer 2
aggregate interface.
•
If the user is a MAC authentication user, specify the MAC authentication-enabled Layer 2
Ethernet interface or Layer 2 aggregate interface.
•
If the user is a Web authentication user, specify the Web authentication-enabled Layer 2
Ethernet interface.
•
If the user is a portal user, specify the portal-enabled interface. 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
mdc-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