-- *************************************************************************** -- GARRETTCOM-SMI: GarrettCom Enterprise Structure of Management Information -- -- Copyright (c) 2018 by GarrettCom, Inc. -- All rights reserved. -- -- *************************************************************************** -- MIB for 'ISS SNTP ' -- The 'SNTP' MIB definition is as follows: GCSNTP-MIB DEFINITIONS ::= BEGIN IMPORTS OBJECT-TYPE,MODULE-IDENTITY, IpAddress, Counter32,Unsigned32,Integer32,TimeTicks, enterprises FROM SNMPv2-SMI DisplayString,RowStatus,TruthValue FROM SNMPv2-TC gcAtlantisBaseFsMibs FROM GARRETTCOM-SMI InetAddressType, InetAddress FROM INET-ADDRESS-MIB; -- [RFC4001] gcSntpMIB MODULE-IDENTITY LAST-UPDATED "201806110000Z" ORGANIZATION "GarrettCom, Inc." CONTACT-INFO "Postal: GarrettCom Incorporated 255 Fourier Avenue, Fremont, CA-94539 USA Phone: +1 510 438 9071 E-mail: support@garrettcom.com WWW: http://www.garrettcom.com" DESCRIPTION "The MIB module implements the Atlantis SNTP configuration MIB." REVISION "201806110000Z" DESCRIPTION " This mib module is for SNTP . Migrated from FS SNTP" ::= { gcAtlantisBaseFsMibs 1 } gcSntp OBJECT IDENTIFIER ::= { gcSntpMIB 1 } gcSntpScalars OBJECT IDENTIFIER ::= { gcSntp 1 } gcSntpUnicast OBJECT IDENTIFIER ::= { gcSntp 2 } gcSntpBroadcast OBJECT IDENTIFIER ::= { gcSntp 3 } gcSntpMulticast OBJECT IDENTIFIER ::= { gcSntp 4 } gcSntpAnycast OBJECT IDENTIFIER ::= { gcSntp 5 } gcSntpGlobalTrace OBJECT-TYPE SYNTAX Integer32 (0..65535) MAX-ACCESS read-write STATUS current DESCRIPTION " This is used to enable Trace Statements in SNTP Module. A four byte integer value is specified for enabling the level of tracing.Each Bit in the four byte integer variable represents a level of Trace. The bits represents the levels as follows: 0 - Init and Shutdown, 1 - Management, 2 - Data Path, 3 - Control Plane, 4 - packet Dump, 5 - All resources except buffer, 6 - All Failures, 7 - Buffer. The remaining bits are unused. The combination of levels are also allowed. For example if the bits 1 and 2 are set, then the Trace statements related to management and Data Path will be printed. The administrator have to enter the corresponding integer value for the bits set. For example if bits 1 and 2 are set then admin has to give the value 6." DEFVAL { 0 } ::= { gcSntpScalars 1 } gcSntpGlobalDebug OBJECT-TYPE SYNTAX Integer32 (0..65535) MAX-ACCESS read-write STATUS current DESCRIPTION " This is used to enable Debug statements in SNTP module. A Four byte integer value is specified for enabling the level of debugging. Each bit in the four byte integer variable represents a level of debugging. The combination of levels are also allowed. The user have to enter the corresponding integer value for the bit set." DEFVAL { 0 } ::= { gcSntpScalars 2 } gcSntpAdminStatus OBJECT-TYPE SYNTAX INTEGER { disabled (0), enabled (1) } MAX-ACCESS read-write STATUS current DESCRIPTION "To enable or disable the sntp client module. All configuration will be acitve only when the SNTP module is enabled" DEFVAL { disabled } ::= { gcSntpScalars 3 } gcSntpClientVersion OBJECT-TYPE SYNTAX INTEGER {version1 (1), version2 (2), version3 (3), version4 (4)} MAX-ACCESS read-write STATUS current DESCRIPTION "The SNTP client module can run in any one version 1, version 2, version 3 or version 4. All the SNTP requests are sent out with the current configured version number. When required, the administrator can change the current version number" DEFVAL { version4 } ::= { gcSntpScalars 4 } gcSntpClientAddressingMode OBJECT-TYPE SYNTAX INTEGER {unicast (1), broadcast (2), multicast (3), anycast (4)} MAX-ACCESS read-write STATUS current DESCRIPTION " unicast: - SNTP client operates in a point-to-point fashion. A unicast client sends a request to a designated server at its unicast address and expects a reply from which it can determine the time and, optionally, the round-trip delay and local clock offset relative to the server. broadcast: - SNTP client operates in a point-to-multipoint fashion. The SNTP server uses an IP local broadcast address instead of a multicast address. The broadcast address is scoped to a single subnet, while a multicast address has Internet wide scope. multicast: - SNTP client operates in point-to-multipoint fashion. The SNTP server uses a multicast group address to send unsolicited SNTP messages to clients. The client listens on this address and sends no requests for updates. anycast: - SNTP client operates in a multipoint-to-point fashion. The SNTP client sends a request to a designated IPv4 or IPv6 local broadcast address or multicast group address. One or more anycast servers reply with their individual unicast addresses." DEFVAL { unicast } ::= { gcSntpScalars 5 } gcSntpClientPort OBJECT-TYPE SYNTAX Integer32 ( 123 | 1025..65535) MAX-ACCESS read-write STATUS current DESCRIPTION "The SNTP client module by default listens on well-know port number 123. When required, the Administrator can change the SNTP Client port value to non-default." DEFVAL {123} ::= { gcSntpScalars 6 } gcSntpTimeDisplayFormat OBJECT-TYPE SYNTAX INTEGER { hours (1), ampm (2) } MAX-ACCESS read-write STATUS current DESCRIPTION " The administrator can view the system time in 12 hr AM/PM or 24 hours format. " DEFVAL { hours } ::= { gcSntpScalars 7 } gcSntpAuthKeyId OBJECT-TYPE SYNTAX Integer32 MAX-ACCESS read-write STATUS current DESCRIPTION "Key Identifier is an integer identifying the cryptographic key used to generate the message-authentication code" ::= { gcSntpScalars 8 } gcSntpAuthAlgorithm OBJECT-TYPE SYNTAX INTEGER { none (0), md5 (1), des (2) } MAX-ACCESS read-write STATUS current DESCRIPTION "When the NTP authentication scheme is implemented, the Key Identifier and Message Digest fields contain the message authentication code (MAC) information. Message Digest-5 (MD5) and Data Encryption Standard (DES) are the Authentication algorithms that can be used. Default Authentication supported is none" DEFVAL { none } ::= { gcSntpScalars 9 } gcSntpAuthKey OBJECT-TYPE SYNTAX OCTET STRING (SIZE(0..16)) MAX-ACCESS read-write STATUS current DESCRIPTION "Authentication key is cryptographic key that is used to implement NTP Authentication " ::= { gcSntpScalars 10 } gcSntpTimeZone OBJECT-TYPE SYNTAX DisplayString (SIZE (6)) MAX-ACCESS read-write STATUS current DESCRIPTION "To set the system time zone with respect to UTC. ie plus indicates forward time zone ( ahead of UTC Time eg: +05:30) and minus indicates backward time zone (behind UTC time eg: -03:30). The valid format is (+/-)HH:MM" ::= { gcSntpScalars 11 } gcSntpDSTStartTime OBJECT-TYPE SYNTAX DisplayString (SIZE (20)) MAX-ACCESS read-write STATUS current DESCRIPTION " Daylight saving time (DST) is a system of setting clocks ahead so that both sunrise and sunset occur at a later hour. The effect is additional daylight in the evening. Many countries observe DST, although most have their own rules and regulations for when it begins and ends. The dates of DST may change from year to year. The Valid format [weekofmonth-weekofday-month,HH:MM]. Example:- Third-Mon-Apr,17:30 " ::= { gcSntpScalars 12 } gcSntpDSTEndTime OBJECT-TYPE SYNTAX DisplayString (SIZE (20)) MAX-ACCESS read-write STATUS current DESCRIPTION " Daylight saving time (DST) is a system of setting clocks ahead so that both sunrise and sunset occur at a later hour. The effect is additional daylight in the evening. Many countries observe DST, although most have their own rules and regulations for when it begins and ends. The dates of DST may change from year to year. The Valid format [weekofmonth-weekofday-month,HH:MM]. Example:- Last-Sun-Nov,16:20 " ::= { gcSntpScalars 13 } -- Unicast Objects gcSntpServerAutoDiscovery OBJECT-TYPE SYNTAX INTEGER { disabled (0), enabled (1) } MAX-ACCESS read-write STATUS current DESCRIPTION " The SNTP servers can be configured or discovered. When Auto Discover is disabled, the SNTP client gets the time from the configured servers. When Auto Discover is enabled, the SNTP client gets the time from servers learnt through DHPC client. This is valid only in Unicast Addressing mode." DEFVAL { disabled } ::= { gcSntpUnicast 1 } gcSntpUnicastPollInterval OBJECT-TYPE SYNTAX Unsigned32 (16..16284) UNITS "seconds" MAX-ACCESS read-write STATUS current DESCRIPTION "The number of seconds between successive SNTP request transmissions. " DEFVAL { 64 } ::= {gcSntpUnicast 2 } gcSntpUnicastPollTimeout OBJECT-TYPE SYNTAX Unsigned32 (1..30) UNITS "seconds" MAX-ACCESS read-write STATUS current DESCRIPTION "The number of seconds to wait for a response from a SNTP server before considering the attempt to have 'timed out' " DEFVAL { 5 } ::= {gcSntpUnicast 3 } gcSntpUnicastPollRetry OBJECT-TYPE SYNTAX Unsigned32 (0..10) MAX-ACCESS read-write STATUS current DESCRIPTION "The number of times to retry a request to a SNTP server that has not successfully responded. For example, assume this object has been SET to a value of 2. When the SNTP client queries a given server it will send 1 SNTP request frame. If that original attempt fails, the client will retry up to a maximum of 2 more times before giving up and attempting the next server." DEFVAL { 3 } ::= { gcSntpUnicast 4 } -- gcSntpUnicastServer Table -- This table is for configuring the unicast server table gcSntpUnicastServerTable OBJECT-TYPE SYNTAX SEQUENCE OF GcSntpUnicastServerEntry MAX-ACCESS not-accessible STATUS current DESCRIPTION "The table contains configured SNTP/NTP servers in the system." ::= {gcSntpUnicast 5 } gcSntpUnicastServerEntry OBJECT-TYPE SYNTAX GcSntpUnicastServerEntry MAX-ACCESS not-accessible STATUS current DESCRIPTION " Each entry in the table contains necessary information to send SNTP request to the servers." INDEX {gcSntpUnicastServerAddrType, gcSntpUnicastServerAddr } ::= { gcSntpUnicastServerTable 1 } GcSntpUnicastServerEntry ::= SEQUENCE { gcSntpUnicastServerAddrType InetAddressType, gcSntpUnicastServerAddr InetAddress, gcSntpUnicastServerVersion INTEGER, gcSntpUnicastServerPort Integer32, gcSntpUnicastServerType INTEGER, gcSntpUnicastServerLastUpdateTime DisplayString, gcSntpUnicastServerTxRequests Counter32, gcSntpUnicastServerRowStatus RowStatus } gcSntpUnicastServerAddrType OBJECT-TYPE SYNTAX InetAddressType MAX-ACCESS not-accessible STATUS current DESCRIPTION "The Address type of the unicast server in the Unicast Addressing mode. It can be IPv4 or IPv6 unicast address." ::= { gcSntpUnicastServerEntry 1 } gcSntpUnicastServerAddr OBJECT-TYPE SYNTAX InetAddress MAX-ACCESS not-accessible STATUS current DESCRIPTION " The unicast IPv4/IPv6 server address in the Unicast Addressing mode " ::= { gcSntpUnicastServerEntry 2} gcSntpUnicastServerVersion OBJECT-TYPE SYNTAX INTEGER {version3 (3),version4 (4)} MAX-ACCESS read-write STATUS current DESCRIPTION "the sntp version supported by the server" ::= { gcSntpUnicastServerEntry 3 } gcSntpUnicastServerPort OBJECT-TYPE SYNTAX Integer32 ( 123 | 1025..65535) MAX-ACCESS read-write STATUS current DESCRIPTION "the sntp port on which the server is UP" ::= { gcSntpUnicastServerEntry 4 } gcSntpUnicastServerType OBJECT-TYPE SYNTAX INTEGER { primary (1), secondary (2) } MAX-ACCESS read-write STATUS current DESCRIPTION "In Unicast addressing mode, we can have primary and secondary servers. This flag is to distinguish between primary and secondary server. SNTP client sends request to different servers until it receives successful response. This flag tells the order in which to query the servers." ::= { gcSntpUnicastServerEntry 5 } gcSntpUnicastServerLastUpdateTime OBJECT-TYPE SYNTAX DisplayString MAX-ACCESS read-only STATUS current DESCRIPTION "The local time when the system time was successful" ::= { gcSntpUnicastServerEntry 6 } gcSntpUnicastServerTxRequests OBJECT-TYPE SYNTAX Counter32 MAX-ACCESS read-only STATUS current DESCRIPTION "The number of SNTP request sent in the Unicast addressing mode." ::= { gcSntpUnicastServerEntry 7 } gcSntpUnicastServerRowStatus OBJECT-TYPE SYNTAX RowStatus MAX-ACCESS read-write STATUS current DESCRIPTION " The activation of a row adds server entry. The destruction of a row removes server entry" ::= {gcSntpUnicastServerEntry 8} -- Broadcast objects gcSntpSendRequestInBcastMode OBJECT-TYPE SYNTAX INTEGER { disabled (0), enabled (1) } MAX-ACCESS read-write STATUS current DESCRIPTION "when enabled the sntp request will be sent to the broadcast server to calculate the dealy time. This is valid only in broadcast addressing mode" DEFVAL { disabled } ::= { gcSntpBroadcast 1 } gcSntpPollTimeoutInBcastMode OBJECT-TYPE SYNTAX Unsigned32 (1..30) UNITS "seconds" MAX-ACCESS read-write STATUS current DESCRIPTION "The number of seconds to wait for a response from a SNTP server before considering the attempt to have 'timed out'. This is valid only in broadcast addressing mode " DEFVAL { 5 } ::= {gcSntpBroadcast 2 } gcSntpDelayTimeInBcastMode OBJECT-TYPE SYNTAX Unsigned32 (1000..15000) UNITS "microseconds" MAX-ACCESS read-write STATUS current DESCRIPTION " The broadcast server may send reply for the request. When the SNTP client does get response from the boradcast server, this value is taken as delay time " DEFVAL { 8000 } ::= { gcSntpBroadcast 3 } gcSntpPrimaryServerAddrInBcastMode OBJECT-TYPE SYNTAX IpAddress MAX-ACCESS read-only STATUS current DESCRIPTION " The primary server IP address learnt in Broadcast addressing mode " ::= { gcSntpBroadcast 4 } gcSntpSecondaryServerAddrInBcastMode OBJECT-TYPE SYNTAX IpAddress MAX-ACCESS read-only STATUS current DESCRIPTION " The secondary server IP address learnt in Broadcast addressing mode" ::= {gcSntpBroadcast 5 } -- Multicast Objects gcSntpSendRequestInMcastMode OBJECT-TYPE SYNTAX INTEGER { disabled (0), enabled (1) } MAX-ACCESS read-write STATUS current DESCRIPTION " when enabled the sntp request will be sent to the multicast server to calculate the dealy time." DEFVAL { disabled } ::= { gcSntpMulticast 1 } gcSntpPollTimeoutInMcastMode OBJECT-TYPE SYNTAX Unsigned32 (1..30) UNITS "seconds" MAX-ACCESS read-write STATUS current DESCRIPTION "The number of seconds to wait for a response from a SNTP server before considering the attempt to have 'timed out'" DEFVAL { 5 } ::= {gcSntpMulticast 2 } gcSntpDelayTimeInMcastMode OBJECT-TYPE SYNTAX Unsigned32 (1000..15000) UNITS "microseconds" MAX-ACCESS read-write STATUS current DESCRIPTION " this is taken as delay time when there is no response from the multicast server " DEFVAL { 8000 } ::= { gcSntpMulticast 3 } gcSntpGrpAddrTypeInMcastMode OBJECT-TYPE SYNTAX InetAddressType MAX-ACCESS read-write STATUS current DESCRIPTION " The multicast group address can be configured by the administrator." ::= {gcSntpMulticast 4 } gcSntpGrpAddrInMcastMode OBJECT-TYPE SYNTAX InetAddress MAX-ACCESS read-write STATUS current DESCRIPTION " The multicast group address can be configured by the administrator." ::= {gcSntpMulticast 5 } gcSntpPrimaryServerAddrTypeInMcastMode OBJECT-TYPE SYNTAX InetAddressType MAX-ACCESS read-only STATUS current DESCRIPTION "The address type of the primary server learnt in Multicast addressing mode" ::= {gcSntpMulticast 6 } gcSntpPrimaryServerAddrInMcastMode OBJECT-TYPE SYNTAX InetAddress MAX-ACCESS read-only STATUS current DESCRIPTION " The primary server IP address learnt in Multicast addressing mode " ::= { gcSntpMulticast 7 } gcSntpSecondaryServerAddrTypeInMcastMode OBJECT-TYPE SYNTAX InetAddressType MAX-ACCESS read-only STATUS current DESCRIPTION "The address type of the secondary server learnt in Multicast addressing mode" ::= { gcSntpMulticast 8 } gcSntpSecondaryServerAddrInMcastMode OBJECT-TYPE SYNTAX InetAddress MAX-ACCESS read-only STATUS current DESCRIPTION " The secondary server IP address learnt in Multicast addressing mode " ::= { gcSntpMulticast 9 } -- Anycast Objects gcSntpAnycastPollInterval OBJECT-TYPE SYNTAX Unsigned32 (16..16284) UNITS "seconds" MAX-ACCESS read-write STATUS current DESCRIPTION "The number of seconds between successive SNTP request transmissions." DEFVAL { 64 } ::= {gcSntpAnycast 1 } gcSntpAnycastPollTimeout OBJECT-TYPE SYNTAX Unsigned32 (1..30) UNITS "seconds" MAX-ACCESS read-write STATUS current DESCRIPTION "The number of seconds to wait for a response from a SNTP server before considering the attempt to have 'timed out'." DEFVAL { 5 } ::= {gcSntpAnycast 2 } gcSntpAnycastPollRetry OBJECT-TYPE SYNTAX Unsigned32 (0..10) MAX-ACCESS read-write STATUS current DESCRIPTION "The number of times to retry a request to a SNTP server that has not successfully responded. For example, assume this object has been SET to a value of 2. When the SNTP client queries a given server it will send 1 SNTP request frame. If that original attempt fails, the client will retry up to a maximum of 2 more times before giving up and attempting the next server." DEFVAL { 3 } ::= { gcSntpAnycast 3 } gcSntpServerTypeInAcastMode OBJECT-TYPE SYNTAX INTEGER { broadcast (1), multicast (2) } MAX-ACCESS read-write STATUS current DESCRIPTION "To set the type of servers to be used in Anycast addressing mode" DEFVAL { broadcast } ::= { gcSntpAnycast 4 } gcSntpGrpAddrTypeInAcastMode OBJECT-TYPE SYNTAX InetAddressType MAX-ACCESS read-write STATUS current DESCRIPTION "The address type of the server configured by the administrator" ::= {gcSntpAnycast 5 } gcSntpGrpAddrInAcastMode OBJECT-TYPE SYNTAX InetAddress MAX-ACCESS read-write STATUS current DESCRIPTION "The multicast group address can be configured by the administrator." ::= {gcSntpAnycast 6 } gcSntpPrimaryServerAddrTypeInAcastMode OBJECT-TYPE SYNTAX InetAddressType MAX-ACCESS read-only STATUS current DESCRIPTION "The address type of the primary server learnt in Anycast addressing mode" ::= {gcSntpAnycast 7 } gcSntpPrimaryServerAddrInAcastMode OBJECT-TYPE SYNTAX InetAddress MAX-ACCESS read-only STATUS current DESCRIPTION "The primary server IP address learnt in Anycast addressing mode " ::= { gcSntpAnycast 8 } gcSntpSecondaryServerAddrTypeInAcastMode OBJECT-TYPE SYNTAX InetAddressType MAX-ACCESS read-only STATUS current DESCRIPTION "The address type of the secondary server learnt in Anycast addressing mode" ::= { gcSntpAnycast 9 } gcSntpSecondaryServerAddrInAcastMode OBJECT-TYPE SYNTAX InetAddress MAX-ACCESS read-only STATUS current DESCRIPTION " The IP address of secondary server, learnt in Anycast addressing mode " ::= { gcSntpAnycast 10 } END