Commit version 24.12.13800

This commit is contained in:
2025-01-06 17:35:06 -05:00
parent b7f6a79c2c
commit 55d9218816
6133 changed files with 4239740 additions and 1374287 deletions

View File

@ -1,13 +1,13 @@
-- ============================================================================
-- Copyright (C) 2018 by HUAWEI TECHNOLOGIES. All rights reserved.
-- Copyright (C) 2022 by HUAWEI TECHNOLOGIES. All rights reserved.
-- Description: This MIB module defines mib objects that provide NTP service
-- management.
-- The Network Time Protocol (NTP) is used in networks of all types
-- and sizes for time synchronization of servers, workstations and
-- other networked equipment.
-- Reference:
-- Version: V2.09
-- Version: V2.17
-- ============================================================================
HUAWEI-NTP-MIB DEFINITIONS ::= BEGIN
@ -19,11 +19,12 @@
DisplayString FROM SNMPv2-TC
huaweiUtility FROM HUAWEI-MIB
InetAddressType, InetAddress FROM INET-ADDRESS-MIB
Ipv6Address FROM IPV6-TC
InterfaceIndex FROM IF-MIB
OBJECT-GROUP, MODULE-COMPLIANCE FROM SNMPv2-CONF;
hwNtp MODULE-IDENTITY
LAST-UPDATED "201809200000Z"
LAST-UPDATED "202203170000Z"
ORGANIZATION
"Huawei Technologies Co.,Ltd."
CONTACT-INFO
@ -34,14 +35,41 @@
Website: http://www.huawei.com
Email: support@huawei.com
"
DESCRIPTION
"This MIB module defines mib objects that provide NTP service
management. The Network Time Protocol (NTP) is used in networks of all types
and sizes for time synchronization of servers, workstations and
other networked equipment."
-- Revision history
REVISION "202203170000Z"
DESCRIPTION "V2.17, modified description of hwNtpUniPeerMinpoll, hwNtpManycastClientIfName, hwNtpManycastServerIfName, hwNtpMulticastServerGenIfName, hwNtpMulticastClientGenIfName, hwNtpBroadcastClientGenIfName, hwNtpBroadcastServerGenIfName"
REVISION "202202240000Z"
DESCRIPTION "V2.16, modified revision history description spelling of the v2.14 and v2.15"
REVISION "202202230000Z"
DESCRIPTION "V2.15, modified description spelling of the nodes hwNtpAuthKeyidType"
REVISION "202111080000Z"
DESCRIPTION "V2.14, modified description of the nodes hwNtpAuthKeyidType"
REVISION "202103260000Z"
DESCRIPTION "V2.13, modified description of the nodes hwNtpServiceSourceInterfaceVpnTable and hwNtpServiceSourceInterfaceVpnEntry"
REVISION "202007160000Z"
DESCRIPTION "V2.12, modified description of the nodes hwNtpSessionClockSourceIp, hwNtpSessionVpnFlag, hwNtpUniServerAddressType, hwNtpUniPeerAddressType, hwNtpServiceSourceInterfaceVpnAddressType, hwNtpManycastClientIpType, hwNtpManycastServerIpType, hwNtpMulticastServerGenAddressType, hwNtpMulticastClientGenAddressType and hwNtpServerSourceAllInterfaceAddressType"
REVISION "202003300000Z"
DESCRIPTION "V2.11, modified description of the nodes hwNtpServerSourceAllInterfaceRowStatus, hwNtpServerSourceInterfaceRowStatus, hwNtpServerSourceIpv6Addr and hwNtpServerSourceIpv6RowStatus"
REVISION "202003230000Z"
DESCRIPTION "V2.10, added below tables
hwNtpServerSourceAllInterfaceTable
hwNtpServerSourceInterfaceTable
hwNtpServerSourceIpv6Table"
REVISION "201809200000Z"
DESCRIPTION "V2.09, modified description of the nodes hwNtpAuthKeyidType and hwNtpInInterfaceType"
@ -529,15 +557,19 @@
SYNTAX INTEGER
{
md5(1),
sha256(2)
sha256(2),
aes128cmac(3),
aes256cmac(4)
}
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"Indicates hashing algorithm MD5 or SHA-256 which is used for NTP authentication.
Options:
1. md5(1) -indicates the NTP MD5 algorithm is used as hasing algorithm
2. sha256(2) -indicates the NTP SHA-256 algorithm is used as hasing algorithm"
1. md5(1) -indicates the NTP MD5 algorithm is used as hashing algorithm
2. sha256(2) -indicates the NTP SHA-256 algorithm is used as hashing algorithm
3. aes128cmac(3) -indicates the NTP AES-128-CMAC algorithm is used as hashing algorithm
4. aes256cmac(4) -indicates the NTP AES-256-CMAC algorithm is used as hashing algorithm"
::= { hwNtpAuthenKeyEntry 7 }
-- 1.3.6.1.4.1.2011.6.4.2.5.3.1.8
@ -546,7 +578,7 @@
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"Indicates MD5 or SHA256 password key.
"Indicates MD5 or SHA256 or AESCMAC password key.
The key must not contain the space character and '?' character.
Reading this object always results in an OCTET STRING of length zero.
Authentication may not be bypassed by reading the MIB object.
@ -1539,7 +1571,7 @@
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Indicates the IP address of the remote host, i.e. the host connected to the local device."
"Indicates the IP address of the remote host, that is, IPv4 or IPv6. the host connected to the local device."
::= { hwNtpQueryNtpServerSessionEntry 2 }
-- 1.3.6.1.4.1.2011.6.4.2.13.1.3
@ -1700,7 +1732,7 @@
"Indicates the flag of the VPN instance.
Options:
1. true(1) -indicates that the clock is in a VPN instance
2. false(2) -indicates that the clock is not in a VPN instance, i.e. in the public VPN
2. false(2) -indicates that the clock is not in a VPN instance, that is, IPv4 or IPv6. in the public VPN
"
::= { hwNtpQueryNtpServerSessionEntry 16 }
@ -1934,7 +1966,7 @@
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"The value of this object identifies the type of the remote server's IP address i.e. IPv4 or IPv6.
"The value of this object identifies the type of the remote server's IP address, that is, IPv4 or IPv6.
For IPv4 value is 1 and for IPv6 value is 2."
::= { hwNtpUniServerEntry 2 }
@ -2216,7 +2248,7 @@
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"The value of this object identifies the type of the remote peer's IP address i.e. IPv4 or IPv6.
"The value of this object identifies the type of the remote peer's IP address, that is, IPv4 or IPv6.
For IPv4 value is 1 and for IPv6 value is 2."
::= { hwNtpUniPeerEntry 2 }
@ -2362,7 +2394,6 @@
STATUS current
DESCRIPTION
"Indicates NTP minimum poll interval.
Range: 3-13
Default: 6"
::= { hwNtpUniPeerEntry 11 }
@ -2425,7 +2456,7 @@
to send NTP messages with specified VPN. In case of no configuration for VPN, default VPN 0 will be considered.
In the unicast mode, if you want only one interface to receive the NTP response packets,
specify NTP packets sent from all local interfaces to use the same source IP address.
In the broadcast and multicast modes, the ntp-service source-interface command is invalid.
In the broadcast and multicast modes, this command is invalid.
It is because the NTP service is enabled on the specified interface that actually is the source interface.
"
::= { hwNtpObject 18 }
@ -2440,7 +2471,7 @@
to send NTP messages with specified VPN. In case of no configuration for VPN, default VPN 0 will be considered.
In the unicast mode, if you want only one interface to receive the NTP response packets,
specify NTP packets sent from all local interfaces to use the same source IP address.
In the broadcast and multicast modes, the ntp-service source-interface command is invalid.
In the broadcast and multicast modes, this command is invalid.
It is because the NTP service is enabled on the specified interface that actually is the source interface.
The indexes of this entry are hwNtpServiceSourceInterfaceVpnName and hwNtpServiceSourceInterfaceVpnAddressType.
"
@ -2474,7 +2505,7 @@
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"The value of this object identifies the type of the source interface's IP address i.e. IPv4 or IPv6.
"The value of this object identifies the type of the source interface's IP address, that is, IPv4 or IPv6.
For IPv4 value is 1 and for IPv6 value is 2.
"
::= { hwNtpServiceSourceInterfaceVpnEntry 2 }
@ -2557,9 +2588,6 @@
STATUS current
DESCRIPTION
"Specifies the interface name to configure generic manycast client.
The following interfaces are supported.
1. loopback -indicates the loopback interface
2. vlanif -indicates the VLAN interface.
"
::= { hwNtpManycastClientEntry 1 }
@ -2569,7 +2597,7 @@
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"The value of this object identifies the type of the manycast IP address i.e. IPv4 or IPv6.
"The value of this object identifies the type of the manycast IP address, that is, IPv4 or IPv6.
For IPv4 value is 1 and for IPv6 value is 2.
"
::= { hwNtpManycastClientEntry 2 }
@ -2680,9 +2708,6 @@
STATUS current
DESCRIPTION
"Specifies the interface name to configure generic manycast server.
The following interfaces are supported.
1. loopback -indicates the loopback interface
2. vlanif -indicates the VLAN interface.
"
::= { hwNtpManycastServerEntry 1 }
@ -2692,7 +2717,7 @@
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"The value of this object identifies the type of the manycast IP address i.e. IPv4 or IPv6.
"The value of this object identifies the type of the manycast IP address, that is, IPv4 or IPv6.
For IPv4 value is 1 and for IPv6 value is 2."
::= { hwNtpManycastServerEntry 2 }
@ -2771,9 +2796,6 @@
STATUS current
DESCRIPTION
"Specifies the interface name to configure generic multicast server.
The following interfaces are supported.
1. loopback -indicates the loopback interface
2. vlanif -indicates the VLAN interface.
"
::= { hwNtpMulticastServerGenEntry 1 }
@ -2783,7 +2805,7 @@
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"The value of this object identifies the type of the multicast IP address i.e. IPv4 or IPv6.
"The value of this object identifies the type of the multicast IP address, that is, IPv4 or IPv6.
For IPv4 value is 1 and for IPv6 value is 2."
::= { hwNtpMulticastServerGenEntry 2 }
@ -2902,9 +2924,6 @@
STATUS current
DESCRIPTION
"Specifies the interface name to configure generic multicast client.
The following interfaces are supported.
1. loopback -indicates the loopback interface
2. vlanif -indicates the VLAN interface.
"
::= { hwNtpMulticastClientGenEntry 1 }
@ -2914,7 +2933,7 @@
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"The value of this object identifies the type of the multicast IP address i.e. IPv4 or IPv6.
"The value of this object identifies the type of the multicast IP address, that is, IPv4 or IPv6.
For IPv4 value is 1 and for IPv6 value is 2.
"
::= { hwNtpMulticastClientGenEntry 2 }
@ -2986,9 +3005,6 @@
STATUS current
DESCRIPTION
"Specifies the interface name to configure generic broadcast client.
The following interfaces are supported.
1. loopback -indicates the loopback interface
2. vlanif -indicates the VLAN interface.
"
::= { hwNtpBroadcastClientGenEntry 1 }
@ -3052,9 +3068,6 @@
STATUS current
DESCRIPTION
"Specifies the interface name to configure generic broadcast server.
The following interfaces are supported.
1. loopback -indicates the loopback interface
2. vlanif -indicates the VLAN interface
"
::= { hwNtpBroadcastServerGenEntry 1 }
@ -3225,6 +3238,185 @@
"
::= { hwNtpServerSwitch 2 }
-- 1.3.6.1.4.1.2011.6.4.2.27
hwNtpServerSource OBJECT IDENTIFIER ::= { hwNtpObject 27 }
-- 1.3.6.1.4.1.2011.6.4.2.27.1
hwNtpServerSourceAllInterfaceTable OBJECT-TYPE
SYNTAX SEQUENCE OF HwNtpServerSourceAllInterfaceEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"The hwNtpServerSourceAllInterface table is used to enable the ntp server to listen to all interfaces.
Currently supports all interfaces of the specified IPv4 or IPv6 address family type.
"
::= { hwNtpServerSource 1 }
-- 1.3.6.1.4.1.2011.6.4.2.27.1.1
hwNtpServerSourceAllInterfaceEntry OBJECT-TYPE
SYNTAX HwNtpServerSourceAllInterfaceEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"The hwNtpServerSourceAllInterface table is used to enable the ntp server to listen to all interfaces.
Currently supports all interfaces of the specified IPv4 or IPv6 address family type.
"
INDEX { hwNtpServerSourceAllInterfaceAddressType }
::= { hwNtpServerSourceAllInterfaceTable 1 }
HwNtpServerSourceAllInterfaceEntry ::=
SEQUENCE {
hwNtpServerSourceAllInterfaceAddressType
InetAddressType,
hwNtpServerSourceAllInterfaceRowStatus
RowStatus
}
-- 1.3.6.1.4.1.2011.6.4.2.27.1.1.1
hwNtpServerSourceAllInterfaceAddressType OBJECT-TYPE
SYNTAX InetAddressType
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"The value of this object identifies the type of the source interface's IP address, that is, IPv4 or IPv6.
For IPv4 value is 1 and for IPv6 value is 2.
"
::= { hwNtpServerSourceAllInterfaceEntry 1 }
-- 1.3.6.1.4.1.2011.6.4.2.27.1.1.2
hwNtpServerSourceAllInterfaceRowStatus OBJECT-TYPE
SYNTAX RowStatus
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"Indicates the row status. It is used for the create, delete and query operations.
Options:
1. createAndGo(4) -specified in the create operation
2. destroy(6) -specified in the delete operation
3. active(1) -always returned in the query operation
"
::= { hwNtpServerSourceAllInterfaceEntry 2 }
-- 1.3.6.1.4.1.2011.6.4.2.27.2
hwNtpServerSourceInterfaceTable OBJECT-TYPE
SYNTAX SEQUENCE OF HwNtpServerSourceInterfaceEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"The hwNtpServerSourceInterface table is used to specify the source interface for ntp server listening.
"
::= { hwNtpServerSource 2 }
-- 1.3.6.1.4.1.2011.6.4.2.27.2.1
hwNtpServerSourceInterfaceEntry OBJECT-TYPE
SYNTAX HwNtpServerSourceInterfaceEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"The hwNtpServerSourceInterface table is used to specify the source interface for ntp server listening.
"
INDEX { hwNtpServerSourceInterfaceIfname }
::= { hwNtpServerSourceInterfaceTable 1 }
HwNtpServerSourceInterfaceEntry ::=
SEQUENCE {
hwNtpServerSourceInterfaceIfname
OCTET STRING,
hwNtpServerSourceInterfaceRowStatus
RowStatus
}
-- 1.3.6.1.4.1.2011.6.4.2.27.2.1.1
hwNtpServerSourceInterfaceIfname OBJECT-TYPE
SYNTAX OCTET STRING (SIZE (1..63))
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"Specifies the source interface name for ntp server listening.
"
::= { hwNtpServerSourceInterfaceEntry 1 }
-- 1.3.6.1.4.1.2011.6.4.2.27.2.1.2
hwNtpServerSourceInterfaceRowStatus OBJECT-TYPE
SYNTAX RowStatus
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"Indicates the row status. It is used for the create, delete and query operations.
Options:
1. createAndGo(4) -specified in the create operation
2. destroy(6) -specified in the delete operation
3. active(1) -always returned in the query operation
"
::= { hwNtpServerSourceInterfaceEntry 2 }
-- 1.3.6.1.4.1.2011.6.4.2.27.3
hwNtpServerSourceIpv6Table OBJECT-TYPE
SYNTAX SEQUENCE OF HwNtpServerSourceIpv6Entry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"The hwNtpServerSourceIpv6Table table is used to specify the source ipv6 address for ntp server listening.
"
::= { hwNtpServerSource 3 }
-- 1.3.6.1.4.1.2011.6.4.2.27.3.1
hwNtpServerSourceIpv6Entry OBJECT-TYPE
SYNTAX HwNtpServerSourceIpv6Entry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"The hwNtpServerSourceIpv6Table table is used to specify the source ipv6 address for ntp server listening.
"
INDEX { hwNtpServerSourceIpv6Addr, hwNtpServerSourceIpv6VpnName}
::= { hwNtpServerSourceIpv6Table 1 }
HwNtpServerSourceIpv6Entry ::=
SEQUENCE {
hwNtpServerSourceIpv6Addr
Ipv6Address,
hwNtpServerSourceIpv6VpnName
OCTET STRING,
hwNtpServerSourceIpv6RowStatus
RowStatus
}
-- 1.3.6.1.4.1.2011.6.4.2.27.3.1.1
hwNtpServerSourceIpv6Addr OBJECT-TYPE
SYNTAX Ipv6Address
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"Specifies the source ipv6 address for ntp server listening.
The IP address cannot be a multicast, loopback, link-local, site-local, or unspecified address.
"
::= { hwNtpServerSourceIpv6Entry 1 }
-- 1.3.6.1.4.1.2011.6.4.2.27.3.1.2
hwNtpServerSourceIpv6VpnName OBJECT-TYPE
SYNTAX OCTET STRING (SIZE (0..31))
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"It is used for setting the VPN instance of the source ipv6 address.
"
::= { hwNtpServerSourceIpv6Entry 2 }
-- 1.3.6.1.4.1.2011.6.4.2.27.3.1.3
hwNtpServerSourceIpv6RowStatus OBJECT-TYPE
SYNTAX RowStatus
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"Indicates the row status. It is used for the create, delete and query operations.
Options:
1. createAndGo(4) -specified in the create operation
2. destroy(6) -specified in the delete operation
3. active(1) -always returned in the query operation
"
::= { hwNtpServerSourceIpv6Entry 3 }
hwNtpConformance OBJECT IDENTIFIER ::= { hwNtp 3 }
hwNtpCompliances OBJECT IDENTIFIER ::= { hwNtpConformance 1 }
@ -3262,7 +3454,8 @@
hwNtpManycastServerRowStatus, hwNtpMulticastServerGenVersion, hwNtpMulticastServerGenAuthKeyid, hwNtpMulticastServerGenTTL, hwNtpMulticastServerGenRowStatus,
hwNtpInInterfaceGenAdminIPv6Status, hwNtpInInterfaceGenAdminStatus, hwNtpAuthKeyidPassword, hwNtpBroadcastServerGenRowStatus, hwNtpAuthKeyidType,
hwNtpBroadcastServerGenAuthKeyid, hwNtpMulticastClientGenRowStatus, hwNtpBroadcastServerGenVersion, hwNtpKODStatus,
hwNtpBroadcastClientGenRowStatus, hwNtpIPv4ServerSwitch, hwNtpIPv6ServerSwitch }
hwNtpBroadcastClientGenRowStatus, hwNtpIPv4ServerSwitch, hwNtpIPv6ServerSwitch , hwNtpServerSourceAllInterfaceRowStatus,
hwNtpServerSourceInterfaceRowStatus, hwNtpServerSourceIpv6RowStatus }
STATUS current
DESCRIPTION
"This objects are used to provide NTP functionality through MIB browser."