timeRange
Es2952-MIB ·
.1.3.6.1.4.1.3902.15.2.11.17.1.1.2
Object
column r/w
OctetString
The format is Z(YYYYMMDD(?)*hh:mm-YYYYMMDD(?)*hh:mm);
Z takes the following value:
0:clear the timeRange ,no word followed;
1:monday;
2:tuesday;
3:wednesday;
4:thursday;
5:friday;
6:Saturday;
7:sunday;
8:day-working;
9:day-off;
10:daily;
11:absolute time;
YYYYMMDD is the format of date ,such as 20040208;
If '?',means no limit;
hh:mm is the format of time,such as 01:55.
Context
- MIB
- Es2952-MIB
- OID
.1.3.6.1.4.1.3902.15.2.11.17.1.1.2- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- timeAclEntry
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::timeRange'
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::timeRange.<timeRangeName>'
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::timeRange'
Syntax
OctetString
Values & Constraints
Object Constraints
range: 0-150