ScanopyScanopy

SNMP

SNMP protocol support, queried MIBs, timeouts, and credential resolution.

Technical reference for Scanopy's SNMP implementation. For setup instructions, see the SNMP discovery guide. For how credential assignment and resolution works, see Credentials.

Protocol support

VersionsSNMPv1, SNMPv2c, SNMPv3
SNMPv3 authenticationMD5, SHA-1, SHA-256
SNMPv3 privacyAES-128, AES-256
Ports (UDP, in the order tried)161, 1161

SNMPv3 runs at the AuthPriv security level only: every SNMPv3 credential needs both an authentication and a privacy protocol.

Queried MIBs

MIBObjectOIDRead by
SNMPv2-MIB
RFC 3418
sysDescr1.3.6.1.2.1.1.1.0GET
sysObjectID1.3.6.1.2.1.1.2.0GET
sysUpTime1.3.6.1.2.1.1.3.0GET
sysContact1.3.6.1.2.1.1.4.0GET
sysName1.3.6.1.2.1.1.5.0GET
sysLocation1.3.6.1.2.1.1.6.0GET
sysServices1.3.6.1.2.1.1.7.0GET
IF-MIB
RFC 2863
ifNumber1.3.6.1.2.1.2.1.0GET
ifIndex1.3.6.1.2.1.2.2.1.1Walk
ifDescr1.3.6.1.2.1.2.2.1.2Walk
ifType1.3.6.1.2.1.2.2.1.3Walk
ifMtu1.3.6.1.2.1.2.2.1.4Walk
ifSpeed1.3.6.1.2.1.2.2.1.5Walk
ifPhysAddress1.3.6.1.2.1.2.2.1.6Walk
ifAdminStatus1.3.6.1.2.1.2.2.1.7Walk
ifOperStatus1.3.6.1.2.1.2.2.1.8Walk
ifName1.3.6.1.2.1.31.1.1.1.1Walk
ifHighSpeed1.3.6.1.2.1.31.1.1.1.15Walk
ifAlias1.3.6.1.2.1.31.1.1.1.18Walk
IP-MIB
RFC 4293
ipAdEntIfIndex1.3.6.1.2.1.4.20.1.2Walk
ipAdEntNetMask1.3.6.1.2.1.4.20.1.3Walk
ipNetToMediaIfIndex1.3.6.1.2.1.4.22.1.1Walk
ipNetToMediaPhysAddress1.3.6.1.2.1.4.22.1.2Walk
ipNetToMediaNetAddress1.3.6.1.2.1.4.22.1.3Walk
ipNetToMediaType1.3.6.1.2.1.4.22.1.4Walk
LLDP-MIB
IEEE 802.1AB-2005
lldpLocChassisIdSubtype1.0.8802.1.1.2.1.3.1.0GET
lldpLocChassisId1.0.8802.1.1.2.1.3.2.0GET
lldpLocPortIdSubtype1.0.8802.1.1.2.1.3.7.1.2Walk
lldpLocPortId1.0.8802.1.1.2.1.3.7.1.3Walk
lldpLocPortDesc1.0.8802.1.1.2.1.3.7.1.4Walk
lldpRemChassisIdSubtype1.0.8802.1.1.2.1.4.1.1.4Walk
lldpRemChassisId1.0.8802.1.1.2.1.4.1.1.5Walk
lldpRemPortIdSubtype1.0.8802.1.1.2.1.4.1.1.6Walk
lldpRemPortId1.0.8802.1.1.2.1.4.1.1.7Walk
lldpRemPortDesc1.0.8802.1.1.2.1.4.1.1.8Walk
lldpRemSysName1.0.8802.1.1.2.1.4.1.1.9Walk
lldpRemSysDesc1.0.8802.1.1.2.1.4.1.1.10Walk
lldpRemManAddrIfSubtype1.0.8802.1.1.2.1.4.2.1.3Walk
LLDP-V2-MIB
IEEE 802.1AB-2009
lldpV2LocChassisIdSubtype1.3.111.2.802.1.1.13.1.3.1.0GET
lldpV2LocChassisId1.3.111.2.802.1.1.13.1.3.2.0GET
lldpV2RemChassisIdSubtype1.3.111.2.802.1.1.13.1.4.1.1.5Walk
lldpV2RemChassisId1.3.111.2.802.1.1.13.1.4.1.1.6Walk
lldpV2RemPortIdSubtype1.3.111.2.802.1.1.13.1.4.1.1.7Walk
lldpV2RemPortId1.3.111.2.802.1.1.13.1.4.1.1.8Walk
lldpV2RemPortDesc1.3.111.2.802.1.1.13.1.4.1.1.9Walk
lldpV2RemSysName1.3.111.2.802.1.1.13.1.4.1.1.10Walk
lldpV2RemSysDesc1.3.111.2.802.1.1.13.1.4.1.1.11Walk
lldpV2RemManAddrIfSubtype1.3.111.2.802.1.1.13.1.4.2.1.3Walk
CISCO-CDP-MIB
Cisco
cdpCacheDeviceId1.3.6.1.4.1.9.9.23.1.2.1.1.6Walk
cdpCacheDevicePort1.3.6.1.4.1.9.9.23.1.2.1.1.7Walk
cdpCachePlatform1.3.6.1.4.1.9.9.23.1.2.1.1.8Walk
cdpCacheAddress1.3.6.1.4.1.9.9.23.1.2.1.1.4Walk
ENTITY-MIB
RFC 6933
entPhysicalDescr1.3.6.1.2.1.47.1.1.1.1.2Walk
entPhysicalClass1.3.6.1.2.1.47.1.1.1.1.5Walk
entPhysicalName1.3.6.1.2.1.47.1.1.1.1.7Walk
entPhysicalFirmwareRev1.3.6.1.2.1.47.1.1.1.1.9Walk
entPhysicalSoftwareRev1.3.6.1.2.1.47.1.1.1.1.10Walk
entPhysicalSerialNum1.3.6.1.2.1.47.1.1.1.1.11Walk
entPhysicalMfgName1.3.6.1.2.1.47.1.1.1.1.12Walk
entPhysicalModelName1.3.6.1.2.1.47.1.1.1.1.13Walk
entPhysicalAssetID1.3.6.1.2.1.47.1.1.1.1.15Walk
BRIDGE-MIB
RFC 4188
dot1dBaseNumPorts1.3.6.1.2.1.17.1.2.0GET
dot1dBasePortIfIndex1.3.6.1.2.1.17.1.4.1.2Walk
dot1dTpFdbAddress1.3.6.1.2.1.17.4.3.1.1Walk
dot1dTpFdbPort1.3.6.1.2.1.17.4.3.1.2Walk
dot1dTpFdbStatus1.3.6.1.2.1.17.4.3.1.3Walk
Q-BRIDGE-MIB
RFC 4363
dot1qTpFdbPort1.3.6.1.2.1.17.7.1.2.2.1.2Walk
dot1qTpFdbStatus1.3.6.1.2.1.17.7.1.2.2.1.3Walk
dot1qVlanStaticName1.3.6.1.2.1.17.7.1.4.3.1.1Walk
dot1qPvid1.3.6.1.2.1.17.7.1.4.5.1.1Walk
dot1qVlanCurrentEgressPorts1.3.6.1.2.1.17.7.1.4.2.1.4Walk
dot1qVlanCurrentUntaggedPorts1.3.6.1.2.1.17.7.1.4.2.1.5Walk
CISCO-VTP-MIB
Cisco
vtpVlanName1.3.6.1.4.1.9.9.46.1.3.1.1.4Walk

