Download as txt, pdf, or txt
Download as txt, pdf, or txt
You are on page 1of 7

--****************************************************************************

--
-- Copyright (c) 2009-2015 Broadcom Corporation
--
-- This program is the proprietary software of Broadcom Corporation and/or
-- its licensors, and may only be used, duplicated, modified or distributed
-- pursuant to the terms and conditions of a separate, written license
-- agreement executed between you and Broadcom (an "Authorized License").
-- Except as set forth in an Authorized License, Broadcom grants no license
-- (express or implied), right to use, or waiver of any kind with respect to
-- the Software, and Broadcom expressly reserves all rights in and to the
-- Software and all intellectual property rights therein. IF YOU HAVE NO
-- AUTHORIZED LICENSE, THEN YOU HAVE NO RIGHT TO USE THIS SOFTWARE IN ANY WAY,
-- AND SHOULD IMMEDIATELY NOTIFY BROADCOM AND DISCONTINUE ALL USE OF THE
-- SOFTWARE.
--
-- Except as expressly set forth in the Authorized License,
--
-- 1. This program, including its structure, sequence and organization,
-- constitutes the valuable trade secrets of Broadcom, and you shall use all
-- reasonable efforts to protect the confidentiality thereof, and to use this
-- information only in connection with your use of Broadcom integrated circuit
-- products.
--
-- 2. TO THE MAXIMUM EXTENT PERMITTED BY LAW, THE SOFTWARE IS PROVIDED
-- "AS IS" AND WITH ALL FAULTS AND BROADCOM MAKES NO PROMISES, REPRESENTATIONS
-- OR WARRANTIES, EITHER EXPRESS, IMPLIED, STATUTORY, OR OTHERWISE, WITH
-- RESPECT TO THE SOFTWARE. BROADCOM SPECIFICALLY DISCLAIMS ANY AND ALL
-- IMPLIED WARRANTIES OF TITLE, MERCHANTABILITY, NONINFRINGEMENT, FITNESS FOR
-- A PARTICULAR PURPOSE, LACK OF VIRUSES, ACCURACY OR COMPLETENESS, QUIET
-- ENJOYMENT, QUIET POSSESSION OR CORRESPONDENCE TO DESCRIPTION. YOU ASSUME
-- THE ENTIRE RISK ARISING OUT OF USE OR PERFORMANCE OF THE SOFTWARE.
--
-- 3. TO THE MAXIMUM EXTENT PERMITTED BY LAW, IN NO EVENT SHALL BROADCOM
-- OR ITS LICENSORS BE LIABLE FOR (i) CONSEQUENTIAL, INCIDENTAL, SPECIAL,
-- INDIRECT, OR EXEMPLARY DAMAGES WHATSOEVER ARISING OUT OF OR IN ANY WAY
-- RELATING TO YOUR USE OF OR INABILITY TO USE THE SOFTWARE EVEN IF BROADCOM
-- HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES; OR (ii) ANY AMOUNT IN
-- EXCESS OF THE AMOUNT ACTUALLY PAID FOR THE SOFTWARE ITSELF OR U.S. $1,
-- WHICHEVER IS GREATER. THESE LIMITATIONS SHALL APPLY NOTWITHSTANDING ANY
-- FAILURE OF ESSENTIAL PURPOSE OF ANY LIMITED REMEDY.
--
--****************************************************************************
-- Filename: brcm-ftp-mgmt.mib
-- Author: Kevin O'Neal
-- Creation Date: 4-march-2009
--
--**************************************************************************
-- Description:
--
-- MIB for runtime management of the FTP client
--
--**************************************************************************
-- Revision History:
--
--**************************************************************************

BRCM-FTP-MGMT-MIB DEFINITIONS ::= BEGIN


IMPORTS
MODULE-IDENTITY,
OBJECT-TYPE,
Counter32,
Integer32,
Unsigned32
FROM SNMPv2-SMI
DisplayString
FROM SNMPv2-TC
InetAddressType,
InetAddress
FROM INET-ADDRESS-MIB
OBJECT-GROUP,
MODULE-COMPLIANCE
FROM SNMPv2-CONF
cableDataMgmtMIBObjects
FROM BRCM-CABLEDATA-MGMT-MIB;

