Adding or Deleting a Custom Password Using the CLI
Use the CLI commands in this topic to add a password to a custom password blacklist or to delete a password from a custom password blacklist. You can add up to 500 custom password entries to the appliance database.
![]() |
NOTE: The password "Infected" is automatically added to a password blacklist on the appliance database. |
To add passwords to a custom password blacklist:
-
Go to CLI configuration mode.
hostname > enable hostname # configure terminal
- Specify the password to add to a custom password blacklist.
- Verify that the specified password is added to a custom password blacklist.
-
Save your changes.
hostname (config) # write memory
hostname (config) # analysis custom password add <password>
hostname (config) # show analysis custom password
Examples
This example adds the password "password123" to a custom password blacklist:
hostname (config) # analysis custom password add password123
hostname (config) # show analysis custom password
Infected
password123 ------------------------------------- Total number of custom passwords = 2
To delete passwords from a custom password blacklist:
- Go to CLI configuration mode.
hostname > enable hostname # configure terminal
- Specify the password to delete from a custom password blacklist.
- Verify the status of the custom password configuration.
- Save your changes.
hostname (config) # write memory
hostname (config) # analysis custom password delete <password>
hostname (config) # show analysis custom password
Examples
This example deletes the password "password123" from a custom password blacklist:
hostname (config) # analysis custom password delete password123
hostname (config) # show analysis custom password
Infected
-------------------------------------
Total number of custom passwords = 1