Skip to content
xInfra

SNMP

Query routers, switches and servers over SNMP v1, v2c and v3 from iPhone or iPad. Walk, GET, GETBULK, SET, interfaces, MIB browser and MIB import.

xInfra is an SNMP manager for iOS. It reads (and with Pro, writes) values on any SNMP agent: Cisco, Juniper, Arista, MikroTik, Fortinet, Palo Alto, Linux net-snmp and so on.

Set up SNMP on a device

Open the device, tap Edit, and turn on SNMP.

SettingDefaultNotes
Versionv2cv1, v2c or v3
Port161UDP
CommunityRead community for v1/v2c
Write CommunityOptional, used only for SET
Timeout5 s1–10 s
Retries10–5
Max Repetitions2510–50, used by GETBULK

Tap Test Connection. It reads sysName and sysDescr, and if something is wrong it says what to fix. See SNMP errors.

SNMPv3

SNMPv3 uses the user-based security model (USM). Fill in:

  • User: the SNMPv3 user name (case-sensitive, up to 32 characters).
  • Security Level: No Auth (noAuthNoPriv), Auth (authNoPriv) or Auth + Privacy (authPriv).
  • Auth Protocol and Auth Password (at least 8 characters).
  • Privacy Protocol and Privacy Password (at least 8 characters).
  • Context: optional. Leave empty unless the agent uses contexts (for example per-VRF or per-VLAN on Cisco).
  • Engine ID: optional. It is discovered automatically; Discover Engine ID asks the agent for it.

Supported SNMPv3 algorithms

AuthenticationStandard
MD5RFC 3414 (legacy)
SHA-1RFC 3414 (legacy)
SHA-224, SHA-256, SHA-384, SHA-512RFC 7860 (SHA-256 is the default)
PrivacyStandard
DESRFC 3414 (legacy)
3DES3DES-EDE (legacy)
AES-128RFC 3826 (the default)
AES-192, AES-256Blumenthal key extension
AES-192 (Cisco), AES-256 (Cisco)Reeder key extension, as used by Cisco IOS

AES-192/256 on Cisco: there are two incompatible ways to stretch the key for AES-192 and AES-256. If a Cisco device rejects your privacy password, choose the (Cisco) variant. The app suggests this when it sees a decryption error.

A classic Cisco IOS configuration, which matches Auth + Privacy, SHA-1 and AES-128 in xInfra:

snmp-server group NETOPS v3 priv
snmp-server user monitor NETOPS v3 auth sha AuthPass123 priv aes 128 PrivPass123

Device overview

Opening a device with SNMP shows:

  • System: name, description, location, contact, model, serial, firmware and object ID (from SNMPv2-MIB and ENTITY-MIB).
  • Health: CPU, memory, storage and uptime. CPU and memory come from vendor MIBs where available (Cisco, Juniper, Fortinet, Aruba, HP) and from HOST-RESOURCES-MIB otherwise. Temperature is shown for MikroTik devices.
  • Interfaces: a summary with links to the full list.
  • Network: IP addresses, ARP table, routes, LLDP and CDP neighbors, TCP connections and UDP listeners.

The overview refreshes while it is on screen and stops when you leave it or switch apps.

Interfaces

The interface list reads IF-MIB (ifTable and ifXTable) and shows each interface's status, alias, speed, inbound and outbound rate, a sparkline, utilization and errors.

  • Search by name, alias, MAC or IP, and filter by All, Up, Down or Errors.
  • Refresh every 2, 5, 15 or 60 seconds (default 5 s), or pause.
  • Sort by name, traffic or errors.
  • 64-bit counters (ifHCInOctets, ifHCOutOctets) are used on v2c and v3. Rates handle counter wraps.

Tap an interface for its detail page: live traffic chart, admin and operational status, last change, type, speed, duplex, MTU, MAC, counters (unicast, multicast, broadcast, discards, errors), addresses and the LLDP/CDP neighbor. From there you can copy all values, export CSV, share the chart, walk the interface, or (Pro) shut it down or enable it.

History charts

Besides the live chart, the 1 H, 24 H and 7 D ranges show stored history. History is recorded only while xInfra is open on that device's overview or interface screen, at most one sample per minute, and kept for 7 days. Nothing is collected while the app is closed, so gaps in the chart are normal.

Walk

Walk reads a subtree with GETBULK (v2c/v3) or GETNEXT (v1). Start from a name or OID such as ifTable, IF-MIB::ifDescr or 1.3.6.1.2.1.2, or use a quick root: system, interfaces, ifXTable, ipAddrTable, entPhysical, lldpRemTable, hrStorage.

  • Results stream in as they arrive, with OIDs resolved to names.
  • Tables can be shown as a table (rows by index) or a list.
  • A walk pauses at 5,000 objects; tap Continue for more.
  • If the agent stops answering mid-walk, partial results are kept and you can Resume.
  • Too-large responses reduce the repetition count automatically; agents with broken GETBULK fall back to GETNEXT.
  • Share results as CSV, JSON or plain text.

Tap a row for its type, syntax, access and description, with Get Again, Walk From Here, Copy OID, Copy Value and (Pro) Set….

GET and SET

The Get & Set screen sends a request for up to 10 objects at once.

  • Operation: GET, GETNEXT or GETBULK (with non-repeaters and max repetitions).
  • Repeat Every: off, 5 s or 30 s, while the screen is open. Useful for watching a counter.
  • The last 10 requests per device are kept under Recent.

SET (Pro)

  1. Pick the object and the new value. The type is taken from the MIB when known: Integer32, Unsigned32, Counter32, Counter64, Gauge32, TimeTicks, OctetString, Hex String, IpAddress, OID, Bits, Opaque or Null. Enumerations become a picker (for example up(1) / down(2)).
  2. Review the change: the current and new value side by side, and a warning such as "This changes the live device configuration".
  3. Tap Set Value. xInfra reads the value back to confirm it.

For v1/v2c, SET uses the Write Community if one is set, otherwise the read community. Settings ▸ Security can require Face ID before every SNMP write.

Send Trap or Inform

From Get & Set, Send Trap or Inform… sends a notification to a manager (default port 162) to test that your NMS receives it. xInfra can send traps; it does not receive them.

MIB browser

The MIB browser (Tools ▸ MIB Browser) includes 58 standard modules with 2,585 objects, including SNMPv2-MIB, IF-MIB, IP-MIB, IP-FORWARD-MIB, HOST-RESOURCES-MIB, BRIDGE-MIB, EtherLike-MIB, TCP-MIB, UDP-MIB, RMON and the net-snmp UCD MIBs.

  • Search by object name, module or numeric OID.
  • Each object shows its OID, syntax, access, status, units, index and description, with Get and Walk on a device.
  • OIDs typed anywhere in the app are resolved to names as you type.

Import MIB files (Pro)

Tap + in the MIB browser and pick one or more MIB files (SMIv1 or SMIv2, up to 8 MB each), for example vendor MIBs like CISCO-PROCESS-MIB or JUNIPER-MIB. Import the modules a MIB depends on in the same batch, or before it. Imported modules appear under Imported and take precedence over bundled ones.

Tips

  • Use v2c or v3 for 64-bit counters. SNMPv1 can't carry Counter64, so ifHCInOctets returns "Object not found" over v1.
  • On SNMPv3, a wrong privacy password often looks like a timeout: many agents silently drop packets they can't decrypt.
  • SNMP uses UDP, so a firewall or ACL usually shows up as "No response", never as "refused".