1-- ***************************************************************** 2-- Cisco Weighted Random Early Detection/Drop MIB file. 3-- 4-- August 1997, Shu Tai 5-- 6-- Copyright (c) 1997-1998 by Cisco Systems, Inc. 7-- All rights reserved. 8-- 9-- ***************************************************************** 10-- 11 12CISCO-WRED-MIB DEFINITIONS ::= BEGIN 13 14IMPORTS 15 MODULE-IDENTITY, 16 OBJECT-TYPE, 17 Integer32, 18 Gauge32, 19 Counter32 20 FROM SNMPv2-SMI 21 MODULE-COMPLIANCE, 22 OBJECT-GROUP 23 FROM SNMPv2-CONF 24 ifIndex 25 FROM IF-MIB 26 ciscoMgmt 27 FROM CISCO-SMI; 28 29ciscoWredMIB MODULE-IDENTITY 30 LAST-UPDATED "9707180000Z" 31 ORGANIZATION "Cisco Systems, Inc." 32 CONTACT-INFO 33 " Cisco Systems 34 Customer Service 35 36 Postal: 170 W. Tasman Drive 37 San Jose, CA 95134-1706 38 USA 39 40 Tel: +1 800 553-NETS 41 42 E-mail: tgrennan-group@cisco.com" 43 44 DESCRIPTION 45 "Cisco WRED MIB - Overview 46 47 Cisco Weighted Random Early Detection/Drop is a method which avoids 48 traffic congestion on an output interface. Congestion is 49 detected by computing the average output queue size against preset 50 thresholds. WRED support are on the IP fast switching and 51 IP flow switching only. It does not apply to IP process switching. 52 53 This MIB incorporates objects from the Cisco WRED line interfaces. 54 Its purpose is to provide Weighted Random Early Detection/Drop 55 packet configuration and packet filtering information. 56 57 WRED are configured/enabled through the CLI command. 58 Defaults configuration values are assigned and values can be 59 modified through additional CLI commands. 60 " 61 62 REVISION "9707180000Z" 63 DESCRIPTION 64 "Initial version of this MIB module." 65 ::= { ciscoMgmt 83 } 66 67ciscoWredMIBObjects OBJECT IDENTIFIER ::= { ciscoWredMIB 1 } 68 69-- Subgroups: 70-- Random Early Detection/Drop 71-- 72 73cwredConfig OBJECT IDENTIFIER ::= { ciscoWredMIBObjects 1 } 74cwredStats OBJECT IDENTIFIER ::= { ciscoWredMIBObjects 2 } 75 76cwredConfigGlobTable OBJECT-TYPE 77 SYNTAX SEQUENCE OF CwredConfigGlobEntry 78 MAX-ACCESS not-accessible 79 STATUS current 80 DESCRIPTION 81 "A table of WRED global configuration variables." 82 83 ::= { cwredConfig 1 } 84 85cwredConfigGlobEntry OBJECT-TYPE 86 SYNTAX CwredConfigGlobEntry 87 MAX-ACCESS not-accessible 88 STATUS current 89 DESCRIPTION 90 "A collection of configuration entries on this 91 interface. Entries are created and deleted via 92 red command line interface." 93 94 INDEX { ifIndex } 95 ::= { cwredConfigGlobTable 1 } 96 97CwredConfigGlobEntry ::= 98 SEQUENCE { 99 cwredConfigGlobQueueWeight 100 Integer32 101 } 102 103cwredConfigGlobQueueWeight OBJECT-TYPE 104 SYNTAX Integer32 105 MAX-ACCESS read-only 106 STATUS current 107 DESCRIPTION 108 "The decay factor for the queue average calculation. 109 Numbers are 2's exponent up to 16. 110 The smaller the number, the faster it decays." 111 112 ::= { cwredConfigGlobEntry 1 } 113 114-- end of cwredConfigGlobTable 115 116cwredConfigPrecedTable OBJECT-TYPE 117 SYNTAX SEQUENCE OF CwredConfigPrecedEntry 118 MAX-ACCESS not-accessible 119 STATUS current 120 DESCRIPTION 121 "A table of WRED configuration values with respect to 122 the IP precedence of packets." 123 124 ::= { cwredConfig 2 } 125 126cwredConfigPrecedEntry OBJECT-TYPE 127 SYNTAX CwredConfigPrecedEntry 128 MAX-ACCESS not-accessible 129 STATUS current 130 DESCRIPTION 131 "WRED IP precedence configuration table entry. 132 Entries are created and deleted via red command 133 interface." 134 135 INDEX { ifIndex, cwredConfigPrecedPrecedence } 136 ::= { cwredConfigPrecedTable 1 } 137 138CwredConfigPrecedEntry ::= 139 SEQUENCE { 140 cwredConfigPrecedPrecedence 141 Integer32, 142 cwredConfigPrecedMinDepthThreshold 143 Integer32, 144 cwredConfigPrecedMaxDepthThreshold 145 Integer32, 146 cwredConfigPrecedPktsDropFraction 147 Integer32 148 } 149 150cwredConfigPrecedPrecedence OBJECT-TYPE 151 SYNTAX Integer32 (0..7) 152 MAX-ACCESS not-accessible 153 STATUS current 154 DESCRIPTION 155 "The IP precedence of this entry." 156 157 ::= { cwredConfigPrecedEntry 1 } 158 159cwredConfigPrecedMinDepthThreshold OBJECT-TYPE 160 SYNTAX Integer32 161 UNITS "packets" 162 MAX-ACCESS read-only 163 STATUS current 164 DESCRIPTION 165 "The average queue depth at which WRED begins to 166 drop packets." 167 168 ::= { cwredConfigPrecedEntry 2 } 169 170cwredConfigPrecedMaxDepthThreshold OBJECT-TYPE 171 SYNTAX Integer32 172 UNITS "packets" 173 MAX-ACCESS read-only 174 STATUS current 175 DESCRIPTION 176 "The average queue depth at which WRED may begin to 177 drop all packets." 178 179 ::= { cwredConfigPrecedEntry 3 } 180 181cwredConfigPrecedPktsDropFraction OBJECT-TYPE 182 SYNTAX Integer32 183 MAX-ACCESS read-only 184 STATUS current 185 DESCRIPTION 186 "The fraction of packets to be dropped when the average queue 187 depth is above cwredConfigPrecedMinDepthThreshold 188 but below cwredConfigPrecedMaxDepthThreshold." 189 190 ::= { cwredConfigPrecedEntry 4 } 191 192-- end of cwredConfigPrecedTable 193 194cwredQueueTable OBJECT-TYPE 195 SYNTAX SEQUENCE OF CwredQueueEntry 196 MAX-ACCESS not-accessible 197 STATUS current 198 DESCRIPTION 199 "A table of WRED queue status variable." 200 201 ::= { cwredStats 1 } 202 203cwredQueueEntry OBJECT-TYPE 204 SYNTAX CwredQueueEntry 205 MAX-ACCESS not-accessible 206 STATUS current 207 DESCRIPTION 208 "A table of WRED queue status variable entry. 209 Entries are created and deleted via the red 210 command line interface." 211 212 AUGMENTS { cwredConfigGlobEntry } 213 ::= { cwredQueueTable 1 } 214 215CwredQueueEntry ::= 216 SEQUENCE { 217 cwredQueueAverage 218 Gauge32, 219 cwredQueueDepth 220 Gauge32 221 } 222 223cwredQueueAverage OBJECT-TYPE 224 SYNTAX Gauge32 225 UNITS "packets" 226 MAX-ACCESS read-only 227 STATUS current 228 DESCRIPTION 229 "The computed queue average length." 230 231 ::= { cwredQueueEntry 1 } 232 233cwredQueueDepth OBJECT-TYPE 234 SYNTAX Gauge32 235 UNITS "packets" 236 MAX-ACCESS read-only 237 STATUS current 238 DESCRIPTION 239 "The number of buffers/particles currently withheld in queue." 240 241 ::= { cwredQueueEntry 2 } 242 243-- end of cwredQueueTable 244 245 246cwredStatTable OBJECT-TYPE 247 SYNTAX SEQUENCE OF CwredStatEntry 248 MAX-ACCESS not-accessible 249 STATUS current 250 DESCRIPTION 251 "A table of WRED status information with respect to 252 the IP precedence of packets." 253 254 ::= { cwredStats 2 } 255 256cwredStatEntry OBJECT-TYPE 257 SYNTAX CwredStatEntry 258 MAX-ACCESS not-accessible 259 STATUS current 260 DESCRIPTION 261 "The WRED interface status information entry. 262 Entries are created and deleted via the red 263 red command line interface." 264 265 AUGMENTS { cwredConfigPrecedEntry } 266 ::= { cwredStatTable 1 } 267 268CwredStatEntry ::= 269 SEQUENCE { 270 cwredStatSwitchedPkts 271 Counter32, 272 cwredStatRandomFilteredPkts 273 Counter32, 274 cwredStatMaxFilteredPkts 275 Counter32 276 } 277 278cwredStatSwitchedPkts OBJECT-TYPE 279 SYNTAX Counter32 280 UNITS "packets" 281 MAX-ACCESS read-only 282 STATUS current 283 DESCRIPTION 284 "The number of packets output by WRED." 285 286 ::= { cwredStatEntry 1 } 287 288cwredStatRandomFilteredPkts OBJECT-TYPE 289 SYNTAX Counter32 290 UNITS "packets" 291 MAX-ACCESS read-only 292 STATUS current 293 DESCRIPTION 294 "The number of packets filtered/dropped due to average 295 queue length exceeds cwredConfigMinDepthThreshold 296 and meet a defined random drop policy." 297 298 ::= { cwredStatEntry 2 } 299 300cwredStatMaxFilteredPkts OBJECT-TYPE 301 SYNTAX Counter32 302 UNITS "packets" 303 MAX-ACCESS read-only 304 STATUS current 305 DESCRIPTION 306 "The number of packets filtered/dropped due to average 307 queue length exceeds cwredConfigMaxDepthThreshold." 308 309 ::= { cwredStatEntry 3 } 310 311-- end of cwredStatTable 312 313-- conformance information 314 315ciscoWredMIBConformance OBJECT IDENTIFIER ::= { ciscoWredMIB 3 } 316ciscoWredMIBCompliances OBJECT IDENTIFIER ::= { ciscoWredMIBConformance 1 } 317ciscoWredMIBGroups OBJECT IDENTIFIER ::= { ciscoWredMIBConformance 2 } 318 319 320-- compliance statement 321 322ciscoWredMIBCompliance MODULE-COMPLIANCE 323 STATUS current 324 DESCRIPTION 325 "The compliance statement for entities which implement 326 the WRED on a Cisco RSP platform." 327 MODULE -- this module 328 MANDATORY-GROUPS { ciscoWredMIBGroup } 329 ::= { ciscoWredMIBCompliances 1 } 330 331 332-- units of conformance 333 334ciscoWredMIBGroup OBJECT-GROUP 335 OBJECTS { 336 cwredConfigGlobQueueWeight, 337 cwredConfigPrecedMinDepthThreshold, 338 cwredConfigPrecedMaxDepthThreshold, 339 cwredConfigPrecedPktsDropFraction, 340 cwredQueueAverage, 341 cwredQueueDepth, 342 cwredStatSwitchedPkts, 343 cwredStatRandomFilteredPkts, 344 cwredStatMaxFilteredPkts 345 } 346 STATUS current 347 DESCRIPTION 348 "A collection of objects providing WRED monitoring." 349 ::= { ciscoWredMIBGroups 1 } 350 351END 352