Configure the Change Interval Rule

About this task

Use the following procedure to configure the change interval rule. The system enforces a minimum password change interval, which defines the minimum amount of time before you can change to a new password. By default, the minimum change interval is 24 hours between changing from one password to a new password.

Before you begin

  • You must enable enhanced secure mode in either the JITC or non-JITC sub-modes. As a best practice, use the non-JITC sub-mode because the JITC sub-mode is more restrictive and prevents the use of some troubleshooting utilities.

Procedure

  1. Enter Global Configuration mode:

    enable

    configure terminal

  2. Configure the change interval rule option:

    password change-interval <1–999 hours>

  3. Optional: Configures the change interval rule to the default:

    default password change-interval

  4. Save the configuration:

    save config

    Note

    Note

    The save config command saves the configuration file with the filename configured as the primary configuration filename in boot config. Use the command show boot config choice to view the current primary and backup configuration filenames.

Example

Configure the change interval rule to 72 hours:

Switch:1>enable
Switch:1#configure terminal
Switch:1(config)#password change-interval 72
Switch:1(config)#save config

Variable definitions

Use the data in the following table to use the password change-interval command.

Variable

Value

<1–999>

Configures the minimum interval between consecutive password changes. The default is 24 hours.