Cisco Command Notes

0.0(0)
Studied by 0 people
call kaiCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/26

encourage image

There's no tags or description

Looks like no tags are added yet.

27 Terms

1
New cards

What does the “enable” do?

It grants access to Privileged EXEC mode.

2
New cards

What configuration level is this? R1>

This is User EXEC mode, where basic commands can be executed but no configuration changes can be made.

3
New cards

What configuration level is this? R1#

This is Privileged EXEC mode, allowing access to more advanced commands and configuration options.

4
New cards

What configuration level is this? R1config#

This is Global Configuration mode, where you can make changes to the router's configuration.

5
New cards

What configuration level is this? R1config-int#

This is Interface Configuration mode, used to configure settings specific to a particular network interface on the router.

6
New cards

At what level is the enable command used at?

User EXEC mode

7
New cards

Whats the command to disable DNS lookup on a Cisco device?

“no ip domain-lookup”

8
New cards

At what level is the command to disable DNS lookup configured at?

Global configuration mode

9
New cards

What command is used to set the name of a Cisco device?

'hostname [router_name]'.

10
New cards

At what level is the name of a host configured at?

Global configuration mode

11
New cards

What’s the command to encrypt all plain-text passwords stored in configuration?

The command to encrypt all plain-text passwords is 'service password-encryption.'

12
New cards

At what level is the command to encrypt all plain-text passwords configured at?

Global configuration mode.

13
New cards

What’s the command to create a banner to prohibit unauthorized access?

Use the command 'banner motd #[your message]#'.

14
New cards

What command do you use to set a local user with a secret password?

'username [username] secret [password]'.

15
New cards

Why should you use the “Login” command after configuring a password on the console and VTY lines?

The "Login" command enables password checking on the console and VTY lines, ensuring that users must input their password to gain access.

16
New cards

How do you configure the console line for local login?

Use 'line console 0', followed by 'login local'.

17
New cards

When should the “login local” command be used?

Use login local when you want the device to authenticate users using the local username and password database (after creating a username with the username command).

18
New cards

Which login method is required for SSH access on a router?

login local — because SSH requires a username and password from the local user database.

19
New cards

What is the difference between login and login local?

Login uses the line password only.

Login local uses a username and password from the local user database.

20
New cards

What happens if you create a username but do NOT configure login local?

The username will not be used for authentication, and login will fail or fall back to line password (if configured).

21
New cards

What command configures SSH on a Cisco device to force version 2?

Use 'ip ssh version 2'.

22
New cards

How do you set an IPv4 address on an interface?

Use 'ip address [ip_address] [subnet_mask]'.

23
New cards

What is the command to enable a specific interface?

Use 'no shutdown'.

24
New cards

What’s the command to configure a default gateway on a switch?

Use 'ip default-gateway [gateway address]'.

25
New cards

What command shows a brief summary of the IP interfaces?

Use 'show ip interface brief'.

26
New cards

How do you test connectivity to an IP address?

Use the 'ping [IP address]' command.

27
New cards

What command is used to generate RSA keys for SSH?

Use 'crypto key generate rsa [key_size]'.