The authorization-cmd no-response-policy command configures a policy used when the command line-based authorization fails.
The undo authorization-cmd no-response-policy command restores the default setting.
By default, the policy is used to keep the administrator online though the authorization fails.
authorization-cmd no-response-policy { online | offline [ max-times max-times-value ] }
undo authorization-cmd no-response-policy
| Parameter | Description | Value |
|---|---|---|
| online | Indicates that the administrator is online when the command line-based authorization fails. | - |
| offline | Indicates that the administrator is offline when the command line-based authorization fails. | - |
| max-times max-times-value | Specifies the number of times of failed command line-based authorization. | The value is an integer that ranges from 1 to 10. The default value is 5. |
This command is used only when the authorization fails because the HWTACACS server fails or the local administrator is not configured. The following cases cannot enable the policy:
When the HWTACACS server works normally, the input command fails to pass the authorization.
When the HWTACACS server fails, the command-line based authorization mode is changed to the local authorization mode. The authorization remains failed because the input command level is higher than that configured on the local end.