Which commands will you use to configure the router?

You have 2 NTP servers in your network – 10.1.1.1 and 10.1.1.2. You want to configure a
Cisco router to use 10.1.1.2 as its NTP server before falling back to 10.1.1.1. Which
commands will you use to configure the router?

You have 2 NTP servers in your network – 10.1.1.1 and 10.1.1.2. You want to configure a
Cisco router to use 10.1.1.2 as its NTP server before falling back to 10.1.1.1. Which
commands will you use to configure the router?

A.
ntp server 10.1.1.1
ntp server 10.1.1.2
Warnings only

B.
ntp server 10.1.1.1
ntp server 10.1.1.2 primary
debugging, informational, notifications, warnings

C.
ntp server 10.1.1.1
ntp server 10.1.1.2 prefer
A router can be configured to prefer an NTP source over another. A preferred server’s responses
are discarded only if they vary dramatically from the other time sources. Otherwise, the preferred
server is used for synchronization without consideration of the other time sources. Preferred
servers are usually specified when they are known to be extremely accurate. To specify a
preferred server, use the preferkeyword appended to the ntp servercommand. The following
example tells the router to prefer TimeServerOneover TimeServerTwo:
Router#config terminal
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#ntp server TimeServerOne prefer
Router(config)#ntp server TimeServerTwo
Router(config)#^Z
QUESTION 5
The following command is issued on a Cisco Router:
Router(configuration)#logging console warnings
Which alerts will be seen on the console?
warnings, errors, critical, alerts, emergencies

A.
ntp server 10.1.1.1
ntp server 10.1.1.2
Warnings only

B.
ntp server 10.1.1.1
ntp server 10.1.1.2 primary
debugging, informational, notifications, warnings

C.
ntp server 10.1.1.1
ntp server 10.1.1.2 prefer
A router can be configured to prefer an NTP source over another. A preferred server’s responses
are discarded only if they vary dramatically from the other time sources. Otherwise, the preferred
server is used for synchronization without consideration of the other time sources. Preferred
servers are usually specified when they are known to be extremely accurate. To specify a
preferred server, use the preferkeyword appended to the ntp servercommand. The following
example tells the router to prefer TimeServerOneover TimeServerTwo:
Router#config terminal
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#ntp server TimeServerOne prefer
Router(config)#ntp server TimeServerTwo
Router(config)#^Z
QUESTION 5
The following command is issued on a Cisco Router:
Router(configuration)#logging console warnings
Which alerts will be seen on the console?
warnings, errors, critical, alerts, emergencies

D.
notifications, warnings, errors

E.
warnings, errors, critical, alerts

Explanation:

Cisco routers prioritize log messages into 8 levels (0-7), as shown below:
LevelLevel NameDescription
0 Emergencies System is unusable
1 Alerts Immediate action needed
2 Critical Critical conditions
3 Errors Error conditions
4 Warnings Warning conditions
5 Notifications Informational messages
6 Informational Normal but significant conditions
7 Debugging Debugging messages
When you enable logging for a specific level, all logs of that severity and greater (numerically less)

will be logged. In this case, when you enable console logging of warning messages (level 4), it will
log levels 0-4, making the correct answer warnings, errors, critical, alerts, and emergencies.



Leave a Reply 0

Your email address will not be published. Required fields are marked *