Networking

A firewall rule must allow switches to send log messages to a syslog server on its default port. Which port and protocol should be permitted?

Show the answer

Correct answerA. UDP 514

AWhy this is right: Port 514 is the default syslog port, traditionally carried over UDP.

BWhy not this: This is the NTP port, used for time synchronization rather than logging.

CWhy not this: This is the SMTP port, used for mail transfer rather than logging.

DWhy not this: This is the DHCP server port, used for address assignment rather than logging.

Syslog uses port 514, traditionally over UDP. UDP 123 belongs to NTP, so it would let time sync through but not log messages.