initial commit; version 22.5.12042
This commit is contained in:
290
mibs/fscom/FS-NMS-FILE-MGMT-MIB
Normal file
290
mibs/fscom/FS-NMS-FILE-MGMT-MIB
Normal file
@ -0,0 +1,290 @@
|
||||
FS-NMS-FILE-MGMT-MIB DEFINITIONS ::= BEGIN
|
||||
|
||||
IMPORTS
|
||||
MODULE-IDENTITY,
|
||||
OBJECT-TYPE
|
||||
FROM SNMPv2-SMI
|
||||
|
||||
|
||||
DisplayString
|
||||
FROM RFC1213-MIB
|
||||
nmsMgmt
|
||||
FROM FS-NMS-SMI
|
||||
DateAndTime
|
||||
FROM SNMPv2-TC;
|
||||
|
||||
nmsFileMgmtMIB MODULE-IDENTITY
|
||||
LAST-UPDATED "201512020000Z"
|
||||
ORGANIZATION ""
|
||||
CONTACT-INFO
|
||||
""
|
||||
|
||||
DESCRIPTION
|
||||
" "
|
||||
::= { nmsMgmt 185 }
|
||||
|
||||
|
||||
|
||||
--nmsIfObjects OBJECT IDENTIFIER ::= { nmsIfMIB 1 }
|
||||
|
||||
fileTransferManagement OBJECT-IDENTITY
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"
|
||||
<EFBFBD>ļ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ڵ<EFBFBD>"
|
||||
::= { nmsFileMgmtMIB 1 }
|
||||
fileTransferTable OBJECT-TYPE
|
||||
SYNTAX SEQUENCE OF FileTransferEntry
|
||||
MAX-ACCESS not-accessible
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"
|
||||
<EFBFBD>ļ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>̱<EFBFBD>"
|
||||
::= { fileTransferManagement 1 }
|
||||
fileTransferEntry OBJECT-TYPE
|
||||
SYNTAX FileTransferEntry
|
||||
MAX-ACCESS not-accessible
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
" "
|
||||
INDEX { fileTransferIndex }
|
||||
::= { fileTransferTable 1 }
|
||||
FileTransferEntry ::=
|
||||
SEQUENCE {
|
||||
fileTransferIndex
|
||||
INTEGER,
|
||||
fileTransferProtocolType
|
||||
INTEGER,
|
||||
serverIpAddress
|
||||
IpAddress,
|
||||
ftpUserName
|
||||
DisplayString,
|
||||
ftpUserPassword
|
||||
DisplayString,
|
||||
transferFileSrcNamePath
|
||||
DisplayString,
|
||||
|
||||
transferFileDstNamePath
|
||||
DisplayString,
|
||||
transferAction
|
||||
INTEGER,
|
||||
transferStatus
|
||||
INTEGER
|
||||
}
|
||||
fileTransferIndex OBJECT-TYPE
|
||||
SYNTAX INTEGER (1..10)
|
||||
MAX-ACCESS not-accessible
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"
|
||||
<EFBFBD>ļ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ͽ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ˮ<EFBFBD><EFBFBD>"
|
||||
::= { fileTransferEntry 1 }
|
||||
fileTransferProtocolType OBJECT-TYPE
|
||||
SYNTAX INTEGER
|
||||
{
|
||||
ftp(1),
|
||||
tftp(2)
|
||||
}
|
||||
MAX-ACCESS read-write
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"
|
||||
<EFBFBD>ý<EFBFBD><EFBFBD><EFBFBD>ʹ<EFBFBD>õ<EFBFBD><EFBFBD>ļ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Э<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
|
||||
::= { fileTransferEntry 2 }
|
||||
serverIpAddress OBJECT-TYPE
|
||||
SYNTAX IpAddress
|
||||
MAX-ACCESS read-write
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"
|
||||
<EFBFBD>ý<EFBFBD><EFBFBD><EFBFBD>ʹ<EFBFBD>õķ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>IP<EFBFBD><EFBFBD>ַ"
|
||||
::= { fileTransferEntry 3 }
|
||||
ftpUserName OBJECT-TYPE
|
||||
SYNTAX DisplayString
|
||||
MAX-ACCESS read-write
|
||||
STATUS current
|
||||
|
||||
DESCRIPTION
|
||||
"
|
||||
<EFBFBD>ý<EFBFBD><EFBFBD><EFBFBD>ʹ<EFBFBD>õ<EFBFBD><EFBFBD>û<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>FTPЭ<EFBFBD><EFBFBD>"
|
||||
::= { fileTransferEntry 4 }
|
||||
ftpUserPassword OBJECT-TYPE
|
||||
SYNTAX DisplayString
|
||||
MAX-ACCESS read-write
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"
|
||||
<EFBFBD>ý<EFBFBD><EFBFBD><EFBFBD>ʹ<EFBFBD>õ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>룬<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>FTPЭ<EFBFBD><EFBFBD>"
|
||||
::= { fileTransferEntry 5 }
|
||||
transferFileSrcNamePath OBJECT-TYPE
|
||||
SYNTAX DisplayString
|
||||
MAX-ACCESS read-write
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"
|
||||
<EFBFBD>ý<EFBFBD><EFBFBD>̶<EFBFBD>Ӧ<EFBFBD><EFBFBD><EFBFBD>ļ<EFBFBD>Դ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>·<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>确/tftproot/file/image.bin"
|
||||
::= { fileTransferEntry 6 }
|
||||
transferFileDstNamePath OBJECT-TYPE
|
||||
SYNTAX DisplayString
|
||||
MAX-ACCESS read-write
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"
|
||||
<EFBFBD>ý<EFBFBD><EFBFBD>̶<EFBFBD>Ӧ<EFBFBD><EFBFBD><EFBFBD>ļ<EFBFBD>Ŀ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>·<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>确/tftproot/file/image.bin"
|
||||
::= { fileTransferEntry 7 }
|
||||
transferAction OBJECT-TYPE
|
||||
SYNTAX INTEGER
|
||||
{
|
||||
noOperation(1),
|
||||
put(2),
|
||||
get(3),
|
||||
halt(4)
|
||||
}
|
||||
MAX-ACCESS read-write
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
|
||||
"
|
||||
<EFBFBD>ý<EFBFBD><EFBFBD>̶<EFBFBD>Ӧ<EFBFBD><EFBFBD><EFBFBD>ļ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>䶯<EFBFBD><EFBFBD>
|
||||
noOperation(1) - <20><>ʾû<CABE><C3BB><EFBFBD>κδ<CEBA><CEB4><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ĭ<EFBFBD><C4AC><EFBFBD><EFBFBD><EFBFBD>ú<EFBFBD><C3BA><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ɺ<EFBFBD><C9BA>ָ<EFBFBD>ֵ
|
||||
put(2) - <20>ϴ<EFBFBD><CFB4>ļ<EFBFBD>
|
||||
get(3) - <20><><EFBFBD><EFBFBD><EFBFBD>ļ<EFBFBD>
|
||||
halt(4) - ֹͣ<CDA3>ļ<EFBFBD><C4BC><EFBFBD><EFBFBD><EFBFBD>"
|
||||
::= { fileTransferEntry 8 }
|
||||
transferStatus OBJECT-TYPE
|
||||
SYNTAX INTEGER
|
||||
{
|
||||
idle(1),
|
||||
inProgress(2),
|
||||
success(3),
|
||||
failure(4)
|
||||
}
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"
|
||||
<EFBFBD>ý<EFBFBD><EFBFBD>̶<EFBFBD>Ӧ<EFBFBD><EFBFBD><EFBFBD>ļ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>״̬
|
||||
idle(1) - <20><><EFBFBD><EFBFBD>
|
||||
inProgress(2) - <20><><EFBFBD>ڴ<EFBFBD><DAB4><EFBFBD><EFBFBD><EFBFBD>
|
||||
success(3) - <20><><EFBFBD>ͳɹ<CDB3>
|
||||
failure(4) - <20><><EFBFBD><EFBFBD>ʧ<EFBFBD><CAA7>"
|
||||
::= { fileTransferEntry 9 }
|
||||
|
||||
|
||||
fileInfoManagementTable OBJECT-TYPE
|
||||
SYNTAX SEQUENCE OF FileInfoManagementEntry
|
||||
MAX-ACCESS not-accessible
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"
|
||||
OLT<EFBFBD>ļ<EFBFBD><EFBFBD><EFBFBD>Ϣ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
It is done by file list per directionary.
|
||||
Please walk filePath for the file lists in the specified
|
||||
path. If leave it NULL or walk fileInfoManagementEntry,
|
||||
the file list of the root directionary shall be returned
|
||||
"
|
||||
::= { fileTransferManagement 2 }
|
||||
fileInfoManagementEntry OBJECT-TYPE
|
||||
|
||||
SYNTAX FileInfoManagementEntry
|
||||
MAX-ACCESS not-accessible
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
" "
|
||||
INDEX { filePath, fileName }
|
||||
::= { fileInfoManagementTable 1 }
|
||||
FileInfoManagementEntry ::=
|
||||
SEQUENCE {
|
||||
filePath
|
||||
DisplayString,
|
||||
fileName
|
||||
DisplayString,
|
||||
fileSize
|
||||
Counter32,
|
||||
fileModifyTime
|
||||
DateAndTime,
|
||||
fileManagementAction
|
||||
INTEGER,
|
||||
fileAttribute
|
||||
INTEGER
|
||||
}
|
||||
filePath OBJECT-TYPE
|
||||
SYNTAX DisplayString
|
||||
MAX-ACCESS not-accessible
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"
|
||||
File path
|
||||
It shall be started with a length octet, followed with path string. The length octet
|
||||
shall indicate the number of character octets, excluding length itself.
|
||||
For example, 0x05 41 42 43 44 45, respresents ABCDE
|
||||
It shall be ended with '/', which is used to distinguish the two DisplayString
|
||||
indexes. For example, if the path is flash/root, filePath shall be set to flash/root/.
|
||||
"
|
||||
::= { fileInfoManagementEntry 1 }
|
||||
fileName OBJECT-TYPE
|
||||
SYNTAX DisplayString
|
||||
MAX-ACCESS not-accessible
|
||||
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"
|
||||
File name. MUST not include '/' character and MUST not be NULL.
|
||||
It shall be started with a length octet, followed with name string. The length octet
|
||||
shall indicate the number of character octets, excluding length itself.
|
||||
For example, 0x05 41 42 43 44 45, respresents ABCDE
|
||||
"
|
||||
::= { fileInfoManagementEntry 2 }
|
||||
fileSize OBJECT-TYPE
|
||||
SYNTAX Counter32
|
||||
UNITS "bytes"
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"
|
||||
<EFBFBD>ļ<EFBFBD><EFBFBD><EFBFBD>С<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ֽ<EFBFBD>Ϊ<EFBFBD><EFBFBD>λ"
|
||||
::= { fileInfoManagementEntry 3 }
|
||||
fileModifyTime OBJECT-TYPE
|
||||
SYNTAX DateAndTime
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"
|
||||
<EFBFBD>ļ<EFBFBD><EFBFBD><EFBFBD>ʱ<EFBFBD><EFBFBD>"
|
||||
::= { fileInfoManagementEntry 4 }
|
||||
fileManagementAction OBJECT-TYPE
|
||||
SYNTAX INTEGER
|
||||
{
|
||||
noOperation(1),
|
||||
erase(2)
|
||||
}
|
||||
MAX-ACCESS read-write
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"
|
||||
<EFBFBD><EFBFBD><EFBFBD>ļ<EFBFBD>ʩ<EFBFBD>ӵĶ<EFBFBD><EFBFBD><EFBFBD>
|
||||
noOperation(1) - <20><>ʾû<CABE><C3BB><EFBFBD>κδ<CEBA><CEB4><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ĭ<EFBFBD><C4AC><EFBFBD><EFBFBD><EFBFBD>ú<EFBFBD><C3BA><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ɺ<EFBFBD><C9BA>ָ<EFBFBD>ֵ
|
||||
erase(2) - <20>ļ<EFBFBD>ɾ<EFBFBD><C9BE>"
|
||||
|
||||
::= { fileInfoManagementEntry 5 }
|
||||
fileAttribute OBJECT-TYPE
|
||||
SYNTAX INTEGER
|
||||
{
|
||||
file(1), -- It is a file
|
||||
dir(2) -- It is a directionary
|
||||
}
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"
|
||||
The attribute of the file"
|
||||
::= { fileInfoManagementEntry 6 }
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
END
|
||||
|
Reference in New Issue
Block a user