snAccountingCommandMethods
HP-SN-SWITCH-GROUP-MIB ·
.1.3.6.1.4.1.11.2.3.7.11.12.1.3.15.3.1
Object
scalar r/w
OctetString
A sequence of accounting methods. Each octet represents a method to account for the user command. Each octet has the following enumeration value: radius(2) - send accounting info to radius server tacplus(5) - send accounting info to tacplus server none(6) - skip accounting Setting a zero length octet string invalidates all previous accounting methods.
Context
- MIB
- HP-SN-SWITCH-GROUP-MIB
- OID
.1.3.6.1.4.1.11.2.3.7.11.12.1.3.15.3.1- Type
- scalar
- Access
- readwrite
- Status
- current
- Parent
- snAccounting
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 'HP-SN-SWITCH-GROUP-MIB' -M '/opt/observium/mibs/hp:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HP-SN-SWITCH-GROUP-MIB::snAccountingCommandMethods.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HP-SN-SWITCH-GROUP-MIB' -M '/opt/observium/mibs/hp:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HP-SN-SWITCH-GROUP-MIB::snAccountingCommandMethods'
Syntax
OctetString
Values & Constraints
Object Constraints
range: 0-3