16 - IP Services I - Device Management and NAT Flashcards
Where do log messages display to by default without needing any further configuration?
Console
How do you tell IOS to send log messages to all logged users (Telnet, SSH)? What extra command must you use?
logging monitor
EXEC: terminal monitor
What does the terminal monitor
command do?
Tells IOS that this terminal session would like to receive log messages
What does the logging monitor
command do?
Tells IOS to enable sending of log messages to all logged messages
What two primary options does IOS provide to keep a copy of log messages?
- In RAM
- Syslog server
How do you tell IOS to store copies of log messages in RAM?
logging buffered
How do you configure a router / switch to send log messages to a syslog server?
logging host {address | hostname}
How would you disable timestamps and enable sequence numbers for logging?
no service timestamps
service sequence-numbers
What are the Cisco logging levels from 0 - 7?
Emergency Alert Critical Error Warning Notification Informational Debug
How would you set logging to levels 0 - 4 for console?
logging console 4
How do configure logging message levels for Syslog?
logging trap 4
How do you show logging configuration settings, basic stats and buffered logs?
show logging
How would you debug something such as OSPF messages?
debug ip ospf hello
Why should you be careful when enabling debug commands on production devices?
It uses the router CPU so can have performance impacts
How can you monitor CPU use?
show process cpu
What command enables the NTP client functionality on a device?
ntp server
What should you do before enabling NTP?
Set the time, and correct date / timezone.
Also tell the device to adjust for daylight savings time
How would you set the date, time and time zones?
clock timezone EST -5
clock summer-time EDT recurring
clock set 20:00:00 1 January 2020
How do you show the date and time?
show clock
What two ntp configuration commands does IOS supply?
ntp master
ntp server
What command is used to configure a device to only run as an NTP server?
ntp master {stratum level}
What command is used to configure a device to run as an NTP client and server?
ntp server {address | host}
How do you check NTP status?
show ntp status
How do you list all NTP servers a device can attempt to use and status information between them?
show ntp associations