123
Parameters
offline-detect
offline-detect-value
: Sets the offline detect timer, in the range of 60 to 2147483647 seconds.
This timer sets the interval that the device waits for traffic from a user before it regards the user idle. If a
user connection has been idle for two consecutive intervals, the device logs the user out and stops
accounting for the user.
quiet
quiet-value
: Sets the quiet timer, in the range of 1 to 3600 seconds. This timer sets the interval that
the device must wait before it can perform MAC authentication for a user that has failed MAC
authentication. All packets from the MAC address are dropped during the quiet time. This quiet
mechanism prevents repeated authentication from affecting system performance.
server-timeout
server-timeout-value
: Sets the server timeout timer in seconds, in the range of 100 to 300.
This timer sets the interval that the access device waits for a response from a RADIUS server before it
regards the RADIUS server unavailable. If the timer expires during MAC authentication, the user cannot
access the network.
Description
Use the
mac-authentication
timer
command to set the MAC authentication timers.
Use the
undo mac-authentication
timer
command to restore the defaults.
By default, the offline detect timer is 300 seconds, the quiet timer is 60 seconds, and the server timeout
timer is 100 seconds.
Related commands:
display mac-authentication
.
Examples
# Set the server timeout timer to 150 seconds.
<Sysname> system-view
[Sysname] mac-authentication timer server-timeout 150
mac-authentication user-name-format
Syntax
mac-authentication user-name-format
{
fixed
[
account
name
] [
password
{
cipher
|
simple
}
password
]
|
mac-address
[ {
with-hyphen
|
without-hyphen
} [
lowercase
|
uppercase
] ] }
undo mac-authentication user-name-format
View
System view
Default level
2: System level
Parameters
fixed
: Uses a shared account for all MAC authentication users.
account
name
: Specifies the username for the shared account. The name
takes a case insensitive string
of 1 to 55 characters. If no username is specified, the default name
mac
applies.
password
: Specifies the password for the shared user account:
cipher
: Sets a ciphertext password.
simple
: Sets a plaintext password.