Setting Password Expiry Alert

Use the steps in this topic to configure the password expiry alerts.

Alerts for pending expiry of passwords for user accounts ensure that the admin user is kept informed about this important event. Alerts can be configured at four (4) different criticality levels for this event. This configuration is applicable to all user accounts configured on the device.

Four alert levels are available: Info, Minor, Major, and Critical.

  1. In Privileged EXEC Mode, execute the configure terminal command.
    device# configure terminal
    device (config)#
  2. Enter the password-attributes expiry-alert-level command with the required parameters.
    device (config)#password-attributes expiry-alert-level info 30 minor 20 major 10 critical 2
    device (config)# 
  3. Verify your configuration using the show running-config password-attributes command.
    device (config)# do show running-config password-attributes
    password-attributes min-length 9 
    password-attributes max-logins 2 
    password-attributes max-retry 2 
    password-attributes max-lockout-duration 1 
    password-attributes history 1 
    password-attributes repeat 2 
    password-attributes sequence 2 
    password-attributes force-default-password-change 
    password-attributes max-password-age 10 
    password-attributes character-restriction upper 1 
    password-attributes character-restriction lower 1
    password-attributes character-restriction numeric 1 
    password-attributes character-restriction special-char 1 
    password-attributes admin-lockout 
    password-attributes login-notify-duration 1 
    password-attributes expiry-alert-level info 30 minor 20 major 10 critical 2