Networking Concepts

A monitoring server polls switches for interface counters and also receives unsolicited trap messages from them. Which default ports carry the polling requests and the trap messages?

Show the answer

Correct answerD. UDP 161 for polling, UDP 162 for traps

AWhy not this: UDP 123 is NTP for clock sync, not SNMP trap delivery.

BWhy not this: UDP 69 is TFTP, not SNMP polling.

CWhy not this: Reverses the roles: polling goes to the agent on 161, and traps go to the manager on 162.

DWhy this is right: Agents answer polls on UDP 161, and traps arrive at the manager on UDP 162.

SNMP agents listen on UDP 161 for manager polls, and managers listen on UDP 162 for traps the agents send unprompted. Swapping the two is tempting, but 162 is the trap receiver port, not the polling port.