1-- ***************************************************************** 2-- BDCOM-EPON-FTM.my: BDCOM EPON File Transfer Management MIB 3-- 4-- 2014-07-16 5-- Edit by LLH 6-- Copyright (c) 2014 by BDCOM, Inc. 7-- All rights reserved. 8-- ***************************************************************** 9NMS-EPON-FTM DEFINITIONS ::= BEGIN 10 11IMPORTS 12 DisplayString FROM RFC1213-MIB 13 MODULE-IDENTITY, OBJECT-TYPE, NOTIFICATION-TYPE,INTEGER, 14 Integer32, Unsigned32, IpAddress FROM SNMPv2-SMI 15 MODULE-COMPLIANCE, OBJECT-GROUP,NOTIFICATION-GROUP FROM SNMPv2-CONF 16 nmsEPONGroup FROM NMS-SMI; 17 18 19 20fileTransferManagement OBJECT-IDENTITY 21STATUS current 22DESCRIPTION 23" 24�ļ�����ڵ�" 25::= { nmsEPONGroup 20 } 26 27 28 29fileTransferTable OBJECT-TYPE 30SYNTAX SEQUENCE OF FileTransferEntry 31MAX-ACCESS not-accessible 32STATUS current 33DESCRIPTION 34" 35�ļ�������̱�" 36::= { fileTransferManagement 1 } 37fileTransferEntry OBJECT-TYPE 38SYNTAX FileTransferEntry 39MAX-ACCESS not-accessible 40STATUS current 41DESCRIPTION 42" " 43INDEX { fileTransferIndex } 44::= { fileTransferTable 1 } 45FileTransferEntry ::= 46SEQUENCE { 47fileTransferIndex 48INTEGER, 49fileTransferProtocolType 50INTEGER, 51serverIpAddress 52IpAddress, 53ftpUserName 54DisplayString, 55ftpUserPassword 56DisplayString, 57transferFileSrcNamePath 58DisplayString, 59 60transferFileDstNamePath 61DisplayString, 62transferAction 63INTEGER, 64transferStatus 65INTEGER 66} 67 68fileTransferIndex OBJECT-TYPE 69SYNTAX INTEGER (1..10) 70MAX-ACCESS not-accessible 71STATUS current 72DESCRIPTION 73" 74�ļ����ͽ�����ˮ��" 75::= { fileTransferEntry 1 } 76fileTransferProtocolType OBJECT-TYPE 77SYNTAX INTEGER 78{ 79ftp(1), 80tftp(2) 81} 82MAX-ACCESS read-write 83STATUS current 84DESCRIPTION 85" 86�ý���ʹ�õ��ļ�����Э������" 87::= { fileTransferEntry 2 } 88serverIpAddress OBJECT-TYPE 89SYNTAX IpAddress 90MAX-ACCESS read-write 91STATUS current 92DESCRIPTION 93" 94�ý���ʹ�õķ�����IP��ַ" 95::= { fileTransferEntry 3 } 96ftpUserName OBJECT-TYPE 97SYNTAX DisplayString 98MAX-ACCESS read-write 99STATUS current 100 101DESCRIPTION 102" 103�ý���ʹ�õ��û�������������FTPЭ��" 104::= { fileTransferEntry 4 } 105ftpUserPassword OBJECT-TYPE 106SYNTAX DisplayString 107MAX-ACCESS read-write 108STATUS current 109DESCRIPTION 110" 111�ý���ʹ�õ����룬��������FTPЭ��" 112::= { fileTransferEntry 5 } 113transferFileSrcNamePath OBJECT-TYPE 114SYNTAX DisplayString 115MAX-ACCESS read-write 116STATUS current 117DESCRIPTION 118" 119�ý��̶�Ӧ���ļ�Դ����·�������确/tftproot/file/image.bin" 120::= { fileTransferEntry 6 } 121transferFileDstNamePath OBJECT-TYPE 122SYNTAX DisplayString 123MAX-ACCESS read-write 124STATUS current 125DESCRIPTION 126" 127�ý��̶�Ӧ���ļ�Ŀ������·�������确/tftproot/file/image.bin" 128::= { fileTransferEntry 7 } 129transferAction OBJECT-TYPE 130SYNTAX INTEGER 131{ 132noOperation(1), 133put(2), 134get(3), 135halt(4) 136} 137MAX-ACCESS read-write 138STATUS current 139DESCRIPTION 140 141" 142�ý��̶�Ӧ���ļ����䶯�� 143noOperation(1) - ��ʾû���κδ������������Ĭ�����ú�����������ɺ�ָ�ֵ 144put(2) - �ϴ��ļ� 145get(3) - �����ļ� 146halt(4) - ֹͣ�ļ�����" 147::= { fileTransferEntry 8 } 148transferStatus OBJECT-TYPE 149SYNTAX INTEGER 150{ 151idle(1), 152inProgress(2), 153success(3), 154failure(4) 155} 156MAX-ACCESS read-only 157STATUS current 158DESCRIPTION 159" 160�ý��̶�Ӧ���ļ�����״̬ 161idle(1) - ���� 162inProgress(2) - ������ 163success(3) - ���ͳɹ� 164failure(4) - ����ʧ��" 165::= { fileTransferEntry 9 } 166 167 168END 169 170