Which command do you use if you want to control the severity of the event that determines when a syslog should be sent?

IT Exam Items RepositoryCategory: CCNP ENCOR v9Which command do you use if you want to control the severity of the event that determines when a syslog should be sent?

Which command do you use if you want to control the severity of the event that determines when a syslog should be sent?

  • logging {hostname | ip address}
  • logging level severity
  • logging trap severity
  • logging severity

Explanation: The logging trap command is used in global configuration mode to limit the syslog messages sent to a remote server based on their severity level. There are eight levels of severity (0 to 7), ranging from "emergency" to "debug".

When a specific severity level is configured with this command, the device will forward all messages at that specified level and any level more severe. For example, if you set the threshold to "informational" (level 6), the router will forward all messages from severity 0 through 6 to the syslog server. This mechanism allows network administrators to control the volume of log data transmitted over the network and focus on the most critical events.

Related exam: Modules 17 – 20: Checkpoint Exam: Virtualization and Network Services Answers (CCNP ENCOR v9)