Hi Dear,
Configuring the TACACS+ Service
In the user view, run the system-view command to enter the system view.
Run the tacacs state enable command in the system view to enable TACACS.
Run the tacacs server type ip port role command in the system view to add a TACACS server.
Run the tacacs response timeout timevalue command in the system view to set the response timeout period of the TACACS server.
Run the tacacs quiet time timevalue command in the system view to set the wait-to-restore (WTR) time of the TACACS server.
Run the tacacs sharedkey key command in the system view to set the TACACS shared key.
To get more details about each command, check the following link:
https://support.huawei.com/hedex/hdx.do?docid=EDOC1100143606&id=EN-US_TASK_0241243557&lang=en
I hope it helpful!