Table of Contents
Set the minimum number of characters in the password
If your password is too short, there is a risk that your password can be easily cracked. Deciding on a minimum number of characters when setting a password reduces the risk of a password being cracked if it is too short.
Use the “security password min-length” command in global configuration mode to set the minimum number of characters in the password on Cisco devices.
(config)#security passwords min-length < length >
< length > : Minimum number of characters in a password
This command allows you to determine the minimum number of characters for the following passwords
- Privilege EXEC password
- Line password(con/aux/vty)
- Local user database password
Sample “security passwords min-length” command
Here is a sample of how to set the minimum number of characters for a password. Set the minimum number of characters; if the number of characters is less than 8, an error will be displayed when setting the password.
R1#configure terminal Enter configuration commands, one per line. End with CNTL/Z. R1(config)#security passwords min-length 8 R1(config)#enable secret 1234567 % Password too short - must be at least 8 characters. Password configuration failed
Cisco Basic
- Preparing for Cisco devices configuration
- Configuration files for Cisco devices
- The configuration steps for Cisco devices
- Basic knowledge of the Cisco CLI: Command types and modes
- Cisco device’s interface
- CLI help and completion
- The main error messages in CLI
- Cisco Deleting a configuration command
- default interface command -Initialize the interface settings-
- Entering commands in batches
- do command – Execute EXEC command from configuration mode –
- interface range command -Batch configuration of multiple interfaces-
- Filtering the display of the show command – displaying only the information you want to see –
- Cisco IOS Name Resolution Configuration
- terminal length command : configuration of the number of lines displayed in the command output
- debug command to verify real-time operation
- Automatically enter privileged EXEC mode upon CLI login
- Configure System Clock
- Saving and managing configuration files
- Version Management of Configuration Files ~archive command
- IOS File System Operations
- Managing Cisco Catalyst Switches :What it means to set an IP address on a switch.
- Remote management by VTY access (Telnet/SSH)
- terminal monitor command to display the log of Telnet/SSH login destination
- Multi-step Telnet Session Suspensions
- Set the minimum number of characters in the password [Cisco]
- Restrict login attempts : login block-for command
- Cisco Initial Configuration Example
- CDP – What are the connected devices? –
- Password recovery for Cisco routers
- Password Recovery for Catalyst Switches