Courseiva
mediumMultiple Choice

300-410 Practice Question: Examine the following configuration: logging host…

Examine the following configuration:

logging host 10.1.1.1
logging host 10.1.1.2
logging host 10.1.1.3
logging origin-id hostname
logging facility local7

What is the purpose of the 'logging origin-id hostname' command?

⚠ Common exam trap

300-410 often tests the confusion between origin-id (hostname field in syslog header) and timestamp formatting or message filtering — candidates assume origin-id affects timestamps or authentication, which it does not.

Answer choices

Why each option matters

Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.

Correct answer & explanation

✓

It causes the syslog messages to include the router's hostname as the origin, overriding the default IP address.

The logging origin-id hostname command changes the origin identifier in syslog messages from the default (the source IP address of the sending interface) to the router's configured hostname. This makes it easier for the syslog server to identify which device sent the message, especially when the source IP changes or is NATed. It does not affect timestamps, message filtering, or authentication.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • ✓

    It causes the syslog messages to include the router's hostname as the origin, overriding the default IP address.

    Why this is correct

    The origin-id hostname setting replaces the default source IP address in syslog message headers with the device's configured hostname, letting the three logging hosts at 10.1.1.1–10.1.1.3 identify which router sent each message. This satisfies the need to distinguish the originating device when multiple routers forward to shared collectors.

  • ✗

    It sets the syslog message format to include the hostname in the timestamp field.

    Why it's wrong here

    The origin-id value is inserted as a separate field identifying the sender, not merged into the timestamp portion of the syslog header. It is tempting because both appear in the message header, but timestamps come from the device clock, while origin-id supplies the source identity.

  • ✗

    It configures the router to send syslog messages only when the hostname changes.

    Why it's wrong here

    The command sets the origin identifier carried in every syslog message; it does not gate or suppress message transmission based on hostname changes. It is tempting because 'origin-id' sounds event-driven, but the keyword simply stamps a fixed identifier into each message's header.

  • ✗

    It is used to authenticate syslog messages using the hostname as a key.

    Why it's wrong here

    Syslog messages are not authenticated by this command; it merely labels each message with the device hostname as its origin identifier. It is tempting because 'origin-id' implies trust or verification, but no cryptographic key or signature is involved anywhere in the syslog pipeline.

About these practice questions

This 300-410 question is part of Courseiva's 1,401-question bank — original exam-style content with full explanations and wrong-answer analysis, never real exam questions or exam dumps. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

JA

Written and reviewed by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

Last reviewed September 2026 · checked against the official Cisco exam blueprint

This 300-410 practice question is part of Courseiva's free Cisco certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the 300-410 exam.