sysServices
JANITZA-MIB ·
.1.3.6.1.2.1.1.7
Object
scalar mandatory
Integer32
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.
Context
- MIB
- JANITZA-MIB
- OID
.1.3.6.1.2.1.1.7- Type
- scalar
- Access
- readonly
- Status
- mandatory
- Parent
- system
Net-SNMP examples
How SNMP and these commands workScalars have one instance, identified by the .0 suffix.
Read the scalar instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'JANITZA-MIB' -M '/opt/observium/mibs/janitza:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'JANITZA-MIB::sysServices.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'JANITZA-MIB' -M '/opt/observium/mibs/janitza:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'JANITZA-MIB::sysServices'
Syntax
Integer32
Values & Constraints
No enumerated values or constraints recorded.