attrAndOid
Es2952-MIB ·
.1.3.6.1.4.1.3902.15.2.11.16.2.1.3
Object
column r/w
OctetString
View attribute and OID which attached to view. The set value is not always equal with the get value. The format is 0 or x-y or 3.x is 1,which means include, 2 which means exclude.y is the oid. such as .1.3.6. when x is 0,clear the view. when x is 3,the setting is the default(include .1.3.6.1).
Context
- MIB
- Es2952-MIB
- OID
.1.3.6.1.4.1.3902.15.2.11.16.2.1.3- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- viewEntry
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 'Es2952-MIB' -M '/opt/observium/mibs/zte:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'Es2952-MIB::attrAndOid'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'Es2952-MIB' -M '/opt/observium/mibs/zte:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'Es2952-MIB::attrAndOid.<viewIndex>.<viewName>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'Es2952-MIB' -M '/opt/observium/mibs/zte:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'Es2952-MIB::attrAndOid'
Syntax
OctetString
Values & Constraints
Object Constraints
range: 0-150