Wednesday, May 29, 2019

Configure Password Settings on a Switch

Configure Password Settings on a Switch


The first time that you log in to your switch through the console, you have to use the default username and password which is: cisco/cisco. You are then prompted to enter and configure a new password for the cisco account. Password complexity is enabled by default. If the password that you choose is not complex enough, you are prompted to create another password.


Look Behind For Configuration of Password.

Follow these simple steps in your packet tracer for configuration of different types of password.


SETTING PASSWORDS


1. To set console password

Router>enable
Router# config t
Router (config) # line console 0
Router (config-line) # login
Router (config-line) # password <pw>
Router (config-line) # Ctrl Z
Router# wr – to save the settings

2. To set privilege password

Router>enable
Router# config t
Router (config) # enable secret <pw>
Router (config) # Ctrl Z
Router# wr

3. To set telnet password

Router>enable
Router# config t
Router (config) # line vty 0 4
Router (config-line) # login
Router (config-line) # password <pw>
Router (config-line) # Ctrl Z
Router# wr

4. To set auxiliary password

Router>enable
Router# config t
Router (config) # line aux 0
Router (config-line) # login
Router (config-line) # password <pw>
Router (config-line) # Ctrl Z
Router# wr 

5. Encrypting password

Router>enable
Router# config t
Router (config) # service password-encryption
Router (config) # Ctrl Z
Router# wr


No comments:

Post a Comment