The authorization-cmd no-response-policy command configures a policy used when the command line-based authorization mode.
The undo authorization-cmd no-response-policy command restores the default setting.
By default, the policy is used to keep the user online though the authorization fails.
Parameter | Description | Value |
---|---|---|
offline |
Indicates that the user is offline when the authorization fails. |
- |
max-times max-times-value |
Specifies the number of times of failed authorization. |
The number should be an integer within 1 to 10. The default value of times of failed authorization is 5. |
online |
Indicates that the user is online when the authorization fails. |
- |
This command is used only when the authorization fails because the TACACS server fails or the local user is not configured. The following cases cannot trigger using the policy: