All MIBs › Unisphere-Data-System-Clock-MIB › usdSysClockDateAndTime
usdSysClockDateAndTime
Module: Unisphere-Data-System-Clock-MIB
OID (symbolic): Unisphere-Data-System-Clock-MIB::usdSysClockDateAndTime
OID (numeric): 1.3.6.1.4.1.4874.2.2.56.1.1.1
Node type: OBJECT-TYPE
Type: DateAndTime
Access: read-write
Description: This object is used to manage the system clock time, date and timezone. If the Network Time Protocol (NTP) is enabled, attempts to set this object will result in an inconsistantValue error. For sets, the implementation may check the value of the year and if it is outside of a 'reasonable' range (e.g., 1999..2035) it may return an inconsistantValue error. Only system clock time and date will be set if the timezone offset is not set along with the timezone name.
What is usdSysClockDateAndTime?
Sets or reads the system's date, time, and timezone offset, using the standard DateAndTime encoding based on the Gregorian calendar. If NTP is enabled, a set to this object fails with an inconsistentValue error, and the implementation may also reject years outside a reasonable range like 1999-2035 — so admins only use this for manual clock setting on devices not synced to NTP.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.4.1.4874.2.2.56.1.1.1 snmpwalk -v2c -c public <target> Unisphere-Data-System-Clock-MIB::usdSysClockDateAndTime
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.4.1.4874.2.2.56.1.1.1.1 snmpget -v2c -c public <target> Unisphere-Data-System-Clock-MIB::usdSysClockDateAndTime.1
Set instance 1 (SNMPv2c):
snmpset -v2c -c private <target> 1.3.6.1.4.1.4874.2.2.56.1.1.1.1 s <value>
Start monitoring Unisphere Networks (Juniper E-series/ERX) routing switches (system clock/NTP sync-state status) with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the Unisphere-Data-System-Clock-MIB::usdSysClockDateAndTime OID value, configure state conditions and alerts, and monitor any Unisphere Networks (Juniper E-series/ERX) routing switches (system clock/NTP sync-state status) from a single console.
OID Breakdown
Upper-level ancestors (12 from the standard OID tree / other modules)
| Numeric OID | Name | Module |
|---|---|---|
| 1 | iso | LANART-AGENT |
| 1.3 | org | AirPair-MIB |
| 1.3.6 | dod | AirPair-MIB |
| 1.3.6.1 | internet | AirPair-MIB |
| 1.3.6.1.4 | private | AirPair-MIB |
| 1.3.6.1.4.1 | enterprises | AirPair-MIB |
| 1.3.6.1.4.1.4874 | juniperUni | Juniper-UNI-SMI |
| 1.3.6.1.4.1.4874.2 | juniperUniMibs | Juniper-UNI-SMI |
| 1.3.6.1.4.1.4874.2.2 | juniMibs | Juniper-MIBs |
| 1.3.6.1.4.1.4874.2.2.56 | juniSysClockMIB | Juniper-MIBs |
| 1.3.6.1.4.1.4874.2.2.56.1 | juniSysClockObjects | Juniper-System-Clock-MIB |
| 1.3.6.1.4.1.4874.2.2.56.1.1 | juniSysClockTime | Juniper-System-Clock-MIB |
| Numeric OID | Name | Module |
|---|---|---|
| 1.3.6.1.4.1.4874.2.2.56.1.1.1 | usdSysClockDateAndTime | Unisphere-Data-System-Clock-MIB |