Services Flashcards
What is the purpose of the VTY lines in a Cisco device?
They allow remote access to the device using Telnet or SSH.
What command configures the password for VTY lines?
line vty 0 4
password [your_password]
What command enables login on VTY lines?
line vty 0 4
login
What is the console port used for?
It is used for local device access via a physical cable.
What command sets the console password?
line console 0
password [your_password]
What is the use of the ‘login’ command under console or VTY lines?
It tells the device to prompt for a password when accessing the line.
What is the purpose of the ‘exec-timeout’ command?
It sets the inactivity timeout for user sessions.
What is NTP?
Network Time Protocol; it synchronizes the time on network devices.
What command sets an NTP server on a Cisco device?
ntp server [ip-address]
What does ‘ntp update-calendar’ do?
It updates the hardware clock with NTP-synchronized time.
How do you verify NTP synchronization?
show ntp status
What is SSH used for in networking?
It provides secure remote access to network devices.
What command enables SSH on a Cisco device?
ip domain-name [name]
crypto key generate rsa
username [name] password [pass]
line vty 0 4
login local
transport input ssh
What does ‘transport input ssh’ do?
It restricts remote access to SSH only on VTY lines.
What is the default number of VTY lines?
5 (numbered 0 through 4)
How do you view current VTY sessions?
show users
What does the ‘logging synchronous’ command do?
It prevents system messages from disrupting command input.
What is the AUX port used for?
Remote dial-in access using a modem.
What command allows both SSH and Telnet on VTY lines?
transport input telnet ssh
How do you disable CDP globally?
no cdp run
How do you disable CDP on a specific interface?
interface [type] [number]
no cdp enable
What is the purpose of the ‘service password-encryption’ command?
It encrypts passwords in the configuration file.
How do you enable domain lookup?
ip domain-lookup
How do you disable domain lookup?
no ip domain-lookup