nerdexam
Cisco

200-301 · Question #148

What will happen if you configure the logging trap debug command on a router?

The correct answer is C. It causes the router to send all messages to the syslog server. The logging trap debug command on a Cisco router configures the device to send syslog messages of all severity levels, including the lowest 'debug' level, to a configured syslog server.

Submitted by ahmad_uae· Mar 5, 2026IP Services

Question

What will happen if you configure the logging trap debug command on a router?

Options

  • AIt causes the router to send messages with lower severity levels to the syslog server
  • BIt causes the router to send all messages with the severity levels Warning, Error, Critical, and
  • CIt causes the router to send all messages to the syslog server
  • DIt causes the router to stop sending all messages to the syslog server

How the community answered

(15 responses)
  • B
    7% (1)
  • C
    87% (13)
  • D
    7% (1)

Why each option

The `logging trap debug` command on a Cisco router configures the device to send syslog messages of all severity levels, including the lowest 'debug' level, to a configured syslog server.

AIt causes the router to send messages with lower severity levels to the syslog server

While it causes messages with lower severity levels to be sent, it specifically sets the *threshold* so *all* levels from debug upwards (i.e., all messages) are sent, not merely 'lower severity' in a limited sense.

BIt causes the router to send all messages with the severity levels Warning, Error, Critical, and

This statement describes a higher trap level (e.g., `logging trap warning` or `logging trap error`) where only messages of that severity and higher (more critical) are sent, whereas `debug` includes everything.

CIt causes the router to send all messages to the syslog serverCorrect

The `logging trap debug` command sets the minimum severity level for messages sent to a syslog server to 'debug' (level 7), which is the lowest possible severity, causing messages of all severity levels (0-7, from emergencies to debugging) to be forwarded.

DIt causes the router to stop sending all messages to the syslog server

This command enables and configures message forwarding to a syslog server; it does not stop sending messages, but rather expands the range of messages to be sent.

Concept tested: Cisco IOS syslog trap levels

Source: https://www.cisco.com/c/en/us/td/docs/ios/12_4/system/command/reference/sys_r/sr_l1.html#wp1074092

Topics

#Cisco logging#Syslog#logging trap debug command

Community Discussion

No community discussion yet for this question.

Full 200-301 Practice