ftpMgmt MODULE-IDENTITY
LAST-UPDATED "201505040000Z"
ORGANIZATION "Broadcom Corporation"
CONTACT-INFO
"BANANA-CABLEDATA
(cableData branch of the
Broadcom Assigned Numbers and Naming Authority)
Broadcom Corporation

Postal: 4385 River Green Parkway


Duluth, GA 30096
USA

Tel: +1 770 232-0018

E-mail: banana-cabledata@broadcom.com"
DESCRIPTION
"Broadcom proprietary MIB for runtime management and configuration
of objects related to the FTP client."
REVISION "201505040000Z"
DESCRIPTION
"Added Conformance section. Added 'sessionInProgress' enumeration to
the 'ftpTransferStatus' object."
REVISION "201406200000Z"
DESCRIPTION
"Fix smilint and spelling errors."
REVISION "201402120000Z"
DESCRIPTION
"Added the ftpWindowSize and ftpWindowScale objects."
REVISION "201103010000Z"
DESCRIPTION
"Corrected the value of the root node. The previous value (12) was in
conflict with the BRCM-EUE-MGMT-MIB."
REVISION "201101120000Z"
DESCRIPTION
"Added a put option to the ftpCommand. Added the ftpPutFilenamePath
and ftpPutFileSize objects."
REVISION "200908120000Z"
DESCRIPTION
"Added a value range for ftpServerPort."
REVISION "200903040000Z"
DESCRIPTION
"Initial version of this MIB module."
::= { cableDataMgmtMIBObjects 17 }

ftpIpStackInterface OBJECT-TYPE
SYNTAX Integer32 (1..8)
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"Specifies the IP stack which will be used for FTP transfers."
DEFVAL { 1 }
::= { ftpMgmt 1 }

ftpServerAddressType OBJECT-TYPE
SYNTAX InetAddressType
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"The type of internet address used for ftpServerAddress."
::= { ftpMgmt 2 }

ftpServerAddress OBJECT-TYPE
SYNTAX InetAddress
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"The internet address of the FTP server used for FTP transfers."
::= { ftpMgmt 3 }

ftpServerPort OBJECT-TYPE
SYNTAX Integer32 (1..65535)
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"The TCP port on the FTP server to which the client will attempt to
connect."
DEFVAL { 20 }
::= { ftpMgmt 4 }

ftpUserName OBJECT-TYPE
SYNTAX DisplayString (SIZE (0..255))
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"The user name to be used when logging in to the FTP server."
DEFVAL { "" }
::= { ftpMgmt 5 }

ftpPassword OBJECT-TYPE
SYNTAX DisplayString (SIZE (0..255))
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"The password to be used when logging in to the FTP server."
DEFVAL { "" }
::= { ftpMgmt 6 }

ftpFilename OBJECT-TYPE
SYNTAX DisplayString (SIZE (0..255))
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"The path to the file to be transferred."
DEFVAL { "" }
::= { ftpMgmt 7 }

ftpCommand OBJECT-TYPE
SYNTAX INTEGER {
cancel(0),
get(1),
put(2)
}
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"Used to invoke an FTP command, or cancel a command which is in
progress. When read, indicates the most recent command. Note that
the value of this object does not indicate the current transfer
status. Current status should be read from ftpTransferStatus."
::= { ftpMgmt 8 }

ftpTransferStatus OBJECT-TYPE
SYNTAX INTEGER {
idle(0),
sessionInProgress(1), -- This is a BRCM extension to the FTP
status codes
fileStatusOk(150),
serviceReady(200),
sessionReady(221),
transferComplete(226),
passwordOk(230),
userNameOk(331),
serviceNotAvail(421),
invalidLogin(530),
fileNotFound(550),
socketConnectFailure(600) -- This is a BRCM extension to the FTP
status codes
}
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Indicates the status of the file transfer which is currently in
progress, or which most recently completed. If no file transfer has
been initiated, this object returns a value of idle(0).
This object returns 'sessionInProgress' if read while an FTP session
is actually in progress. "
::= { ftpMgmt 9 }

