Volume 2 - Chapter 13: Device Management Protocols Flashcards

1
Q

What command is enabled by default on Cisco routers & switches that allows syslog messages to be displayed at the console automatically?

A

logging console

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

What command(s) are required to enable log messages to SSH/Telnet sessions?

A

logging monitor
terminal monitor

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

Describe the difference between the following commands:
* logging monitor
* terminal monitor

A

Logging Monitor: used to enable sending logs to all connected users

Terminal Monitor: used to display the logs at the terminal

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

What command enables log messages to be stored in RAM?

A

logging buffered

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

What command can be used to send syslogs to an external syslog server?

A

logging host address/hostname

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

What command can be used to disable the use of timestamps for log messages?

A

In global configuration mode:

no service timestamps

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

What command can be used to enable the use of sequence numbers for log messages?

A

service sequence-numbers

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

Describe the 8 log message serverity levels and their numbering

A

0 - Emergency
1 - Alert
2 - Critical
3 - Error
4 - Warning
5 - Notification
6 - Informational
7 - Debug

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

What command would be used to enable logs to the console with a severity of warning?

A

logging console 4

or

logging console warning

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

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.

A

True

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

What command would be used to set the timezone for a router with the following?:
* A name of MNT
* A UTC offset of 7

A

clock timezone MNT -7

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

What command is used to enable daylight savings time as recurring with a name of “MyClock”?

A

clock summer-time MyClock recurring

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

What command can be used to manually set the time as the following?:
* February 14th, 2027
* 7:24 PM

A

clock set 19:24:00 14 February 2027

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

Describe the purpose of the “ntp master” command.

A

ntp master

Sets the device to only act as an NTP server. The device will not act as a NTP client without additional commands

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

Describe the purpose of the “ntp server 1.2.3.4” command.

A

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.

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

What comand can be used to list the details regarding the current NTP server that a router is synchronized with?

A

show ntp status

17
Q

What command can be used to list all NTP servers that the router will attempt to associate with?

A

show ntp associations

18
Q

What command can be used to set the current router’s stratum level while it acts as an NTP server?

A

ntp master stratumnumber

For example: ntp master 5

19
Q

Describe the difference between the following commands:
* show cdp neighbors detail
* show cdp entry entryname

A

The command “show cdp entry entryname shows the same level of detail as the detail command, but only for the single specified neighbor

20
Q

What are the 3 available commands that can be used to listing CDP neighbor information?

A

show cdp neighbor
show cdp neighbor detail
show cdp entry entryname

21
Q

What commands can be used to disable the use of CDP?

A

At a global level: no cdp run

At an interface level: no cdp enable

22
Q

Describe the output of the following command:

show cdp

A

Lists the current status of CDP and the frequency of sending CDP packets

23
Q

Describe the output of the following command:

show cdp interface interfacename

A

Lists the status of CDP for a specific interface and it holdtime timers

24
Q

show cdp traffic

A

Lists global CDP statistics for sent and received messages

25
Q

What are the default CDP send and hold timers?

A

Send: 60 seconds
Holdtime: 180 seconds

26
Q

What commands cab be use to alter the default CDP send timer and holdtimer?

A

cdp timer seconds
cdp holdtime seconds

27
Q

What commands cab be use to alter the default LLDP send timer and holdtimer?

A

lldp timer seconds
lldp holdtime seconds

28
Q

What command can be used to for a device to wait x seconds before sending LLDP packets when an interface comes up?

A

lldp reinit seconds

29
Q

What IEEE standard defines LLDP?

A

802.1AB

30
Q

Describe how CDP and LLDP differ when listing a neighbor’s capabilities.

A

CDP shows all capabilities supported by the neighboring device, while LLDP only lists the features currently enabled.

31
Q

What is the command to view a specific LLDP neighbor with a hostname of Router2?

A

show lldp entry Router2

32
Q

True or False:

Only LLDP is enabled on Cisco devices by default.

A

False; LLDP needs to be manually enabled globaly or on an interface level.

CDP is enabled globaly by default.

33
Q

What is the global command to enable the use of LLDP?

A

lldp run

34
Q

What is the global command to enable/disable the use of LLDP on a specific interface?

A

lldp transmit
no lldp transmit

lldp receive
no lldp receive

35
Q

What are the default timing settings for LLDP on Cisco devices?

A

30 second send, 120 second holdtime

36
Q

What are the commands to set the LLDP send and holdtime timers?

A

lldp timer seconds
lldp holdtime seconds

37
Q

What are the 3 components of a TLV?

A

Type
Length
Value

38
Q

LLDP MED Stands for?

A

Media Endpoint Discovery