DevNet Associate (DEVASC) v1.0Network FundamentalsMedium

A developer is creating a script to retrieve device information from a Cisco router using SNMP. The script needs to send requests to the router and receive responses. Which default UDP port is typically used by an SNMP agent on a network device to receive requests?

  1. A80
  2. B22
  3. C443
  4. D161
Show answer & explanation

Correct answer: D. 161

SNMP agents typically listen for incoming requests on UDP port 161. SNMP managers send requests to this port.

Why the other options are wrong

  • A. Port 80 is typically used for HTTP (Hypertext Transfer Protocol), not SNMP.
  • B. Port 22 is typically used for SSH (Secure Shell), not SNMP.
  • C. Port 443 is typically used for HTTPS (HTTP Secure), not SNMP.

SNMP (Simple Network Management Protocol)

SNMP is an application-layer protocol used for managing and monitoring network devices.

  • Uses UDP for communication.
  • Agents on devices listen for requests on port 161.
  • Managers send requests and receive traps/notifications.

Memory trick: Ports are like specific doors for different network services.

More Network Fundamentals questions