Skip to content

Latest commit

 

History

History
84 lines (67 loc) · 3.05 KB

02-Local_Auth.md

File metadata and controls

84 lines (67 loc) · 3.05 KB

Configure a Common Criteria Policy and Local Users

Your Active Directory enforces password compliance. Your IOS XE box can too!

IOS XE supports Common Criteria Policies that allow Network Engineers to configure options such as minimum and maximum password lengths, max number of times a character can be consecutively repeated, and force use of upper, lower, numeric, and special characters.

In this task, we will view and run a playbook that will create a Common Criteria Policy and a local user with a compliant password.

Create a Common Criteria Policy Based on Business Requirements

  1. View the Playbook that will Create the Common Criteria Policy

  2. cat playbooks/02a-add-common-criteria-policy.yaml




  3. Run the Playbook that will Create the Common Criteria Policy

  4. ansible-playbook -i inventories/devnet-switches.yaml playbooks/02a-add-common-criteria-policy.yaml --ask-vault-pass




  5. View the Common Criterial Policy on the Switch

  6. show runn | sec aaa common-criteria




    Create a Local User, with Priv 15, whose password complies with Common Criteria

  7. View the Playbook that will Create the IOS XE Local User

  8. cat playbooks/02b-add-common-criteria-users.yaml




  9. Run the Playbook that will Create the IOS XE Local User

  10. ansible-playbook -i inventories/devnet-switches.yaml playbooks/02b-add-common-criteria-users.yaml --ask-vault-pass




  11. View the Local User
  12. Notice how some users need to have the Common Criteria applied and that the one we just created does have it applied.
    show runn | inc username




  13. View the Playbook that will Configure Login Block

  14. cat playbooks/02c-config-login-block.yaml




  15. Run the Playbook that will Configure Login Block

  16. ansible-playbook -i inventories/devnet-switches.yaml playbooks/02c-config-login-block.yaml --ask-vault-pass




  17. View the Login Block Configuration

  18. sh runn | inc login block

    sh runn | inc login on




Click here to move on to the next section. Configuring Type 6 Password Encryption.