36
•
An HWTACACS server can function as the primary authorization server of one scheme and as the
secondary authorization server of another scheme at the same time.
•
The IP addresses of the primary and secondary authorization servers cannot be the same.
Otherwise, the configuration fails.
•
You can remove an authorization server only when no active TCP connection for sending
authorization packets is using it.
To specify HWTACACS authorization servers for an HWTACACS scheme:
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enter HWTACACS
scheme view.
hwtacacs scheme
hwtacacs-scheme-name
N/A
3.
Specify HWTACACS
authorization servers.
•
Specify the primary HWTACACS
authorization server:
primary authorization
ip-address
[
port-number
|
key
[
cipher
|
simple
]
key
|
vpn-instance
vpn-instance-name
] *
•
Specify the secondary HWTACACS
authorization server:
secondary authorization
ip-address
[
port-number
|
key
[
cipher
|
simple
]
key
|
vpn-instance
vpn-instance-name
] *
Configure at least one command.
No authorization server is
specified by default.
The
key
[
cipher
|
simple
]
key
option is available in Release
5206 and later versions.
Specifying the HWTACACS accounting servers and the relevant parameters
For versions earlier than Release 5206, you can specify one primary accounting server and one
secondary accounting server for an HWTACACS scheme. When the primary server is not available, the
secondary server is used.
For Release 5206 and later versions, you can specify one primary accounting server and up to 16
secondary accounting servers for an HWTACACS scheme. When the primary server is not available, the
device tries to communicate with the secondary servers in the order they are configured. Once a
secondary server in
active
state is found, the device immediately uses it for HWTACACS accounting.
If redundancy is not required, specify only the primary server
When the switch receives a connection teardown request from a host or a connection teardown
command from an administrator, it sends a stop-accounting request to the accounting server. You can
enable buffering of non-responded stop-accounting requests to allow the switch to buffer and resend a
stop-accounting request until it receives a response or the number of stop-accounting attempts reaches
the configured limit. In the latter case, the switch discards the packet.
Follow these guidelines when you specify HWTACACS accounting servers:
•
An HWTACACS server can function as the primary accounting server of one scheme and as the
secondary accounting server of another scheme at the same time.
•
The IP addresses of the primary and secondary accounting servers cannot be the same. Otherwise,
the configuration fails.
•
You can remove an accounting server only when no active TCP connection for sending accounting
packets is using it.