Volume 2 - Chapter 13: Device Management Protocols Flashcards
What command is enabled by default on Cisco routers & switches that allows syslog messages to be displayed at the console automatically?
logging console
What command(s) are required to enable log messages to SSH/Telnet sessions?
logging monitor
terminal monitor
Describe the difference between the following commands:
* logging monitor
* terminal monitor
Logging Monitor: used to enable sending logs to all connected users
Terminal Monitor: used to display the logs at the terminal
What command enables log messages to be stored in RAM?
logging buffered
What command can be used to send syslogs to an external syslog server?
logging host address/hostname
What command can be used to disable the use of timestamps for log messages?
In global configuration mode:
no service timestamps
What command can be used to enable the use of sequence numbers for log messages?
service sequence-numbers
Describe the 8 log message serverity levels and their numbering
0 - Emergency
1 - Alert
2 - Critical
3 - Error
4 - Warning
5 - Notification
6 - Informational
7 - Debug
What command would be used to enable logs to the console with a severity of warning?
logging console 4
or
logging console warning
True or False:
“Debug” commands remain enabled until the user issues a “no debug” command, even after the user logs out of the console session.
True
What command would be used to set the timezone for a router with the following?:
* A name of MNT
* A UTC offset of 7
clock timezone MNT -7
What command is used to enable daylight savings time as recurring with a name of “MyClock”?
clock summer-time MyClock recurring
What command can be used to manually set the time as the following?:
* February 14th, 2027
* 7:24 PM
clock set 19:24:00 14 February 2027
Describe the purpose of the “ntp master” command.
ntp master
Sets the device to only act as an NTP server. The device will not act as a NTP client without additional commands
Describe the purpose of the “ntp server 1.2.3.4” command.
ntp server 1.2.3.4
Sets the device to act as both an NTP server and client. Once the device has synced to the 1.2.3.4 NTP server, it will act as an NTP server.
What comand can be used to list the details regarding the current NTP server that a router is synchronized with?
show ntp status
What command can be used to list all NTP servers that the router will attempt to associate with?
show ntp associations
What command can be used to set the current router’s stratum level while it acts as an NTP server?
ntp master stratumnumber
For example: ntp master 5
Describe the difference between the following commands:
* show cdp neighbors detail
* show cdp entry entryname
The command “show cdp entry entryname shows the same level of detail as the detail command, but only for the single specified neighbor
What are the 3 available commands that can be used to listing CDP neighbor information?
show cdp neighbor
show cdp neighbor detail
show cdp entry entryname
What commands can be used to disable the use of CDP?
At a global level: no cdp run
At an interface level: no cdp enable
Describe the output of the following command:
show cdp
Lists the current status of CDP and the frequency of sending CDP packets
Describe the output of the following command:
show cdp interface interfacename
Lists the status of CDP for a specific interface and it holdtime timers
show cdp traffic
Lists global CDP statistics for sent and received messages