81
Use the
undo primary authorization
command to remove the configuration.
By default, no primary HWTACACS authorization server is specified.
The IP addresses of the primary and secondary authorization servers cannot be the same. Otherwise, the
configuration fails.
The shared key configured by using the
primary authorization
command takes precedence over the one
configured by using the
key authorization
[
cipher
|
simple
]
key
command.
The HWTACACS service port configured on the device and that of the HWTACACS server must be
consistent.
If you configure the command repeatedly, only the last configuration takes effect.
You can remove an authorization server only when it is not used by any active TCP connection to send
authorization packets.
Related commands:
key
,
display hwtacacs
, and
hwtacacs scheme
.
Examples
# Configure the IP address and port number of the primary authorization server for HWTACACS scheme
hwt1
as 10.163.155.13 and 49.
<Sysname> system-view
[Sysname] hwtacacs scheme hwt1
[Sysname-hwtacacs-hwt1] primary authorization 10.163.155.13 49
reset hwtacacs statistics
Syntax
reset hwtacacs statistics
{
accounting
|
all
|
authentication
|
authorization
} [
slot
slot-number
]
View
User view
Default level
1: Monitor level
Parameters
accounting
: Clears HWTACACS accounting statistics.
all
: Clears all HWTACACS statistics.
authentication
: Clears HWTACACS authentication statistics.
authorization
: Clears HWTACACS authorization statistics.
slot
slot-number
: Specifies the member number of the device in the IRF virtual device, which you can
display with the
display irf
command. The value range for the
slot-number
argument depends on the
number of members and numbering conditions in the current IRF virtual device. If no IRF virtual device
exists, the
slot-number
argument is the current device number.
Description
Use the
reset hwtacacs statistics
command to clear HWTACACS statistics.
Related commands:
display hwtacacs
.