ftpTransferPayloadBytes OBJECT-TYPE
SYNTAX Counter32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Indicates the number of file data payload bytes transferred during the
file transfer which is currently in progress, or which most recently
completed. For transfers which complete successfully, the value of
this object will be equal to the size of the file transferred."
::= { ftpMgmt 10 }
ftpTransferTotalBytes OBJECT-TYPE
SYNTAX Counter32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Indicates the total number of bytes transferred during the
file transfer which is currently in progress, or which most recently
completed. This value includes file data payload as well as FTP
framing data and all IP and layer 2 headers. This value should be
used when calculating transfer throughput."
::= { ftpMgmt 11 }

ftpTransferElapsedTime OBJECT-TYPE
SYNTAX Counter32
UNITS "milliseconds"
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Indicates the total elapsed time of the file transfer which is
currently in progress, or which most recently completed."
::= { ftpMgmt 12 }

ftpTransferThroughput OBJECT-TYPE
SYNTAX Unsigned32
UNITS "bits per second"
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Indicates the calculated throughput during the file transfer which is
currently in progress, or which most recently completed. This value
is calculated by dividing ftpTransferTotalBytes by
ftpTransferElapsedTime."
::= { ftpMgmt 13 }

ftpPutFileSize OBJECT-TYPE
SYNTAX Unsigned32 (1..50000)
UNITS "kBytes"
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"The number of data bytes to send for a FTP PUT (upload) operation.
The PUT data is internally generated random data of the size specified by
this object. The filesize is specified in kilobytes."
DEFVAL { 10 }
::= { ftpMgmt 14 }

ftpPutFilenamePath OBJECT-TYPE
SYNTAX DisplayString (SIZE (0..255))
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"The FTP PUT (upload) operation uses a unique (internally generated)
upload filename. This object specifies the path to be prepended to the
upload filename. The location, specified by this path, should have
write/delete access on the server. If not specified, no path is prepended
to the filename. If specified the path value should end with the
appropriate
separator e.g., \ or /."
DEFVAL { "" }
::= { ftpMgmt 15 }

ftpWindowSize OBJECT-TYPE
SYNTAX Unsigned32 (1460..65535)
UNITS "kBytes"
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"The TCP window size to use for the connection."
DEFVAL { 64512 }
::= { ftpMgmt 16 }

ftpWindowScale OBJECT-TYPE
SYNTAX Unsigned32 (0..14)
UNITS "multiples of WindowSize"
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"The TCP window scale to use for the connection."
DEFVAL { 2 }
::= { ftpMgmt 17 }

--
-- Conformance definitions
--
brcmFtpConformance OBJECT IDENTIFIER ::= { ftpMgmt 100 }

--
-- Compliance Statements
--
brcmFtpCompliances OBJECT IDENTIFIER ::= { brcmFtpConformance 1 }
brcmFtpGroups OBJECT IDENTIFIER ::= { brcmFtpConformance 2 }

brcmFtpCompliance MODULE-COMPLIANCE
STATUS current
DESCRIPTION
"The compliance statement for implementations of this MIB."
MODULE -- this module
MANDATORY-GROUPS {
brcmFtpGroup
}
::= { brcmFtpCompliances 1 }

brcmFtpGroup OBJECT-GROUP
OBJECTS {
ftpIpStackInterface,
ftpServerAddressType,
ftpServerAddress,
ftpServerPort,
ftpUserName,
ftpPassword,
ftpFilename,
ftpCommand,
ftpTransferStatus,
ftpTransferPayloadBytes,
ftpTransferTotalBytes,
ftpTransferElapsedTime,
ftpTransferThroughput,
ftpPutFileSize,
ftpPutFilenamePath,
ftpWindowSize,
ftpWindowScale
}
STATUS current
DESCRIPTION
"A set of objects supported by all agents which implement this MIB."
::= { brcmFtpGroups 1 }

END

You might also like