Volume 1 - Chapter 6: Configuring Basic Switch Management Flashcards

1
Q

What are the commands required to configure a console simple password of “faith”?

A

line console 0
login
password faith

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

What command is used to enable the use of a simple password (with no username) to the VTY or console sessions?

A

login

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

What command is used to enable the use of authentication with both a username and password for the VTY or console sessions?

A

login local

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

What is the command to generate a new SSH key with a modulus of 2048?

A

In Global configuration mode:

crypto key generate rsa modulus 2048

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

What are the 3 commands required to generate private and public keys for SSH?

A

hostname
ip domain name
crypto key generate rsa

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

What is the command to enable the secure web interface for a Cisco switch?

A

ip http secure-server

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

What is the command to disable the default non-secure web interface?

A

no ip http server

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

What is the command to enable local authentication to the web interface?

A

ip http authentication local

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

What is the command to set a DNS server for the switch to use for lookups?

A

ip name-server serverip

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

What is the command to enable the IP address to be set dynamically on a VLAN interface?

A

ip address dhcp

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

Describe the purpose of the command “show history”

A

To show the most recent commands entered on the switch

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

Describe the difference between the following commands:

“terminal history size x”

“history size x”

A

The terminal command sets the history size for the current session of the user, whereas the other command sets the history default size for all users

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

What is the command to enable the use of both telnet and SSH on the vty lines?

A

line vty 0 16
transport input all

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

What is the command to enable the use of only telnet on the VTY lines?

A

line vty 0 15
transport input telnet

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

A technician configures the following login settings on a switch:

username tony secret mypass
!
line vty 0 16
login
transport input all

However, the technician is not successful in establishing an SSH to this switch. Why?

A

The vty lines are specifying only a password being required (login).

To fix this, the techncian needs to replace login with login local

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

What is the command to disable both telnet and ssh access to a switch?

A

line vty 0 16
transport input none

17
Q

What is the command to enable only version 2 of SSH?

A

ip ssh version 2

18
Q

Enable access is equivilent to a user with a privilege of ____.

19
Q

What is the default console/VTY timeout?

A

5 minutes.

20
Q

What is the command to set a console timeout of 3 minutes and 15 seconds?

A

line con 0
exec-timeout 3 15

21
Q

What is the command to set an unlimited SSH/Telnet timeout?

A

line vty 0 15
exec-timeout 0 0

22
Q

What is the command to set a history size for the console of 15?

A

line con 0
history size 15