197 lines
7.0 KiB
Plaintext
197 lines
7.0 KiB
Plaintext
-- ===================================================================
|
|
-- Copyright (C) 2019 by HUAWEI TECHNOLOGIES. All rights reserved.
|
|
-- Description: HUAWEI MASTER KEY MIB
|
|
-- Reference:
|
|
-- Version: V1.05
|
|
-- ===================================================================
|
|
|
|
|
|
HUAWEI-MASTERKEY-MIB DEFINITIONS ::= BEGIN
|
|
|
|
IMPORTS
|
|
OBJECT-GROUP, MODULE-COMPLIANCE, NOTIFICATION-GROUP
|
|
FROM SNMPv2-CONF
|
|
DisplayString, RowStatus, DateAndTime
|
|
FROM SNMPv2-TC
|
|
TimeTicks, Integer32, Unsigned32, IpAddress, Counter32, OBJECT-TYPE,
|
|
MODULE-IDENTITY, NOTIFICATION-TYPE
|
|
FROM SNMPv2-SMI
|
|
hwDatacomm
|
|
FROM HUAWEI-MIB;
|
|
|
|
|
|
hwMasterKey MODULE-IDENTITY
|
|
LAST-UPDATED "201903251900Z"
|
|
ORGANIZATION
|
|
"Huawei Technologies Co.,Ltd."
|
|
CONTACT-INFO
|
|
"Huawei Industrial Base
|
|
Bantian, Longgang
|
|
Shenzhen 518129
|
|
People's Republic of China
|
|
Website: http://www.huawei.com
|
|
Email: support@huawei.com
|
|
"
|
|
DESCRIPTION
|
|
"The HUAWEI-MASTERKEY-MIB contains objects to manage the system
|
|
master key. such as set and clear master key, query master key configuration
|
|
and modify infomation. This module can only be accessed from SNMPv3 agents."
|
|
|
|
-- Revision history
|
|
REVISION "201903251900Z"
|
|
DESCRIPTION "V1.05, modify description of hwMKOperateFailedReason."
|
|
|
|
REVISION "201903211900Z"
|
|
DESCRIPTION "V1.04, modify description of hwNewMasterKey."
|
|
|
|
REVISION "201901041600Z"
|
|
DESCRIPTION "V1.03, modify description of some nodes and
|
|
the string length range of node hwNewMasterKey."
|
|
|
|
REVISION "201812261600Z"
|
|
DESCRIPTION "V1.02, add description of only support SNMPv3."
|
|
|
|
REVISION "201603251600Z"
|
|
DESCRIPTION "V1.01, change the hwMKOperateResult enum value ."
|
|
|
|
REVISION "201602281600Z"
|
|
DESCRIPTION "V1.00, initial version."
|
|
|
|
::= { hwDatacomm 346 }
|
|
|
|
hwMasterKeyConfig OBJECT-TYPE
|
|
SYNTAX INTEGER
|
|
{
|
|
default(1),
|
|
userDefined(2)
|
|
}
|
|
MAX-ACCESS read-only
|
|
STATUS current
|
|
DESCRIPTION
|
|
"The value of this object identifies current master is default or
|
|
user defined."
|
|
::= { hwMasterKey 1 }
|
|
|
|
hwClearMasterKey OBJECT-TYPE
|
|
SYNTAX DisplayString (SIZE (1..256))
|
|
MAX-ACCESS read-write
|
|
STATUS current
|
|
DESCRIPTION
|
|
"The value of this object identifies the current user password
|
|
this object is used to clear master key, the read length is 0."
|
|
::= { hwMasterKey 2 }
|
|
|
|
hwSetMasterKey OBJECT IDENTIFIER ::= { hwMasterKey 3 }
|
|
|
|
hwNewMasterKey OBJECT-TYPE
|
|
SYNTAX DisplayString (SIZE (20..32))
|
|
MAX-ACCESS read-write
|
|
STATUS current
|
|
DESCRIPTION
|
|
"The value of this object identifies the new master key
|
|
this object is used to set master key, the read length is 0.
|
|
The master key value is a string of 20 to 32 characters and
|
|
must be a combination of uppercase letters, lowercase letters,
|
|
digits, and special characters.
|
|
Because of the limitation of snmp protocol, some characters such as space can not be used."
|
|
::= { hwSetMasterKey 1 }
|
|
|
|
hwCurMasterKey OBJECT-TYPE
|
|
SYNTAX DisplayString (SIZE (1..32))
|
|
MAX-ACCESS read-write
|
|
STATUS current
|
|
DESCRIPTION
|
|
"The value of this object identifies the current master key
|
|
this object is used to set master key, the read length is 0."
|
|
::= { hwSetMasterKey 2 }
|
|
|
|
|
|
hwMasterKeyOperateInfo OBJECT IDENTIFIER ::= { hwMasterKey 4 }
|
|
|
|
hwMKOperateResult OBJECT-TYPE
|
|
SYNTAX INTEGER
|
|
{
|
|
success(1),
|
|
operating(2),
|
|
failure(3)
|
|
}
|
|
MAX-ACCESS read-only
|
|
STATUS current
|
|
DESCRIPTION
|
|
"The value of this object identifies master key modify result."
|
|
::= { hwMasterKeyOperateInfo 1 }
|
|
|
|
hwMKOperateFailedReason OBJECT-TYPE
|
|
SYNTAX OCTET STRING (SIZE (1..128))
|
|
MAX-ACCESS read-only
|
|
STATUS current
|
|
DESCRIPTION
|
|
"The value of this object identifies the failed reason of master key modification.
|
|
Specially for the failure of the mib asynchronous setting."
|
|
::= { hwMasterKeyOperateInfo 2 }
|
|
|
|
hwMKOperateStartTime OBJECT-TYPE
|
|
SYNTAX DateAndTime
|
|
MAX-ACCESS read-only
|
|
STATUS current
|
|
DESCRIPTION
|
|
"The value of this object identifies the start time of master key modification
|
|
in the format of YYYY-MM-DD,HH:MM:SS."
|
|
::= { hwMasterKeyOperateInfo 3 }
|
|
|
|
hwMKOperateEndTime OBJECT-TYPE
|
|
SYNTAX DateAndTime
|
|
MAX-ACCESS read-only
|
|
STATUS current
|
|
DESCRIPTION
|
|
"The value of this object identifies the end time of master key modification
|
|
in the format of YYYY-MM-DD,HH:MM:SS."
|
|
::= { hwMasterKeyOperateInfo 4 }
|
|
|
|
hwMasterKeyMIBConformance OBJECT IDENTIFIER ::= { hwMasterKey 5 }
|
|
|
|
hwMasterKeyMIBCompliances OBJECT IDENTIFIER ::= { hwMasterKeyMIBConformance 1 }
|
|
hwMasterKeyMIBCompliance MODULE-COMPLIANCE
|
|
STATUS current
|
|
DESCRIPTION
|
|
"The compliance statement for entities which implement
|
|
the Huawei Master Key MIB."
|
|
MODULE -- this module
|
|
MANDATORY-GROUPS { hwMKConfigGroup, hwMKSetGroup, hwMKClearGroup, hwMKOperateInfoGroup }
|
|
::= { hwMasterKeyMIBCompliances 1 }
|
|
|
|
hwMasterKeyMIBGroups OBJECT IDENTIFIER ::= { hwMasterKeyMIBConformance 2 }
|
|
|
|
hwMKConfigGroup OBJECT-GROUP
|
|
OBJECTS { hwMasterKeyConfig }
|
|
STATUS current
|
|
DESCRIPTION
|
|
"A collection of master key configuration."
|
|
::= { hwMasterKeyMIBGroups 1 }
|
|
|
|
hwMKSetGroup OBJECT-GROUP
|
|
OBJECTS { hwNewMasterKey, hwCurMasterKey }
|
|
STATUS current
|
|
DESCRIPTION
|
|
"A collection of set master key."
|
|
::= { hwMasterKeyMIBGroups 2 }
|
|
|
|
hwMKClearGroup OBJECT-GROUP
|
|
OBJECTS { hwClearMasterKey }
|
|
STATUS current
|
|
DESCRIPTION
|
|
"A collection of clear master key."
|
|
::= { hwMasterKeyMIBGroups 3 }
|
|
|
|
hwMKOperateInfoGroup OBJECT-GROUP
|
|
OBJECTS { hwMKOperateResult, hwMKOperateFailedReason, hwMKOperateStartTime, hwMKOperateEndTime }
|
|
STATUS current
|
|
DESCRIPTION
|
|
"A collection of mater key operate information."
|
|
::= { hwMasterKeyMIBGroups 4 }
|
|
END
|
|
|
|
--
|
|
-- HUAWEI-MASTERKEY-MIB.mib
|
|
--
|