![H3C SR8800-F Скачать руководство пользователя страница 63](http://html2.mh-extra.com/html/h3c/sr8800-f/sr8800-f_configuration-manual_4025863063.webp)
47
Before sending an HWTACACS packet, the NAS selects a source IP address in the following order:
1.
The source IP address specified for the HWTACACS scheme.
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.
Specifying a source IP address for all HWTACACS schemes
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 primary IP address
of the HWTACACS packet
outbound interface is used as the
source IP address.
Specifying 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 using the
hwtacacs
nas-ip
command in system view
is used. If the source IP address is
not specified, the primary IP
address of the outbound interface
is used.
Setting HWTACACS timers
About HWTACACS timers and server status
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.
•
Real-time
accounting
timer
(
realtime-accounting
)—Defines the interval at which the device
sends real-time 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.