Lab 3 1 Configuring Switches in Packet Tracer - SYSAD36/Tech-Journal---Cloud-Virtualization GitHub Wiki
- Setting enable password
The code for setting a password for privelidged mode is as follows:
- Enable Password password
This password on its own however can be seen in the show running config which is a no no. To fix this we want to encrypt it:
- enable secret password
This is not enough encryption. Now we want to encrypt all of the passwords with a hard to bvreak format:
- service password-encryption
- Setting a username for remote logins:
- Username username priviledge 15 password 0 password
- Enabling SSH access on a switch:
- crypto key generate rsa
- ip authentication-retries 3
- ssh time-out 120
- Configuring LINE and CONSOLE access
From config mode:
- line con 0
- password password
- login local
- exec-timeout 0 0
- logging synchronous
- show mac address-table