mediumMultiple ChoiceObjective-mapped
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?
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' command sets the origin identifier in syslog messages. When set to 'hostname', the router's hostname is used as the origin ID instead of the default (which is the IP address of the source interface). This helps identify the source of messages in a multi-device environment.
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 replaces the default source IP with the hostname in the syslog message header.
- ✗
It sets the syslog message format to include the hostname in the timestamp field.
Why it's wrong here
The origin-id does not affect the timestamp; it affects the origin field.
- ✗
It configures the router to send syslog messages only when the hostname changes.
Why it's wrong here
This is not the function of origin-id.
- ✗
It is used to authenticate syslog messages using the hostname as a key.
Why it's wrong here
There is no authentication mechanism for syslog in this command.
Go deeper
Related to this question
About these practice questions
This 300-410 question is part of Courseiva's 1,966-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 →
JA
Written by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
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.