IOS Security Flashcards

(14 cards)

1
Q

What file stores vlan information and where is it stored?

A

vlan.dat and it is stored on flash

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

How do you clear the device configuration?

A
delete startup-configuration
or
write erase (wr e)

Delete vlan.dat on a switch

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

which banner is recommended for displaying legal information to users that are trying to access the system?

A

banner motd

messages of the day

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

Which is more secure, TELNET or SSH ? Why?

A

SSH. TELNET is sent in clear text and can be seen with a packet sniffer like Wireshark. SSH employs public key cryptography for the encryption.

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

What do you need in order to enable SSH?

A
  1. set an ip domain name to associate to RSA encryption keys
  2. generate an RSA encryption keys using fqdn
  3. create local account and local database
  4. enable SSH on VTY lines
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What command creates RSA encryption keys?

A

crypto key generate rsa

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

What is the default encryption strength? What is recommended?

A

512 is the default. 1024 is recommended

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

Which port does SSH use?

A

SSH uses a well-known TCP port 22.

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

Which global configuration command is used to encrypt all passwords in device configuration file?

A

service password-encryption

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

Where do you assign the IP address on a switch for telnet or SSH?

A

VLAN1

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

What does VTY stand for?

A

Virtual TeletYpe

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

Which port does TELNET use?

A

23

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

Which is more secure “enable secret 5” or “enable password 7”

A

enable secure 5

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

How do secure privileged EXEC mode?

A

enable secret securePassword
This encrypt the password in password-5, which is more secure then password-7.

enable password securePassword saves the password in clear text. enable secret trumps enable password.

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