Ch34-Device Security Features Flashcards

1
Q

Command reference:

Changes the context to console configuration mode

A

line console 0

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Command reference:

Changes the context to vty configuration mode for the range of vty lines listed in the command

A

line vty <i>first-vty - last-vty</i>

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Command reference:

Console and line configuration mode. Tells IOS to prompt for a password

A

login

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Command reference:

Console and line configuration mode. Lists the password required if the <b>login</b> command is configured

A

password <i>pass-value</i>

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Command reference:

Console and line configuration mode. Tells IOS to prompt for a username and password, to be checked against locally-configured <b>username</b> global configuration commands

A

login local

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Command reference:

Global command. Defines one of possibly multiple usernames and associated passwords (stored as a hashed value)

A

username <i>user</i> secret <i>password</i>

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Command reference:

Global command. Defines one of possibly multiple usernames and associated passwords (stored in clear text in the configuration)

A

username <i>user</i> password <i>password</i>

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Command reference:

Global command. Creates and stores the keys required by SSH

A

crypto key generate rsa

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Command reference:

VTY configuration mode. Defines whether Telnet and/or SSH access is allowed into the device

A

transport input [telnet | ssh | none | all]

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Command reference:

Global command. Encrypts all clear-text passwords in the running config. The <b>no</b> version of this commands disables the encryption of passwords the next time said password is set

A

[no] service password-encryption

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Command reference:

Global command to create the enable password, stored as a hashed value instead of clear text

A

enable secret <i>password</i>

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Command reference:

Global command to create the enable password, as clear text

A

enable password <i>password</i>

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Global command to create the enable password, stored as a hashed value, defined by the hashing algorithm type

A

enable [algorithm-type md5 | sha256 | scrypt] secret <i>password</i>

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Which passwords are encrypted via <b>service password-encryption</b>?

A

enable password
username user password pass-value
console/vty line passwords

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

When a password is encrypted via <b>service password-encryption</b>, what is its encryption type noted as?

A

Type 7

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

Both <b>enable secret</b> and <b>enable password</b> have been configured on a device. Which will be used?

A

enable secret

17
Q

Neither <b>enable secret</b> or <b>enable password</b> were configured on a device. Describe what happens when a user attempts to access enable mode

A
  1. Console users will go directly to enable mode

2. Line (Telnet/SSH) users will be rejected from trying to access enable mode

18
Q

List the banner display order for console and Telnet users

A

MOTD
login
—user login—
exec

19
Q

List the banner display order for SSH users

A

login
—user login—
MOTD
exec

20
Q

A router is configured with SSH version 1. A user attempts to sign in via SSH. What banners will be displayed?

A

MOTD & exec (login not displayed if SSH v1)