39
server, and tries to communicate with another server in the
active
state. After this timer expires, the
router changes the status of the server back to
active
.
•
Real-time accounting timer
(
realtime-accounting
)—Defines the interval at which the router sends
real-time accounting updates to the HWTACACS accounting server for online users. To implement
real-time accounting, the router must periodically send real-time accounting packets to the
accounting server for online users.
To set timers for controlling communication with HWTACACS servers:
To do…
Command…
Remarks
1.
Enter system view.
system-view
—
2.
Enter HWTACACS scheme view.
hwtacacs scheme
hwtacacs-
scheme-name
—
3.
Set the HWTACACS server response
timeout timer.
timer response-timeout
seconds
Optional.
5 seconds by default.
4.
Set the quiet timer for the primary server.
timer quiet
minutes
Optional.
5 minutes by default.
5.
Set the real-time accounting interval.
timer realtime-accounting
minutes
Optional.
12 minutes by default. It
must be a multiple of 3.
NOTE:
The setting of the real-time accounting interval somewhat depends on the performance of the NAS and
the HWTACACS server. A shorter interval requires higher performance.
Displaying and maintaining HWTACACS
To do…
Command…
Remarks
Display the configuration information
or statistics of HWTACACS schemes
(on a centralized router)
display hwtacacs
[
hwtacacs-server-
name
[
statistics
] ] [
|
{
begin
|
exclude
|
include
}
regular-expression
]
Available in any view
Display the configuration information
or statistics of HWTACACS schemes
(on a distributed router)
display hwtacacs
[
hwtacacs-server-
name
[
statistics
] ] [
slot
slot-number
] [
|
{
begin
|
exclude
|
include
}
regular-
expression
]
Available in any view
Display information about buffered
stop-accounting requests for which no
responses have been received (on a
centralized router)
display stop-accounting-buffer
hwtacacs-scheme
hwtacacs-scheme-
name
[
|
{
begin
|
exclude
|
include
}
regular-expression
]
Available in any view
Display information about buffered
stop-accounting requests for which no
responses have been received (on a
distributed router)
display stop-accounting-buffer
hwtacacs-scheme
hwtacacs-scheme-
name
[
slot
slot-number
] [
|
{
begin
|
exclude
|
include
}
regular-expression
]
Available in any view
Clear HWTACACS statistics (on a
centralized router)
reset hwtacacs statistics
{
accounting
|
all
|
authentication
|
authorization
}
Available in user view
Clear HWTACACS statistics (on a
distributed router)
reset hwtacacs statistics
{
accounting
|
all
|
authentication
|
authorization
} [
slot
slot-number
]
Available in user view