diffServConfigId
DIFFSERV-CONFIG-MIB ·
.1.3.6.1.2.1.108.1.2.1.1
Object
column OctetString
A unique id for the per-hop-behavior policy for at
least the SNMP agent. For ease of administration the
value may be unique within an administrative domain,
but this is not required.
The range of up to 116 octets is chosen to stay within
the SMI limit of 128 sub-identifiers in an object
identifier.
Context
- MIB
- DIFFSERV-CONFIG-MIB
- OID
.1.3.6.1.2.1.108.1.2.1.1- Type
- column
- Access
- noaccess
- Status
- current
- Parent
- diffServConfigEntry
Net-SNMP examples
How SNMP and these commands workWalk the column to discover its indexed instances, or supply every index to read one instance.
Walk the column
/usr/bin/snmpbulkwalk -v2c -c '<community>' -Pud -Ir -OQUs -m 'DIFFSERV-CONFIG-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'DIFFSERV-CONFIG-MIB::diffServConfigId'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'DIFFSERV-CONFIG-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'DIFFSERV-CONFIG-MIB::diffServConfigId.<diffServConfigId>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'DIFFSERV-CONFIG-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'DIFFSERV-CONFIG-MIB::diffServConfigId'
Syntax
OctetString
Values & Constraints
Object Constraints
range: 1-116