All MIBs › SNMPv2-MIB › sysServices
sysServices
Module: SNMPv2-MIB
OID (symbolic): SNMPv2-MIB::sysServices
OID (numeric): 1.3.6.1.2.1.1.7
Node type: OBJECT-TYPE
Type: INTEGER
Access: read-only
Description: A value which indicates the set of services that this entity may potentially offer. The value is a sum.
This sum initially takes the value zero. Then, for each layer, L, in the range 1 through 7, that this node performs transactions for, 2 raised to (L - 1) is added to the sum. For example, a node which performs only routing functions would have a value of 4 (2^(3-1)). In contrast, a node which is a host offering application services would have a value of 72 (2^(4-1) + 2^(7-1)). Note that in the context of the Internet suite of protocols, values should be calculated accordingly:
layer functionality 1 physical (e.g., repeaters) 2 datalink/subnetwork (e.g., bridges) 3 internet (e.g., supports the IP) 4 end-to-end (e.g., supports the TCP) 7 applications (e.g., supports the SMTP)
For systems including OSI protocols, layers 5 and 6 may also be counted.
What is sysServices?
This is a number (0–127) that encodes which OSI layers the device operates at using a binary sum; you calculate layer services as powers of 2. Network engineers use it to understand what role the device plays (e.g., value 4 means routing only, value 76 means routing and application services). It saves time by letting software automatically determine whether a device is a router, switch, or host.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.2.1.1.7 snmpwalk -v2c -c public <target> SNMPv2-MIB::sysServices
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.2.1.1.7.1 snmpget -v2c -c public <target> SNMPv2-MIB::sysServices.1
Example output:
SNMPv2-MIB::sysServices.0 = INTEGER: 72
Start monitoring vendor-neutral, standards-based MIB, any SNMP-capable device, servers/routers/switches/printers (system identity/uptime status) with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the SNMPv2-MIB::sysServices OID value, configure state conditions and alerts, and monitor any vendor-neutral, standards-based MIB, any SNMP-capable device, servers/routers/switches/printers (system identity/uptime status) from a single console.
OID Breakdown
Upper-level ancestors (7 from the standard OID tree / other modules)
| Numeric OID | Name | Module |
|---|---|---|
| 1 | iso | LANART-AGENT |
| 1.3 | org | AirPair-MIB |
| 1.3.6 | dod | AirPair-MIB |
| 1.3.6.1 | internet | AirPair-MIB |
| 1.3.6.1.2 | mgmt | AXON-MIB |
| 1.3.6.1.2.1 | mib_2 | AXON-MIB |
| 1.3.6.1.2.1.1 | system | AIMOS |
| Numeric OID | Name | Module |
|---|---|---|
| 1.3.6.1.2.1.1.7 | sysServices | SNMPv2-MIB |