350-401 · Question #517
A network engineer must configure a router to send logging messages to a syslog server based on these requirements: uses syslog IP address: 10.10.10.1 uses a reliable protocol must not use any well-kn
The correct answer is A. logging host 10.10.10.1 transport tcp port 1024. To configure a router to send logging messages to a syslog server reliably and using a non-well-known port, the configuration must specify TCP transport and a port number 1024 or higher.
Question
Options
- Alogging host 10.10.10.1 transport tcp port 1024
- Blogging origin-id 10.10.10.1
- Clogging host 10.10.10.1 transport udp port 1023
- Dlogging host 10.10.10.1 transport udp port 1024
How the community answered
(28 responses)- A71% (20)
- B7% (2)
- C18% (5)
- D4% (1)
Why each option
To configure a router to send logging messages to a syslog server reliably and using a non-well-known port, the configuration must specify TCP transport and a port number 1024 or higher.
The `logging host 10.10.10.1 transport tcp port 1024` command correctly specifies the syslog server IP, uses TCP for reliable message delivery as required, and designates port 1024, which is outside the well-known port range (0-1023) and therefore meets all requirements.
The `logging origin-id` command configures the source identifier for syslog messages and does not specify the syslog server destination, transport protocol, or port.
This option uses UDP as the transport protocol, which is unreliable, and specifies port 1023, which is within the well-known port range, thus failing to meet the reliability and non-well-known port requirements.
This option uses UDP as the transport protocol, which is unreliable, failing the requirement for a reliable protocol, even though port 1024 is a non-well-known port.
Concept tested: Syslog configuration with TCP and custom port
Source: https://www.cisco.com/c/en/us/td/docs/ios-xml/ios/esm/command/esm-cr-book/esm-cr-l1.html#wp2456382173
Topics
Community Discussion
No community discussion yet for this question.