mirror of
https://github.com/hsnodgrass/snmp_mib_archive.git
synced 2025-04-18 00:13:02 +00:00
212 lines
7.6 KiB
Plaintext
212 lines
7.6 KiB
Plaintext
--
|
|
-- Caution. This MIB is temporary and experimental.
|
|
-- In the future it will be removed from products, perhaps
|
|
-- with short notice, in favor of more standard or generic MIBs.
|
|
-- Application developers should not depend on long-term access
|
|
-- to this MIB.
|
|
|
|
CISCO-SIBU-FLASH-MIB
|
|
|
|
DEFINITIONS ::= BEGIN
|
|
|
|
IMPORTS
|
|
MODULE-IDENTITY, OBJECT-TYPE,
|
|
Integer32, IpAddress
|
|
FROM SNMPv2-SMI
|
|
MODULE-COMPLIANCE, OBJECT-GROUP
|
|
FROM SNMPv2-CONF
|
|
DisplayString
|
|
FROM SNMPv2-TC
|
|
ciscoExperiment
|
|
FROM CISCO-SMI;
|
|
|
|
ciscoSibuFlashMIB MODULE-IDENTITY
|
|
LAST-UPDATED "9810230000Z"
|
|
ORGANIZATION "Cisco Systems Inc."
|
|
CONTACT-INFO
|
|
"Cisco Systems
|
|
Customer Service
|
|
|
|
Postal: 170 W Tasman Drive
|
|
San Jose, CA 95134
|
|
USA
|
|
|
|
Tel: +1 800 553-NETS
|
|
E-mail: cs-sibu@cisco.com"
|
|
DESCRIPTION
|
|
"The MIB module that provides a simple mechanism
|
|
to support firmware upgrade on Cisco low end
|
|
devices."
|
|
|
|
REVISION "9810230000Z"
|
|
DESCRIPTION
|
|
"Initial version of this MIB module."
|
|
::= { ciscoExperiment 45 }
|
|
|
|
|
|
ciscoSibuFlashMIBObjects OBJECT IDENTIFIER ::=
|
|
{ ciscoSibuFlashMIB 1 }
|
|
|
|
csfUpgrade OBJECT IDENTIFIER ::= { ciscoSibuFlashMIBObjects 1 }
|
|
|
|
-- +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
|
|
-- |
|
|
-- The Upgrade Group |
|
|
-- |
|
|
-- +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
|
|
|
|
csfUpgradeFirmwareVersion OBJECT-TYPE
|
|
SYNTAX DisplayString (SIZE(0..8))
|
|
MAX-ACCESS read-only
|
|
STATUS current
|
|
DESCRIPTION
|
|
"Returns the version number of the device system
|
|
firmware residing in flash. The string has a
|
|
'V1.2.3' format."
|
|
::= { csfUpgrade 1 }
|
|
|
|
csfUpgradeFlashSize OBJECT-TYPE
|
|
SYNTAX Integer32 (0..2147483647)
|
|
UNITS "kbytes"
|
|
MAX-ACCESS read-only
|
|
STATUS current
|
|
DESCRIPTION
|
|
"The size of available FLASH memory in the system,
|
|
in kilobytes. For example: 128 equals 131072 bytes
|
|
(128 bytes times 1024)."
|
|
::= { csfUpgrade 2 }
|
|
|
|
csfUpgradeTFTPServerAddress OBJECT-TYPE
|
|
SYNTAX IpAddress
|
|
MAX-ACCESS read-write
|
|
STATUS current
|
|
DESCRIPTION
|
|
"The IP address of a TFTP server from which a firmware
|
|
image can be downloaded. The download may be initiated
|
|
by setting the upgradeTFTPInitiate to upgrade(1), or via
|
|
an out-of-band management action."
|
|
DEFVAL { '00000000'H }
|
|
::= { csfUpgrade 3 }
|
|
|
|
csfUpgradeTFTPLoadFilename OBJECT-TYPE
|
|
SYNTAX DisplayString (SIZE(0..80))
|
|
MAX-ACCESS read-write
|
|
STATUS current
|
|
DESCRIPTION
|
|
"The name of the file containing a firmware upgrade
|
|
image on the host whose address is given by
|
|
upgradeTFTPServerAddress. The default value is
|
|
an empty string, or no filename."
|
|
DEFVAL { "" }
|
|
::= { csfUpgrade 4 }
|
|
|
|
csfUpgradeTFTPInitiate OBJECT-TYPE
|
|
SYNTAX INTEGER { upgrade(1), noUpgrade(2) }
|
|
MAX-ACCESS read-write
|
|
STATUS current
|
|
DESCRIPTION
|
|
"Setting this object to noUpgrade(2) results in no
|
|
action. When set to upgrade(1), the switch will attempt
|
|
to download a firmware upgrade image from the server
|
|
whose address is given by upgradeTFTPServerAddress.
|
|
The image is found in the file whose name is given by
|
|
sibuFlashTFTPLoadFilename. Both
|
|
sibuFlashTFTPServerAddress and
|
|
sibuFlashTFTPLoadFilename must be non-empty for the
|
|
upgrade to proceed.
|
|
|
|
This object always returns noUpgrade(2) when read."
|
|
DEFVAL { noUpgrade }
|
|
::= { csfUpgrade 5 }
|
|
|
|
csfUpgradeFlashMode OBJECT-TYPE
|
|
SYNTAX INTEGER { permanent(1), temporary(2) }
|
|
MAX-ACCESS read-write
|
|
STATUS current
|
|
DESCRIPTION
|
|
"Indicates whether a newly upgraded firmware version
|
|
should write to flash. When this object is temporary(2),
|
|
following a successful upgrade the system will switch to
|
|
run the new firmware but will not upgrade the new
|
|
firmware to flash. That means after a power cycle,
|
|
system will run the firmware residing the flash.
|
|
|
|
When this object is permanent(1), following a successful
|
|
firmware upgrade, the flash will be upgraded and the
|
|
system will automatically switch to run the new firmware."
|
|
DEFVAL { permanent }
|
|
|
|
::= { csfUpgrade 6 }
|
|
|
|
csfUpgradeFirmwareStatus OBJECT-TYPE
|
|
SYNTAX INTEGER {
|
|
none(1),
|
|
inProgress(2),
|
|
succeeded(3),
|
|
failed(4)
|
|
}
|
|
MAX-ACCESS read-only
|
|
STATUS current
|
|
DESCRIPTION
|
|
"Status of last upgrade attempt via TFTP:
|
|
none - no upgrade has ever been attempted since
|
|
initialization.
|
|
inProgress - an upgrade is in progress.
|
|
succeeded - the previous attempt succeeded.
|
|
failed - the previous attempt failed. "
|
|
DEFVAL { none }
|
|
::= { csfUpgrade 7 }
|
|
|
|
-- Notifications
|
|
ciscoSibuFlashMIBNotificationsPrefix OBJECT IDENTIFIER
|
|
::= { ciscoSibuFlashMIB 2 }
|
|
ciscoSibuFlashMIBNotifications OBJECT IDENTIFIER
|
|
::= { ciscoSibuFlashMIBNotificationsPrefix 0 }
|
|
|
|
-- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
|
|
-- |
|
|
-- The Flash MIB comformance |
|
|
-- |
|
|
-- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
|
|
|
|
ciscoSibuFlashMIBComformance OBJECT IDENTIFIER
|
|
::= { ciscoSibuFlashMIB 3 }
|
|
|
|
ciscoSibuFlashMIBCompliances OBJECT IDENTIFIER
|
|
::= { ciscoSibuFlashMIBComformance 1 }
|
|
|
|
ciscoSibuFlashMIBGroups OBJECT IDENTIFIER
|
|
::= { ciscoSibuFlashMIBComformance 2 }
|
|
|
|
-- compliance statements
|
|
|
|
ciscoSibuFlashCompliance MODULE-COMPLIANCE
|
|
STATUS current
|
|
DESCRIPTION
|
|
"The compliance statement for the Cisco SIBU Flash MIB."
|
|
MODULE -- this module
|
|
MANDATORY-GROUPS {
|
|
ciscoSibuFlashMIBGroup
|
|
}
|
|
::= { ciscoSibuFlashMIBCompliances 1 }
|
|
|
|
-- Units of Conformance
|
|
|
|
ciscoSibuFlashMIBGroup OBJECT-GROUP
|
|
OBJECTS {
|
|
csfUpgradeFirmwareVersion,
|
|
csfUpgradeFlashSize,
|
|
csfUpgradeTFTPServerAddress,
|
|
csfUpgradeTFTPLoadFilename,
|
|
csfUpgradeTFTPInitiate,
|
|
csfUpgradeFlashMode,
|
|
csfUpgradeFirmwareStatus
|
|
}
|
|
STATUS current
|
|
DESCRIPTION
|
|
"A collection of image upgrade objects for use with
|
|
the devices that supports simple upgrade mechanism."
|
|
::= { ciscoSibuFlashMIBGroups 1 }
|
|
|
|
END
|