Network Management

Testing your SNMP port connection (cannot use telnet)

This article explains why using telnet to test an SNMP port connection will not work and how to correctly test the connection.

First published date

10/30/2018 2:17 PM

Last published date

10/1/2019 2:08 PM

Overview

This article explains why using telnet to test an SNMP port connection will not work and how to correctly test the connection.

Product section

Orion Platform

Cause

The telnet to SNMP port (port 161 or 2055) will not work because it uses a one-way/no-response UDP protocol.

For telnet to function correctly, it needs a two-way/query-response protocol (such as TCP).

Resolution

To test the SNMP port connection, you will need Microsoft PortQry. This tool determines if the port is listening. This tool also provides additional functionality, depending on the command you use.
 

See Description of the Portqry.exe command-line utility for details. (© 2017 Microsoft, available at www.microsoft.com, obtained on September 21, 2017)

Disclaimer: Please note, any content posted herein is provided as a suggestion or recommendation to you for your internal use. This is not part of the SolarWinds software or documentation that you purchased from SolarWinds, and the information set forth herein may come from third parties. Your organization should internally review and assess to what extent, if any, such custom scripts or recommendations will be incorporated into your environment.  You elect to use third party content at your own risk, and you will be solely responsible for the incorporation of the same, if any.