All MIBs › CISCO-STACK-MIB › ntpServerPublicKey
ntpServerPublicKey
Module: CISCO-STACK-MIB
OID (symbolic): CISCO-STACK-MIB::ntpServerPublicKey
OID (numeric): 1.3.6.1.4.1.9.5.1.15.4.1.3
Node type: OBJECT-TYPE
Type: Unsigned32
Access: read-write
Description: The key to be used when communicating with this server. A key with a value of zero indicates an invalid ntpServerPublicKey. When the authentication feature is enabled the system will not sync with this server when ntpAuthenticationPublicKey doesn't match with NTP Packet's public key. or If the ntpAuthenticationTrustedMode is trusted but encrypted message of ntpAuthenticationSecretKey with NTP packet's data doesn't match with NTP packet's crypto checksum in the message authentication mode (MAC). or If the ntpAuthenticationTrustedMode is untrusted.
In client mode NMP will not send request NTP Packet to the server when ntpServerPublicKey doesn't match with any of the ntpAuthenticationPublicKey in ntpAuthenticationTable. or If the ntpAuthenticationTrustedMode is untrusted.
What is ntpServerPublicKey?
Read-write key identifier used to authenticate NTP communications with a specific server; a value of zero means no authentication key is set, and authenticated sync is skipped if the key is invalid.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.4.1.9.5.1.15.4.1.3 snmpwalk -v2c -c public <target> CISCO-STACK-MIB::ntpServerPublicKey
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.4.1.9.5.1.15.4.1.3.1 snmpget -v2c -c public <target> CISCO-STACK-MIB::ntpServerPublicKey.1
Set instance 1 (SNMPv2c):
snmpset -v2c -c private <target> 1.3.6.1.4.1.9.5.1.15.4.1.3.1 i <value>
SNMPv3 example:
snmpget -v3 -l authPriv -u snmpv3-user -a SHA -A "AuthPassword1" -x AES -X "PrivPassword1" <target> ntpServerPublicKey.1
Start monitoring Cisco Catalyst switch (legacy/mid-generation) with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the CISCO-STACK-MIB::ntpServerPublicKey OID value, configure state conditions and alerts, and monitor any Cisco Catalyst switch (legacy/mid-generation) from a single console.
OID Breakdown
Upper-level ancestors (8 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.9 | cisco | CAT2600-MIB |
| 1.3.6.1.4.1.9.5 | workgroup | CISCO-ES-STACK-MIB |
| Numeric OID | Name | Module |
|---|---|---|
| 1.3.6.1.4.1.9.5.1 | ciscoStackMIB | CISCO-STACK-MIB |
| 1.3.6.1.4.1.9.5.1.15 | ntpGrp | CISCO-STACK-MIB |
| 1.3.6.1.4.1.9.5.1.15.4 | ntpServerTable | CISCO-STACK-MIB |
| 1.3.6.1.4.1.9.5.1.15.4.1 | ntpServerEntry | CISCO-STACK-MIB |
| 1.3.6.1.4.1.9.5.1.15.4.1.3 | ntpServerPublicKey | CISCO-STACK-MIB |