After configuring the authentication servers, you can view the configuration, clear the statistics, and debug the authentication server module.
Run commands listed in Table 1 in any view to display the configuration of authentication servers.
Operation |
Command |
|---|---|
Display the configuration of the RADIUS server template. |
display radius-server configuration [ template-name ] |
Display the supported RADIUS attributes. |
display radius-attribute [ name attribute-name | type { attribute-number1 | huawei attribute-number2 | microsoft attribute-number3 } ] |
Display the attributes that must be checked in the packets of successful RADIUS authentication. |
display radius-attribute [ template template-name ] check |
Display disabled RADIUS attributes. |
display radius-attribute [ template template-name ] disable |
Display the configuration information about RADIUS attribute translation. |
display radius-attribute [ template template-name ] translate |
Display accounting end packet information of the RADIUS server. |
display radius-server accounting-stop-packet { all | ip { ip-address | ipv6-address } | template template-name } |
Display the configuration of the HWTACACS server template. |
display hwtacacs-server template [ template-name [ verbose ] ] |
Display accounting end packet information of the HWTACACS server. |
display hwtacacs-server accounting-stop-packet { all | number | ip ip-address } |
Display the configuration of the AD server template. |
display ad-server template [ template-name ] |
Display the configuration of the LDAP server template. |
display ldap-server template [ template-name ] |
Display the configuration of the Agile Controller server template. |
display tsm-server template [ template-name ] |
Run commands listed in Table 2 in the user view to clear statistics on authentication servers.
Operation |
Command |
|---|---|
Clear accounting stop packet statistics in RADIUS accounting. |
reset radius-server accounting-stop-packet { all | ip { ip-address | ipv6-address } } |
Clear statistics on the HWTACACS server template. |
reset hwtacacs-server statistics { all | accounting | authentication | authorization } |
Clear statistics on the remaining buffer information of HWTACACS accounting-stop packets. |
reset hwtacacs-server accounting-stop-packet { all | ip ip-address } |
Run commands listed in Table 3 in the user view to debug the authentication server module.
To debug in the virtual system, run terminal monitor and terminal debugging in the user view of the public system and then the corresponding debugging command in the virtual system. The public system will display the debugging information.
Operation |
Command |
|---|---|
Debug the RADIUS server. |
debugging radius { all | error | event | message | info | packet [ send | reveive ] [ detail ] } |
Debug the HWTACACS server. |
debugging hwtacacs { all | error | event | message | info | packet [ send | reveive ] [ detail ] } |
Debug the AD server. |
debugging ad { all | error | event | message | info | packet [ send | reveive ] [ detail ] } |
Debug the LDAP server. |
debugging ldap { all | error | event | message | info | packet [ send | reveive ] [ detail ] } |
Debug the Agile Controller server. |
debugging tsm { all | error | event | message | info | packet [ send | reveive ] [ detail ] } |