AAA, short for authentication, authorization, and accounting, provides the following types of security services:
Authentication: determines which users can access the network.
Authorization: authorizes users to access specific services.
Accounting: records network resource usage.
AAA is closely related to services and its configuration is flexible.
Depending on the location where user information (including the usernames, passwords, and attributes) is stored, AAA authentication is classified as either remote or local authentication.
An attacker may attempt to obtain system administrator login rights by traversing key information, such as usernames and passwords.
Account locking can be configured to defend against such common username and password attacks and cracking attempts. Specifically, set the maximum number of consecutive authentication failures allowed to prevent unauthorized user logins. After account locking is configured, a user is blocked for a period of time after a specified number of consecutive login failures. This helps reduce the attempt success ratio of attackers and enhance device security.
In addition, to enhance administrator account security, you are advised to select an irreversible encryption algorithm when configuring the administrator password and configure a service type for each user to prevent incorrect use of administrator and common user accounts.
Account Security
Password Security
None
system-view
aaa
lock-authentication enable lock-authentication timeout timeout lock-authentication failed-count count
By default, the function to lock accounts that fail remote AAA authentication is enabled.
manager-user password-modify enable manager-user password valid-days days
By default, the function to lock accounts that fail remote AAA authentication is enabled.
bind manager-user manager-name role role-name
manager-user manager-name level level
Run the display aaa configuration command. Check the Remote-user block retry-interval, Remote-user block retry-time, and Remote-user block time fields in the command output to view the authentication retry interval, maximum number of consecutive authentication failures allowed, and account lockout duration for remote users, respectively. Check the Local-user block retry-interval, Local-user block retry-time, and Local-user block time fields in the command output to view the authentication retry interval, maximum number of consecutive authentication failures allowed, and account lockout duration for local users, respectively.