136
Examples
# Specify the
domain1
domain as the global authentication domain for MAC authentication users.
<Sysname> system-view
[Sysname] mac-authentication domain domain1
# Specify the
aabbcc
domain as the authentication domain for MAC authentication users on port
GigabitEthernet 3/0/1.
[Sysname] interface gigabitethernet 3/0/1
[Sysname-GigabitEthernet3/0/1] mac-authentication domain aabbcc
Related commands
display mac-authentication
mac-authentication max-user
Use
mac-authentication
max-user
to set the maximum number of concurrent MAC authentication
users on a port.
Use
undo mac-authentication
max-user
to restore the default.
Syntax
mac-authentication
max-user
user-number
undo mac-authentication max-user
Default
The maximum number of concurrent MAC authentication users on a port is 1024.
Views
Interface view
Default command level
2: System level
Parameters
user-number
: Specifies a maximum number of concurrent MAC authentication users on the port.
The value range is 1 to 1024.
Examples
# Configure port GigabitEthernet 3/0/1 to support up to 32 concurrent MAC authentication users.
<Sysname> system-view
[Sysname] interface gigabitethernet 3/0/1
[Sysname-GigabitEthernet3/0/1] mac-authentication max-user 32
mac-authentication timer
Use
mac-authentication
timer
to set the MAC authentication timers.
Use
undo mac-authentication
timer
to restore the default settings.
Syntax
mac-authentication
timer
{
offline-detect
offline-detect-value
|
quiet
quiet-value
|
server-timeout
server-timeout-value
}
undo mac-authentication
timer
{
offline-detect
|
quiet
|
server-timeout
}