Services Flashcards

1
Q

What is the purpose of the VTY lines in a Cisco device?

A

They allow remote access to the device using Telnet or SSH.

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

What command configures the password for VTY lines?

A

line vty 0 4
password [your_password]

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

What command enables login on VTY lines?

A

line vty 0 4
login

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

What is the console port used for?

A

It is used for local device access via a physical cable.

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

What command sets the console password?

A

line console 0
password [your_password]

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

What is the use of the ‘login’ command under console or VTY lines?

A

It tells the device to prompt for a password when accessing the line.

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

What is the purpose of the ‘exec-timeout’ command?

A

It sets the inactivity timeout for user sessions.

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

What is NTP?

A

Network Time Protocol; it synchronizes the time on network devices.

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

What command sets an NTP server on a Cisco device?

A

ntp server [ip-address]

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

What does ‘ntp update-calendar’ do?

A

It updates the hardware clock with NTP-synchronized time.

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

How do you verify NTP synchronization?

A

show ntp status

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

What is SSH used for in networking?

A

It provides secure remote access to network devices.

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

What command enables SSH on a Cisco device?

A

ip domain-name [name]
crypto key generate rsa
username [name] password [pass]
line vty 0 4
login local
transport input ssh

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

What does ‘transport input ssh’ do?

A

It restricts remote access to SSH only on VTY lines.

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

What is the default number of VTY lines?

A

5 (numbered 0 through 4)

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

How do you view current VTY sessions?

A

show users

17
Q

What does the ‘logging synchronous’ command do?

A

It prevents system messages from disrupting command input.

18
Q

What is the AUX port used for?

A

Remote dial-in access using a modem.

19
Q

What command allows both SSH and Telnet on VTY lines?

A

transport input telnet ssh

20
Q

How do you disable CDP globally?

A

no cdp run

21
Q

How do you disable CDP on a specific interface?

A

interface [type] [number]
no cdp enable

22
Q

What is the purpose of the ‘service password-encryption’ command?

A

It encrypts passwords in the configuration file.

23
Q

How do you enable domain lookup?

A

ip domain-lookup

24
Q

How do you disable domain lookup?

A

no ip domain-lookup

25
What is the function of the hostname command?
Sets the device's name used in CLI prompts and network identification.