All MIBs › NOKIA-NTP-MIB › ntcNtpRtcCurrentTime
ntcNtpRtcCurrentTime
Module: NOKIA-NTP-MIB
OID (symbolic): NOKIA-NTP-MIB::ntcNtpRtcCurrentTime
OID (numeric): 1.3.6.1.4.1.94.1.16.7.2.1.2.1
Node type: OBJECT-TYPE
Type: OCTET STRING
Access: read-write
Description: Reading this variable gives the current local time of NEs RTC including the time zone information. NEs local time can be set by updating this variable. The time is always returned and must be always set in a format of full 11 octects as DateAndTime in RFC 1514, as follows: octets contents range 1-2 year 0..65536 (in network byte order) 3 month 1..12 4 day 1..31 5 hour 0..23 6 minutes 0..59 7 seconds 0..60 (use 60 for leap-second) 8 deci-seconds 0..9 9 direction from UTC + or - (in ascii notation) 10 hours from UTC 0..13 11 minutes from UTC 0..59
What is ntcNtpRtcCurrentTime?
This value reads or sets the network element's real-time clock, including time zone offset, as an 11-octet DateAndTime structure per RFC 1514 encoding year, month, day, hour, minute, second, deciseconds, and UTC offset direction/hours/minutes. Admins can read it to check the device's current local time, or write it to manually set the clock when NTP isn't in use or before NTP has first synchronized. For example, writing a properly encoded value representing March 15, 2024, 14:30:00 with a +0300 offset would set the device's local clock to that exact time and zone.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.4.1.94.1.16.7.2.1.2.1 snmpwalk -v2c -c public <target> NOKIA-NTP-MIB::ntcNtpRtcCurrentTime
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.4.1.94.1.16.7.2.1.2.1.1 snmpget -v2c -c public <target> NOKIA-NTP-MIB::ntcNtpRtcCurrentTime.1
Set instance 1 (SNMPv2c):
snmpset -v2c -c private <target> 1.3.6.1.4.1.94.1.16.7.2.1.2.1.1 s <value>
Start monitoring Nokia routers/security appliances with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the NOKIA-NTP-MIB::ntcNtpRtcCurrentTime OID value, configure state conditions and alerts, and monitor any Nokia routers/security appliances from a single console.
OID Breakdown
Upper-level ancestors (11 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.94 | nokia | NOKIA-AZC-REGISTRATION-MIB |
| 1.3.6.1.4.1.94.1 | nokiaProducts | NOKIA-AZC-REGISTRATION-MIB |
| 1.3.6.1.4.1.94.1.16 | ntcCommon | NOKIA-COMMON-ALARM-REPORTING-MIB |
| 1.3.6.1.4.1.94.1.16.7 | ntcCommonMibs | NOKIA-COMMON-MIB-OID-REGISTRATION-MIB |
| 1.3.6.1.4.1.94.1.16.7.2 | ntcNtpMibs | NOKIA-COMMON-MIB-OID-REGISTRATION-MIB |
| Numeric OID | Name | Module |
|---|---|---|
| 1.3.6.1.4.1.94.1.16.7.2.1 | nokiaNtpObjs | NOKIA-NTP-MIB |
| 1.3.6.1.4.1.94.1.16.7.2.1.2 | ntcNtpRtcConf | NOKIA-NTP-MIB |
| 1.3.6.1.4.1.94.1.16.7.2.1.2.1 | ntcNtpRtcCurrentTime | NOKIA-NTP-MIB |