1982 CHAPTER 129: HWTACACS CONFIGURATION COMMANDS
primary authorization
Syntax primary authorization ip-address [ port-number ]
undo primary authorization
View HWTACACS scheme view
Parameter ip-address: IP address of the server, a valid unicast address in dotted decimal
notation. The default is 0.0.0.0.
port-number: Port number of the server. It ranges from 1 to 65535 and defaults to
49.
Description Use the
primary authorization command to specify the primary HWTACACS
authorization server.
Use the
undo primary authorization command to remove the configuration.
Note that:
■ The IP addresses of the primary and secondary authorization servers cannot be
the same. Otherwise, the configuration fails.
■ The HWTACACS service port configured on the device and that of the
HWTACACS server must be consistent.
■ If you configure the command for more than one time, the last configuration
takes effect.
■ You can remove an authorization server only when no active TCP connection
for sending authorization packets is using it.
Related command: display hwtacacs.
Example # Configure the primary authorization server.
<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 }
View User view
Parameter accounting: Clears HWTACACS accounting statistics.
all: Clears all HWTACACS statistics.