1-73
Parameters
ip-address: IP address of the primary authorization server to be used, a valid unicast address in dotted
decimal notation.
port: Port number of the primary authorization server, ranging from 1 to 65535.
Description
Use the primary authorization command to set the IP address and port number of the primary
HWTACACS authorization server to be used by the current scheme.
Use the undo primary authorization command to restore the default IP address and port number of
the primary authorization server, which are 0.0.0.0 and 49 respectively.
Note that:
z You are not allowed to set the same IP address for both primary and secondary authorization
servers. If you do this, your setting will fail.
z If you re-execute the command, the new setting will overwrite the old one.
z You can remove an authorization server setting only when there is no active TCP connection that is
sending authorization messages to the server.
Related commands: display hwtacacs.
Examples
# Set the IP address and UDP port number of the primary authorization server for HWTACACS scheme
hwt1 to 10.163.155.13 and 49 respectively.
<Sysname> system-view
System View: return to User View with Ctrl+Z.
[Sysname] hwtacacs scheme hwt1
[Sysname-hwtacacs-hwt1] primary authorization 10.163.155.13 49
reset hwtacacs statistics
Syntax
reset hwtacacs statistics { accounting | authentication | authorization | all }
View
User view
Parameters
accounting: Clears HWTACACS accounting statistics.
authentication: Clears HWTACACS authentication statistics.
authorization: Clears HWTACACS authorization statistics.
all: Clears all HWTACACS statistics.
Description
Use the reset hwtacacs statistics command to clear HWTACACS statistics.
Related commands: display hwtacacs.