LLDP-V2-MIB is read only when a complete read of the LLDP-MIB neighbor table finds no rows, and its local chassis objects only when the LLDP-MIB ones return nothing. CISCO-VTP-MIB is read only when Q-BRIDGE-MIB returns no VLAN names.

Data collected

A successful SNMP run against a host populates the following entities in Scanopy:

EntityFields populated from SNMP
Hosthostname (from sysName when DNS lacks one), sysDescr, sysObjectID, sysLocation, sysContact, sysName, manufacturer, model, serial number, asset tag, chassis ID, firmware revision, software revision
InterfaceifIndex, name / alias / description, type, speed, MTU, MAC, admin and oper status, native VLAN, tagged VLAN list, learned MACs, LLDP/CDP neighbor
SubnetCIDRs inferred from ipAddrTable entries
Host (remote)New hosts created from ARP entries on SNMP-discovered subnets

Timeouts and limits

LimitValueApplies to
Probe timeout2sLiveness probe per credential and port, used to pick a working credential before collection
Request timeout5sA single SNMP request
Session timeout5sEstablishing the UDP session
Query timeout1mAny single query, including a full walk of a table
Max entries10,000Rows read from a single table walk
Integration timeout15mA full SNMP run against one host, probe and all queries

Candidate credentials are probed concurrently, so a host with several assigned credentials doesn't pay for each one in sequence.

Every query has its own timeout, so a device that stops responding mid-collection costs one query timeout rather than the whole integration timeout.

Credential behavior

Which credential a host is queried with follows the standard resolution order. The default SNMP credential for community public is assigned to every new site, so a device left on the default needs no credential of its own.

If every credential fails on every port, the host is discovered without SNMP data. A query that fails inside an otherwise working session is logged and skipped rather than aborting the rest.

Partial results are kept: interfaces are saved as soon as the interface table is read, before the neighbor, forwarding-table and VLAN queries run.

Product names and logos are trademarks of their respective owners. See credits.

On this page