137
Default
The offline detect timer is 300 seconds, the quiet timer is 60 seconds, and the server timeout timer is
100 seconds.
Views
System view
Default command level
2: System level
Parameters
offline-detect
offline-detect-value
: Sets the offline detect timer in the range of 60 to 65535 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.
Examples
# Set the server timeout timer to 150 seconds.
<Sysname> system-view
[Sysname] mac-authentication timer server-timeout 150
Related commands
display mac-authentication
mac-authentication user-name-format
Use
mac-authentication user-name-format
to configure the type of user accounts for MAC
authentication users.
Use
undo mac-authentication user-name-format
to restore the default.
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
Default
Each user's MAC address is used as the username and password for MAC authentication, and
letters must be input in lower case. MAC addresses are not hyphenated.
Views
System view
Default command level
2: System level