All MIBs › HP-SN-SWITCH-GROUP-MIB › snNTPSystemClock
snNTPSystemClock
Module: HP-SN-SWITCH-GROUP-MIB
OID (symbolic): HP-SN-SWITCH-GROUP-MIB::snNTPSystemClock
OID (numeric): 1.3.6.1.4.1.11.2.3.7.11.12.1.3.11.1.4
Node type: OBJECT-TYPE
Type: OCTET STRING
Access: read-write
Description: System clock, in the following format: octet 0: seconds after the minute [0-60] octet 1: minutes after the hour [0-59] octet 2: hours since midnight [0-23] octet 3: day of the month [1-31] octet 4: months since January [0-11] octet 5: years since 1900 octet 6: days since Sunday [0-6] Setting this object requires valid value in octets 0 to 5, and zero in octet 6. System clock can be disabled by setting zero to all octets.
What is snNTPSystemClock?
Holds the switch's system clock as a 7-octet structure (seconds, minutes, hours, day, month, year-since-1900, day-of-week); setting it requires valid values in the first six octets and zero in the seventh, and writing all zeros disables the clock. An admin sets this to manually configure the switch's date and time when NTP is unavailable, or clears it to disable the local clock.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.4.1.11.2.3.7.11.12.1.3.11.1.4 snmpwalk -v2c -c public <target> HP-SN-SWITCH-GROUP-MIB::snNTPSystemClock
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.4.1.11.2.3.7.11.12.1.3.11.1.4.1 snmpget -v2c -c public <target> HP-SN-SWITCH-GROUP-MIB::snNTPSystemClock.1
Set instance 1 (SNMPv2c):
snmpset -v2c -c private <target> 1.3.6.1.4.1.11.2.3.7.11.12.1.3.11.1.4.1 s <value>
Start monitoring HP ServerNet switch (Foundry-heritage) with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the HP-SN-SWITCH-GROUP-MIB::snNTPSystemClock OID value, configure state conditions and alerts, and monitor any HP ServerNet switch (Foundry-heritage) from a single console.
OID Breakdown
Upper-level ancestors (14 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.11 | hp | CLJ8500-MIB |
| 1.3.6.1.4.1.11.2 | nm | CLJ8500-MIB |
| 1.3.6.1.4.1.11.2.3 | hpsystem | CLJ8500-MIB |
| 1.3.6.1.4.1.11.2.3.7 | netElement | HP-BASE-MIB |
| 1.3.6.1.4.1.11.2.3.7.11 | hpEtherSwitch | HP-BASE-MIB |
| 1.3.6.1.4.1.11.2.3.7.11.12 | hpSwitchCore | HP-SN-ROOT-MIB |
| 1.3.6.1.4.1.11.2.3.7.11.12.1 | switch | HP-SN-ROOT-MIB |
| 1.3.6.1.4.1.11.2.3.7.11.12.1.3 | snSwitch | HP-SN-ROOT-MIB |
| Numeric OID | Name | Module |
|---|---|---|
| 1.3.6.1.4.1.11.2.3.7.11.12.1.3.11 | snNTP | HP-SN-SWITCH-GROUP-MIB |
| 1.3.6.1.4.1.11.2.3.7.11.12.1.3.11.1 | snNTPGeneral | HP-SN-SWITCH-GROUP-MIB |
| 1.3.6.1.4.1.11.2.3.7.11.12.1.3.11.1.4 | snNTPSystemClock | HP-SN-SWITCH-GROUP-MIB |