-- ***************************************************************** -- NTP-MIB.mib : D-Link NTP MIB -- -- Copyright (c) 2017 D-Link Corporation, all rights reserved. -- -- Version 1.00, 2017/02/17, Jerry Qin -- This is the first formal version for universal MIB definition. -- Sync from DLINKSW-NTP-MIB.mib(dNtp=>swNtp,DNtp=>SwNtp, -- dlinkIndustrialCommon=>dlink-common-mgmt) -- ***************************************************************** NTP-MIB DEFINITIONS ::= BEGIN IMPORTS MODULE-IDENTITY, OBJECT-TYPE FROM SNMPv2-SMI MODULE-COMPLIANCE, OBJECT-GROUP FROM SNMPv2-CONF TEXTUAL-CONVENTION, TruthValue, RowStatus FROM SNMPv2-TC InetAddressType, InetAddress, InetAddressPrefixLength FROM INET-ADDRESS-MIB DisplayString FROM RFC1213-MIB InterfaceIndex, InterfaceIndexOrZero FROM IF-MIB dlink-common-mgmt FROM DLINK-ID-REC-MIB; swNtpMIB MODULE-IDENTITY LAST-UPDATED "201702130000Z" ORGANIZATION "D-Link Corp." CONTACT-INFO " D-Link Corporation Postal: No. 289, Sinhu 3rd Rd., Neihu District, Taipei City 114, Taiwan, R.O.C Tel: +886-2-66000123 E-mail: tsd@dlink.com.tw " DESCRIPTION "The Structure of NTP for the proprietary enterprise." REVISION "201702130000Z" DESCRIPTION "This is the first version of the MIB file. " ::= { dlink-common-mgmt 118 } -- ----------------------------------------------------------------------------- swNtpMIBNotifications OBJECT IDENTIFIER ::= { swNtpMIB 0 } swNtpMIBObjects OBJECT IDENTIFIER ::= { swNtpMIB 1 } swNtpMIBConformance OBJECT IDENTIFIER ::= { swNtpMIB 2 } -- ----------------------------------------------------------------------------- -- ******************************************************************** -- swNtpCtrl OBJECT IDENTIFIER ::= { swNtpMIBObjects 1 } -- ******************************************************************** swNtpCtrl OBJECT IDENTIFIER ::= { swNtpMIBObjects 1 } swNtpServiceEnabled OBJECT-TYPE SYNTAX TruthValue MAX-ACCESS read-write STATUS current DESCRIPTION "This object enables/disables the NTP service on the device." DEFVAL { false } ::= { swNtpCtrl 1 } swNtpAuthenticateEnabled OBJECT-TYPE SYNTAX TruthValue MAX-ACCESS read-write STATUS current DESCRIPTION "This object enables/disables NTP authentication on the device." DEFVAL { true } ::= { swNtpCtrl 2 } swNtpUpdateCalendarEnabled OBJECT-TYPE SYNTAX TruthValue MAX-ACCESS read-write STATUS current DESCRIPTION "This object enables/disables periodically update calendar." DEFVAL { false } ::= { swNtpCtrl 3 } swNtpMaxAssociations OBJECT-TYPE SYNTAX INTEGER MAX-ACCESS read-write STATUS current DESCRIPTION "This object used to configure the maximum number of NTP peers and clients on the device." DEFVAL { 32 } ::= { swNtpCtrl 4 } swNtpBroadcastDelay OBJECT-TYPE SYNTAX INTEGER (1..999999) MAX-ACCESS read-write STATUS current DESCRIPTION "This object used to configure NTP broadcast delay in millisecond." DEFVAL { 300 } ::= { swNtpCtrl 5 } swNtpControlKey OBJECT-TYPE SYNTAX INTEGER MAX-ACCESS read-write STATUS current DESCRIPTION "This object used to Specify the key ID for the NTP control message." DEFVAL { 0 } ::= { swNtpCtrl 6 } swNtpRequestKey OBJECT-TYPE SYNTAX INTEGER MAX-ACCESS read-write STATUS current DESCRIPTION "This object used to Specify the key ID for the NTP mode 7 packets." DEFVAL { 0 } ::= { swNtpCtrl 7 } swNtpMasterStratum OBJECT-TYPE SYNTAX INTEGER(0..15) MAX-ACCESS read-write STATUS current DESCRIPTION "This object used to configure switch act as NTP master clock. Note:Valid stratum is 1-15, 0 for disable." ::= { swNtpCtrl 8 } -- ******************************************************************** -- swNtpAccessGroupTable OBJECT IDENTIFIER ::= { swNtpMIBObjects 2 } -- ******************************************************************** swNtpAccessGroupTable OBJECT-TYPE SYNTAX SEQUENCE OF SwNtpAccessGroupEntry MAX-ACCESS not-accessible STATUS current DESCRIPTION "This object describes the access group of NTP." ::= { swNtpMIBObjects 2 } swNtpAccessGroupEntry OBJECT-TYPE SYNTAX SwNtpAccessGroupEntry MAX-ACCESS not-accessible STATUS current DESCRIPTION "This is a list of information contained in the swNtpAccessGroupTable." INDEX { swNtpAccessGroupVrfName, swNtpAccessGroupIpAddressType, swNtpAccessGroupIpAddress, swNtpAccessGroupIpAddressPrefixLength} ::= { swNtpAccessGroupTable 1 } SwNtpAccessGroupEntry ::= SEQUENCE { swNtpAccessGroupVrfName DisplayString, swNtpAccessGroupIpAddressType InetAddressType, swNtpAccessGroupIpAddress InetAddress, swNtpAccessGroupIpAddressPrefixLength InetAddressPrefixLength, swNtpAccessGroupIgnore TruthValue, swNtpAccessGroupNoModify TruthValue, swNtpAccessGroupNoQuery TruthValue, swNtpAccessGroupNoPeer TruthValue, swNtpAccessGroupNoServe TruthValue, swNtpAccessGroupNoTrust TruthValue, swNtpAccessGroupVersion TruthValue, swNtpAccessGroupRowStatus RowStatus } swNtpAccessGroupVrfName OBJECT-TYPE SYNTAX DisplayString (SIZE (0..12)) MAX-ACCESS not-accessible STATUS current DESCRIPTION "This object indicates the name of the routing forwarding instance. A zero length string indicates the VRF name is not specified. For the platform that doesn't support VRF, only a zero length string is allowed for this object. " ::= { swNtpAccessGroupEntry 1 } swNtpAccessGroupIpAddressType OBJECT-TYPE SYNTAX InetAddressType {ipv4(1), ipv6(2), ipv6z(4) } MAX-ACCESS not-accessible STATUS current DESCRIPTION "The Internet address type of access group." ::= { swNtpAccessGroupEntry 2 } swNtpAccessGroupIpAddress OBJECT-TYPE SYNTAX InetAddress (SIZE (4|16|20)) MAX-ACCESS not-accessible STATUS current DESCRIPTION "IP address expressed in dotted-quad form is the address of a host or network. Note:use 0.0.0.0 for default entry" ::= { swNtpAccessGroupEntry 3 } swNtpAccessGroupIpAddressPrefixLength OBJECT-TYPE SYNTAX InetAddressPrefixLength MAX-ACCESS not-accessible STATUS current DESCRIPTION "The length of the prefix associated with the IP address of this entry." ::= { swNtpAccessGroupEntry 4 } swNtpAccessGroupIgnore OBJECT-TYPE SYNTAX TruthValue MAX-ACCESS read-write STATUS current DESCRIPTION "This object can deny packets of all kinds, including NTP control queries." DEFVAL { false } ::= { swNtpAccessGroupEntry 5 } swNtpAccessGroupNoModify OBJECT-TYPE SYNTAX TruthValue MAX-ACCESS read-write STATUS current DESCRIPTION "This object can deny NTP control queries which attempt to modify the state of the server." DEFVAL { false } ::= { swNtpAccessGroupEntry 6 } swNtpAccessGroupNoQuery OBJECT-TYPE SYNTAX TruthValue MAX-ACCESS read-write STATUS current DESCRIPTION "This object can deny all NTP control queries." DEFVAL { false } ::= { swNtpAccessGroupEntry 7 } swNtpAccessGroupNoPeer OBJECT-TYPE SYNTAX TruthValue MAX-ACCESS read-write STATUS current DESCRIPTION "This object can deny packets that might mobilize an association unless authenticated." DEFVAL { false } ::= { swNtpAccessGroupEntry 8 } swNtpAccessGroupNoServe OBJECT-TYPE SYNTAX TruthValue MAX-ACCESS read-write STATUS current DESCRIPTION "This object can deny all packets except NTP control queries." DEFVAL { false } ::= { swNtpAccessGroupEntry 9 } swNtpAccessGroupNoTrust OBJECT-TYPE SYNTAX TruthValue MAX-ACCESS read-write STATUS current DESCRIPTION "This object can deny packets that are not cryptographically authenticated." DEFVAL { false } ::= { swNtpAccessGroupEntry 10 } swNtpAccessGroupVersion OBJECT-TYPE SYNTAX TruthValue MAX-ACCESS read-write STATUS current DESCRIPTION "This object can deny packets that do not match the current NTP version." DEFVAL { false } ::= { swNtpAccessGroupEntry 11 } swNtpAccessGroupRowStatus OBJECT-TYPE SYNTAX RowStatus MAX-ACCESS read-create STATUS current DESCRIPTION "This object describes the state of the access group entry." ::= { swNtpAccessGroupEntry 99 } -- ******************************************************************** -- swNtpAccessInterfaceTable OBJECT IDENTIFIER ::= { swNtpMIBObjects 3 } -- ******************************************************************** swNtpAccessInterfaceTable OBJECT-TYPE SYNTAX SEQUENCE OF SwNtpAccessInterfaceEntry MAX-ACCESS not-accessible STATUS current DESCRIPTION "This object describes the interface control of NTP." ::= { swNtpMIBObjects 3 } swNtpAccessInterfaceEntry OBJECT-TYPE SYNTAX SwNtpAccessInterfaceEntry MAX-ACCESS not-accessible STATUS current DESCRIPTION "This is a list of information contained in the swNtpAccessInterfaceTable." INDEX {swNtpAccessInterfaceIfIndex} ::= { swNtpAccessInterfaceTable 1 } SwNtpAccessInterfaceEntry ::= SEQUENCE { swNtpAccessInterfaceIfIndex InterfaceIndex, swNtpAccessInterfaceEnabled TruthValue } swNtpAccessInterfaceIfIndex OBJECT-TYPE SYNTAX InterfaceIndex MAX-ACCESS not-accessible STATUS current DESCRIPTION "The ifIndex value of the interface is determined by the agent." ::= { swNtpAccessInterfaceEntry 1 } swNtpAccessInterfaceEnabled OBJECT-TYPE SYNTAX TruthValue MAX-ACCESS read-write STATUS current DESCRIPTION "Indicate if NTP receive packet from this interface." DEFVAL { true } ::= { swNtpAccessInterfaceEntry 2 } -- ******************************************************************** -- swNtpAuthenticationKeyTable OBJECT IDENTIFIER ::= { swNtpMIBObjects 4 } -- ******************************************************************** swNtpAuthenticationKeyTable OBJECT-TYPE SYNTAX SEQUENCE OF SwNtpAuthenticationKeyEntry MAX-ACCESS not-accessible STATUS current DESCRIPTION "This object describes the access group of NTP." ::= { swNtpMIBObjects 4 } swNtpAuthenticationKeyEntry OBJECT-TYPE SYNTAX SwNtpAuthenticationKeyEntry MAX-ACCESS not-accessible STATUS current DESCRIPTION "This is a list of information contained in the swNtpAuthenticationKeyTable." INDEX {swNtpAuthenticationKeyId} ::= { swNtpAuthenticationKeyTable 1 } SwNtpAuthenticationKeyEntry ::= SEQUENCE { swNtpAuthenticationKeyId INTEGER, swNtpAuthenticationKeyType DisplayString, swNtpAuthenticationKeyValue DisplayString, swNtpAuthenticationKeyTrusted TruthValue, swNtpAuthenticationKeyStatus RowStatus } swNtpAuthenticationKeyId OBJECT-TYPE SYNTAX INTEGER(1..255) MAX-ACCESS not-accessible STATUS current DESCRIPTION "This object used to define authentication key ID for NTP." ::= { swNtpAuthenticationKeyEntry 1 } swNtpAuthenticationKeyType OBJECT-TYPE SYNTAX DisplayString (SIZE (1..12)) MAX-ACCESS read-create STATUS current DESCRIPTION "This object used to define authentication key type for NTP. Note: Only support md5 now." ::= { swNtpAuthenticationKeyEntry 2 } swNtpAuthenticationKeyValue OBJECT-TYPE SYNTAX DisplayString (SIZE (1..32)) MAX-ACCESS read-create STATUS current DESCRIPTION "This object used to define authentication key value for NTP." ::= { swNtpAuthenticationKeyEntry 3 } swNtpAuthenticationKeyTrusted OBJECT-TYPE SYNTAX TruthValue MAX-ACCESS read-write STATUS current DESCRIPTION "This object is used to trust an NTP key on the device." DEFVAL { false } ::= { swNtpAuthenticationKeyEntry 4 } swNtpAuthenticationKeyStatus OBJECT-TYPE SYNTAX RowStatus MAX-ACCESS read-create STATUS current DESCRIPTION "This object describes the state of the authentication key entry." ::= { swNtpAuthenticationKeyEntry 99 } -- ******************************************************************** -- swNtpCfgBroadcastClientTable OBJECT IDENTIFIER ::= { swNtpMIBObjects 5 } -- ******************************************************************** swNtpCfgBroadcastClientTable OBJECT-TYPE SYNTAX SEQUENCE OF SwNtpCfgBroadcastClientEntry MAX-ACCESS not-accessible STATUS current DESCRIPTION "This object describes the broadcast client of NTP." ::= { swNtpMIBObjects 5 } swNtpCfgBroadcastClientEntry OBJECT-TYPE SYNTAX SwNtpCfgBroadcastClientEntry MAX-ACCESS not-accessible STATUS current DESCRIPTION "This is a list of information contained in the swNtpCfgBroadcastClientTable." INDEX {swNtpCfgBroadcastClientIfIndex} ::= { swNtpCfgBroadcastClientTable 1 } SwNtpCfgBroadcastClientEntry ::= SEQUENCE { swNtpCfgBroadcastClientIfIndex InterfaceIndex, swNtpCfgBroadcastClientKeyId INTEGER, swNtpCfgBroadcastClientStatus RowStatus } swNtpCfgBroadcastClientIfIndex OBJECT-TYPE SYNTAX InterfaceIndex MAX-ACCESS not-accessible STATUS current DESCRIPTION "The ifIndex value of the interface is determined by the agent." ::= { swNtpCfgBroadcastClientEntry 1 } swNtpCfgBroadcastClientKeyId OBJECT-TYPE SYNTAX INTEGER(0..255) MAX-ACCESS read-write STATUS current DESCRIPTION "Defines the authentication key ID used for this entry. 0 means no key ID used." DEFVAL { 0 } ::= { swNtpCfgBroadcastClientEntry 2 } swNtpCfgBroadcastClientStatus OBJECT-TYPE SYNTAX RowStatus MAX-ACCESS read-create STATUS current DESCRIPTION "This object describes the state of the NTP broadcast client entry." ::= { swNtpCfgBroadcastClientEntry 99 } -- ******************************************************************** -- swNtpCfgBroadcastServerTable OBJECT IDENTIFIER ::= { swNtpMIBObjects 6 } -- ******************************************************************** swNtpCfgBroadcastServerTable OBJECT-TYPE SYNTAX SEQUENCE OF SwNtpCfgBroadcastServerEntry MAX-ACCESS not-accessible STATUS current DESCRIPTION "This object describes the broadcast server of NTP." ::= { swNtpMIBObjects 6 } swNtpCfgBroadcastServerEntry OBJECT-TYPE SYNTAX SwNtpCfgBroadcastServerEntry MAX-ACCESS not-accessible STATUS current DESCRIPTION "This is a list of information contained in the swNtpCfgBroadcastServerTable." INDEX {swNtpCfgBroadcastServerIfIndex} ::= { swNtpCfgBroadcastServerTable 1 } SwNtpCfgBroadcastServerEntry ::= SEQUENCE { swNtpCfgBroadcastServerIfIndex InterfaceIndex, swNtpCfgBroadcastServerVersion INTEGER, swNtpCfgBroadcastServerKeyId INTEGER, swNtpCfgBroadcastServerStatus RowStatus } swNtpCfgBroadcastServerIfIndex OBJECT-TYPE SYNTAX InterfaceIndex MAX-ACCESS not-accessible STATUS current DESCRIPTION "The ifIndex value of the interface is determined by the agent." ::= { swNtpCfgBroadcastServerEntry 1 } swNtpCfgBroadcastServerVersion OBJECT-TYPE SYNTAX INTEGER MAX-ACCESS read-write STATUS current DESCRIPTION "Defines the NTP version number." DEFVAL { 4 } ::= { swNtpCfgBroadcastServerEntry 2 } swNtpCfgBroadcastServerKeyId OBJECT-TYPE SYNTAX INTEGER(0..255) MAX-ACCESS read-write STATUS current DESCRIPTION "Defines the authentication key ID used for this entry. 0 means no key ID used." DEFVAL { 0 } ::= { swNtpCfgBroadcastServerEntry 3 } swNtpCfgBroadcastServerStatus OBJECT-TYPE SYNTAX RowStatus MAX-ACCESS read-create STATUS current DESCRIPTION "This object describes the state of the NTP broadcast server entry." ::= { swNtpCfgBroadcastServerEntry 99 } -- ******************************************************************** -- swNtpCfgMulticastClientTable OBJECT IDENTIFIER ::= { swNtpMIBObjects 7 } -- ******************************************************************** swNtpCfgMulticastClientTable OBJECT-TYPE SYNTAX SEQUENCE OF SwNtpCfgMulticastClientEntry MAX-ACCESS not-accessible STATUS current DESCRIPTION "This object describes the multicast client of NTP." ::= { swNtpMIBObjects 7 } swNtpCfgMulticastClientEntry OBJECT-TYPE SYNTAX SwNtpCfgMulticastClientEntry MAX-ACCESS not-accessible STATUS current DESCRIPTION "This is a list of information contained in the swNtpCfgMulticastClientTable." INDEX { swNtpCfgMulticastClientIfIndex, swNtpCfgMulticastClientIpAddressType, swNtpCfgMulticastClientIpAddress} ::= { swNtpCfgMulticastClientTable 1 } SwNtpCfgMulticastClientEntry ::= SEQUENCE { swNtpCfgMulticastClientIfIndex InterfaceIndex, swNtpCfgMulticastClientIpAddressType InetAddressType, swNtpCfgMulticastClientIpAddress InetAddress, swNtpCfgMulticastClientKeyId INTEGER, swNtpCfgMulticastClientStatus RowStatus } swNtpCfgMulticastClientIfIndex OBJECT-TYPE SYNTAX InterfaceIndex MAX-ACCESS not-accessible STATUS current DESCRIPTION "This object indicates the ifIndex value of the interface is determined by the agent." ::= { swNtpCfgMulticastClientEntry 1 } swNtpCfgMulticastClientIpAddressType OBJECT-TYPE SYNTAX InetAddressType {ipv4(1), ipv6(2)} MAX-ACCESS not-accessible STATUS current DESCRIPTION "The Internet address type of Ntp peer." ::= { swNtpCfgMulticastClientEntry 2 } swNtpCfgMulticastClientIpAddress OBJECT-TYPE SYNTAX InetAddress (SIZE (4|16)) MAX-ACCESS not-accessible STATUS current DESCRIPTION "IP address expressed in dotted-quad form is the address of Ntp peer." ::= { swNtpCfgMulticastClientEntry 3 } swNtpCfgMulticastClientKeyId OBJECT-TYPE SYNTAX INTEGER(0..255) MAX-ACCESS read-write STATUS current DESCRIPTION "Defines the authentication key ID used for this entry. 0 means no key ID used." DEFVAL { 0 } ::= { swNtpCfgMulticastClientEntry 4 } swNtpCfgMulticastClientStatus OBJECT-TYPE SYNTAX RowStatus MAX-ACCESS read-create STATUS current DESCRIPTION "This object describes the state of the NTP multicast client entry." ::= { swNtpCfgMulticastClientEntry 99 } -- ******************************************************************** -- swNtpCfgMulticastServerTable OBJECT IDENTIFIER ::= { swNtpMIBObjects 8 } -- ******************************************************************** swNtpCfgMulticastServerTable OBJECT-TYPE SYNTAX SEQUENCE OF SwNtpCfgMulticastServerEntry MAX-ACCESS not-accessible STATUS current DESCRIPTION "This object describes the multicast server of NTP." ::= { swNtpMIBObjects 8 } swNtpCfgMulticastServerEntry OBJECT-TYPE SYNTAX SwNtpCfgMulticastServerEntry MAX-ACCESS not-accessible STATUS current DESCRIPTION "This is a list of information contained in the swNtpCfgMulticastServerTable." INDEX { swNtpCfgMulticastServerIfIndex, swNtpCfgMulticastServerIpAddressType, swNtpCfgMulticastServerIpAddress} ::= { swNtpCfgMulticastServerTable 1 } SwNtpCfgMulticastServerEntry ::= SEQUENCE { swNtpCfgMulticastServerIfIndex InterfaceIndex, swNtpCfgMulticastServerIpAddressType InetAddressType, swNtpCfgMulticastServerIpAddress InetAddress, swNtpCfgMulticastServerVersion INTEGER, swNtpCfgMulticastServerKeyId INTEGER, swNtpCfgMulticastServerTtl INTEGER, swNtpCfgMulticastServerStatus RowStatus } swNtpCfgMulticastServerIfIndex OBJECT-TYPE SYNTAX InterfaceIndex MAX-ACCESS not-accessible STATUS current DESCRIPTION "This object indicates the ifIndex value of the interface is determined by the agent." ::= { swNtpCfgMulticastServerEntry 1 } swNtpCfgMulticastServerIpAddressType OBJECT-TYPE SYNTAX InetAddressType {ipv4(1), ipv6(2)} MAX-ACCESS not-accessible STATUS current DESCRIPTION "The Internet address type of Ntp peer." ::= { swNtpCfgMulticastServerEntry 2 } swNtpCfgMulticastServerIpAddress OBJECT-TYPE SYNTAX InetAddress (SIZE (4|16)) MAX-ACCESS not-accessible STATUS current DESCRIPTION "IP address expressed in dotted-quad form is the address of Ntp peer." ::= { swNtpCfgMulticastServerEntry 3 } swNtpCfgMulticastServerVersion OBJECT-TYPE SYNTAX INTEGER MAX-ACCESS read-write STATUS current DESCRIPTION "Defines the NTP version number." DEFVAL { 4 } ::= { swNtpCfgMulticastServerEntry 4 } swNtpCfgMulticastServerKeyId OBJECT-TYPE SYNTAX INTEGER(0..255) MAX-ACCESS read-write STATUS current DESCRIPTION "Defines the authentication key ID used for this entry. 0 means no key ID used." DEFVAL { 0 } ::= { swNtpCfgMulticastServerEntry 5 } swNtpCfgMulticastServerTtl OBJECT-TYPE SYNTAX INTEGER(1..255) MAX-ACCESS read-write STATUS current DESCRIPTION "This object Specified the TTL value for NTP messages." DEFVAL { 16 } ::= { swNtpCfgMulticastServerEntry 6 } swNtpCfgMulticastServerStatus OBJECT-TYPE SYNTAX RowStatus MAX-ACCESS read-create STATUS current DESCRIPTION "This object describes the state of the NTP multicast server entry." ::= { swNtpCfgMulticastServerEntry 99 } -- ******************************************************************** -- swNtpCfgPeerTable OBJECT IDENTIFIER ::= { swNtpMIBObjects 9 } -- ******************************************************************** swNtpCfgPeerTable OBJECT-TYPE SYNTAX SEQUENCE OF SwNtpCfgPeerEntry MAX-ACCESS not-accessible STATUS current DESCRIPTION "This object describes the symmetric peer of NTP." ::= { swNtpMIBObjects 9 } swNtpCfgPeerEntry OBJECT-TYPE SYNTAX SwNtpCfgPeerEntry MAX-ACCESS not-accessible STATUS current DESCRIPTION "This is a list of information contained in the swNtpCfgPeerTable." INDEX { swNtpCfgPeerVrfName, swNtpCfgPeerIpAddressType, swNtpCfgPeerIpAddress} ::= { swNtpCfgPeerTable 1 } SwNtpCfgPeerEntry ::= SEQUENCE { swNtpCfgPeerVrfName DisplayString, swNtpCfgPeerIpAddressType InetAddressType, swNtpCfgPeerIpAddress InetAddress, swNtpCfgPeerVersion INTEGER, swNtpCfgPeerKeyId INTEGER, swNtpCfgPeerPrefer TruthValue, swNtpCfgPeerMinPoll INTEGER, swNtpCfgPeerMaxPoll INTEGER, swNtpCfgPeerStatus RowStatus } swNtpCfgPeerVrfName OBJECT-TYPE SYNTAX DisplayString (SIZE (0..12)) MAX-ACCESS not-accessible STATUS current DESCRIPTION "This object indicates the name of the routing forwarding instance. A zero length string indicates the VRF name is not specified. For the platform that doesn't support VRF, only a zero length string is allowed for this object." ::= { swNtpCfgPeerEntry 1 } swNtpCfgPeerIpAddressType OBJECT-TYPE SYNTAX InetAddressType {ipv4(1), ipv6(2), ipv6z(4) } MAX-ACCESS not-accessible STATUS current DESCRIPTION "The Internet address type of Ntp peer." ::= { swNtpCfgPeerEntry 2 } swNtpCfgPeerIpAddress OBJECT-TYPE SYNTAX InetAddress (SIZE (4|16|20)) MAX-ACCESS not-accessible STATUS current DESCRIPTION "IP address expressed in dotted-quad form is the address of Ntp peer." ::= { swNtpCfgPeerEntry 3 } swNtpCfgPeerVersion OBJECT-TYPE SYNTAX INTEGER MAX-ACCESS read-write STATUS current DESCRIPTION "Defines the NTP version number." DEFVAL { 4 } ::= { swNtpCfgPeerEntry 4 } swNtpCfgPeerKeyId OBJECT-TYPE SYNTAX INTEGER(0..255) MAX-ACCESS read-write STATUS current DESCRIPTION "Defines the authentication key ID used for this entry. 0 means no key ID used." DEFVAL { 0 } ::= { swNtpCfgPeerEntry 5 } swNtpCfgPeerPrefer OBJECT-TYPE SYNTAX TruthValue MAX-ACCESS read-write STATUS current DESCRIPTION "This object is used to makes it be the preferred peer that provides synchronization." DEFVAL { false } ::= { swNtpCfgPeerEntry 6 } swNtpCfgPeerMinPoll OBJECT-TYPE SYNTAX INTEGER(3..16) MAX-ACCESS read-write STATUS current DESCRIPTION "This object Specified the minimum poll intervals for NTP messages, in seconds as a power of two." DEFVAL { 6 } ::= { swNtpCfgPeerEntry 7 } swNtpCfgPeerMaxPoll OBJECT-TYPE SYNTAX INTEGER(4..17) MAX-ACCESS read-write STATUS current DESCRIPTION "This object Specified the maximum poll intervals for NTP messages, in seconds as a power of two." DEFVAL { 10 } ::= { swNtpCfgPeerEntry 8 } swNtpCfgPeerStatus OBJECT-TYPE SYNTAX RowStatus MAX-ACCESS read-create STATUS current DESCRIPTION "This object describes the state of the NTP peer entry." ::= { swNtpCfgPeerEntry 99 } -- ******************************************************************** -- swNtpCfgSrvTable OBJECT IDENTIFIER ::= { swNtpMIBObjects 10 } -- ******************************************************************** swNtpCfgSrvTable OBJECT-TYPE SYNTAX SEQUENCE OF SwNtpCfgSrvEntry MAX-ACCESS not-accessible STATUS current DESCRIPTION "This object describes the server of NTP." ::= { swNtpMIBObjects 10 } swNtpCfgSrvEntry OBJECT-TYPE SYNTAX SwNtpCfgSrvEntry MAX-ACCESS not-accessible STATUS current DESCRIPTION "This is a list of information contained in the swNtpCfgSrvTable." INDEX { swNtpCfgSrvVrfName, swNtpCfgSrvIpAddressType, swNtpCfgSrvIpAddress} ::= { swNtpCfgSrvTable 1 } SwNtpCfgSrvEntry ::= SEQUENCE { swNtpCfgSrvVrfName DisplayString, swNtpCfgSrvIpAddressType InetAddressType, swNtpCfgSrvIpAddress InetAddress, swNtpCfgSrvVersion INTEGER, swNtpCfgSrvKeyId INTEGER, swNtpCfgSrvPrefer TruthValue, swNtpCfgSrvMinPoll INTEGER, swNtpCfgSrvMaxPoll INTEGER, swNtpCfgSrvStatus RowStatus } swNtpCfgSrvVrfName OBJECT-TYPE SYNTAX DisplayString (SIZE (0..12)) MAX-ACCESS not-accessible STATUS current DESCRIPTION "This object indicates the name of the routing forwarding instance. A zero length string indicates the VRF name is not specified. For the platform that doesn't support VRF, only a zero length string is allowed for this object." ::= { swNtpCfgSrvEntry 1 } swNtpCfgSrvIpAddressType OBJECT-TYPE SYNTAX InetAddressType {ipv4(1), ipv6(2), ipv6z(4) } MAX-ACCESS not-accessible STATUS current DESCRIPTION "The Internet address type of Ntp peer." ::= { swNtpCfgSrvEntry 2 } swNtpCfgSrvIpAddress OBJECT-TYPE SYNTAX InetAddress (SIZE (4|16|20)) MAX-ACCESS not-accessible STATUS current DESCRIPTION "IP address expressed in dotted-quad form is the address of Ntp peer." ::= { swNtpCfgSrvEntry 3 } swNtpCfgSrvVersion OBJECT-TYPE SYNTAX INTEGER MAX-ACCESS read-write STATUS current DESCRIPTION "Defines the NTP version number." DEFVAL { 4 } ::= { swNtpCfgSrvEntry 4 } swNtpCfgSrvKeyId OBJECT-TYPE SYNTAX INTEGER(0..255) MAX-ACCESS read-write STATUS current DESCRIPTION "Defines the authentication key ID used for this entry. 0 means no key ID used." DEFVAL { 0 } ::= { swNtpCfgSrvEntry 5 } swNtpCfgSrvPrefer OBJECT-TYPE SYNTAX TruthValue MAX-ACCESS read-write STATUS current DESCRIPTION "This object is used to makes it be the preferred peer that provides synchronization." DEFVAL { false } ::= { swNtpCfgSrvEntry 6 } swNtpCfgSrvMinPoll OBJECT-TYPE SYNTAX INTEGER(3..16) MAX-ACCESS read-write STATUS current DESCRIPTION "This object Specified the minimum poll intervals for NTP messages, in seconds as a power of two." DEFVAL { 6 } ::= { swNtpCfgSrvEntry 7 } swNtpCfgSrvMaxPoll OBJECT-TYPE SYNTAX INTEGER(4..17) MAX-ACCESS read-write STATUS current DESCRIPTION "This object Specified the maximum poll intervals for NTP messages, in seconds as a power of two." DEFVAL { 10 } ::= { swNtpCfgSrvEntry 8 } swNtpCfgSrvStatus OBJECT-TYPE SYNTAX RowStatus MAX-ACCESS read-create STATUS current DESCRIPTION "This object describes the state of the NTP peer entry." ::= { swNtpCfgSrvEntry 99 } -- *************************************************************************** -- Conformance -- *************************************************************************** swNtpCompliances OBJECT IDENTIFIER ::= { swNtpMIBConformance 1 } swNtpCompliance MODULE-COMPLIANCE STATUS current DESCRIPTION "The compliance statement for entities which implement the NTP-MIB." MODULE -- this module MANDATORY-GROUPS { swNtpSysInfoGroup } GROUP swNtpCtrlGroup DESCRIPTION "This group is conditionally mandatory and must be implemented by the agent only if NTP feature is supported." GROUP swNtpAclGroup DESCRIPTION "This group is conditionally mandatory and must be implemented by the agent only if NTP feature is supported." GROUP swNtpBroadcastGroup DESCRIPTION "This group is should be implemented by the agent support broadcast NTP." GROUP swNtpMulticastGroup DESCRIPTION "This group is should be implemented by the agent support multicast NTP." GROUP swNtpPeerCfgGroup DESCRIPTION "This group is conditionally mandatory and must be implemented by the agent only if NTP feature is supported." GROUP swNtpSrvCfgGroup DESCRIPTION "This group is conditionally mandatory and must be implemented by the agent only if NTP feature is supported." ::= { swNtpCompliances 1 } -- units of conformance swNtpGroups OBJECT IDENTIFIER ::= { swNtpMIBConformance 2 } swNtpCtrlGroup OBJECT-GROUP OBJECTS { swNtpServiceEnabled, swNtpAuthenticateEnabled, swNtpAccessInterfaceEnabled, swNtpMaxAssociations, swNtpControlKey, swNtpRequestKey, swNtpMasterStratum } STATUS current DESCRIPTION "A collection of objects provides control for NTP." ::= { swNtpGroups 1 } swNtpAclGroup OBJECT-GROUP OBJECTS { swNtpAccessGroupIgnore, swNtpAccessGroupNoModify, swNtpAccessGroupNoQuery, swNtpAccessGroupNoPeer, swNtpAccessGroupNoServe, swNtpAccessGroupNoTrust, swNtpAccessGroupVersion, swNtpAccessGroupRowStatus, swNtpAccessInterfaceEnabled } STATUS current DESCRIPTION "A collection of objects provides configuration for NTP access group." ::= { swNtpGroups 2 } swNtpBroadcastGroup OBJECT-GROUP OBJECTS { swNtpBroadcastDelay, swNtpCfgBroadcastClientKeyId, swNtpCfgBroadcastClientStatus, swNtpCfgBroadcastServerVersion, swNtpCfgBroadcastServerKeyId, swNtpCfgBroadcastServerStatus } STATUS current DESCRIPTION "A collection of objects provides broadcast node for NTP." ::= { swNtpGroups 3 } swNtpMulticastGroup OBJECT-GROUP OBJECTS { swNtpCfgMulticastClientKeyId, swNtpCfgMulticastClientStatus, swNtpCfgMulticastServerVersion, swNtpCfgMulticastServerKeyId, swNtpCfgMulticastServerTtl, swNtpCfgMulticastServerStatus } STATUS current DESCRIPTION "A collection of objects provides multicast node for NTP." ::= { swNtpGroups 4 } swNtpPeerCfgGroup OBJECT-GROUP OBJECTS { swNtpCfgPeerVersion, swNtpCfgPeerKeyId, swNtpCfgPeerPrefer, swNtpCfgPeerMinPoll, swNtpCfgPeerMaxPoll, swNtpCfgPeerStatus } STATUS current DESCRIPTION "A collection of objects provides peer configur for NTP." ::= { swNtpGroups 5 } swNtpSrvCfgGroup OBJECT-GROUP OBJECTS { swNtpCfgSrvVersion, swNtpCfgSrvKeyId, swNtpCfgSrvPrefer, swNtpCfgSrvMinPoll, swNtpCfgSrvMaxPoll, swNtpCfgSrvStatus } STATUS current DESCRIPTION "A collection of objects provides peer configur for NTP." ::= { swNtpGroups 6 } END