SNMPv2-MIB :: sysServices

MIB Reference — IPNetwork Monitor

All MIBsSNMPv2-MIBsysServices

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

OID Breakdown

Numeric OIDNameModule
1isoLANART-AGENT
1.3orgBIANCA-BRICK-PPP-MIB
1.3.6dodBIANCA-BRICK-PPP-MIB
1.3.6.1internetBIANCA-BRICK-PPP-MIB
1.3.6.1.2mgmtBKTEL-HFC862-BASE-MIB
1.3.6.1.2.1mib_2CHECKPOINT-MIB-2
1.3.6.1.2.1.1systemCHECKPOINT-MIB-2
1.3.6.1.2.1.1.7sysServicesSNMPv2-MIB