Configuring the reuse rule

Use the following procedure to configure the password reuse rule. The default password reuse rule is 3.

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 password reuse rule option:

    password password-history <3–32>

  3. Optional: Configure the password reuse rule to the default:

    default password password-history

  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 reuse rule to 30:

Switch:1>enable
Switch:1#configure terminal
Switch:1(config)#password password-history 30
Switch:1(config)#save config

Variable definitions

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

Variable

Value

<3–32>

Configures the minimum number of previous passwords to remember. The default is 3.