CompTIA Network+ (N10-009)Networking ConceptsMedium

A network engineer is configuring a monitoring server to receive unsolicited SNMP trap messages from network devices. Which UDP port should the server listen on?

  1. A161
  2. B162
  3. C514
  4. D389
Show answer & explanation

Correct answer: B. 162

SNMP traps are sent from managed devices to the management station on UDP port 162. Port 161 is used for the management station to query devices (GET/SET requests), not to receive traps.

Why the other options are wrong

  • A. Port 161 is used for SNMP GET/SET queries sent to agents, not traps.
  • C. Port 514 is used by syslog, not SNMP traps.
  • D. Port 389 is used by LDAP, unrelated to SNMP.

SNMP Ports

SNMP uses UDP port 161 for manager-to-agent queries and UDP port 162 for agent-to-manager trap notifications.

  • SNMP is used for network device monitoring and management
  • Traps are unsolicited alerts sent by devices
  • SNMPv3 adds authentication and encryption

Memory trick: 161 asks, 162 alerts

More Networking Concepts questions