199
Use
undo mac-authentication
max-user
to restore the default.
Syntax
mac-authentication
max-user max-number
undo mac-authentication max-user
Default
The device allows a maximum of 4294967295 concurrent MAC authentication users on a port.
Views
Ethernet interface view
Predefined user roles
network-admin
Parameters
max-number
: Specifies the maximum number of concurrent MAC authentication users on the port.
The value range for this argument is 1 to 4294967295.
Usage guidelines
Set the maximum number of concurrent MAC authentication users on a port to prevent the system
resources from being overused. When the maximum number is reached, the port denies subsequent
MAC authentication users.
Examples
# Configure port GigabitEthernet 1/0/1 to support a maximum of 32 concurrent MAC authentication
users.
<Sysname> system-view
[Sysname] interface gigabitethernet 1/0/1
[Sysname-GigabitEthernet1/0/1] mac-authentication max-user 32
Related commands
display mac-authentication
mac-authentication re-authenticate server-unreachable
keep-online
Use
mac-authentication re-authenticate server-unreachable keep-online
to enable the
keep-online feature on a port.
Use
undo mac-authentication re-authenticate server-unreachable
to restore the default.
Syntax
mac-authentication re-authenticate server-unreachable keep-online
undo mac-authentication re-authenticate server-unreachable
Default
The keep-online feature is disabled on a port. The device logs off online MAC authentication users if
no server is reachable for MAC reauthentication.
Views
Ethernet interface view
Predefined user roles
network-admin