sapAccountingPolicyId
TIMETRA-SAP-MIB ·
.1.3.6.1.4.1.6527.3.1.2.4.3.2.1.18
Object
column r/w
Unsigned32
This object specifies the policy to use to collect accounting statistics on this SAP. The value zero indicates that the agent should use the default accounting policy, if one exists.
Context
- MIB
- TIMETRA-SAP-MIB
- OID
.1.3.6.1.4.1.6527.3.1.2.4.3.2.1.18- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- sapBaseInfoEntry
- Groups
- 6
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 'TIMETRA-SAP-MIB' -M '/opt/observium/mibs/nokia:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'TIMETRA-SAP-MIB::sapAccountingPolicyId'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'TIMETRA-SAP-MIB' -M '/opt/observium/mibs/nokia:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'TIMETRA-SAP-MIB::sapAccountingPolicyId.<svcId>.<sapPortId>.<sapEncapValue>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'TIMETRA-SAP-MIB' -M '/opt/observium/mibs/nokia:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'TIMETRA-SAP-MIB::sapAccountingPolicyId'
Syntax
Unsigned32
Values & Constraints
Object Constraints
range: 0-99