Got it

HWTACACS failed to set the response-timeout with 60 seconds

Latest reply: Sep 26, 2021 05:09:19 365 1 2 0 1

Hi, everyone! Today I’m going to introduce how to deal with HWTACACS failed to set the response-timeout with 60 seconds.

[Issue]

 

we have authentication and authorization with HWTACACS  ….. we want that if  HWTACACS server not reachable for 60 seconds the device should allow local authentication.

In order to do that we wanted to configure the hwtacacs-server timer response-timeout with 60 seconds .

<Huawei> system-view

[Huawei] hwtacacs-server template test1

[Huawei-hwtacacs-test1] hwtacacs-server timer response-timeout 60

 

But if waiting for HWTACACS server for 60 seconds then after that local authentication is failing . If we reduce the HWTACACS response timeout to 10 seconds it is working fine.


[Analysis]

 

The default for response-timeout  is 5 seconds :

1

Usage Scenario

After the device sends a request packet to the HWTACACS server, if the device does not receive any response packet from the server within the specified response timeout interval:

·       If only one HWTACACS server is configured, the device does not retransmit the request to this server.

·       If both active/standby HWTACACS servers are available and the TCP link between them works normally, the device retransmits the request to the standby server after timeout. If the TCP link is broken during the timeout interval, the device immediately retransmits the request to the standby server.

This improves reliability of HWTACACS authentication, authorization, and accounting.


After confirmation ,  since authentication and authorization configured So when if we configure the hwtacacs-server timer response-timeout 60 it means that authentication response-timeout 60 seconds and authorization response-timeout 60 seconds which is totally 120 seconds and this will exceed AAA timer which is 110 seconds .

The  AAA process end at 110 seconds which is in SW code and can’t be changed .


[Root cause]

 

When configure the hwtacacs-server timer response-timeout 60 with authentication and authorization configured, it means that authentication response-timeout 60 seconds, authorization response-timeout 60seconds which is totally 120 seconds and this will exceed AAA timer 110 seconds and process will fail.

 

[Solution]

 

If we want 60 seconds timeout for all HWTACACS  process ( include authentication and authorization), we suggest to set the response-timeout to 30 seconds .

<Huawei> system-view

[Huawei] hwtacacs-server template test1

[Huawei-hwtacacs-test1] hwtacacs-server timer response-timeout 30


Glad to help you! Any further questions, let us know.


Excellent
View more
  • x
  • convention:

Comment

You need to log in to comment to the post Login | Register
Comment

Notice: To protect the legitimate rights and interests of you, the community, and third parties, do not release content that may bring legal risks to all parties, including but are not limited to the following:
  • Politically sensitive content
  • Content concerning pornography, gambling, and drug abuse
  • Content that may disclose or infringe upon others ' commercial secrets, intellectual properties, including trade marks, copyrights, and patents, and personal privacy
Do not share your account and password with others. All operations performed using your account will be regarded as your own actions and all consequences arising therefrom will be borne by you. For details, see " User Agreement."

My Followers

Login and enjoy all the member benefits

Login

Block
Are you sure to block this user?
Users on your blacklist cannot comment on your post,cannot mention you, cannot send you private messages.
Reminder
Please bind your phone number to obtain invitation bonus.