Intro to the CLI

For you to get to global configuration mode you first have to use privileged mode

If you enable secret

the enable password will be disregarded

the Router(config) # run should be Router(config) # do

It should be 'Router# show running-config' and 'Router# show startup-config', etc. They should be entered in privileged exec mode, NOT global config mode.

LABBBBBBBBBB

First task

Changing the hostname from router to R1

# You have to enable first the privileged mode
enable

# Then just use this command to view the global configuration mode
configure terminal

# Then just change the hostname
hostname R1

Second task

enable password CCNA

Third task

exit 
exit
enable

Fourth task

enable 

show running-config
or
sh run

Fifth task

enable

configure terminal

service password-encryption

Sixth task

You can only view the running configuration in privliged mode but not in global configuration mode

But you can just use the do command

do show running-config

or

do sh run

Seventh task

enable

configure terminal

enable secret cisco

Step 9

Step 10

Saving the current configuration from running config to startup config

write

or

write memory

or

copy running-config startup-config

Then we just have to view the startup config

Last updated