Skip to main content
Eptura Knowledge Center

Switch Configuration

SNMP communication


The Serraview Switch Scanning Service uses SNMP to communicate with the network switches. SNMP utilizes UDP (User Datagram Protocol) as its communications protocol, which does not guarantee delivery. If there are any network bandwidth problems, the reliability of switch scans can be impacted as UDP traffic may be disregarded.

Communication to network switches


The Serraview Switch Scanning Service efficiently queries only the information needed from the network switches. There are two types of scans, a full scan, and a partial scan.

For a partial scan, the service will query: 

  • MAC addresses
  • Switch Port index 
  • IP address (if switch is operating as a layer 3 and supports SNMP v2 / IP address OIDs) 

For a full scan, the service will query: 

  • Which VLANs are available 
  • Each VLAN to determine those with activity 
  • MAC addresses 
  • Switch Port index 
  • IP address (if switch is operating as a layer 3 and supports SNMP v2 / IP address OIDs) 
  • Bridging table 
  • Switch Ports 
  • Switch Port Labels 

The polling frequency is configurable for each scan type. We recommend the Switch Scanning Service be configured to:

  • Perform full scans daily, at a time when network congestion is typically low, if possible.
  • Perform partial scans at a frequency less than the switch-ageing timer (the time a switch holds on to its MAC address to port pairing).

OIDs for Switch Querying SNMP


The Switch Scanner performs a “bulk SNMP walk” on the following OIDs. Since OIDs are organized into a hierarchical tree structure, the following OID “nodes” represent the parent node and all child nodes underneath that OID that the Switch Scanner must have access to in order to perform a successful switch scan.

All child OID nodes under the listed parent nodes must be accessible to the Switch Scanner.

OID Name OID
OIDs accessed when scanning via the VLANs found on the switch

vtpVlanEntry

1.3.6.1.4.1.9.9.46.1.3.1.1

entLogicalEntry

1.3.6.1.2.1.47.1.2.1.1

ipNetToMediaPhysAddress

1.3.6.1.2.1.4.22.1.2

ifName

1.3.6.1.2.1.31.1.1.1.1

ifLabel

1.3.6.1.2.1.2.2.1.2

dot1DTpFdbAddress

1.3.6.1.2.1.17.4.3.1.1

dot1DBasePortIfIndex

1.3.6.1.2.1.17.1.4.1.2

dot1DTpFdbPort

1.3.6.1.2.1.17.4.3.1.2

sysDescr

1.3.6.1.2.1.1.1

OIDs accessed when VLAN information is not available on the switch
mib or mib-2 1.3.6.1.2.1
OIDs used when scanning Juniper switches
dot1qTpFdbPort 1.3.6.1.2.1.17.7.1.2.2.1.2
dot1qTpFdbStatus 1.3.6.1.2.1.17.7.1.2.2.1.3
dot1DBasePortIfIndex 1.3.6.1.2.1.17.1.4.1.2
ifName 1.3.6.1.2.1.31.1.1.1.1
ifLabel 1.3.6.1.2.1.2.2.1.2
sysDescr 1.3.6.1.2.1.1.1