CCNA - Console Configuration

Download as pdf or txt
Download as pdf or txt
You are on page 1of 2

CCNA – Console Configuration

Video Link:
https://www.youtube.com/watch?v=qLqW1uUYBE0&list=PLsfs9DojDVqPPaTSDtY3OVtA
B-TTwqf_z&index=3

Lab02 Topology

Securing Device Access


Step 1: Console into the switch.
1- Establish a console connection to the switch0 from Lap0 (Select Console Cable from
connections in Cisco Packet Tracer).

Step 2: Enter privileged EXEC mode.


You can access all switch commands in privileged EXEC mode.
Enter privileged EXEC mode by entering the enable command.

1. Switch> enable
2. Switch#
The prompt changed from Switch> to Switch# which indicates privileged EXEC mode.

Step 3: Enter configuration mode.


Use the configuration terminal command to enter configuration mode.
1. Switch# configure terminal
2. Switch(config)#
The prompt changed to reflect global configuration mode.

Step 4: Set a password on the privileged EXEC mode of the switch


Limits access to the privileged EXEC mode of the Switch.
1. Switch(config)# enable password cisco1
Encrypted, limits access to the privileged EXEC mode of the Switch
1. Switch(config)# enable secret cisco2
2. Switch(config)# exit
3. Switch # show running-config
Enable secret overrides enable password command

Step 5: Set password on Console line of the Switch.


Limits device access using the console connection
1. Switch# configure terminal
2. Switch(config)# line console 0
3. Switch(config-line)# password cisco3

Prepared by: Eng. Ahmed Tawfik


CCNA – Console Configuration
4. Switch(config-line)# login
5. Switch(config-line)# exit
6. Switch(config)#

Step 6: Encrypting Password Display

1. Switch(config)# service password-encryption


2. Switch(config)# exit
3. Switch # show running-config

Step 7: Show Banner Messages

1. Switch# configure terminal


2. Switch(config)# banner motd #Authorized Access Only!!#

Step 8: Remove startup configurations


1. Switch # show startup-config
2. Switch # erase startup-config
3. Switch # show startup-config

Step 9: Save running configuration


1. Switch # copy running-config startup-config.

Prepared by: Eng. Ahmed Tawfik

You might also like