5.0 Security Fundamentals
5.3 Configuring device access control using local passwords on a cisco ios device
1. Enable the local username database on the device by using the following command:
username <username> password <password>
2. Configure a privilege level for each user by using the following command:
privilege <level> username <username>
3. Enable password authentication on the device by using the following command:
login local
4. Set the password encryption method by using the following command:
service password-encryption
5. Configure a minimum password length by using the following command:
rCopy code security passwords min-length <length>
6. Enable login banners to display a warning message when a user logs into the device by using the following command:
banner login <message>
7. Verify the configuration by using the following command:
show running-config | include username
This is a general guide to configure device access control using local passwords on a Cisco IOS device.