Set up local user accounts with different privilege levels and secure password policies for switch management access.
Step 1: Configure the enable password Set the privileged EXEC mode password that grants administrative access to the switch.
|
|
Step 2: Create local user accounts Create user accounts with different privilege levels - level 15 for full admin access, level 1 for basic monitoring.
|
|
Step 3: Configure console line security Secure the console port to require local authentication and set session timeout.
|
|
Step 4: Configure VTY lines for remote access Set up Telnet/SSH access with local authentication and connection limits.
|
|
Step 5: Set password policies (optional) Configure minimum password length and complexity requirements.
|
|
Step 6: Verify the configuration
|
|
Key Points:
- Use
secretinstead ofpasswordfor stronger encryption - Privilege level 15 = full admin, level 1 = basic user access
service password-encryptionencrypts all plaintext passwords in config- Always test new accounts before logging out of current session