1-- ***************************************************************** 2-- OLD-CISCO-FLASH-MIB.my: Old Cisco Flash MIB file 3-- 4-- Copyright (c) 1994,1997 by cisco Systems, Inc. 5-- All rights reserved. 6-- 7-- ***************************************************************** 8-- 9 10 OLD-CISCO-FLASH-MIB DEFINITIONS ::= BEGIN 11 12 IMPORTS 13 TimeTicks 14 FROM RFC1155-SMI 15 OBJECT-TYPE 16 FROM RFC-1212 17 DisplayString 18 FROM RFC1213-MIB 19 local 20 FROM CISCO-SMI; 21 22 lflash OBJECT IDENTIFIER ::= { local 10 } 23 24 -- Local cisco Flash Group 25 26 -- This group is present in all products which contain flash" 27 28 flashSize OBJECT-TYPE 29 SYNTAX INTEGER 30 ACCESS read-only 31 STATUS mandatory 32 DESCRIPTION 33 "Total Size in Octets of Flash memory" 34 ::= { lflash 1 } 35 36 flashFree OBJECT-TYPE 37 SYNTAX INTEGER 38 ACCESS read-only 39 STATUS mandatory 40 DESCRIPTION 41 "Unused Size in Octets of Flash memory" 42 ::= { lflash 2 } 43 44 flashController OBJECT-TYPE 45 SYNTAX DisplayString 46 ACCESS read-only 47 STATUS mandatory 48 DESCRIPTION 49 "Provides the type of Flash controller 50 (either CCTL or CCTL2) installed in the 51 router." 52 ::= { lflash 3 } 53 54 flashCard OBJECT-TYPE 55 SYNTAX DisplayString 56 ACCESS read-only 57 STATUS mandatory 58 DESCRIPTION 59 "Provides the type of Flash Card installed 60 in the router. For example, the type of 61 Flash Card could be either CSC-MS or 62 CSC-MC+." 63 ::= { lflash 4 } 64 65 flashVPP OBJECT-TYPE 66 SYNTAX INTEGER { 67 installed(1), 68 missing(2) 69 } 70 ACCESS read-only 71 STATUS mandatory 72 DESCRIPTION 73 "State of the VPP DIP jumper on the Flash 74 memory card. Files can be written to the 75 Flash memory card only if the VPP DIP 76 jumper is turned on." 77 ::= { lflash 5 } 78 79 flashErase OBJECT-TYPE 80 SYNTAX INTEGER 81 ACCESS write-only 82 STATUS mandatory 83 DESCRIPTION 84 "Request to erase flash memory" 85 ::= { lflash 6 } 86 87 flashEraseTime OBJECT-TYPE 88 SYNTAX TimeTicks 89 ACCESS read-only 90 STATUS mandatory 91 DESCRIPTION 92 "Indicates the value of sysUptime the last 93 time Flash memory was erased. If the flash 94 had not been erased after powerup it has a 95 value of 0 days 00:00:00." 96 ::= { lflash 7 } 97 98 flashEraseStatus OBJECT-TYPE 99 SYNTAX INTEGER { 100 flashOpInProgress(1), 101 flashOpSuccess(2), 102 flashOpFailure(3), 103 flashReadOnly(4), 104 flashOpenFailure(5), 105 bufferAllocationFailure(6), 106 noOpAfterPowerOn(7) 107 } 108 ACCESS read-only 109 STATUS mandatory 110 DESCRIPTION 111 "Status of current or last flash erasing" 112 ::= { lflash 8 } 113 114 flashToNet OBJECT-TYPE 115 SYNTAX DisplayString 116 ACCESS write-only 117 STATUS mandatory 118 DESCRIPTION 119 "Write flash entry to tftp server. Value 120 should be the name of the flash entry to 121 send. Instance is the IP address of the tftp 122 host." 123 ::= { lflash 9 } 124 125 flashToNetTime OBJECT-TYPE 126 SYNTAX TimeTicks 127 ACCESS read-only 128 STATUS mandatory 129 DESCRIPTION 130 "Indicates the value of sysUpTime the last 131 time a file was transfered from Flash memory 132 on the router to a TFTP host. Returns 133 0 days 00:00:00 if there had been no transfer 134 since powerup." 135 ::= { lflash 10 } 136 137 flashToNetStatus OBJECT-TYPE 138 SYNTAX INTEGER { 139 flashOpInProgress(1), 140 flashOpSuccess(2), 141 flashOpFailure(3), 142 flashReadOnly(4), 143 flashOpenFailure(5), 144 bufferAllocationFailure(6), 145 noOpAfterPowerOn(7) 146 } 147 ACCESS read-only 148 STATUS mandatory 149 DESCRIPTION 150 "Status of current or last flash to net 151 transfer" 152 ::= { lflash 11 } 153 154 netToFlash OBJECT-TYPE 155 SYNTAX DisplayString 156 ACCESS write-only 157 STATUS mandatory 158 DESCRIPTION 159 "Write flash entry from tftp server. Value 160 should be the name of the flash entry to 161 write. Instance is the IP address of the tftp 162 host." 163 ::= { lflash 12 } 164 165 netToFlashTime OBJECT-TYPE 166 SYNTAX TimeTicks 167 ACCESS read-only 168 STATUS mandatory 169 DESCRIPTION 170 "Indicates the value of sysUpTime the last 171 time file was copied from a Trivial File 172 Transfer Protocol(TFTP) server to the Flash 173 memory on the router. Returns 0 days 00:00:00 174 if there had been no transfers since powerup." 175 ::= { lflash 13 } 176 177 netToFlashStatus OBJECT-TYPE 178 SYNTAX INTEGER { 179 flashOpInProgress(1), 180 flashOpSuccess(2), 181 flashOpFailure(3), 182 flashReadOnly(4), 183 flashOpenFailure(5), 184 bufferAllocationFailure(6), 185 noOpAfterPowerOn(7) 186 } 187 ACCESS read-only 188 STATUS mandatory 189 DESCRIPTION 190 "Status of current or last net to flash 191 transfer" 192 ::= { lflash 14 } 193 194 flashStatus OBJECT-TYPE 195 SYNTAX INTEGER { 196 busy(1), 197 available(2) 198 } 199 ACCESS read-only 200 STATUS mandatory 201 DESCRIPTION 202 "Status of the availability of flash" 203 ::= { lflash 15 } 204 205 flashEntries OBJECT-TYPE 206 SYNTAX INTEGER 207 ACCESS read-only 208 STATUS mandatory 209 DESCRIPTION 210 "Number of entries in the flash directory" 211 ::= { lflash 16 } 212 213 214 -- Local Flash file Table 215 216 -- This group contains information on a per file basis 217 218 lflashFileDirTable OBJECT-TYPE 219 SYNTAX SEQUENCE OF LflashFileDirEntry 220 ACCESS not-accessible 221 STATUS mandatory 222 DESCRIPTION 223 " A list of flash file entries." 224 ::= { lflash 17 } 225 226 lflashFileDirEntry OBJECT-TYPE 227 SYNTAX LflashFileDirEntry 228 ACCESS not-accessible 229 STATUS mandatory 230 DESCRIPTION 231 "A collection of flash eprom objects" 232 INDEX { flashEntries } 233 ::= { lflashFileDirTable 1 } 234 235 LflashFileDirEntry ::= 236 SEQUENCE { 237 flashDirName 238 DisplayString, 239 flashDirSize 240 INTEGER, 241 flashDirStatus 242 INTEGER 243 } 244 245 -- The following section describes the components of the 246 -- table. 247 248 flashDirName OBJECT-TYPE 249 SYNTAX DisplayString 250 ACCESS read-only 251 STATUS mandatory 252 DESCRIPTION 253 "Name associated with the flash entry" 254 ::= { lflashFileDirEntry 1 } 255 256 flashDirSize OBJECT-TYPE 257 SYNTAX INTEGER 258 ACCESS read-only 259 STATUS mandatory 260 DESCRIPTION 261 "Size in Octets of a flash entry" 262 ::= { lflashFileDirEntry 2 } 263 264 flashDirStatus OBJECT-TYPE 265 SYNTAX INTEGER { 266 valid(1), 267 deleted(2) 268 } 269 ACCESS read-only 270 STATUS mandatory 271 DESCRIPTION 272 "Indicates the status of the entry" 273 ::= { lflashFileDirEntry 3 } 274 275 -- End of table 276 277 278END 279