N10-009 ยท Ports, protocols and traffic types
Infrastructure service ports
DNS 53, DHCP 67/68, NTP 123, SNMP 161/162, Syslog 514 and what they carry.
Key points
- DNS (53) resolves names, mostly over UDP with TCP for large answers and zone transfers.
- DHCP uses UDP 67 on the server and 68 on the client.
- NTP (UDP 123) synchronizes clocks.
- SNMP managers poll agents on UDP 161 and agents send traps to the manager on 162.
- Syslog (514) ships log messages to a collector.
Source: https://www.iana.org/assignments/service-names-port-numbers/service-names-port-numbers.xhtml
Practice questions
On which port does an SNMP manager receive traps from agents?
- 161
- 162
- 123
- 514
Show answer
Answer: B. 162
Traps go to 162. Port 161 is where agents answer polls.
Which ports belong to SNMP?
- 161
- 162
- 123
- 514
- 67
Show answer
Answer: A. 161, B. 162
161 is for polling agents and 162 is for traps. 123 is NTP, 514 is Syslog and 67 is DHCP.
SNMP traps are sent by the manager to the agents on port 161.
Show answer
Answer: False
It is the other way around: agents send traps to the manager on 162, while the manager polls agents on 161.
Practice 8 questions on this topic in Bitzu
Short lessons, instant explanations and spaced review of what you get wrong. Free on iOS and Android.
