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
What are the default CDP send and hold timers?
Send: 60 seconds
Holdtime: 180 seconds
What commands cab be use to alter the default CDP send timer and holdtimer?
cdp timer seconds
cdp holdtime seconds
What commands cab be use to alter the default LLDP send timer and holdtimer?
lldp timer seconds
lldp holdtime seconds
What command can be used to for a device to wait x seconds before sending LLDP packets when an interface comes up?
lldp reinit seconds
What IEEE standard defines LLDP?
802.1AB
Describe how CDP and LLDP differ when listing a neighbor’s capabilities.
CDP shows all capabilities supported by the neighboring device, while LLDP only lists the features currently enabled.
What is the command to view a specific LLDP neighbor with a hostname of Router2?
show lldp entry Router2
True or False:
Only LLDP is enabled on Cisco devices by default.
False; LLDP needs to be manually enabled globaly or on an interface level.
CDP is enabled globaly by default.
What is the global command to enable the use of LLDP?
lldp run
What is the global command to enable/disable the use of LLDP on a specific interface?
lldp transmit
no lldp transmit
lldp receive
no lldp receive
What are the default timing settings for LLDP on Cisco devices?
30 second send, 120 second holdtime
What are the commands to set the LLDP send and holdtime timers?
lldp timer seconds
lldp holdtime seconds
What are the 3 components of a TLV?
Type
Length
Value
LLDP MED Stands for?
Media Endpoint Discovery