1-- 2-- NMS EAPS MIB 3-- 2009.12.02 Lysh 4-- Last Update: 2010.5.11 5-- 6 7NMS-EAPS-MIB DEFINITIONS ::= BEGIN 8 9 IMPORTS 10 OBJECT-TYPE 11 FROM RFC-1212 12 nmslocal 13 FROM NMS-SMI; 14 15-- 16-- Node definitions 17-- 18 19-- 1.3.6.1.4.1.3320.2.X 20nmsEAPS OBJECT IDENTIFIER ::={ nmslocal 230 } 21 22 -- 1.3.6.1.4.1.3320.2.X.1 23 nmsEAPSRings OBJECT-TYPE 24 SYNTAX INTEGER 25 ACCESS read-only 26 STATUS mandatory 27 DESCRIPTION 28 "The number of running ethernet ring instances." 29 ::={ nmsEAPS 1 } 30 31 -- 1.3.6.1.4.1.3320.2.X.2 32 nmsEAPSPduRx OBJECT-TYPE 33 SYNTAX INTEGER 34 ACCESS read-only 35 STATUS mandatory 36 DESCRIPTION 37 "The total number of input EAPS PDUs." 38 ::={ nmsEAPS 2 } 39 40 -- 1.3.6.1.4.1.3320.2.X.3 41 nmsEAPSPduTx OBJECT-TYPE 42 SYNTAX INTEGER 43 ACCESS read-only 44 STATUS mandatory 45 DESCRIPTION 46 "The total number of output EAPS PDUs." 47 ::={ nmsEAPS 3 } 48 49 -- 1.3.6.1.4.1.3320.2.X.4 50 nmsEAPSRingTable OBJECT-TYPE 51 SYNTAX SEQUENCE OF NMSEAPSRingTableEntry 52 ACCESS not-accessible 53 STATUS mandatory 54 DESCRIPTION 55 "A table that contains information of ethernet ring instances." 56 ::= { nmsEAPS 4 } 57 58 -- 1.3.6.1.4.1.3320.2.X.4.1 59 nmsEAPSRingTableEntry OBJECT-TYPE 60 SYNTAX NMSEAPSRingTableEntry 61 ACCESS not-accessible 62 STATUS mandatory 63 DESCRIPTION 64 "A table that contains information of ethernet ring instances." 65 INDEX { nmsEAPSRingID } 66 ::= { nmsEAPSRingTable 1 } 67 68 NMSEAPSRingTableEntry ::= 69 SEQUENCE { 70 nmsEAPSRingID 71 INTEGER, 72 nmsEAPSRingNodeType 73 INTEGER, 74 nmsEAPSRingControlVlan 75 INTEGER, 76 nmsEAPSRingPorts 77 INTEGER, 78 nmsEAPSRingState 79 INTEGER, 80 nmsEAPSRingHealthCheck 81 INTEGER, 82 nmsEAPSRingHelloTime 83 INTEGER, 84 nmsEAPSRingFailTime 85 INTEGER, 86 nmsEAPSRingPreforwardTime 87 INTEGER, 88 nmsEAPSRingAdminStatus 89 INTEGER, 90 nmsEAPSRingPrimaryPort 91 INTEGER, 92 nmsEAPSRingPrimaryPortState 93 INTEGER, 94 nmsEAPSRingPrimaryPortStatus 95 INTEGER, 96 nmsEAPSRingSecondaryPort 97 INTEGER, 98 nmsEAPSRingSecondaryPortState 99 INTEGER, 100 nmsEAPSRingSecondaryPortStatus 101 INTEGER 102 } 103 104 -- 1.3.6.1.4.1.3320.2.X.4.1.1 105 nmsEAPSRingID OBJECT-TYPE 106 SYNTAX INTEGER 107 ACCESS read-only 108 STATUS mandatory 109 DESCRIPTION 110 "The index of ethernet ring instances." 111 ::={ nmsEAPSRingTableEntry 1 } 112 113 -- 1.3.6.1.4.1.3320.2.X.4.1.2 114 nmsEAPSRingNodeType OBJECT-TYPE 115 SYNTAX INTEGER { 116 unknown(0), 117 masterNode(1), 118 transitNode(2) 119 } 120 ACCESS read-write 121 STATUS mandatory 122 DESCRIPTION 123 "A value indicates the node-type of this device in the ring." 124 ::={ nmsEAPSRingTableEntry 2 } 125 126 -- 1.3.6.1.4.1.3320.2.X.4.1.3 127 nmsEAPSRingControlVlan OBJECT-TYPE 128 SYNTAX INTEGER 129 ACCESS read-write 130 STATUS mandatory 131 DESCRIPTION 132 "The id of the VLAN in which EAPS PDUs are transmitted." 133 ::={ nmsEAPSRingTableEntry 3 } 134 135 -- 1.3.6.1.4.1.3320.2.X.4.1.4 136 nmsEAPSRingPorts OBJECT-TYPE 137 SYNTAX INTEGER 138 ACCESS read-only 139 STATUS mandatory 140 DESCRIPTION 141 "The number of interfaces which are configured in a ring." 142 ::={ nmsEAPSRingTableEntry 4 } 143 144 -- 1.3.6.1.4.1.3320.2.X.4.1.5 145 nmsEAPSRingState OBJECT-TYPE 146 SYNTAX INTEGER { 147 unknown(0), 148 complete(1), 149 ringFault(2) 150 } 151 ACCESS read-only 152 STATUS mandatory 153 DESCRIPTION 154 "A value indicates the state of a node in the ring. 155 Only the value from a MasterNode indicates the state of the whole ring. 156 The value from a TransitNode means the local ring ports are all operational or not." 157 ::={ nmsEAPSRingTableEntry 5 } 158 159 -- 1.3.6.1.4.1.3320.2.X.4.1.6 160 nmsEAPSRingHealthCheck OBJECT-TYPE 161 SYNTAX INTEGER { 162 disabled(0), 163 enabled(1) 164 } 165 ACCESS read-only 166 STATUS mandatory 167 DESCRIPTION 168 "A value indicates whether Health packets are being sent from MasterNode. 169 Available only for MasterNodes." 170 ::={ nmsEAPSRingTableEntry 6 } 171 172 -- 1.3.6.1.4.1.3320.2.X.4.1.7 173 nmsEAPSRingHelloTime OBJECT-TYPE 174 SYNTAX INTEGER 175 ACCESS read-write 176 STATUS mandatory 177 DESCRIPTION 178 "The inteval between the transmit of two Health packets, in seconds. 179 Available only for MasterNodes." 180 ::={ nmsEAPSRingTableEntry 7 } 181 182 -- 1.3.6.1.4.1.3320.2.X.4.1.8 183 nmsEAPSRingFailTime OBJECT-TYPE 184 SYNTAX INTEGER 185 ACCESS read-write 186 STATUS mandatory 187 DESCRIPTION 188 "The hold time for the SecondaryPort after a Health packet is received, in seconds. 189 Available only for MasterNodes." 190 ::={ nmsEAPSRingTableEntry 8 } 191 192 -- 1.3.6.1.4.1.3320.2.X.4.1.9 193 nmsEAPSRingPreforwardTime OBJECT-TYPE 194 SYNTAX INTEGER 195 ACCESS read-write 196 STATUS mandatory 197 DESCRIPTION 198 "The hold time for a TransitPort which is recovered from a failure, in seconds. 199 During the pre-forward time, no packets other than PDUs in control vlan can be forwarded. 200 Only available for TransitNodes." 201 ::={ nmsEAPSRingTableEntry 9 } 202 203 -- 1.3.6.1.4.1.3320.2.X.4.1.10 204 nmsEAPSRingAdminStatus OBJECT-TYPE 205 SYNTAX INTEGER { 206 disabled(0), 207 enabled(1), 208 running(2) 209 } 210 ACCESS read-create 211 STATUS mandatory 212 DESCRIPTION 213 "A read-create value that indicates the configuration status 214 of the ring instance. Set this value to 'enabled' to start 215 the ring or 'disabled' to stop it. The value 'running' indicates 216 that the ring is currently configured and running, in which case, 217 the values of node-type and control-vlan cannot be modified." 218 ::={ nmsEAPSRingTableEntry 10 } 219 220 -- 1.3.6.1.4.1.3320.2.X.4.1.11 221 nmsEAPSRingPrimaryPort OBJECT-TYPE 222 SYNTAX INTEGER 223 ACCESS read-write 224 STATUS mandatory 225 DESCRIPTION 226 "The interface index of the primary-port if the 'nmsEAPSRingNodeType' is 'masterNode', 227 or the ifIndex of the first transit-port if 'transitNode'. Value 0 means that this port 228 is not configured." 229 ::={ nmsEAPSRingTableEntry 11 } 230 231 -- 1.3.6.1.4.1.3320.2.X.4.1.12 232 nmsEAPSRingPrimaryPortState OBJECT-TYPE 233 SYNTAX INTEGER { 234 unknown(0), 235 forwarding(1), 236 preforwarding(2), 237 blocking(3) 238 } 239 ACCESS read-only 240 STATUS mandatory 241 DESCRIPTION 242 "The forwarding state of the primary-port or the first transit-port." 243 ::={ nmsEAPSRingTableEntry 12 } 244 245 -- 1.3.6.1.4.1.3320.2.X.4.1.13 246 nmsEAPSRingPrimaryPortStatus OBJECT-TYPE 247 SYNTAX INTEGER { 248 link-down(0), 249 link-up(1) 250 } 251 ACCESS read-only 252 STATUS mandatory 253 DESCRIPTION 254 "The link status of the primary-port or the first transit-port." 255 ::={ nmsEAPSRingTableEntry 13 } 256 257 -- 1.3.6.1.4.1.3320.2.X.4.1.14 258 nmsEAPSRingSecondaryPort OBJECT-TYPE 259 SYNTAX INTEGER 260 ACCESS read-write 261 STATUS mandatory 262 DESCRIPTION 263 "The interface index of the secondary-port if the 'nmsEAPSRingNodeType' is 'masterNode', 264 or the ifIndex of the second transit-port if 'transitNode'. Value 0 means that this port 265 is not configured." 266 ::={ nmsEAPSRingTableEntry 14 } 267 268 -- 1.3.6.1.4.1.3320.2.X.4.1.15 269 nmsEAPSRingSecondaryPortState OBJECT-TYPE 270 SYNTAX INTEGER { 271 unknown(0), 272 forwarding(1), 273 preforwarding(2), 274 blocking(3) 275 } 276 ACCESS read-only 277 STATUS mandatory 278 DESCRIPTION 279 "The forwarding state of the secondary-port or the second transit-port." 280 ::={ nmsEAPSRingTableEntry 15 } 281 282 -- 1.3.6.1.4.1.3320.2.X.4.1.16 283 nmsEAPSRingSecondaryPortStatus OBJECT-TYPE 284 SYNTAX INTEGER { 285 link-down(0), 286 link-up(1) 287 } 288 ACCESS read-only 289 STATUS mandatory 290 DESCRIPTION 291 "The link status of the secondary-port or the second transit-port." 292 ::={ nmsEAPSRingTableEntry 16 } 293 294 -- 1.3.6.1.4.1.3320.2.X.5 295 nmsEAPSRingPortTable OBJECT-TYPE 296 SYNTAX SEQUENCE OF NMSEAPSRingPortTableEntry 297 ACCESS not-accessible 298 STATUS mandatory 299 DESCRIPTION 300 "A table that contains information of ethernet ring ports." 301 ::= { nmsEAPS 5 } 302 303 -- 1.3.6.1.4.1.3320.2.X.5.1 304 nmsEAPSRingPortTableEntry OBJECT-TYPE 305 SYNTAX NMSEAPSRingPortTableEntry 306 ACCESS not-accessible 307 STATUS mandatory 308 DESCRIPTION 309 "A table that contains information of ethernet ring ports." 310 INDEX { nmsEAPSRingPortRingID, nmsEAPSRingPort } 311 ::= { nmsEAPSRingPortTable 1 } 312 313 NMSEAPSRingPortTableEntry ::= 314 SEQUENCE { 315 nmsEAPSRingPortRingID 316 INTEGER, 317 nmsEAPSRingPort 318 INTEGER, 319 nmsEAPSRingPortType 320 INTEGER, 321 nmsEAPSRingPortState 322 INTEGER, 323 nmsEAPSRingPortForwards 324 INTEGER, 325 nmsEAPSRingPortRx 326 INTEGER, 327 nmsEAPSRingPortTx 328 INTEGER, 329 nmsEAPSRingPortStatus 330 INTEGER 331 } 332 333 -- 1.3.6.1.4.1.3320.2.X.5.1.1 334 nmsEAPSRingPortRingID OBJECT-TYPE 335 SYNTAX INTEGER 336 ACCESS read-only 337 STATUS mandatory 338 DESCRIPTION 339 "The index of an ethernet ring instance, in which this port is configured." 340 ::={ nmsEAPSRingPortTableEntry 1 } 341 342 -- 1.3.6.1.4.1.3320.2.X.5.1.2 343 nmsEAPSRingPort OBJECT-TYPE 344 SYNTAX INTEGER 345 ACCESS read-only 346 STATUS mandatory 347 DESCRIPTION 348 "The port number of the ring port." 349 ::={ nmsEAPSRingPortTableEntry 2 } 350 351 -- 1.3.6.1.4.1.3320.2.X.5.1.3 352 nmsEAPSRingPortType OBJECT-TYPE 353 SYNTAX INTEGER { 354 unknown(0), 355 primaryPort(1), 356 secondaryPort(2), 357 transitPort(3) 358 } 359 ACCESS read-only 360 STATUS mandatory 361 DESCRIPTION 362 "A value indicates the type of a ring port." 363 ::={ nmsEAPSRingPortTableEntry 3 } 364 365 -- 1.3.6.1.4.1.3320.2.X.5.1.4 366 nmsEAPSRingPortState OBJECT-TYPE 367 SYNTAX INTEGER { 368 unknown(0), 369 forwarding(1), 370 preforwarding(2), 371 blocking(3) 372 } 373 ACCESS read-only 374 STATUS mandatory 375 DESCRIPTION 376 "A value indicates the forward state of a ring port in data vlans." 377 ::={ nmsEAPSRingPortTableEntry 4 } 378 379 -- 1.3.6.1.4.1.3320.2.X.5.1.5 380 nmsEAPSRingPortForwards OBJECT-TYPE 381 SYNTAX INTEGER 382 ACCESS read-only 383 STATUS mandatory 384 DESCRIPTION 385 "The number of times this port has transitioned to forwarding state." 386 ::={ nmsEAPSRingPortTableEntry 5 } 387 388 -- 1.3.6.1.4.1.3320.2.X.5.1.6 389 nmsEAPSRingPortRx OBJECT-TYPE 390 SYNTAX INTEGER 391 ACCESS read-only 392 STATUS mandatory 393 DESCRIPTION 394 "The number of received EAPS PDUs on this port." 395 ::={ nmsEAPSRingPortTableEntry 6 } 396 397 -- 1.3.6.1.4.1.3320.2.X.5.1.7 398 nmsEAPSRingPortTx OBJECT-TYPE 399 SYNTAX INTEGER 400 ACCESS read-only 401 STATUS mandatory 402 DESCRIPTION 403 "The Number of transmitted EAPS PDUs on this port." 404 ::={ nmsEAPSRingPortTableEntry 7 } 405 406 -- 1.3.6.1.4.1.3320.2.X.5.1.8 407 nmsEAPSRingPortStatus OBJECT-TYPE 408 SYNTAX INTEGER { 409 link-down(0), 410 link-up(1) 411 } 412 ACCESS read-only 413 STATUS mandatory 414 DESCRIPTION 415 "The link status of the ring port." 416 ::={ nmsEAPSRingPortTableEntry 8 } 417 418 -- Notifications 419 420 -- 1.3.6.1.4.1.3320.2.X.6 421 nmsEAPSRingNotifications OBJECT IDENTIFIER ::= { nmsEAPS 6 } 422 423 nmsEAPSRingNotification NOTIFICATION-TYPE 424 OBJECTS { 425 nmsEAPSRingID, 426 nmsEAPSRingNodeType, 427 nmsEAPSRingState 428 } 429 STATUS current 430 DESCRIPTION 431 "This notification is generated when a MasterNode detects that 432 the state of ring is changed." 433 ::= { nmsEAPSRingNotifications 1 } 434 435END 436 437