38
2.
The source IP address specified in system view for the VPN or public network, depending on
where the HWTACACS server resides.
3.
The IP address of the outbound interface specified by the route.
To specify a source IP address for all HWTACACS schemes of a VPN or the public network:
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Specify a source IP address
for outgoing HWTACACS
packets.
hwtacacs nas-ip
{
ipv4-address
|
ipv6
ipv6-address
}
[
vpn-instance
vpn-instance-name
]
By default, the IP address of the
HWTACACS packet outbound
interface is used as the source IP
address.
To specify a source IP address 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 the source IP
address of outgoing
HWTACACS packets.
nas-ip
{
ipv4-address
|
ipv6
ipv6-address
}
By default, the source IP address
specified by the
hwtacacs nas-ip
command in system view is used.
If the source IP address is not
specified, the IP address of the
outbound interface is used.
Setting HWTACACS timers
The device uses the following timers to control communication with an HWTACACS server:
•
Server response timeout timer
(
response-timeout
)—Defines the HWTACACS server
response timeout timer. The device starts this timer immediately after an HWTACACS
authentication, authorization, or accounting request is sent. If the device does not receive a
response from the server within the timer, it sets the server to blocked. Then, the device sends
the request to another HWTACACS server.
•
Realtime accounting timer
(
realtime-accounting
)—Defines the interval at which the device
sends realtime accounting packets to the HWTACACS accounting server for online users.
•
Server
quiet
timer
(
quiet
)—Defines the duration to keep an unreachable server in blocked
state. If a server is not reachable, the device changes the server status to blocked, starts this
timer for the server, and tries to communicate with another server in active state. After the
server quiet timer expires, the device changes the status of the server back to active.
The server quiet timer setting affects the status of HWTACACS servers. If the scheme includes one
primary HWTACACS server and multiple secondary HWTACACS servers, the device communicates
with the HWTACACS servers based on the following rules:
•
When the primary server is in active state, the device communicates with the primary server.
•
If the primary server fails, the device performs the following operations:
{
Changes the server status to blocked.
{
Starts a quiet timer for the server.
{
Tries to communicate with a secondary server in active state that has the highest priority.
•
If the secondary server is unreachable, the device performs the following operations:
{
Changes the server status to blocked.
{
Starts a quiet timer for the server.