1 diff -ruN net-snmp-5.1.2-orig/EXAMPLE-trap.conf net-snmp-5.1.2-5/EXAMPLE-trap.conf
2 --- net-snmp-5.1.2-orig/EXAMPLE-trap.conf 1970-01-01 01:00:00.000000000 +0100
3 +++ net-snmp-5.1.2-5/EXAMPLE-trap.conf 2005-03-13 16:17:21.000000000 +0100
5 +###############################################################################
8 +# An example configuration file for configuring the ucd-snmp snmptrapd agent.
10 +###############################################################################
12 +# This file is intended to only be an example. If, however, you want
13 +# to use it, it should be placed in /etc/snmp/snmptrapd.conf.
14 +# When the snmptrapd agent starts up, this is where it will look for it.
16 +# All lines beginning with a '#' are comments and are intended for you
17 +# to read. All other lines are configuration commands for the agent.
20 +# PLEASE: read the snmptrapd.conf(5) manual page as well!
23 diff -ruN net-snmp-5.1.2-orig/EXAMPLE.conf.def net-snmp-5.1.2-5/EXAMPLE.conf.def
24 --- net-snmp-5.1.2-orig/EXAMPLE.conf.def 2003-02-25 15:04:06.000000000 +0100
25 +++ net-snmp-5.1.2-5/EXAMPLE.conf.def 2005-03-13 16:17:21.000000000 +0100
27 ###############################################################################
29 # This file is intended to only be an example. If, however, you want
30 -# to use it, it should be placed in SYSCONFDIR/share/snmp/snmpd.conf.
31 +# to use it, it should be placed in /etc/snmp/snmpd.conf.
32 # When the snmpd agent starts up, this is where it will look for it.
34 # You might be interested in generating your own snmpd.conf file using
38 # sec.name source community
39 -com2sec local localhost COMMUNITY
40 -com2sec mynetwork NETWORK/24 COMMUNITY
41 +com2sec paranoid default public
42 +#com2sec readonly default public
43 +#com2sec readwrite default private
46 # Second, map the security names into group names:
49 -group MyRWGroup v1 local
50 -group MyRWGroup v2c local
51 -group MyRWGroup usm local
52 -group MyROGroup v1 mynetwork
53 -group MyROGroup v2c mynetwork
54 -group MyROGroup usm mynetwork
55 +group MyROSystem v1 paranoid
56 +group MyROSystem v2c paranoid
57 +group MyROSystem usm paranoid
58 +group MyROGroup v1 readonly
59 +group MyROGroup v2c readonly
60 +group MyROGroup usm readonly
61 +group MyRWGroup v1 readwrite
62 +group MyRWGroup v2c readwrite
63 +group MyRWGroup usm readwrite
66 # Third, create a view for us to let the groups have rights to:
68 # incl/excl subtree mask
69 view all included .1 80
70 +view system included .iso.org.dod.internet.mgmt.mib-2.system
73 # Finally, grant the 2 groups access to the 1 view with different
76 # context sec.model sec.level match read write notif
77 +access MyROSystem "" any noauth exact system none none
78 access MyROGroup "" any noauth exact all none none
79 access MyRWGroup "" any noauth exact all all none
82 # value of an object whose value is given here will fail with an error
83 # status of notWritable.
85 -syslocation Right here, right now.
86 -syscontact Me <me@somewhere.org>
87 +syslocation Unknown (configure /etc/snmp/snmpd.local.conf)
88 +syscontact Root <root@localhost> (configure /etc/snmp/snmpd.local.conf)
90 # Example output of snmpwalk:
91 # % snmpwalk -v 1 -c public localhost system
95 # Make sure mountd is running
99 # Make sure there are no more than 4 ntalkds running, but 0 is ok too.
103 # Make sure at least one sendmail, but less than or equal to 10 are running.
107 # A snmpwalk of the prTable would look something like this:
110 # ARGS: optional arguments to be passed to the program
112 # a simple hello world
113 -exec echotest /bin/echo hello world
114 +#exec echotest /bin/echo hello world
116 # Run a shell script containing:
120 # Check the / partition and make sure it contains at least 10 megs.
125 # % snmpwalk -v 1 -c public localhost .EXTENSIBLEDOTMIB.DISKMIBNUM
126 # enterprises.ucdavis.diskTable.dskEntry.diskIndex.1 = 0
128 # 15MAX: Similar, but for 15 min average.
134 # % snmpwalk -v 1 -c public localhost .EXTENSIBLEDOTMIB.LOADAVEMIBNUM
135 # enterprises.ucdavis.loadTable.laEntry.loadaveIndex.1 = 1
137 # (commented out here since it requires that you place the
138 # script in the right location. (its not installed by default))
140 -# pass .EXTENSIBLEDOTMIB.255 /bin/sh PREFIX/local/passtest
141 +# pass .EXTENSIBLEDOTMIB.255 /bin/sh /usr/local/passtest
143 # % snmpwalk -v 1 -c public localhost .EXTENSIBLEDOTMIB.255
144 # enterprises.ucdavis.255.1 = "life the universe and everything"
145 diff -ruN net-snmp-5.1.2-orig/FAQ net-snmp-5.1.2-5/FAQ
146 --- net-snmp-5.1.2-orig/FAQ 2004-08-07 10:02:45.000000000 +0200
147 +++ net-snmp-5.1.2-5/FAQ 2005-03-13 16:17:21.000000000 +0100
149 I don't understand the new access control stuff - what does it mean?
150 How do I configure SNMPv3 users?
151 The 'createUser' line disappears when I start the agent. Why?
152 - What's the difference between /var/ucd-snmp and /usr/local/share/snmp?
153 + What's the difference between /var/ucd-snmp and /usr/share/snmp?
154 My new agent is ignoring the old snmpd.conf file. Why?
155 Why am I getting "Connection refused"?
156 I'm getting errors about "bad security model" - why?
161 - cp MY-MIB.txt /usr/local/share/snmp/mibs
162 + cp MY-MIB.txt /usr/share/snmp/mibs
167 Note that you need *both* steps.
168 The first command copies the file defining the new MIB to a
169 expected location for MIB files. This defaults to
170 - /usr/local/share/snmp/mibs (or PREFIX/share/snmp/mibs if the the
171 + /usr/share/snmp/mibs (or PREFIX/share/snmp/mibs if the the
172 suite was installed into a different base location). Some
173 ready-packaged distributions (such as Linux RPM packages) may look
174 for MIB files in a different location, such as /etc/snmp/mibs - put
175 @@ -1111,7 +1111,7 @@
176 If this is the case, then you can specify this interpreter
177 explicitly as part of the trap handle directive:
179 - traphandle default /usr/bin/perl /usr/local/bin/log_it
180 + traphandle default /usr/bin/perl /usr/bin/log_it
182 Note that in this case, it's almost certain that you'll also
183 need to give the full path to the traphandle script (as shown)
184 @@ -1263,7 +1263,7 @@
185 (if appropriate) the community string to use.
187 Some of these (such as the MIB file location), might belong in a
188 - shared snmp.conf file (typically /usr/local/share/snmp/snmp.conf or
189 + shared snmp.conf file (typically /usr/share/snmp/snmp.conf or
190 /etc/snmp/snmp.conf) to apply to all users of the system. Others
191 (particularly the SNMPv3 security settings), are more likely to refer
192 to a particular user, and should go in a personal snmp.conf file
193 @@ -1522,7 +1522,7 @@
196 Alternatively, the tools may be looking in the wrong place.
197 - The default location for the mib files is /usr/local/share/snmp/mibs.
198 + The default location for the mib files is /usr/share/snmp/mibs.
199 Again, this is set when the suite is first configured and compiled.
200 This can be changed using the environmental variable 'MIBDIRS'
201 or the snmp.conf directive 'mibdirs'.
202 @@ -2507,11 +2507,11 @@
206 -What's the difference between /var/ucd-snmp and /usr/local/share/snmp?
207 +What's the difference between /var/ucd-snmp and /usr/share/snmp?
208 ---------------------------------------------------------------------
210 Most "static" agent configuration should go in the traditional location
211 - (typically /usr/local/share/snmp/snmpd.conf or /etc/snmp). The
212 + (typically /usr/share/snmp/snmpd.conf or /etc/snmp). The
213 /var/ucd-snmp (or /var/net-snmp) location is used for information set during
214 the running of the agent, which needs to be persistent between one run of
215 the agent and the next.
216 @@ -2531,7 +2531,7 @@
217 distribution), with the current release installed from the source.
219 The default location for this file with the basic distribution is
220 - /usr/local/share/snmp/snmpd.conf (or PREFIX/share/snmp/snmpd.conf).
221 + /usr/share/snmp/snmpd.conf (or PREFIX/share/snmp/snmpd.conf).
222 Ready-installed versions often look for the file as /etc/snmpd.conf,
223 or /etc/snmp/snmpd.conf. Try moving the old config file to the new
224 location, and restart the agent.
225 diff -ruN net-snmp-5.1.2-orig/Makefile.in net-snmp-5.1.2-5/Makefile.in
226 --- net-snmp-5.1.2-orig/Makefile.in 2004-08-04 14:48:14.000000000 +0200
227 +++ net-snmp-5.1.2-5/Makefile.in 2005-03-13 16:17:21.000000000 +0100
229 ( cd perl ; $(MAKE) clean ) ; \
233 + @if test -f perl/Makefile; then \
234 + ( cd perl ; $(MAKE) realclean ) ; \
238 # make distclean completely removes all traces of building including
239 # any files generated by configure itself.
240 diff -ruN net-snmp-5.1.2-orig/Makefile.rules net-snmp-5.1.2-5/Makefile.rules
241 --- net-snmp-5.1.2-orig/Makefile.rules 2004-02-13 23:42:28.000000000 +0100
242 +++ net-snmp-5.1.2-5/Makefile.rules 2005-03-13 16:17:21.000000000 +0100
246 clean: cleansubdirs $(OTHERCLEANTODOS)
247 - rm -f core ${OBJS} ${LOBJS} $(STANDARDCLEANTARGETS) $(OTHERCLEANTARGETS)
248 + rm -f -- core ${OBJS} ${LOBJS} $(STANDARDCLEANTARGETS) $(OTHERCLEANTARGETS)
252 diff -ruN net-snmp-5.1.2-orig/Makefile.top net-snmp-5.1.2-5/Makefile.top
253 --- net-snmp-5.1.2-orig/Makefile.top 2004-08-07 09:29:36.000000000 +0200
254 +++ net-snmp-5.1.2-5/Makefile.top 2005-03-13 16:17:21.000000000 +0100
256 snmplibdir = $(datadir)/snmp
257 mibdir = $(snmplibdir)/mibs
258 persistentdir = @PERSISTENT_DIRECTORY@
259 +sysconfdir = @sysconfdir@
260 INSTALL_PREFIX = @INSTALL_PREFIX@
263 diff -ruN net-snmp-5.1.2-orig/acconfig.h net-snmp-5.1.2-5/acconfig.h
264 --- net-snmp-5.1.2-orig/acconfig.h 2004-06-28 20:54:17.000000000 +0200
265 +++ net-snmp-5.1.2-5/acconfig.h 2005-03-13 16:17:21.000000000 +0100
267 /* define if you have getservbyname */
268 #undef HAVE_GETSERVBYNAME
270 +/* define if you have dlopen */
273 /* printing system */
276 diff -ruN net-snmp-5.1.2-orig/acinclude.m4 net-snmp-5.1.2-5/acinclude.m4
277 --- net-snmp-5.1.2-orig/acinclude.m4 1970-01-01 01:00:00.000000000 +0100
278 +++ net-snmp-5.1.2-5/acinclude.m4 2005-03-13 16:17:21.000000000 +0100
280 +dnl @synopsis AC_PROMPT_USER_NO_DEFINE(VARIABLENAME,QUESTION,[DEFAULT])
282 +dnl Asks a QUESTION and puts the results in VARIABLENAME with an optional
283 +dnl DEFAULT value if the user merely hits return.
286 +dnl @author Wes Hardaker <hardaker@users.sourceforge.net>
288 +AC_DEFUN([AC_PROMPT_USER_NO_DEFINE],
289 +dnl changequote(<<, >>) dnl
292 +if test "x$defaults" = "xno"; then
293 +echo $ac_n "$2 ($3): $ac_c"
295 +if test "$tmpinput" = "" -a "$3" != ""; then
298 +eval $1=\"$tmpinput\"
301 +eval $1=\"$tmpinput\"
305 +dnl changequote([, ])
306 +) dnl done AC_PROMPT_USER
308 +dnl @synopsis AC_PROMPT_USER(VARIABLENAME,QUESTION,[DEFAULT],QUOTED)
310 +dnl Asks a QUESTION and puts the results in VARIABLENAME with an optional
311 +dnl DEFAULT value if the user merely hits return. Also calls
312 +dnl AC_DEFINE_UNQUOTED() on the VARIABLENAME for VARIABLENAMEs that should
313 +dnl be entered into the config.h file as well. If QUOTED is "quoted" then
314 +dnl the result will be defined within quotes.
317 +dnl @author Wes Hardaker <hardaker@users.sourceforge.net>
319 +AC_DEFUN([AC_PROMPT_USER],
321 +MSG_CHECK=`echo "$2" | tail -1`
322 +AC_CACHE_CHECK($MSG_CHECK, ac_cv_user_prompt_$1,
323 +[echo "" >&AC_FD_MSG
324 +AC_PROMPT_USER_NO_DEFINE($1,[$2],$3)
325 +eval ac_cv_user_prompt_$1=\$$1
326 +echo $ac_n "setting $MSG_CHECK to... $ac_c" >&AC_FD_MSG
328 +if test "$ac_cv_user_prompt_$1" != "none"; then
329 + if test "x$4" = "xquoted" -o "x$4" = "xQUOTED"; then
330 + AC_DEFINE_UNQUOTED($1,"$ac_cv_user_prompt_$1")
332 + AC_DEFINE_UNQUOTED($1,$ac_cv_user_prompt_$1)
337 +dnl @synopsis AC_CHECK_STRUCT_FOR(INCLUDES,STRUCT,MEMBER,DEFINE,[no])
339 +dnl Checks STRUCT for MEMBER and defines DEFINE if found.
342 +dnl @author Wes Hardaker <hardaker@users.sourceforge.net>
344 +AC_DEFUN(AC_CHECK_STRUCT_FOR,[
346 +ac_safe_struct=`echo "$2" | sed 'y%./+-%__p_%'`
347 +ac_safe_member=`echo "$3" | sed 'y%./+-%__p_%'`
348 +ac_safe_all="ac_cv_struct_${ac_safe_struct}_has_${ac_safe_member}"
350 + ac_uc_define=STRUCT_`echo "${ac_safe_struct}_HAS_${ac_safe_member}" | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
351 +changequote([, ])dnl
353 +AC_MSG_CHECKING([for $2.$3])
354 +AC_CACHE_VAL($ac_safe_all,
356 +if test "x$4" = "x"; then
358 +elif test "x$4" = "xno"; then
367 +testit.$3 $defineit;
368 +], eval "${ac_safe_all}=yes", eval "${ac_safe_all}=no" )
371 +if eval "test \"x$`echo ${ac_safe_all}`\" = \"xyes\""; then
373 + AC_DEFINE_UNQUOTED($ac_uc_define)
380 +dnl AC_CHECK_IFNET_FOR(SUBSTRUCT,[no])
381 +AC_DEFUN(AC_CHECK_IFNET_FOR,[
382 +dnl check for $1 in struct ifnet
383 +AC_CHECK_STRUCT_FOR([
384 +#ifdef IFNET_NEEDS_KERNEL
387 +#include <sys/types.h>
388 +#include <sys/socket.h>
389 +#ifdef HAVE_SYS_TIME_H
390 +#include <sys/time.h>
393 +#ifdef HAVE_NET_IF_VAR_H
394 +#include <net/if_var.h>
396 +#ifdef HAVE_SYS_QUEUE_H
397 +#include <sys/queue.h>
401 + char *if_name; /* name, e.g. "en" or "lo" */
402 + short if_unit; /* sub-unit for lower level driver */
403 + short if_mtu; /* maximum transmission unit */
404 + short if_flags; /* up/down, broadcast, etc. */
405 + int if_metric; /* routing metric (external only) */
406 + char if_hwaddr [6]; /* ethernet address */
407 + int if_type; /* interface type: 1=generic,
408 + 28=slip, ether=6, loopback=24 */
409 + int if_speed; /* interface speed: in bits/sec */
411 + struct sockaddr if_addr; /* interface's address */
412 + struct sockaddr ifu_broadaddr; /* broadcast address */
413 + struct sockaddr ia_subnetmask; /* interface's mask */
418 + } if_snd; /* output queue */
419 + int if_ibytes; /* octets received on interface */
420 + int if_ipackets; /* packets received on interface */
421 + int if_ierrors; /* input errors on interface */
422 + int if_iqdrops; /* input queue overruns */
423 + int if_obytes; /* octets sent on interface */
424 + int if_opackets; /* packets sent on interface */
425 + int if_oerrors; /* output errors on interface */
426 + int if_collisions; /* collisions on csma interfaces */
427 +/* end statistics */
428 + struct ifnet *if_next;
435 +dnl Add a search path to the LIBS and CFLAGS variables
437 +AC_DEFUN(AC_ADD_SEARCH_PATH,[
438 + if test "x$1" != x -a -d $1; then
439 + if test -d $1/lib; then
440 + LDFLAGS="-L$1/lib $LDFLAGS"
442 + if test -d $1/include; then
443 + CPPFLAGS="-I$1/include $CPPFLAGS"
449 +dnl Store information for displaying later.
451 +AC_DEFUN(AC_MSG_CACHE_INIT,[
452 + rm -f configure-summary
455 +AC_DEFUN(AC_MSG_CACHE_ADD,[
456 + cat >> configure-summary << EOF
461 +AC_DEFUN(AC_MSG_CACHE_DISPLAY,[
463 + echo "---------------------------------------------------------"
464 + echo " Net-SNMP configuration summary:"
465 + echo "---------------------------------------------------------"
467 + cat configure-summary
469 + echo "---------------------------------------------------------"
473 diff -ruN net-snmp-5.1.2-orig/agent/Makefile.in net-snmp-5.1.2-5/agent/Makefile.in
474 --- net-snmp-5.1.2-orig/agent/Makefile.in 2003-10-14 15:30:48.000000000 +0200
475 +++ net-snmp-5.1.2-5/agent/Makefile.in 2005-03-13 16:17:21.000000000 +0100
477 # libnetsnmpagent objects
478 LIBAGENTOBJS=snmp_agent.o snmp_vars.o agent_read_config.o \
479 agent_registry.o agent_index.o agent_trap.o kernel.o \
480 - agent_handler.o @OTHERAGENTLIBOBJS@
481 + agent_handler.o @OTHERAGENTLIBOBJS@ @WRAPLIBS@
482 LLIBAGENTOBJS=snmp_agent.lo snmp_vars.lo agent_read_config.lo \
483 agent_registry.lo agent_index.lo agent_trap.lo kernel.lo \
484 agent_handler.lo @OTHERAGENTLIBLOBJS@
485 @@ -120,11 +120,11 @@
488 libnetsnmpagent.$(LIB_EXTENSION)$(LIB_VERSION): ${LLIBAGENTOBJS} libnetsnmpmibs.$(LIB_EXTENSION)$(LIB_VERSION)
489 - $(LIB_LD_CMD) libnetsnmpagent.$(LIB_EXTENSION)$(LIB_VERSION) ${LLIBAGENTOBJS} $(LIB_LD_LIBS)
490 + $(LIB_LD_CMD) libnetsnmpagent.$(LIB_EXTENSION)$(LIB_VERSION) ${LLIBAGENTOBJS} $(LIB_LD_LIBS) $(AGENT_RELINK_LIBS)
491 $(RANLIB) libnetsnmpagent.$(LIB_EXTENSION)$(LIB_VERSION)
493 libnetsnmpmibs.$(LIB_EXTENSION)$(LIB_VERSION): ${LMIBOBJS}
494 - $(LIB_LD_CMD) libnetsnmpmibs.$(LIB_EXTENSION)$(LIB_VERSION) ${LMIBOBJS} $(LIB_LD_LIBS)
495 + $(LIB_LD_CMD) libnetsnmpmibs.$(LIB_EXTENSION)$(LIB_VERSION) ${LMIBOBJS} $(LIB_LD_LIBS) $(MIBS_RELINK_LIBS) $(LIBSENSORS)
496 $(RANLIB) libnetsnmpmibs.$(LIB_EXTENSION)$(LIB_VERSION)
499 diff -ruN net-snmp-5.1.2-orig/agent/helpers/Makefile.in net-snmp-5.1.2-5/agent/helpers/Makefile.in
500 --- net-snmp-5.1.2-orig/agent/helpers/Makefile.in 2004-03-01 06:26:12.000000000 +0100
501 +++ net-snmp-5.1.2-5/agent/helpers/Makefile.in 2005-03-13 16:17:21.000000000 +0100
505 libnetsnmphelpers.$(LIB_EXTENSION)$(LIB_VERSION): ${LOBJS}
506 - $(LIB_LD_CMD) libnetsnmphelpers.$(LIB_EXTENSION)$(LIB_VERSION) ${LOBJS} $(LIB_LD_LIBS)
507 + $(LIB_LD_CMD) libnetsnmphelpers.$(LIB_EXTENSION)$(LIB_VERSION) ${LOBJS} $(LIB_LD_LIBS) $(HELPERS_RELINK_LIBS)
508 $(RANLIB) libnetsnmphelpers.$(LIB_EXTENSION)$(LIB_VERSION)
509 diff -ruN net-snmp-5.1.2-orig/agent/mibgroup/agentx/protocol.h net-snmp-5.1.2-5/agent/mibgroup/agentx/protocol.h
510 --- net-snmp-5.1.2-orig/agent/mibgroup/agentx/protocol.h 2002-04-20 09:30:01.000000000 +0200
511 +++ net-snmp-5.1.2-5/agent/mibgroup/agentx/protocol.h 2005-03-13 16:17:21.000000000 +0100
515 #define AGENTX_PORT 705
516 -#define AGENTX_SOCKET "/var/agentx/master"
517 +#define AGENTX_SOCKET "/var/run/agentx"
521 diff -ruN net-snmp-5.1.2-orig/agent/mibgroup/mibII/interfaces.c net-snmp-5.1.2-5/agent/mibgroup/mibII/interfaces.c
522 --- net-snmp-5.1.2-orig/agent/mibgroup/mibII/interfaces.c 2004-07-23 02:55:41.000000000 +0200
523 +++ net-snmp-5.1.2-5/agent/mibgroup/mibII/interfaces.c 2005-03-13 16:17:21.000000000 +0100
524 @@ -1512,14 +1512,28 @@
526 struct ifnet **ifnetaddr_ptr;
528 - unsigned long rec_pkt, rec_oct, rec_err, rec_drop;
529 - unsigned long snd_pkt, snd_oct, snd_err, snd_drop, coll;
531 conf_if_list *if_ptr;
533 + uintmax_t rec_pkt, rec_oct, rec_err, rec_drop, rec_mcast;
534 + uintmax_t snd_pkt, snd_oct, snd_err, snd_drop, coll;
535 + const char *scan_line_2_2 =
536 + "%" SCNuMAX " %" SCNuMAX " %" SCNuMAX " %" SCNuMAX
537 + " %*" SCNuMAX " %*" SCNuMAX " %*" SCNuMAX " %*" SCNuMAX
538 + " %" SCNuMAX " %" SCNuMAX " %" SCNuMAX " %" SCNuMAX
539 + " %*" SCNuMAX " %" SCNuMAX;
540 + const char *scan_line_2_0 =
541 + "%" SCNuMAX " %" SCNuMAX " %*" SCNuMAX " %*" SCNuMAX
542 + " %*" SCNuMAX " %" SCNuMAX " %" SCNuMAX " %*" SCNuMAX
543 + " %*" SCNuMAX " %" SCNuMAX;
545 + unsigned long rec_pkt, rec_oct, rec_err, rec_drop;
546 + unsigned long snd_pkt, snd_oct, snd_err, snd_drop, coll;
547 const char *scan_line_2_2 =
548 "%lu %lu %lu %lu %*lu %*lu %*lu %*lu %lu %lu %lu %lu %*lu %lu";
549 const char *scan_line_2_0 =
550 "%lu %lu %*lu %*lu %*lu %lu %lu %*lu %*lu %lu";
552 const char *scan_line_to_use;
553 struct timeval et; /* elapsed time */
555 @@ -1598,6 +1612,10 @@
557 char *stats, *ifstart = line;
559 + /* Ignore interfaces with no statistics. */
560 + if (strstr(line, "No statistics available."))
563 if (line[strlen(line) - 1] == '\n')
564 line[strlen(line) - 1] = '\0';
566 @@ -1631,7 +1649,7 @@
568 if ((scan_line_to_use == scan_line_2_2)
569 && !strstr(line, "No statistics available"))
571 + snmp_log(LOG_DEBUG,
572 "/proc/net/dev data format error, line ==|%s|",
575 diff -ruN net-snmp-5.1.2-orig/agent/mibgroup/smux/smux.c net-snmp-5.1.2-5/agent/mibgroup/smux/smux.c
576 --- net-snmp-5.1.2-orig/agent/mibgroup/smux/smux.c 2004-02-04 12:25:20.000000000 +0100
577 +++ net-snmp-5.1.2-5/agent/mibgroup/smux/smux.c 2005-03-13 16:17:21.000000000 +0100
578 @@ -819,14 +819,14 @@
579 passwd[string_len] = '\0';
580 if (!smux_auth_peer(oid_name, oid_name_len, passwd, fd)) {
581 snmp_log(LOG_WARNING,
582 - "refused smux peer: oid %s, password %s, descr %s\n",
583 - oid_print, passwd, descr);
584 + "refused smux peer: oid %s, descr %s\n",
590 - "accepted smux peer: oid %s, password %s, descr %s\n",
591 - oid_print, passwd, descr);
592 + "accepted smux peer: oid %s, descr %s\n",
597 diff -ruN net-snmp-5.1.2-orig/apps/Makefile.in net-snmp-5.1.2-5/apps/Makefile.in
598 --- net-snmp-5.1.2-orig/apps/Makefile.in 2004-03-09 16:51:28.000000000 +0100
599 +++ net-snmp-5.1.2-5/apps/Makefile.in 2005-03-13 16:17:21.000000000 +0100
601 $(LINK) -o $@ snmpdf.$(OSUFFIX) $(LOCAL_LIBS) ${LDFLAGS} ${LIBS}
603 libnetsnmptrapd.$(LIB_EXTENSION)$(LIB_VERSION): $(LLIBTRAPD_OBJS)
604 - $(LIB_LD_CMD) libnetsnmptrapd.$(LIB_EXTENSION)$(LIB_VERSION) ${LLIBTRAPD_OBJS} $(LIB_LD_LIBS)
605 + $(LIB_LD_CMD) libnetsnmptrapd.$(LIB_EXTENSION)$(LIB_VERSION) ${LLIBTRAPD_OBJS} $(LIB_LD_LIBS) $(TRAPD_RELINK_LIBS)
606 $(RANLIB) libnetsnmptrapd.$(LIB_EXTENSION)$(LIB_VERSION)
609 diff -ruN net-snmp-5.1.2-orig/apps/snmpnetstat/if.c net-snmp-5.1.2-5/apps/snmpnetstat/if.c
610 --- net-snmp-5.1.2-orig/apps/snmpnetstat/if.c 2002-04-20 09:30:10.000000000 +0200
611 +++ net-snmp-5.1.2-5/apps/snmpnetstat/if.c 2005-03-13 16:17:21.000000000 +0100
614 ifindex = *var->val.integer;
615 for (cur_if = if_table;
616 - cur_if->ifindex != ifindex && cur_if->ifindex != 0;
618 + cur_if < (if_table + cfg_nnets) &&
619 + cur_if->ifindex != ifindex &&
620 + cur_if->ifindex != 0; cur_if++);
621 if (cur_if >= (if_table + cfg_nnets)) {
623 "Inconsistent reponse from server. Aborting\n");
626 ifindex = *var->val.integer;
627 for (cur_if = if_table;
628 - cur_if->ifindex != ifindex && cur_if->ifindex != 0;
630 + cur_if < (if_table + cfg_nnets) &&
631 + cur_if->ifindex != ifindex &&
632 + cur_if->ifindex != 0; cur_if++);
633 + if (cur_if >= (if_table + cfg_nnets)) {
635 + "Inconsistent reponse from server. Aborting.\n");
638 cur_if->ifindex = ifindex;
643 ifindex = *var->val.integer;
644 for (cur_if = if_table;
645 - cur_if->ifindex != ifindex && cur_if->ifindex != 0;
647 + cur_if < (if_table + cfg_nnets) &&
648 + cur_if->ifindex != ifindex &&
649 + cur_if->ifindex != 0; cur_if++);
650 + if (cur_if >= (if_table + cfg_nnets)) {
652 + "Inconsistent reponse from server. Aborting.\n");
655 cur_if->ifindex = ifindex;
658 diff -ruN net-snmp-5.1.2-orig/configure.in net-snmp-5.1.2-5/configure.in
659 --- net-snmp-5.1.2-orig/configure.in 2004-06-23 00:06:40.000000000 +0200
660 +++ net-snmp-5.1.2-5/configure.in 2005-03-13 16:17:21.000000000 +0100
662 AC_DEFINE(SNMP_NO_DEBUGGING)
666 +[ --without-rpm Don't use RPM even if available.])
669 [ --with-dmalloc=PATH Use dmalloc library (www.dmalloc.com)],
670 if test "x$withval" = "xyes"; then
671 @@ -1539,12 +1542,13 @@
672 AC_CHECK_LIB(RSAglue, RSA_PKCS1_RSAref)
675 - AC_CHECK_LIB(crypto, EVP_md5)
676 + AC_CHECK_LIB(crypto, EVP_md5, [CRYPTOLIBS=-lcrypto], , )
677 AC_CHECK_FUNCS(AES_cfb128_encrypt)
679 elif test "x$askedpkcs" = "xyes"; then
680 AC_CHECK_LIB(pkcs11, C_Initialize)
682 +AC_SUBST(CRYPTOLIBS)
684 # Check for libraries that the agent needs
685 # saving old libraries
686 @@ -1664,8 +1668,9 @@
687 # Replace `main' with a function in -lkvm:
688 AC_CHECK_LIB(kvm, kvm_read)
689 # DYNAMIC MODULE SUPPORT
690 -AC_CHECK_LIB(dl, dlopen)
691 -AC_CHECK_FUNCS(dlopen)
692 +AC_CHECK_FUNC(dlopen, AC_DEFINE(HAVE_DLOPEN),
693 + AC_CHECK_LIB(dl, dlopen, AC_DEFINE(HAVE_DLOPEN)
694 + LIBS="${LIBS} -ldl"))
696 AC_CHECK_FUNCS(kvm_openfiles nlist knlist kvm_getprocs)
697 echo "$with_mib_modules" | grep "ucd-snmp/diskio" >/dev/null
698 @@ -1979,7 +1984,7 @@
700 AC_MSG_RESULT([$ac_cv_type_ssize_t])
701 if test $ac_cv_type_ssize_t = yes; then
702 - AC_DEFINE(HAVE_SSIZE_T)
703 + AC_DEFINE(HAVE_SSIZE_T, 1, [Define if type ssize_t is available])
707 diff -ruN net-snmp-5.1.2-orig/debian/README.Debian net-snmp-5.1.2-5/debian/README.Debian
708 diff -ruN net-snmp-5.1.2-orig/debian/changelog net-snmp-5.1.2-5/debian/changelog
709 diff -ruN net-snmp-5.1.2-orig/debian/control net-snmp-5.1.2-5/debian/control
710 diff -ruN net-snmp-5.1.2-orig/debian/copyright net-snmp-5.1.2-5/debian/copyright
711 diff -ruN net-snmp-5.1.2-orig/debian/fixman net-snmp-5.1.2-5/debian/fixman
712 diff -ruN net-snmp-5.1.2-orig/debian/libsnmp-base.dirs net-snmp-5.1.2-5/debian/libsnmp-base.dirs
713 diff -ruN net-snmp-5.1.2-orig/debian/libsnmp-base.docs net-snmp-5.1.2-5/debian/libsnmp-base.docs
714 diff -ruN net-snmp-5.1.2-orig/debian/libsnmp-base.files net-snmp-5.1.2-5/debian/libsnmp-base.files
715 diff -ruN net-snmp-5.1.2-orig/debian/libsnmp-base.postrm net-snmp-5.1.2-5/debian/libsnmp-base.postrm
716 diff -ruN net-snmp-5.1.2-orig/debian/libsnmp-base.prerm net-snmp-5.1.2-5/debian/libsnmp-base.prerm
717 diff -ruN net-snmp-5.1.2-orig/debian/libsnmp-perl.docs net-snmp-5.1.2-5/debian/libsnmp-perl.docs
718 diff -ruN net-snmp-5.1.2-orig/debian/libsnmp-perl.files net-snmp-5.1.2-5/debian/libsnmp-perl.files
719 diff -ruN net-snmp-5.1.2-orig/debian/libsnmp5-dev.files net-snmp-5.1.2-5/debian/libsnmp5-dev.files
720 diff -ruN net-snmp-5.1.2-orig/debian/libsnmp5-dev.manpages net-snmp-5.1.2-5/debian/libsnmp5-dev.manpages
721 diff -ruN net-snmp-5.1.2-orig/debian/libsnmp5.dirs net-snmp-5.1.2-5/debian/libsnmp5.dirs
722 diff -ruN net-snmp-5.1.2-orig/debian/libsnmp5.docs net-snmp-5.1.2-5/debian/libsnmp5.docs
723 diff -ruN net-snmp-5.1.2-orig/debian/libsnmp5.files net-snmp-5.1.2-5/debian/libsnmp5.files
724 diff -ruN net-snmp-5.1.2-orig/debian/libsnmp5.postinst net-snmp-5.1.2-5/debian/libsnmp5.postinst
725 diff -ruN net-snmp-5.1.2-orig/debian/libsnmp5.prerm net-snmp-5.1.2-5/debian/libsnmp5.prerm
726 diff -ruN net-snmp-5.1.2-orig/debian/manpages/encode_keychange.1 net-snmp-5.1.2-5/debian/manpages/encode_keychange.1
727 diff -ruN net-snmp-5.1.2-orig/debian/manpages/net-snmp-config.1 net-snmp-5.1.2-5/debian/manpages/net-snmp-config.1
728 diff -ruN net-snmp-5.1.2-orig/debian/manpages/snmpvacm.1 net-snmp-5.1.2-5/debian/manpages/snmpvacm.1
729 diff -ruN net-snmp-5.1.2-orig/debian/manpages/tkmib.1 net-snmp-5.1.2-5/debian/manpages/tkmib.1
730 diff -ruN net-snmp-5.1.2-orig/debian/rules net-snmp-5.1.2-5/debian/rules
731 diff -ruN net-snmp-5.1.2-orig/debian/snmp.files net-snmp-5.1.2-5/debian/snmp.files
732 diff -ruN net-snmp-5.1.2-orig/debian/snmp.manpages net-snmp-5.1.2-5/debian/snmp.manpages
733 diff -ruN net-snmp-5.1.2-orig/debian/snmp.preinst net-snmp-5.1.2-5/debian/snmp.preinst
734 diff -ruN net-snmp-5.1.2-orig/debian/snmpd.default net-snmp-5.1.2-5/debian/snmpd.default
735 diff -ruN net-snmp-5.1.2-orig/debian/snmpd.files net-snmp-5.1.2-5/debian/snmpd.files
736 diff -ruN net-snmp-5.1.2-orig/debian/snmpd.init net-snmp-5.1.2-5/debian/snmpd.init
737 diff -ruN net-snmp-5.1.2-orig/debian/snmpd.postinst net-snmp-5.1.2-5/debian/snmpd.postinst
738 diff -ruN net-snmp-5.1.2-orig/debian/snmpd.postrm net-snmp-5.1.2-5/debian/snmpd.postrm
739 diff -ruN net-snmp-5.1.2-orig/debian/tkmib.docs net-snmp-5.1.2-5/debian/tkmib.docs
740 diff -ruN net-snmp-5.1.2-orig/debian/tkmib.files net-snmp-5.1.2-5/debian/tkmib.files
741 diff -ruN net-snmp-5.1.2-orig/debian/tkmib.manpages net-snmp-5.1.2-5/debian/tkmib.manpages
742 diff -ruN net-snmp-5.1.2-orig/debian/watch net-snmp-5.1.2-5/debian/watch
743 diff -ruN net-snmp-5.1.2-orig/ipkg/libsnmp/CONTROL/control net-snmp-5.1.2-5/ipkg/libsnmp/CONTROL/control
744 diff -ruN net-snmp-5.1.2-orig/ipkg/libsnmp-dev/CONTROL/control net-snmp-5.1.2-5/ipkg/libsnmp-dev/CONTROL/control
745 diff -ruN net-snmp-5.1.2-orig/ipkg/rules net-snmp-5.1.2-5/ipkg/rules
746 diff -ruN net-snmp-5.1.2-orig/ipkg/snmp-utils/CONTROL/control net-snmp-5.1.2-5/ipkg/snmp-utils/CONTROL/control
747 diff -ruN net-snmp-5.1.2-orig/ipkg/snmpd/CONTROL/conffiles net-snmp-5.1.2-5/ipkg/snmpd/CONTROL/conffiles
748 diff -ruN net-snmp-5.1.2-orig/ipkg/snmpd/CONTROL/control net-snmp-5.1.2-5/ipkg/snmpd/CONTROL/control
749 diff -ruN net-snmp-5.1.2-orig/ipkg/snmpd/etc/default/snmpd net-snmp-5.1.2-5/ipkg/snmpd/etc/default/snmpd
750 diff -ruN net-snmp-5.1.2-orig/ipkg/snmpd/etc/init.d/snmpd net-snmp-5.1.2-5/ipkg/snmpd/etc/init.d/snmpd
751 diff -ruN net-snmp-5.1.2-orig/ipkg/snmpd/etc/snmp/snmpd.conf net-snmp-5.1.2-5/ipkg/snmpd/etc/snmp/snmpd.conf
752 diff -ruN net-snmp-5.1.2-orig/ipkg/snmpd-static/CONTROL/control net-snmp-5.1.2-5/ipkg/snmpd-static/CONTROL/control
753 diff -ruN net-snmp-5.1.2-orig/ipkg/version net-snmp-5.1.2-5/ipkg/version
754 diff -ruN net-snmp-5.1.2-orig/local/Makefile.in net-snmp-5.1.2-5/local/Makefile.in
755 --- net-snmp-5.1.2-orig/local/Makefile.in 2003-12-20 05:38:17.000000000 +0100
756 +++ net-snmp-5.1.2-5/local/Makefile.in 2005-03-13 16:17:21.000000000 +0100
759 mib2c.made: $(srcdir)/mib2c
760 if test "x$(PERLPROG)" != "x" ; then \
761 - $(PERLPROG) -p -e 's%^#!.*/perl.*%#!$(PERLPROG)%;s#/usr/local/share/snmp#$(snmplibdir)#;' ${srcdir}/mib2c > mib2c.made; \
762 + $(PERLPROG) -p -e 's%^#!.*/perl.*%#!$(PERLPROG)%;s#/usr/local/share/snmp#$(snmplibdir)#;s#/usr/local/etc/snmp#$(SNMPCONFPATH)#;' ${srcdir}/mib2c > mib2c.made; \
766 diff -ruN net-snmp-5.1.2-orig/local/mib2c net-snmp-5.1.2-5/local/mib2c
767 --- net-snmp-5.1.2-orig/local/mib2c 2004-06-15 16:26:37.000000000 +0200
768 +++ net-snmp-5.1.2-5/local/mib2c 2005-03-13 16:17:21.000000000 +0100
770 if($ENV{MIB2C_DIR}) {
771 push @def_search_dirs, $ENV{MIB2C_DIR};
773 -push @def_search_dirs, "/usr/local/share/snmp/";
774 +push @def_search_dirs, "/etc/snmp/";
775 +push @def_search_dirs, "/usr/share/snmp/";
779 diff -ruN net-snmp-5.1.2-orig/man/mib2c.1.def net-snmp-5.1.2-5/man/mib2c.1.def
780 --- net-snmp-5.1.2-orig/man/mib2c.1.def 2003-10-02 20:04:19.000000000 +0200
781 +++ net-snmp-5.1.2-5/man/mib2c.1.def 2005-03-13 16:17:21.000000000 +0100
785 Use CONFIGFILE when generating code. These files will be searched for
786 -first in the current directory and then in the DATADIR directory
787 -(which is where the default mib2c configuration files can be found).
788 +first in the current directory and then in /etc/snmp
789 +(which is where the default mib2c configuration files can be found)
790 +and finally in the DATADIR directory.
791 Running mib2c without the -c CONFIGFILE option will display
792 a description of the valid values for CONFIGFILE, that is,
793 the available config files, including new ones that you might
794 diff -ruN net-snmp-5.1.2-orig/man/mib_api.3.def net-snmp-5.1.2-5/man/mib_api.3.def
795 --- net-snmp-5.1.2-orig/man/mib_api.3.def 2004-04-15 00:41:32.000000000 +0200
796 +++ net-snmp-5.1.2-5/man/mib_api.3.def 2005-03-13 16:17:21.000000000 +0100
798 add_module_replacement,
799 read_module, read_mib, read_all_mibs,
800 read_objid, read_module_node,
801 -get_module_node, read_objid
803 snmp_set_mib_warnings, snmp_set_save_descriptions,
808 .BI "void print_mib(FILE *" "fp" );
810 -.BI "int read_objid(char *" "input" ", oid *" "output" ", int *" "out_len" );
811 +.BI "int read_objid(char *" "input" ", oid *" "output" ", size_t *" "out_len" );
813 -.BI "int get_module_node(char *" "name" ", char *" "module" ", oid *" "objid" ", int *" "objidlen" );
814 +.BI "int get_module_node(char *" "name" ", char *" "module" ", oid *" "objid" ", size_t *" "objidlen" );
816 .BI "void print_variable(const oid *" "objid" ", size_t " "objidlen" ", struct variable_list *" "variable" );
818 diff -ruN net-snmp-5.1.2-orig/man/snmp_config.5.def net-snmp-5.1.2-5/man/snmp_config.5.def
819 --- net-snmp-5.1.2-orig/man/snmp_config.5.def 2003-12-10 11:41:41.000000000 +0100
820 +++ net-snmp-5.1.2-5/man/snmp_config.5.def 2005-03-13 16:17:21.000000000 +0100
822 found and read from. By default, the applications look for
823 configuration files in the following 4 directories, in order:
825 -DATADIR/snmp, LIBDIR/snmp, and $HOME/.snmp. In each of these
826 +/etc/snmp, LIBDIR/snmp, and $HOME/.snmp. In each of these
827 directories, it looks for files with the extension of both
828 .IR conf " and " local.conf
829 (reading the second ones last). In this manner, there are
830 diff -ruN net-snmp-5.1.2-orig/man/snmp_trap_api.3.def net-snmp-5.1.2-5/man/snmp_trap_api.3.def
831 --- net-snmp-5.1.2-orig/man/snmp_trap_api.3.def 2003-09-29 04:58:18.000000000 +0200
832 +++ net-snmp-5.1.2-5/man/snmp_trap_api.3.def 2005-03-13 16:17:21.000000000 +0100
834 .TH SNMP_TRAP_API 3 "7 Mar 2002" VVERSIONINFO "Net-SNMP"
837 -send_easy_trap, send_trap_vars, send_v2trap - send TRAPs or INFORMs
838 -from a Net-SNMP MIB module
839 +send_easy_trap, send_trap_vars, send_v2trap - send TRAPs or INFORMs from a Net-SNMP MIB module
841 .B #include <net-snmp/agent/agent_trap.h>
843 diff -ruN net-snmp-5.1.2-orig/mibs/BGP4-MIB.txt net-snmp-5.1.2-5/mibs/BGP4-MIB.txt
844 --- net-snmp-5.1.2-orig/mibs/BGP4-MIB.txt 1970-01-01 01:00:00.000000000 +0100
845 +++ net-snmp-5.1.2-5/mibs/BGP4-MIB.txt 2005-03-13 16:17:21.000000000 +0100
847 + BGP4-MIB DEFINITIONS ::= BEGIN
850 + MODULE-IDENTITY, OBJECT-TYPE, NOTIFICATION-TYPE,
851 + IpAddress, Integer32, Counter32, Gauge32, mib-2
853 + MODULE-COMPLIANCE, OBJECT-GROUP, NOTIFICATION-GROUP
856 + bgp MODULE-IDENTITY
857 + LAST-UPDATED "9902100000Z"
858 + ORGANIZATION "IETF IDR Working Group"
859 + CONTACT-INFO "E-mail: idr@merit.net
861 + Susan Hares (Editor)
865 + Ann Arbor, MI 48105-2785
866 + Tel: +1 734 936 2095
867 + Fax: +1 734 647 3185
868 + E-mail: skh@merit.edu
870 + Jeff Johnson (Editor)
871 + RedBack Networks, Inc.
872 + 1389 Moffett Park Drive
873 + Sunnyvale, CA 94089-1134
874 + Tel: +1 408 548 3516
875 + Fax: +1 408 548 3599
876 + E-mail: jeff@redback.com"
878 + "The MIB module for BGP-4."
879 + REVISION "9902100000Z"
881 + "Corrected duplicate OBJECT IDENTIFIER
882 + assignment in the conformance information."
883 + REVISION "9601080000Z"
885 + "1) Fixed the definitions of the traps to
886 + make them equivalent to their initial
887 + definition in RFC 1269.
888 + 2) Added compliance and conformance info."
891 + bgpVersion OBJECT-TYPE
892 + SYNTAX OCTET STRING (SIZE (1..255))
893 + MAX-ACCESS read-only
896 + "Vector of supported BGP protocol version
897 + numbers. Each peer negotiates the version
898 + from this vector. Versions are identified
899 + via the string of bits contained within this
900 + object. The first octet contains bits 0 to
901 + 7, the second octet contains bits 8 to 15,
902 + and so on, with the most significant bit
903 + referring to the lowest bit number in the
904 + octet (e.g., the MSB of the first octet
905 + refers to bit 0). If a bit, i, is present
906 + and set, then the version (i+1) of the BGP
910 + bgpLocalAs OBJECT-TYPE
911 + SYNTAX INTEGER (0..65535)
912 + MAX-ACCESS read-only
915 + "The local autonomous system number."
920 + -- BGP Peer table. This table contains, one entry per BGP
921 + -- peer, information about the BGP peer.
923 + bgpPeerTable OBJECT-TYPE
924 + SYNTAX SEQUENCE OF BgpPeerEntry
925 + MAX-ACCESS not-accessible
928 + "BGP peer table. This table contains,
929 + one entry per BGP peer, information about the
930 + connections with BGP peers."
933 + bgpPeerEntry OBJECT-TYPE
934 + SYNTAX BgpPeerEntry
935 + MAX-ACCESS not-accessible
938 + "Entry containing information about the
939 + connection with a BGP peer."
940 + INDEX { bgpPeerRemoteAddr }
941 + ::= { bgpPeerTable 1 }
943 + BgpPeerEntry ::= SEQUENCE {
950 + bgpPeerNegotiatedVersion
966 + bgpPeerInTotalMessages
968 + bgpPeerOutTotalMessages
972 + bgpPeerFsmEstablishedTransitions
974 + bgpPeerFsmEstablishedTime
976 + bgpPeerConnectRetryInterval
982 + bgpPeerHoldTimeConfigured
984 + bgpPeerKeepAliveConfigured
986 + bgpPeerMinASOriginationInterval
988 + bgpPeerMinRouteAdvertisementInterval
990 + bgpPeerInUpdateElapsedTime
994 + bgpPeerIdentifier OBJECT-TYPE
996 + MAX-ACCESS read-only
999 + "The BGP Identifier of this entry's BGP peer."
1000 + ::= { bgpPeerEntry 1 }
1002 + bgpPeerState OBJECT-TYPE
1011 + MAX-ACCESS read-only
1014 + "The BGP peer connection state."
1015 + ::= { bgpPeerEntry 2 }
1017 + bgpPeerAdminStatus OBJECT-TYPE
1022 + MAX-ACCESS read-write
1025 + "The desired state of the BGP connection. A
1026 + transition from 'stop' to 'start' will cause
1027 + the BGP Start Event to be generated. A
1028 + transition from 'start' to 'stop' will cause
1029 + the BGP Stop Event to be generated. This
1030 + parameter can be used to restart BGP peer
1031 + connections. Care should be used in providing
1032 + write access to this object without adequate
1034 + ::= { bgpPeerEntry 3 }
1036 + bgpPeerNegotiatedVersion OBJECT-TYPE
1038 + MAX-ACCESS read-only
1041 + "The negotiated version of BGP running between
1043 + ::= { bgpPeerEntry 4 }
1045 + bgpPeerLocalAddr OBJECT-TYPE
1047 + MAX-ACCESS read-only
1050 + "The local IP address of this entry's BGP
1052 + ::= { bgpPeerEntry 5 }
1054 + bgpPeerLocalPort OBJECT-TYPE
1055 + SYNTAX INTEGER (0..65535)
1056 + MAX-ACCESS read-only
1059 + "The local port for the TCP connection between
1061 + ::= { bgpPeerEntry 6 }
1063 + bgpPeerRemoteAddr OBJECT-TYPE
1065 + MAX-ACCESS read-only
1068 + "The remote IP address of this entry's BGP
1070 + ::= { bgpPeerEntry 7 }
1072 + bgpPeerRemotePort OBJECT-TYPE
1073 + SYNTAX INTEGER (0..65535)
1074 + MAX-ACCESS read-only
1077 + "The remote port for the TCP connection between
1078 + the BGP peers. Note that the objects
1079 + bgpPeerLocalAddr, bgpPeerLocalPort,
1080 + bgpPeerRemoteAddr and bgpPeerRemotePort
1081 + provide the appropriate reference to the
1082 + standard MIB TCP connection table."
1083 + ::= { bgpPeerEntry 8 }
1085 + bgpPeerRemoteAs OBJECT-TYPE
1086 + SYNTAX INTEGER (0..65535)
1087 + MAX-ACCESS read-only
1090 + "The remote autonomous system number."
1091 + ::= { bgpPeerEntry 9 }
1093 + bgpPeerInUpdates OBJECT-TYPE
1095 + MAX-ACCESS read-only
1098 + "The number of BGP UPDATE messages received on
1099 + this connection. This object should be
1100 + initialized to zero (0) when the connection is
1102 + ::= { bgpPeerEntry 10 }
1104 + bgpPeerOutUpdates OBJECT-TYPE
1106 + MAX-ACCESS read-only
1109 + "The number of BGP UPDATE messages transmitted
1110 + on this connection. This object should be
1111 + initialized to zero (0) when the connection is
1113 + ::= { bgpPeerEntry 11 }
1115 + bgpPeerInTotalMessages OBJECT-TYPE
1117 + MAX-ACCESS read-only
1120 + "The total number of messages received from the
1121 + remote peer on this connection. This object
1122 + should be initialized to zero when the
1123 + connection is established."
1124 + ::= { bgpPeerEntry 12 }
1126 + bgpPeerOutTotalMessages OBJECT-TYPE
1128 + MAX-ACCESS read-only
1131 + "The total number of messages transmitted to
1132 + the remote peer on this connection. This object
1133 + should be initialized to zero when the
1134 + connection is established."
1135 + ::= { bgpPeerEntry 13 }
1137 + bgpPeerLastError OBJECT-TYPE
1138 + SYNTAX OCTET STRING (SIZE (2))
1139 + MAX-ACCESS read-only
1142 + "The last error code and subcode seen by this
1143 + peer on this connection. If no error has
1144 + occurred, this field is zero. Otherwise, the
1145 + first byte of this two byte OCTET STRING
1146 + contains the error code, and the second byte
1147 + contains the subcode."
1148 + ::= { bgpPeerEntry 14 }
1150 + bgpPeerFsmEstablishedTransitions OBJECT-TYPE
1152 + MAX-ACCESS read-only
1155 + "The total number of times the BGP FSM
1156 + transitioned into the established state."
1157 + ::= { bgpPeerEntry 15 }
1159 + bgpPeerFsmEstablishedTime OBJECT-TYPE
1161 + MAX-ACCESS read-only
1164 + "This timer indicates how long (in seconds) this
1165 + peer has been in the Established state or how long
1166 + since this peer was last in the Established state.
1167 + It is set to zero when a new peer is configured or
1168 + the router is booted."
1169 + ::= { bgpPeerEntry 16 }
1171 + bgpPeerConnectRetryInterval OBJECT-TYPE
1172 + SYNTAX INTEGER (1..65535)
1173 + MAX-ACCESS read-write
1176 + "Time interval in seconds for the ConnectRetry
1177 + timer. The suggested value for this timer is
1179 + ::= { bgpPeerEntry 17 }
1181 + bgpPeerHoldTime OBJECT-TYPE
1182 + SYNTAX INTEGER ( 0 | 3..65535 )
1183 + MAX-ACCESS read-only
1186 + "Time interval in seconds for the Hold Timer
1187 + established with the peer. The value of this
1188 + object is calculated by this BGP speaker by
1189 + using the smaller of the value in
1190 + bgpPeerHoldTimeConfigured and the Hold Time
1191 + received in the OPEN message. This value
1192 + must be at lease three seconds if it is not
1193 + zero (0) in which case the Hold Timer has
1194 + not been established with the peer, or, the
1195 + value of bgpPeerHoldTimeConfigured is zero (0)."
1196 + ::= { bgpPeerEntry 18 }
1198 + bgpPeerKeepAlive OBJECT-TYPE
1199 + SYNTAX INTEGER ( 0 | 1..21845 )
1200 + MAX-ACCESS read-only
1203 + "Time interval in seconds for the KeepAlive
1204 + timer established with the peer. The value of
1205 + this object is calculated by this BGP speaker
1206 + such that, when compared with bgpPeerHoldTime,
1207 + it has the same proportion as what
1208 + bgpPeerKeepAliveConfigured has when compared
1209 + with bgpPeerHoldTimeConfigured. If the value
1210 + of this object is zero (0), it indicates that
1211 + the KeepAlive timer has not been established
1212 + with the peer, or, the value of
1213 + bgpPeerKeepAliveConfigured is zero (0)."
1214 + ::= { bgpPeerEntry 19 }
1216 + bgpPeerHoldTimeConfigured OBJECT-TYPE
1217 + SYNTAX INTEGER ( 0 | 3..65535 )
1218 + MAX-ACCESS read-write
1221 + "Time interval in seconds for the Hold Time
1222 + configured for this BGP speaker with this peer.
1223 + This value is placed in an OPEN message sent to
1224 + this peer by this BGP speaker, and is compared
1225 + with the Hold Time field in an OPEN message
1226 + received from the peer when determining the Hold
1227 + Time (bgpPeerHoldTime) with the peer. This value
1228 + must not be less than three seconds if it is not
1229 + zero (0) in which case the Hold Time is NOT to be
1230 + established with the peer. The suggested value for
1231 + this timer is 90 seconds."
1232 + ::= { bgpPeerEntry 20 }
1234 + bgpPeerKeepAliveConfigured OBJECT-TYPE
1235 + SYNTAX INTEGER ( 0 | 1..21845 )
1236 + MAX-ACCESS read-write
1239 + "Time interval in seconds for the KeepAlive timer
1240 + configured for this BGP speaker with this peer.
1241 + The value of this object will only determine the
1242 + KEEPALIVE messages' frequency relative to the value
1243 + specified in bgpPeerHoldTimeConfigured; the actual
1244 + time interval for the KEEPALIVE messages is
1245 + indicated by bgpPeerKeepAlive. A reasonable
1246 + maximum value for this timer would be configured to
1247 + be one third of that of bgpPeerHoldTimeConfigured.
1248 + If the value of this object is zero (0), no
1249 + periodical KEEPALIVE messages are sent to the peer
1250 + after the BGP connection has been established. The
1251 + suggested value for this timer is 30 seconds."
1252 + ::= { bgpPeerEntry 21 }
1254 + bgpPeerMinASOriginationInterval OBJECT-TYPE
1255 + SYNTAX INTEGER (1..65535)
1256 + MAX-ACCESS read-write
1259 + "Time interval in seconds for the
1260 + MinASOriginationInterval timer.
1261 + The suggested value for this timer is 15 seconds."
1262 + ::= { bgpPeerEntry 22 }
1264 + bgpPeerMinRouteAdvertisementInterval OBJECT-TYPE
1265 + SYNTAX INTEGER (1..65535)
1266 + MAX-ACCESS read-write
1269 + "Time interval in seconds for the
1270 + MinRouteAdvertisementInterval timer.
1271 + The suggested value for this timer is 30 seconds."
1272 + ::= { bgpPeerEntry 23 }
1274 + bgpPeerInUpdateElapsedTime OBJECT-TYPE
1276 + MAX-ACCESS read-only
1279 + "Elapsed time in seconds since the last BGP
1280 + UPDATE message was received from the peer.
1281 + Each time bgpPeerInUpdates is incremented,
1282 + the value of this object is set to zero (0)."
1283 + ::= { bgpPeerEntry 24 }
1287 + bgpIdentifier OBJECT-TYPE
1289 + MAX-ACCESS read-only
1292 + "The BGP Identifier of local system."
1297 + -- Received Path Attribute Table. This table contains,
1298 + -- one entry per path to a network, path attributes
1299 + -- received from all peers running BGP version 3 or less.
1300 + -- This table is obsolete, having been replaced in
1301 + -- functionality with the bgp4PathAttrTable.
1303 + bgpRcvdPathAttrTable OBJECT-TYPE
1304 + SYNTAX SEQUENCE OF BgpPathAttrEntry
1305 + MAX-ACCESS not-accessible
1308 + "The BGP Received Path Attribute Table contains
1309 + information about paths to destination networks
1310 + received from all peers running BGP version 3 or
1314 + bgpPathAttrEntry OBJECT-TYPE
1315 + SYNTAX BgpPathAttrEntry
1316 + MAX-ACCESS not-accessible
1319 + "Information about a path to a network."
1320 + INDEX { bgpPathAttrDestNetwork,
1322 + ::= { bgpRcvdPathAttrTable 1 }
1324 + BgpPathAttrEntry ::= SEQUENCE {
1327 + bgpPathAttrDestNetwork
1333 + bgpPathAttrNextHop
1335 + bgpPathAttrInterASMetric
1339 + bgpPathAttrPeer OBJECT-TYPE
1341 + MAX-ACCESS read-only
1344 + "The IP address of the peer where the path
1345 + information was learned."
1346 + ::= { bgpPathAttrEntry 1 }
1348 + bgpPathAttrDestNetwork OBJECT-TYPE
1350 + MAX-ACCESS read-only
1353 + "The address of the destination network."
1354 + ::= { bgpPathAttrEntry 2 }
1356 + bgpPathAttrOrigin OBJECT-TYPE
1358 + igp(1),-- networks are interior
1359 + egp(2),-- networks learned via EGP
1360 + incomplete(3) -- undetermined
1362 + MAX-ACCESS read-only
1365 + "The ultimate origin of the path information."
1366 + ::= { bgpPathAttrEntry 3 }
1368 + bgpPathAttrASPath OBJECT-TYPE
1369 + SYNTAX OCTET STRING (SIZE (2..255))
1370 + MAX-ACCESS read-only
1373 + "The set of ASs that must be traversed to reach
1374 + the network. This object is probably best
1375 + represented as SEQUENCE OF INTEGER. For SMI
1376 + compatibility, though, it is represented as
1377 + OCTET STRING. Each AS is represented as a pair
1378 + of octets according to the following algorithm:
1380 + first-byte-of-pair = ASNumber / 256;
1381 + second-byte-of-pair = ASNumber & 255;"
1382 + ::= { bgpPathAttrEntry 4 }
1384 + bgpPathAttrNextHop OBJECT-TYPE
1386 + MAX-ACCESS read-only
1389 + "The address of the border router that should
1390 + be used for the destination network."
1391 + ::= { bgpPathAttrEntry 5 }
1393 + bgpPathAttrInterASMetric OBJECT-TYPE
1395 + MAX-ACCESS read-only
1398 + "The optional inter-AS metric. If this
1399 + attribute has not been provided for this route,
1400 + the value for this object is 0."
1401 + ::= { bgpPathAttrEntry 6 }
1405 + -- BGP-4 Received Path Attribute Table. This table contains,
1406 + -- one entry per path to a network, path attributes
1407 + -- received from all peers running BGP-4.
1409 + bgp4PathAttrTable OBJECT-TYPE
1410 + SYNTAX SEQUENCE OF Bgp4PathAttrEntry
1411 + MAX-ACCESS not-accessible
1414 + "The BGP-4 Received Path Attribute Table contains
1415 + information about paths to destination networks
1416 + received from all BGP4 peers."
1419 + bgp4PathAttrEntry OBJECT-TYPE
1420 + SYNTAX Bgp4PathAttrEntry
1421 + MAX-ACCESS not-accessible
1424 + "Information about a path to a network."
1425 + INDEX { bgp4PathAttrIpAddrPrefix,
1426 + bgp4PathAttrIpAddrPrefixLen,
1427 + bgp4PathAttrPeer }
1428 + ::= { bgp4PathAttrTable 1 }
1430 + Bgp4PathAttrEntry ::= SEQUENCE {
1433 + bgp4PathAttrIpAddrPrefixLen
1435 + bgp4PathAttrIpAddrPrefix
1437 + bgp4PathAttrOrigin
1439 + bgp4PathAttrASPathSegment
1441 + bgp4PathAttrNextHop
1443 + bgp4PathAttrMultiExitDisc
1445 + bgp4PathAttrLocalPref
1447 + bgp4PathAttrAtomicAggregate
1449 + bgp4PathAttrAggregatorAS
1451 + bgp4PathAttrAggregatorAddr
1453 + bgp4PathAttrCalcLocalPref
1457 + bgp4PathAttrUnknown
1461 + bgp4PathAttrPeer OBJECT-TYPE
1463 + MAX-ACCESS read-only
1466 + "The IP address of the peer where the path
1467 + information was learned."
1468 + ::= { bgp4PathAttrEntry 1 }
1469 + bgp4PathAttrIpAddrPrefixLen OBJECT-TYPE
1470 + SYNTAX INTEGER (0..32)
1471 + MAX-ACCESS read-only
1474 + "Length in bits of the IP address prefix in the
1475 + Network Layer Reachability Information field."
1476 + ::= { bgp4PathAttrEntry 2 }
1478 + bgp4PathAttrIpAddrPrefix OBJECT-TYPE
1480 + MAX-ACCESS read-only
1483 + "An IP address prefix in the Network Layer
1484 + Reachability Information field. This object
1485 + is an IP address containing the prefix with
1486 + length specified by bgp4PathAttrIpAddrPrefixLen.
1487 + Any bits beyond the length specified by
1488 + bgp4PathAttrIpAddrPrefixLen are zeroed."
1489 + ::= { bgp4PathAttrEntry 3 }
1491 + bgp4PathAttrOrigin OBJECT-TYPE
1493 + igp(1),-- networks are interior
1494 + egp(2),-- networks learned via EGP
1495 + incomplete(3) -- undetermined
1497 + MAX-ACCESS read-only
1500 + "The ultimate origin of the path information."
1501 + ::= { bgp4PathAttrEntry 4 }
1503 + bgp4PathAttrASPathSegment OBJECT-TYPE
1504 + SYNTAX OCTET STRING (SIZE (2..255))
1505 + MAX-ACCESS read-only
1508 + "The sequence of AS path segments. Each AS
1509 + path segment is represented by a triple
1510 + <type, length, value>.
1512 + The type is a 1-octet field which has two
1514 + 1 AS_SET: unordered set of ASs a
1515 + route in the UPDATE message
1517 + 2 AS_SEQUENCE: ordered set of ASs
1518 + a route in the UPDATE message
1521 + The length is a 1-octet field containing the
1522 + number of ASs in the value field.
1524 + The value field contains one or more AS
1525 + numbers, each AS is represented in the octet
1526 + string as a pair of octets according to the
1527 + following algorithm:
1529 + first-byte-of-pair = ASNumber / 256;
1530 + second-byte-of-pair = ASNumber & 255;"
1531 + ::= { bgp4PathAttrEntry 5 }
1533 + bgp4PathAttrNextHop OBJECT-TYPE
1535 + MAX-ACCESS read-only
1538 + "The address of the border router that should
1539 + be used for the destination network."
1540 + ::= { bgp4PathAttrEntry 6 }
1542 + bgp4PathAttrMultiExitDisc OBJECT-TYPE
1543 + SYNTAX INTEGER (-1..2147483647)
1544 + MAX-ACCESS read-only
1547 + "This metric is used to discriminate between
1548 + multiple exit points to an adjacent autonomous
1549 + system. A value of -1 indicates the absence of
1551 + ::= { bgp4PathAttrEntry 7 }
1553 + bgp4PathAttrLocalPref OBJECT-TYPE
1554 + SYNTAX INTEGER (-1..2147483647)
1555 + MAX-ACCESS read-only
1558 + "The originating BGP4 speaker's degree of
1559 + preference for an advertised route. A value of
1560 + -1 indicates the absence of this attribute."
1561 + ::= { bgp4PathAttrEntry 8 }
1563 + bgp4PathAttrAtomicAggregate OBJECT-TYPE
1565 + lessSpecificRrouteNotSelected(1),
1566 + lessSpecificRouteSelected(2)
1568 + MAX-ACCESS read-only
1571 + "Whether or not a system has selected
1572 + a less specific route without selecting a
1573 + more specific route."
1574 + ::= { bgp4PathAttrEntry 9 }
1576 + bgp4PathAttrAggregatorAS OBJECT-TYPE
1577 + SYNTAX INTEGER (0..65535)
1578 + MAX-ACCESS read-only
1581 + "The AS number of the last BGP4 speaker that
1582 + performed route aggregation. A value of zero (0)
1583 + indicates the absence of this attribute."
1584 + ::= { bgp4PathAttrEntry 10 }
1586 + bgp4PathAttrAggregatorAddr OBJECT-TYPE
1588 + MAX-ACCESS read-only
1591 + "The IP address of the last BGP4 speaker that
1592 + performed route aggregation. A value of
1593 + 0.0.0.0 indicates the absence of this attribute."
1594 + ::= { bgp4PathAttrEntry 11 }
1596 + bgp4PathAttrCalcLocalPref OBJECT-TYPE
1597 + SYNTAX INTEGER (-1..2147483647)
1598 + MAX-ACCESS read-only
1601 + "The degree of preference calculated by the
1602 + receiving BGP4 speaker for an advertised route.
1603 + A value of -1 indicates the absence of this
1605 + ::= { bgp4PathAttrEntry 12 }
1607 + bgp4PathAttrBest OBJECT-TYPE
1609 + false(1),-- not chosen as best route
1610 + true(2) -- chosen as best route
1612 + MAX-ACCESS read-only
1615 + "An indication of whether or not this route
1616 + was chosen as the best BGP4 route."
1617 + ::= { bgp4PathAttrEntry 13 }
1619 + bgp4PathAttrUnknown OBJECT-TYPE
1620 + SYNTAX OCTET STRING (SIZE(0..255))
1621 + MAX-ACCESS read-only
1624 + "One or more path attributes not understood
1625 + by this BGP4 speaker. Size zero (0) indicates
1626 + the absence of such attribute(s). Octets
1627 + beyond the maximum size, if any, are not
1628 + recorded by this object."
1629 + ::= { bgp4PathAttrEntry 14 }
1634 + -- note that in RFC 1657, bgpTraps was incorrectly
1635 + -- assigned a value of { bgp 7 }, and each of the
1636 + -- traps had the bgpPeerRemoteAddr object inappropriately
1637 + -- removed from their OBJECTS clause. The following
1638 + -- definitions restore the semantics of the traps as
1639 + -- they were initially defined in RFC 1269.
1641 + -- { bgp 7 } is unused
1643 + bgpTraps OBJECT IDENTIFIER ::= { bgp 0 }
1645 + bgpEstablished NOTIFICATION-TYPE
1646 + OBJECTS { bgpPeerRemoteAddr,
1651 + "The BGP Established event is generated when
1652 + the BGP FSM enters the ESTABLISHED state."
1653 + ::= { bgpTraps 1 }
1655 + bgpBackwardTransition NOTIFICATION-TYPE
1656 + OBJECTS { bgpPeerRemoteAddr,
1661 + "The BGPBackwardTransition Event is generated
1662 + when the BGP FSM moves from a higher numbered
1663 + state to a lower numbered state."
1664 + ::= { bgpTraps 2 }
1666 + -- conformance information
1668 + bgpMIBConformance OBJECT IDENTIFIER ::= { bgp 8 }
1669 + bgpMIBCompliances OBJECT IDENTIFIER ::= { bgpMIBConformance 1 }
1670 + bgpMIBGroups OBJECT IDENTIFIER ::= { bgpMIBConformance 2 }
1672 + -- compliance statements
1674 + bgpMIBCompliance MODULE-COMPLIANCE
1677 + "The compliance statement for entities which
1678 + implement the BGP4 mib."
1679 + MODULE -- this module
1680 + MANDATORY-GROUPS { bgp4MIBGlobalsGroup,
1682 + bgp4MIBPathAttrGroup,
1683 + bgp4MIBNotificationGroup }
1684 + ::= { bgpMIBCompliances 1 }
1686 + -- units of conformance
1688 + bgp4MIBGlobalsGroup OBJECT-GROUP
1689 + OBJECTS { bgpVersion,
1694 + "A collection of objects providing information
1695 + on global BGP state."
1696 + ::= { bgpMIBGroups 1 }
1698 + bgp4MIBPeerGroup OBJECT-GROUP
1699 + OBJECTS { bgpPeerIdentifier,
1701 + bgpPeerAdminStatus,
1702 + bgpPeerNegotiatedVersion,
1705 + bgpPeerRemoteAddr,
1706 + bgpPeerRemotePort,
1709 + bgpPeerOutUpdates,
1710 + bgpPeerInTotalMessages,
1711 + bgpPeerOutTotalMessages,
1713 + bgpPeerFsmEstablishedTransitions,
1714 + bgpPeerFsmEstablishedTime,
1715 + bgpPeerConnectRetryInterval,
1718 + bgpPeerHoldTimeConfigured,
1719 + bgpPeerKeepAliveConfigured,
1720 + bgpPeerMinASOriginationInterval,
1721 + bgpPeerMinRouteAdvertisementInterval,
1722 + bgpPeerInUpdateElapsedTime }
1725 + "A collection of objects for managing
1727 + ::= { bgpMIBGroups 2 }
1729 + bgp4MIBRcvdPathAttrGroup OBJECT-GROUP
1730 + OBJECTS { bgpPathAttrPeer,
1731 + bgpPathAttrDestNetwork,
1732 + bgpPathAttrOrigin,
1733 + bgpPathAttrASPath,
1734 + bgpPathAttrNextHop,
1735 + bgpPathAttrInterASMetric }
1738 + "A collection of objects for managing BGP
1741 + This conformance group is obsolete,
1742 + replaced by bgp4MIBPathAttrGroup."
1743 + ::= { bgpMIBGroups 3 }
1745 + bgp4MIBPathAttrGroup OBJECT-GROUP
1746 + OBJECTS { bgp4PathAttrPeer,
1747 + bgp4PathAttrIpAddrPrefixLen,
1748 + bgp4PathAttrIpAddrPrefix,
1749 + bgp4PathAttrOrigin,
1750 + bgp4PathAttrASPathSegment,
1751 + bgp4PathAttrNextHop,
1752 + bgp4PathAttrMultiExitDisc,
1753 + bgp4PathAttrLocalPref,
1754 + bgp4PathAttrAtomicAggregate,
1755 + bgp4PathAttrAggregatorAS,
1756 + bgp4PathAttrAggregatorAddr,
1757 + bgp4PathAttrCalcLocalPref,
1759 + bgp4PathAttrUnknown }
1762 + "A collection of objects for managing
1763 + BGP path entries."
1764 + ::= { bgpMIBGroups 4 }
1766 + bgp4MIBNotificationGroup NOTIFICATION-GROUP
1767 + NOTIFICATIONS { bgpEstablished,
1768 + bgpBackwardTransition }
1771 + "A collection of notifications for signaling
1772 + changes in BGP peer relationships."
1773 + ::= { bgpMIBGroups 5 }
1776 diff -ruN net-snmp-5.1.2-orig/mibs/BRIDGE-MIB.txt net-snmp-5.1.2-5/mibs/BRIDGE-MIB.txt
1777 --- net-snmp-5.1.2-orig/mibs/BRIDGE-MIB.txt 1970-01-01 01:00:00.000000000 +0100
1778 +++ net-snmp-5.1.2-5/mibs/BRIDGE-MIB.txt 2005-03-13 16:17:21.000000000 +0100
1780 +BRIDGE-MIB DEFINITIONS ::= BEGIN
1783 + Counter, TimeTicks
1792 +-- All representations of MAC addresses in this MIB Module
1793 +-- use, as a textual convention (i.e. this convention does
1794 +-- not affect their encoding), the data type:
1795 +MacAddress ::= OCTET STRING (SIZE (6)) -- a 6 octet address
1799 +-- defined by IEEE 802.1a, i.e., as if it were transmitted
1800 +-- least significant bit first, even though 802.5 (in
1801 +-- contrast to other n802.x protocols) requires MAC
1802 +-- addresses to be transmitted most significant bit first.
1804 +-- 16-bit addresses, if needed, are represented by setting
1805 +-- their upper 4 octets to all 0's, i.e., AAFF would be
1806 +-- represented as 00000000AAFF.
1808 +-- Similarly, all representations of Bridge-Id in this MIB
1809 +-- Module use, as a textual convention (i.e. this
1810 +-- convention does not affect their encoding), the data
1812 +BridgeId ::= OCTET STRING (SIZE (8)) -- the
1813 + -- Bridge-Identifier
1816 +-- Protocol to uniquely identify a bridge. Its first two
1817 +-- octets (in network byte order) contain a priority
1818 +-- value and its last 6 octets contain the MAC address
1819 +-- used to refer to a bridge in a unique fashion
1820 +-- (typically, the numerically smallest MAC address
1821 +-- of all ports on the bridge).
1823 +-- Several objects in this MIB module represent values of
1824 +-- timers used by the Spanning Tree Protocol. In this
1825 +-- MIB, these timers have values in units of hundreths of
1826 +-- a second (i.e. 1/100 secs).
1827 +-- These timers, when stored in a Spanning Tree Protocol's
1828 +-- BPDU, are in units of 1/256 seconds. Note, however,
1829 +-- that 802.1D-1990 specifies a settable granularity of
1830 +-- no more than 1 second for these timers. To avoid
1831 +-- ambiguity, a data type is defined here as a textual
1832 +-- convention and all representation of these timers
1833 +-- in this MIB module are defined using this data type. An
1834 +-- algorithm is also defined for converting between the
1835 +-- different units, to ensure a timer's value is not
1836 +-- distorted by multiple conversions.
1837 +-- The data type is:
1839 +Timeout ::= INTEGER -- a STP timer in units of 1/100 seconds
1841 +-- To convert a Timeout value into a value in units of
1842 +-- 1/256 seconds, the following algorithm should be used:
1844 +-- b = floor( (n * 256) / 100)
1847 +-- floor = quotient [ignore remainder]
1848 +-- n is the value in 1/100 second units
1849 +-- b is the value in 1/256 second units
1851 +-- To convert the value from 1/256 second units back to
1852 +-- 1/100 seconds, the following algorithm should be used:
1854 +-- n = ceiling( (b * 100) / 256)
1857 +-- ceiling = quotient [if remainder is 0], or
1858 +-- quotient + 1 [if remainder is non-zero]
1859 +-- n is the value in 1/100 second units
1860 +-- b is the value in 1/256 second units
1862 +-- Note: it is important that the arithmetic operations are
1863 +-- done in the order specified (i.e., multiply first, divide
1866 + dot1dBridge OBJECT IDENTIFIER ::= { mib-2 17 }
1868 +-- groups in the Bridge MIB
1870 +dot1dBase OBJECT IDENTIFIER ::= { dot1dBridge 1 }
1872 +dot1dStp OBJECT IDENTIFIER ::= { dot1dBridge 2 }
1874 +dot1dSr OBJECT IDENTIFIER ::= { dot1dBridge 3 }
1875 +-- separately documented
1877 +dot1dTp OBJECT IDENTIFIER ::= { dot1dBridge 4 }
1879 +dot1dStatic OBJECT IDENTIFIER ::= { dot1dBridge 5 }
1881 +-- the dot1dBase group
1883 +-- Implementation of the dot1dBase group is mandatory for all
1886 +dot1dBaseBridgeAddress OBJECT-TYPE
1891 + "The MAC address used by this bridge when it must
1892 + be referred to in a unique fashion. It is
1893 + recommended that this be the numerically smallest
1894 + MAC address of all ports that belong to this
1895 + bridge. However it is only required to be unique.
1896 + When concatenated with dot1dStpPriority a unique
1897 + BridgeIdentifier is formed which is used in the
1898 + Spanning Tree Protocol."
1900 + "IEEE 802.1D-1990: Sections 6.4.1.1.3 and 3.12.5"
1901 + ::= { dot1dBase 1 }
1903 +dot1dBaseNumPorts OBJECT-TYPE
1908 + "The number of ports controlled by this bridging
1911 + "IEEE 802.1D-1990: Section 6.4.1.1.3"
1912 + ::= { dot1dBase 2 }
1914 +dot1dBaseType OBJECT-TYPE
1917 + transparent-only(2),
1918 + sourceroute-only(3),
1924 + "Indicates what type of bridging this bridge can
1925 + perform. If a bridge is actually performing a
1926 + certain type of bridging this will be indicated by
1927 + entries in the port table for the given type."
1928 + ::= { dot1dBase 3 }
1930 +-- The Generic Bridge Port Table
1932 +dot1dBasePortTable OBJECT-TYPE
1933 + SYNTAX SEQUENCE OF Dot1dBasePortEntry
1934 + ACCESS not-accessible
1937 + "A table that contains generic information about
1938 + every port that is associated with this bridge.
1939 + Transparent, source-route, and srt ports are
1941 + ::= { dot1dBase 4 }
1943 +dot1dBasePortEntry OBJECT-TYPE
1944 + SYNTAX Dot1dBasePortEntry
1945 + ACCESS not-accessible
1948 + "A list of information for each port of the
1951 + "IEEE 802.1D-1990: Section 6.4.2, 6.6.1"
1952 + INDEX { dot1dBasePort }
1953 + ::= { dot1dBasePortTable 1 }
1955 +Dot1dBasePortEntry ::=
1959 + dot1dBasePortIfIndex
1961 + dot1dBasePortCircuit
1963 + OBJECT IDENTIFIER,
1964 + dot1dBasePortDelayExceededDiscards
1966 + dot1dBasePortMtuExceededDiscards
1970 +dot1dBasePort OBJECT-TYPE
1971 + SYNTAX INTEGER (1..65535)
1975 + "The port number of the port for which this entry
1976 + contains bridge management information."
1977 + ::= { dot1dBasePortEntry 1 }
1979 +dot1dBasePortIfIndex OBJECT-TYPE
1984 + "The value of the instance of the ifIndex object,
1985 + defined in MIB-II, for the interface corresponding
1987 + ::= { dot1dBasePortEntry 2 }
1989 +dot1dBasePortCircuit OBJECT-TYPE
1990 + SYNTAX OBJECT IDENTIFIER
1994 + "For a port which (potentially) has the same value
1995 + of dot1dBasePortIfIndex as another port on the
1996 + same bridge, this object contains the name of an
1997 + object instance unique to this port. For example,
1998 + in the case where multiple ports correspond one-
1999 + to-one with multiple X.25 virtual circuits, this
2000 + value might identify an (e.g., the first) object
2001 + instance associated with the X.25 virtual circuit
2002 + corresponding to this port.
2004 + For a port which has a unique value of
2005 + dot1dBasePortIfIndex, this object can have the
2007 + ::= { dot1dBasePortEntry 3 }
2009 +dot1dBasePortDelayExceededDiscards OBJECT-TYPE
2015 + "The number of frames discarded by this port due
2016 + to excessive transit delay through the bridge. It
2017 + is incremented by both transparent and source
2020 + "IEEE 802.1D-1990: Section 6.6.1.1.3"
2021 + ::= { dot1dBasePortEntry 4 }
2023 +dot1dBasePortMtuExceededDiscards OBJECT-TYPE
2028 + "The number of frames discarded by this port due
2029 + to an excessive size. It is incremented by both
2030 + transparent and source route bridges."
2032 + "IEEE 802.1D-1990: Section 6.6.1.1.3"
2033 + ::= { dot1dBasePortEntry 5 }
2035 +-- the dot1dStp group
2037 +-- Implementation of the dot1dStp group is optional. It is
2038 +-- implemented by those bridges that support the Spanning Tree
2041 +dot1dStpProtocolSpecification OBJECT-TYPE
2050 + "An indication of what version of the Spanning
2051 + Tree Protocol is being run. The value
2052 + 'decLb100(2)' indicates the DEC LANbridge 100
2053 + Spanning Tree protocol. IEEE 802.1d
2054 + implementations will return 'ieee8021d(3)'. If
2055 + future versions of the IEEE Spanning Tree Protocol
2056 + are released that are incompatible with the
2057 + current version a new value will be defined."
2059 + ::= { dot1dStp 1 }
2061 +dot1dStpPriority OBJECT-TYPE
2062 + SYNTAX INTEGER (0..65535)
2066 + "The value of the write-able portion of the Bridge
2067 + ID, i.e., the first two octets of the (8 octet
2068 + long) Bridge ID. The other (last) 6 octets of the
2069 + Bridge ID are given by the value of
2070 + dot1dBaseBridgeAddress."
2072 + "IEEE 802.1D-1990: Section 4.5.3.7"
2073 + ::= { dot1dStp 2 }
2075 +dot1dStpTimeSinceTopologyChange OBJECT-TYPE
2080 + "The time (in hundredths of a second) since the
2081 + last time a topology change was detected by the
2084 + "IEEE 802.1D-1990: Section 6.8.1.1.3"
2085 + ::= { dot1dStp 3 }
2087 +dot1dStpTopChanges OBJECT-TYPE
2092 + "The total number of topology changes detected by
2093 + this bridge since the management entity was last
2094 + reset or initialized."
2096 + "IEEE 802.1D-1990: Section 6.8.1.1.3"
2097 + ::= { dot1dStp 4 }
2099 +dot1dStpDesignatedRoot OBJECT-TYPE
2104 + "The bridge identifier of the root of the spanning
2105 + tree as determined by the Spanning Tree Protocol
2106 + as executed by this node. This value is used as
2108 + the Root Identifier parameter in all Configuration
2109 + Bridge PDUs originated by this node."
2111 + "IEEE 802.1D-1990: Section 4.5.3.1"
2112 + ::= { dot1dStp 5 }
2114 +dot1dStpRootCost OBJECT-TYPE
2119 + "The cost of the path to the root as seen from
2122 + "IEEE 802.1D-1990: Section 4.5.3.2"
2123 + ::= { dot1dStp 6 }
2125 +dot1dStpRootPort OBJECT-TYPE
2130 + "The port number of the port which offers the
2131 + lowest cost path from this bridge to the root
2134 + "IEEE 802.1D-1990: Section 4.5.3.3"
2135 + ::= { dot1dStp 7 }
2137 +dot1dStpMaxAge OBJECT-TYPE
2142 + "The maximum age of Spanning Tree Protocol
2143 + information learned from the network on any port
2144 + before it is discarded, in units of hundredths of
2145 + a second. This is the actual value that this
2146 + bridge is currently using."
2148 + "IEEE 802.1D-1990: Section 4.5.3.4"
2149 + ::= { dot1dStp 8 }
2151 +dot1dStpHelloTime OBJECT-TYPE
2157 + "The amount of time between the transmission of
2158 + Configuration bridge PDUs by this node on any port
2159 + when it is the root of the spanning tree or trying
2160 + to become so, in units of hundredths of a second.
2161 + This is the actual value that this bridge is
2164 + "IEEE 802.1D-1990: Section 4.5.3.5"
2165 + ::= { dot1dStp 9 }
2167 +dot1dStpHoldTime OBJECT-TYPE
2172 + "This time value determines the interval length
2173 + during which no more than two Configuration bridge
2174 + PDUs shall be transmitted by this node, in units
2175 + of hundredths of a second."
2177 + "IEEE 802.1D-1990: Section 4.5.3.14"
2178 + ::= { dot1dStp 10 }
2180 +dot1dStpForwardDelay OBJECT-TYPE
2185 + "This time value, measured in units of hundredths
2186 + of a second, controls how fast a port changes its
2187 + spanning state when moving towards the Forwarding
2188 + state. The value determines how long the port
2189 + stays in each of the Listening and Learning
2190 + states, which precede the Forwarding state. This
2191 + value is also used, when a topology change has
2192 + been detected and is underway, to age all dynamic
2193 + entries in the Forwarding Database. [Note that
2194 + this value is the one that this bridge is
2195 + currently using, in contrast to
2196 + dot1dStpBridgeForwardDelay which is the value that
2197 + this bridge and all others would start using
2198 + if/when this bridge were to become the root.]"
2200 + "IEEE 802.1D-1990: Section 4.5.3.6"
2201 + ::= { dot1dStp 11 }
2203 +dot1dStpBridgeMaxAge OBJECT-TYPE
2204 + SYNTAX Timeout (600..4000)
2209 + "The value that all bridges use for MaxAge when
2210 + this bridge is acting as the root. Note that
2211 + 802.1D-1990 specifies that the range for this
2212 + parameter is related to the value of
2213 + dot1dStpBridgeHelloTime. The granularity of this
2214 + timer is specified by 802.1D-1990 to be 1 second.
2215 + An agent may return a badValue error if a set is
2216 + attempted to a value which is not a whole number
2219 + "IEEE 802.1D-1990: Section 4.5.3.8"
2220 + ::= { dot1dStp 12 }
2222 +dot1dStpBridgeHelloTime OBJECT-TYPE
2223 + SYNTAX Timeout (100..1000)
2227 + "The value that all bridges use for HelloTime when
2228 + this bridge is acting as the root. The
2229 + granularity of this timer is specified by 802.1D-
2230 + 1990 to be 1 second. An agent may return a
2231 + badValue error if a set is attempted to a value
2232 + which is not a whole number of seconds."
2234 + "IEEE 802.1D-1990: Section 4.5.3.9"
2235 + ::= { dot1dStp 13 }
2237 +dot1dStpBridgeForwardDelay OBJECT-TYPE
2238 + SYNTAX Timeout (400..3000)
2242 + "The value that all bridges use for ForwardDelay
2243 + when this bridge is acting as the root. Note that
2244 + 802.1D-1990 specifies that the range for this
2245 + parameter is related to the value of
2246 + dot1dStpBridgeMaxAge. The granularity of this
2247 + timer is specified by 802.1D-1990 to be 1 second.
2248 + An agent may return a badValue error if a set is
2249 + attempted to a value which is not a whole number
2252 + "IEEE 802.1D-1990: Section 4.5.3.10"
2253 + ::= { dot1dStp 14 }
2255 +-- The Spanning Tree Port Table
2257 +dot1dStpPortTable OBJECT-TYPE
2258 + SYNTAX SEQUENCE OF Dot1dStpPortEntry
2259 + ACCESS not-accessible
2262 + "A table that contains port-specific information
2263 + for the Spanning Tree Protocol."
2264 + ::= { dot1dStp 15 }
2266 +dot1dStpPortEntry OBJECT-TYPE
2267 + SYNTAX Dot1dStpPortEntry
2268 + ACCESS not-accessible
2271 + "A list of information maintained by every port
2272 + about the Spanning Tree Protocol state for that
2274 + INDEX { dot1dStpPort }
2275 + ::= { dot1dStpPortTable 1 }
2277 +Dot1dStpPortEntry ::=
2281 + dot1dStpPortPriority
2285 + dot1dStpPortEnable
2287 + dot1dStpPortPathCost
2289 + dot1dStpPortDesignatedRoot
2291 + dot1dStpPortDesignatedCost
2293 + dot1dStpPortDesignatedBridge
2295 + dot1dStpPortDesignatedPort
2297 + dot1dStpPortForwardTransitions
2301 +dot1dStpPort OBJECT-TYPE
2302 + SYNTAX INTEGER (1..65535)
2307 + "The port number of the port for which this entry
2308 + contains Spanning Tree Protocol management
2311 + "IEEE 802.1D-1990: Section 6.8.2.1.2"
2312 + ::= { dot1dStpPortEntry 1 }
2314 +dot1dStpPortPriority OBJECT-TYPE
2315 + SYNTAX INTEGER (0..255)
2319 + "The value of the priority field which is
2320 + contained in the first (in network byte order)
2321 + octet of the (2 octet long) Port ID. The other
2322 + octet of the Port ID is given by the value of
2325 + "IEEE 802.1D-1990: Section 4.5.5.1"
2326 + ::= { dot1dStpPortEntry 2 }
2328 +dot1dStpPortState OBJECT-TYPE
2340 + "The port's current state as defined by
2341 + application of the Spanning Tree Protocol. This
2342 + state controls what action a port takes on
2343 + reception of a frame. If the bridge has detected
2344 + a port that is malfunctioning it will place that
2345 + port into the broken(6) state. For ports which
2346 + are disabled (see dot1dStpPortEnable), this object
2347 + will have a value of disabled(1)."
2349 + "IEEE 802.1D-1990: Section 4.5.5.2"
2350 + ::= { dot1dStpPortEntry 3 }
2352 +dot1dStpPortEnable OBJECT-TYPE
2360 + "The enabled/disabled status of the port."
2362 + "IEEE 802.1D-1990: Section 4.5.5.2"
2363 + ::= { dot1dStpPortEntry 4 }
2365 +dot1dStpPortPathCost OBJECT-TYPE
2366 + SYNTAX INTEGER (1..65535)
2370 + "The contribution of this port to the path cost of
2371 + paths towards the spanning tree root which include
2372 + this port. 802.1D-1990 recommends that the
2373 + default value of this parameter be in inverse
2374 + proportion to the speed of the attached LAN."
2376 + "IEEE 802.1D-1990: Section 4.5.5.3"
2377 + ::= { dot1dStpPortEntry 5 }
2379 +dot1dStpPortDesignatedRoot OBJECT-TYPE
2384 + "The unique Bridge Identifier of the Bridge
2385 + recorded as the Root in the Configuration BPDUs
2386 + transmitted by the Designated Bridge for the
2387 + segment to which the port is attached."
2389 + "IEEE 802.1D-1990: Section 4.5.5.4"
2390 + ::= { dot1dStpPortEntry 6 }
2392 +dot1dStpPortDesignatedCost OBJECT-TYPE
2397 + "The path cost of the Designated Port of the
2398 + segment connected to this port. This value is
2399 + compared to the Root Path Cost field in received
2403 + "IEEE 802.1D-1990: Section 4.5.5.5"
2404 + ::= { dot1dStpPortEntry 7 }
2406 +dot1dStpPortDesignatedBridge OBJECT-TYPE
2411 + "The Bridge Identifier of the bridge which this
2412 + port considers to be the Designated Bridge for
2413 + this port's segment."
2415 + "IEEE 802.1D-1990: Section 4.5.5.6"
2416 + ::= { dot1dStpPortEntry 8 }
2418 +dot1dStpPortDesignatedPort OBJECT-TYPE
2419 + SYNTAX OCTET STRING (SIZE (2))
2423 + "The Port Identifier of the port on the Designated
2424 + Bridge for this port's segment."
2426 + "IEEE 802.1D-1990: Section 4.5.5.7"
2427 + ::= { dot1dStpPortEntry 9 }
2429 +dot1dStpPortForwardTransitions OBJECT-TYPE
2434 + "The number of times this port has transitioned
2435 + from the Learning state to the Forwarding state."
2436 + ::= { dot1dStpPortEntry 10 }
2438 +-- the dot1dTp group
2440 +-- Implementation of the dot1dTp group is optional. It is
2441 +-- implemented by those bridges that support the transparent
2442 +-- bridging mode. A transparent or SRT bridge will implement
2445 +dot1dTpLearnedEntryDiscards OBJECT-TYPE
2451 + "The total number of Forwarding Database entries,
2452 + which have been or would have been learnt, but
2453 + have been discarded due to a lack of space to
2454 + store them in the Forwarding Database. If this
2455 + counter is increasing, it indicates that the
2456 + Forwarding Database is regularly becoming full (a
2457 + condition which has unpleasant performance effects
2458 + on the subnetwork). If this counter has a
2459 + significant value but is not presently increasing,
2460 + it indicates that the problem has been occurring
2461 + but is not persistent."
2463 + "IEEE 802.1D-1990: Section 6.7.1.1.3"
2466 +dot1dTpAgingTime OBJECT-TYPE
2467 + SYNTAX INTEGER (10..1000000)
2471 + "The timeout period in seconds for aging out
2472 + dynamically learned forwarding information.
2473 + 802.1D-1990 recommends a default of 300 seconds."
2475 + "IEEE 802.1D-1990: Section 6.7.1.1.3"
2478 +-- The Forwarding Database for Transparent Bridges
2480 +dot1dTpFdbTable OBJECT-TYPE
2481 + SYNTAX SEQUENCE OF Dot1dTpFdbEntry
2482 + ACCESS not-accessible
2485 + "A table that contains information about unicast
2486 + entries for which the bridge has forwarding and/or
2487 + filtering information. This information is used
2488 + by the transparent bridging function in
2489 + determining how to propagate a received frame."
2492 +dot1dTpFdbEntry OBJECT-TYPE
2493 + SYNTAX Dot1dTpFdbEntry
2494 + ACCESS not-accessible
2497 + "Information about a specific unicast MAC address
2498 + for which the bridge has some forwarding and/or
2499 + filtering information."
2500 + INDEX { dot1dTpFdbAddress }
2501 + ::= { dot1dTpFdbTable 1 }
2503 +Dot1dTpFdbEntry ::=
2513 +dot1dTpFdbAddress OBJECT-TYPE
2518 + "A unicast MAC address for which the bridge has
2519 + forwarding and/or filtering information."
2521 + "IEEE 802.1D-1990: Section 3.9.1, 3.9.2"
2522 + ::= { dot1dTpFdbEntry 1 }
2524 +dot1dTpFdbPort OBJECT-TYPE
2529 + "Either the value '0', or the port number of the
2530 + port on which a frame having a source address
2531 + equal to the value of the corresponding instance
2532 + of dot1dTpFdbAddress has been seen. A value of
2533 + '0' indicates that the port number has not been
2534 + learned but that the bridge does have some
2535 + forwarding/filtering information about this
2536 + address (e.g. in the dot1dStaticTable).
2537 + Implementors are encouraged to assign the port
2538 + value to this object whenever it is learned even
2539 + for addresses for which the corresponding value of
2540 + dot1dTpFdbStatus is not learned(3)."
2541 + ::= { dot1dTpFdbEntry 2 }
2543 +dot1dTpFdbStatus OBJECT-TYPE
2554 + "The status of this entry. The meanings of the
2556 + other(1) : none of the following. This would
2557 + include the case where some other
2558 + MIB object (not the corresponding
2559 + instance of dot1dTpFdbPort, nor an
2560 + entry in the dot1dStaticTable) is
2561 + being used to determine if and how
2562 + frames addressed to the value of
2563 + the corresponding instance of
2564 + dot1dTpFdbAddress are being
2566 + invalid(2) : this entry is not longer valid
2567 + (e.g., it was learned but has since
2568 + aged-out), but has not yet been
2569 + flushed from the table.
2570 + learned(3) : the value of the corresponding
2571 + instance of dot1dTpFdbPort was
2572 + learned, and is being used.
2573 + self(4) : the value of the corresponding
2574 + instance of dot1dTpFdbAddress
2575 + represents one of the bridge's
2576 + addresses. The corresponding
2577 + instance of dot1dTpFdbPort
2578 + indicates which of the bridge's
2579 + ports has this address.
2580 + mgmt(5) : the value of the corresponding
2581 + instance of dot1dTpFdbAddress is
2582 + also the value of an existing
2583 + instance of dot1dStaticAddress."
2584 + ::= { dot1dTpFdbEntry 3 }
2586 +-- Port Table for Transparent Bridges
2588 +dot1dTpPortTable OBJECT-TYPE
2589 + SYNTAX SEQUENCE OF Dot1dTpPortEntry
2590 + ACCESS not-accessible
2593 + "A table that contains information about every
2594 + port that is associated with this transparent
2598 +dot1dTpPortEntry OBJECT-TYPE
2599 + SYNTAX Dot1dTpPortEntry
2600 + ACCESS not-accessible
2603 + "A list of information for each port of a
2604 + transparent bridge."
2605 + INDEX { dot1dTpPort }
2606 + ::= { dot1dTpPortTable 1 }
2608 +Dot1dTpPortEntry ::=
2612 + dot1dTpPortMaxInfo
2614 + dot1dTpPortInFrames
2616 + dot1dTpPortOutFrames
2618 + dot1dTpPortInDiscards
2622 +dot1dTpPort OBJECT-TYPE
2623 + SYNTAX INTEGER (1..65535)
2627 + "The port number of the port for which this entry
2628 + contains Transparent bridging management
2630 + ::= { dot1dTpPortEntry 1 }
2632 +-- It would be nice if we could use ifMtu as the size of the
2633 +-- largest INFO field, but we can't because ifMtu is defined
2634 +-- to be the size that the (inter-)network layer can use which
2635 +-- can differ from the MAC layer (especially if several layers
2636 +-- of encapsulation are used).
2638 +dot1dTpPortMaxInfo OBJECT-TYPE
2643 + "The maximum size of the INFO (non-MAC) field that
2644 + this port will receive or transmit."
2645 + ::= { dot1dTpPortEntry 2 }
2647 +dot1dTpPortInFrames OBJECT-TYPE
2652 + "The number of frames that have been received by
2653 + this port from its segment. Note that a frame
2654 + received on the interface corresponding to this
2655 + port is only counted by this object if and only if
2656 + it is for a protocol being processed by the local
2657 + bridging function, including bridge management
2660 + "IEEE 802.1D-1990: Section 6.6.1.1.3"
2661 + ::= { dot1dTpPortEntry 3 }
2663 +dot1dTpPortOutFrames OBJECT-TYPE
2668 + "The number of frames that have been transmitted
2669 + by this port to its segment. Note that a frame
2670 + transmitted on the interface corresponding to this
2671 + port is only counted by this object if and only if
2672 + it is for a protocol being processed by the local
2673 + bridging function, including bridge management
2676 + "IEEE 802.1D-1990: Section 6.6.1.1.3"
2677 + ::= { dot1dTpPortEntry 4 }
2679 +dot1dTpPortInDiscards OBJECT-TYPE
2684 + "Count of valid frames received which were
2685 + discarded (i.e., filtered) by the Forwarding
2688 + "IEEE 802.1D-1990: Section 6.6.1.1.3"
2689 + ::= { dot1dTpPortEntry 5 }
2690 +-- The Static (Destination-Address Filtering) Database
2692 +-- Implementation of this group is optional.
2694 +dot1dStaticTable OBJECT-TYPE
2695 + SYNTAX SEQUENCE OF Dot1dStaticEntry
2696 + ACCESS not-accessible
2699 + "A table containing filtering information
2700 + configured into the bridge by (local or network)
2701 + management specifying the set of ports to which
2702 + frames received from specific ports and containing
2703 + specific destination addresses are allowed to be
2704 + forwarded. The value of zero in this table as the
2705 + port number from which frames with a specific
2706 + destination address are received, is used to
2707 + specify all ports for which there is no specific
2708 + entry in this table for that particular
2709 + destination address. Entries are valid for
2710 + unicast and for group/broadcast addresses."
2712 + "IEEE 802.1D-1990: Section 6.7.2"
2713 + ::= { dot1dStatic 1 }
2715 +dot1dStaticEntry OBJECT-TYPE
2716 + SYNTAX Dot1dStaticEntry
2717 + ACCESS not-accessible
2720 + "Filtering information configured into the bridge
2721 + by (local or network) management specifying the
2722 + set of ports to which frames received from a
2723 + specific port and containing a specific
2724 + destination address are allowed to be forwarded."
2726 + "IEEE 802.1D-1990: Section 6.7.2"
2727 + INDEX { dot1dStaticAddress, dot1dStaticReceivePort }
2728 + ::= { dot1dStaticTable 1 }
2730 +Dot1dStaticEntry ::=
2732 + dot1dStaticAddress
2734 + dot1dStaticReceivePort
2736 + dot1dStaticAllowedToGoTo
2742 +dot1dStaticAddress OBJECT-TYPE
2747 + "The destination MAC address in a frame to which
2748 + this entry's filtering information applies. This
2749 + object can take the value of a unicast address, a
2750 + group address or the broadcast address."
2752 + "IEEE 802.1D-1990: Section 3.9.1, 3.9.2"
2753 + ::= { dot1dStaticEntry 1 }
2755 +dot1dStaticReceivePort OBJECT-TYPE
2760 + "Either the value '0', or the port number of the
2761 + port from which a frame must be received in order
2762 + for this entry's filtering information to apply.
2763 + A value of zero indicates that this entry applies
2764 + on all ports of the bridge for which there is no
2765 + other applicable entry."
2766 + ::= { dot1dStaticEntry 2 }
2768 +dot1dStaticAllowedToGoTo OBJECT-TYPE
2769 + SYNTAX OCTET STRING
2773 + "The set of ports to which frames received from a
2774 + specific port and destined for a specific MAC
2776 + address, are allowed to be forwarded. Each octet
2777 + within the value of this object specifies a set of
2778 + eight ports, with the first octet specifying ports
2779 + 1 through 8, the second octet specifying ports 9
2780 + through 16, etc. Within each octet, the most
2781 + significant bit represents the lowest numbered
2782 + port, and the least significant bit represents the
2783 + highest numbered port. Thus, each port of the
2784 + bridge is represented by a single bit within the
2785 + value of this object. If that bit has a value of
2786 + '1' then that port is included in the set of
2787 + ports; the port is not included if its bit has a
2788 + value of '0'. (Note that the setting of the bit
2789 + corresponding to the port from which a frame is
2790 + received is irrelevant.) The default value of
2791 + this object is a string of ones of appropriate
2793 + ::= { dot1dStaticEntry 3 }
2795 +dot1dStaticStatus OBJECT-TYPE
2801 + deleteOnTimeout(5)
2806 + "This object indicates the status of this entry.
2807 + The default value is permanent(3).
2808 + other(1) - this entry is currently in use but
2809 + the conditions under which it will
2810 + remain so are different from each of the
2812 + invalid(2) - writing this value to the object
2813 + removes the corresponding entry.
2814 + permanent(3) - this entry is currently in use
2815 + and will remain so after the next reset
2817 + deleteOnReset(4) - this entry is currently in
2818 + use and will remain so until the next
2819 + reset of the bridge.
2820 + deleteOnTimeout(5) - this entry is currently
2821 + in use and will remain so until it is
2824 + ::= { dot1dStaticEntry 4 }
2826 +-- Traps for use by Bridges
2828 +-- Traps for the Spanning Tree Protocol
2831 + ENTERPRISE dot1dBridge
2833 + "The newRoot trap indicates that the sending agent
2834 + has become the new root of the Spanning Tree; the
2835 + trap is sent by a bridge soon after its election
2836 + as the new root, e.g., upon expiration of the
2837 + Topology Change Timer immediately subsequent to
2838 + its election. Implementation of this trap is
2842 +topologyChange TRAP-TYPE
2843 + ENTERPRISE dot1dBridge
2845 + "A topologyChange trap is sent by a bridge when
2846 + any of its configured ports transitions from the
2847 + Learning state to the Forwarding state, or from
2848 + the Forwarding state to the Blocking state. The
2849 + trap is not sent if a newRoot trap is sent for the
2850 + same transition. Implementation of this trap is
2855 diff -ruN net-snmp-5.1.2-orig/mibs/GNOME-SMI.txt net-snmp-5.1.2-5/mibs/GNOME-SMI.txt
2856 --- net-snmp-5.1.2-orig/mibs/GNOME-SMI.txt 1970-01-01 01:00:00.000000000 +0100
2857 +++ net-snmp-5.1.2-5/mibs/GNOME-SMI.txt 2005-03-13 16:17:21.000000000 +0100
2859 +GNOME-SMI DEFINITIONS ::= BEGIN
2867 +gnome MODULE-IDENTITY
2868 + LAST-UPDATED "200312070000Z"
2869 + ORGANIZATION "GNOME project"
2871 + "GNU Network Object Model Environment project
2873 + see http://www.gnome.org for contact persons of a particular
2874 + area or subproject of GNOME.
2876 + Administrative contact for MIB module:
2883 + email: jochen@scram.de"
2885 + "The Structure of GNOME."
2887 + -- revision history
2889 + REVISION "9809010000Z" -- September 01, 1998
2891 + "Initial version."
2893 + REVISION "200312070000Z" -- December 07, 2003
2895 + "Added gnomeSysadmin subtree for GNOME project system administration.
2896 + Updated contact info."
2898 + ::= { enterprises 3317 } -- assigned by IANA
2900 +gnomeProducts OBJECT-IDENTITY
2903 + "gnomeProducts is the root OBJECT IDENTIFIER from
2904 + which sysObjectID values are assigned."
2907 +gnomeMgmt OBJECT-IDENTITY
2910 + "gnomeMgmt defines the subtree for production GNOME related
2911 + MIB registrations."
2914 +gnomeTest OBJECT-IDENTITY
2917 + "gnomeTest defines the subtree for testing GNOME related
2918 + MIB registrations."
2921 +gnomeSysadmin OBJECT-IDENTITY
2924 + "gnomeSysadmin defines the subtree for GNOME related Sysadmin
2925 + MIB registrations."
2928 +-- more to come if necessary.
2931 diff -ruN net-snmp-5.1.2-orig/mibs/Makefile.in net-snmp-5.1.2-5/mibs/Makefile.in
2932 --- net-snmp-5.1.2-orig/mibs/Makefile.in 2004-06-18 20:11:15.000000000 +0200
2933 +++ net-snmp-5.1.2-5/mibs/Makefile.in 2005-03-13 16:17:21.000000000 +0100
2935 UCDMIBS = UCD-SNMP-MIB.txt UCD-DEMO-MIB.txt UCD-IPFWACC-MIB.txt \
2936 UCD-DLMOD-MIB.txt UCD-DISKIO-MIB.txt
2938 +EXTRAMIBS = BGP4-MIB.txt BRIDGE-MIB.txt GNOME-SMI.txt OSPF-MIB.txt \
2939 + OSPF-TRAP-MIB.txt RIPv2-MIB.txt SOURCE-ROUTING-MIB.txt \
2940 + LM-SENSORS-MIB.txt
2942 DEFAULTMIBS = @default_mibs_install@
2944 MIBS = $(V1MIBS) $(V2MIBS) $(V3MIBS) $(RFCMIBS) \
2945 $(AGENTMIBS) $(IANAMIBS) \
2946 - $(NETSNMPMIBS) $(UCDMIBS) $(DEFAULTMIBS)
2947 + $(NETSNMPMIBS) $(UCDMIBS) $(DEFAULTMIBS) $(EXTRAMIBS)
2951 diff -ruN net-snmp-5.1.2-orig/mibs/OSPF-MIB.txt net-snmp-5.1.2-5/mibs/OSPF-MIB.txt
2952 --- net-snmp-5.1.2-orig/mibs/OSPF-MIB.txt 1970-01-01 01:00:00.000000000 +0100
2953 +++ net-snmp-5.1.2-5/mibs/OSPF-MIB.txt 2005-03-13 16:17:21.000000000 +0100
2955 +OSPF-MIB DEFINITIONS ::= BEGIN
2958 + MODULE-IDENTITY, OBJECT-TYPE, Counter32, Gauge32,
2959 + Integer32, IpAddress
2961 + TEXTUAL-CONVENTION, TruthValue, RowStatus
2963 + MODULE-COMPLIANCE, OBJECT-GROUP FROM SNMPv2-CONF
2964 + mib-2 FROM RFC1213-MIB;
2966 +-- This MIB module uses the extended OBJECT-TYPE macro as
2969 +ospf MODULE-IDENTITY
2970 + LAST-UPDATED "9501201225Z" -- Fri Jan 20 12:25:50 PST 1995
2971 + ORGANIZATION "IETF OSPF Working Group"
2974 + Postal: Cisco Systems
2976 + Santa Barbara, California 93111
2977 + Tel: +1 805 681 0115
2978 + E-Mail: fred@cisco.com
2981 + Postal: RainbowBridge Communications
2982 + Tel: (301) 340-9416
2983 + E-Mail: rcoltun@rainbow-bridge.com"
2985 + "The MIB module to describe the OSPF Version 2
2989 +-- The Area ID, in OSPF, has the same format as an IP Address,
2990 +-- but has the function of defining a summarization point for
2991 +-- Link State Advertisements
2993 +AreaID ::= TEXTUAL-CONVENTION
2996 + "An OSPF Area Identifier."
3000 +-- The Router ID, in OSPF, has the same format as an IP Address,
3001 +-- but identifies the router independent of its IP Address.
3003 +RouterID ::= TEXTUAL-CONVENTION
3006 + "A OSPF Router Identifier."
3010 +-- The OSPF Metric is defined as an unsigned value in the range
3012 +Metric ::= TEXTUAL-CONVENTION
3015 + "The OSPF Internal Metric."
3016 + SYNTAX Integer32 (0..'FFFF'h)
3018 +BigMetric ::= TEXTUAL-CONVENTION
3021 + "The OSPF External Metric."
3022 + SYNTAX Integer32 (0..'FFFFFF'h)
3026 +Status ::= TEXTUAL-CONVENTION
3029 + "The status of an interface: 'enabled' indicates that
3030 + it is willing to communicate with other OSPF Routers,
3031 + while 'disabled' indicates that it is not."
3032 + SYNTAX INTEGER { enabled (1), disabled (2) }
3034 +-- Time Durations measured in seconds
3036 +PositiveInteger ::= TEXTUAL-CONVENTION
3039 + "A positive integer. Values in excess are precluded as
3040 + unnecessary and prone to interoperability issues."
3041 + SYNTAX Integer32 (0..'7FFFFFFF'h)
3043 +HelloRange ::= TEXTUAL-CONVENTION
3046 + "The range of intervals on which hello messages are
3048 + SYNTAX Integer32 (1..'FFFF'h)
3050 +UpToMaxAge ::= TEXTUAL-CONVENTION
3053 + "The values that one might find or configure for
3054 + variables bounded by the maximum age of an LSA."
3055 + SYNTAX Integer32 (0..3600)
3058 +-- The range of ifIndex
3060 +InterfaceIndex ::= TEXTUAL-CONVENTION
3063 + "The range of ifIndex."
3067 +-- Potential Priorities for the Designated Router Election
3069 +DesignatedRouterPriority ::= TEXTUAL-CONVENTION
3072 + "The values defined for the priority of a system for
3073 + becoming the designated router."
3074 + SYNTAX Integer32 (0..'FF'h)
3076 +TOSType ::= TEXTUAL-CONVENTION
3079 + "Type of Service is defined as a mapping to the IP Type of
3080 + Service Flags as defined in the IP Forwarding Table MIB
3082 + +-----+-----+-----+-----+-----+-----+-----+-----+
3084 + | PRECEDENCE | TYPE OF SERVICE | 0 |
3086 + +-----+-----+-----+-----+-----+-----+-----+-----+
3089 + Field Policy Field Policy
3091 + Contents Code Contents Code
3092 + 0 0 0 0 ==> 0 0 0 0 1 ==> 2
3093 + 0 0 1 0 ==> 4 0 0 1 1 ==> 6
3094 + 0 1 0 0 ==> 8 0 1 0 1 ==> 10
3095 + 0 1 1 0 ==> 12 0 1 1 1 ==> 14
3096 + 1 0 0 0 ==> 16 1 0 0 1 ==> 18
3097 + 1 0 1 0 ==> 20 1 0 1 1 ==> 22
3098 + 1 1 0 0 ==> 24 1 1 0 1 ==> 26
3099 + 1 1 1 0 ==> 28 1 1 1 1 ==> 30
3101 + The remaining values are left for future definition."
3102 + SYNTAX Integer32 (0..30)
3105 +-- OSPF General Variables
3107 +-- These parameters apply globally to the Router's
3110 +ospfGeneralGroup OBJECT IDENTIFIER ::= { ospf 1 }
3113 + ospfRouterId OBJECT-TYPE
3115 + MAX-ACCESS read-write
3118 + "A 32-bit integer uniquely identifying the
3119 + router in the Autonomous System.
3121 + By convention, to ensure uniqueness, this
3122 + should default to the value of one of the
3123 + router's IP interface addresses."
3125 + "OSPF Version 2, C.1 Global parameters"
3126 + ::= { ospfGeneralGroup 1 }
3129 + ospfAdminStat OBJECT-TYPE
3131 + MAX-ACCESS read-write
3134 + "The administrative status of OSPF in the
3135 + router. The value 'enabled' denotes that the
3136 + OSPF Process is active on at least one inter-
3137 + face; 'disabled' disables it on all inter-
3139 + ::= { ospfGeneralGroup 2 }
3141 + ospfVersionNumber OBJECT-TYPE
3142 + SYNTAX INTEGER { version2 (2) }
3143 + MAX-ACCESS read-only
3146 + "The current version number of the OSPF proto-
3149 + "OSPF Version 2, Title"
3150 + ::= { ospfGeneralGroup 3 }
3153 + ospfAreaBdrRtrStatus OBJECT-TYPE
3155 + MAX-ACCESS read-only
3158 + "A flag to note whether this router is an area
3161 + "OSPF Version 2, Section 3 Splitting the AS into
3163 + ::= { ospfGeneralGroup 4 }
3166 + ospfASBdrRtrStatus OBJECT-TYPE
3168 + MAX-ACCESS read-write
3171 + "A flag to note whether this router is config-
3172 + ured as an Autonomous System border router."
3174 + "OSPF Version 2, Section 3.3 Classification of
3176 + ::= { ospfGeneralGroup 5 }
3178 + ospfExternLsaCount OBJECT-TYPE
3180 + MAX-ACCESS read-only
3183 + "The number of external (LS type 5) link-state
3184 + advertisements in the link-state database."
3186 + "OSPF Version 2, Appendix A.4.5 AS external link
3188 + ::= { ospfGeneralGroup 6 }
3191 + ospfExternLsaCksumSum OBJECT-TYPE
3193 + MAX-ACCESS read-only
3196 + "The 32-bit unsigned sum of the LS checksums of
3197 + the external link-state advertisements con-
3198 + tained in the link-state database. This sum
3199 + can be used to determine if there has been a
3200 + change in a router's link state database, and
3201 + to compare the link-state database of two
3203 + ::= { ospfGeneralGroup 7 }
3206 + ospfTOSSupport OBJECT-TYPE
3208 + MAX-ACCESS read-write
3211 + "The router's support for type-of-service rout-
3214 + "OSPF Version 2, Appendix F.1.2 Optional TOS
3216 + ::= { ospfGeneralGroup 8 }
3218 + ospfOriginateNewLsas OBJECT-TYPE
3220 + MAX-ACCESS read-only
3223 + "The number of new link-state advertisements
3224 + that have been originated. This number is in-
3225 + cremented each time the router originates a new
3227 + ::= { ospfGeneralGroup 9 }
3230 + ospfRxNewLsas OBJECT-TYPE
3232 + MAX-ACCESS read-only
3235 + "The number of link-state advertisements re-
3236 + ceived determined to be new instantiations.
3237 + This number does not include newer instantia-
3238 + tions of self-originated link-state advertise-
3240 + ::= { ospfGeneralGroup 10 }
3242 + ospfExtLsdbLimit OBJECT-TYPE
3243 + SYNTAX Integer32 (-1..'7FFFFFFF'h)
3244 + MAX-ACCESS read-write
3247 + "The maximum number of non-default AS-
3248 + external-LSAs entries that can be stored in the
3249 + link-state database. If the value is -1, then
3250 + there is no limit.
3252 + When the number of non-default AS-external-LSAs
3253 + in a router's link-state database reaches
3254 + ospfExtLsdbLimit, the router enters Overflow-
3255 + State. The router never holds more than
3256 + ospfExtLsdbLimit non-default AS-external-LSAs
3257 + in its database. OspfExtLsdbLimit MUST be set
3258 + identically in all routers attached to the OSPF
3259 + backbone and/or any regular OSPF area. (i.e.,
3260 + OSPF stub areas and NSSAs are excluded)."
3262 + ::= { ospfGeneralGroup 11 }
3264 + ospfMulticastExtensions OBJECT-TYPE
3266 + MAX-ACCESS read-write
3269 + "A Bit Mask indicating whether the router is
3270 + forwarding IP multicast (Class D) datagrams
3271 + based on the algorithms defined in the Multi-
3272 + cast Extensions to OSPF.
3274 + Bit 0, if set, indicates that the router can
3275 + forward IP multicast datagrams in the router's
3276 + directly attached areas (called intra-area mul-
3279 + Bit 1, if set, indicates that the router can
3280 + forward IP multicast datagrams between OSPF
3281 + areas (called inter-area multicast routing).
3283 + Bit 2, if set, indicates that the router can
3284 + forward IP multicast datagrams between Auto-
3285 + nomous Systems (called inter-AS multicast rout-
3288 + Only certain combinations of bit settings are
3289 + allowed, namely: 0 (no multicast forwarding is
3290 + enabled), 1 (intra-area multicasting only), 3
3291 + (intra-area and inter-area multicasting), 5
3292 + (intra-area and inter-AS multicasting) and 7
3293 + (multicasting everywhere). By default, no mul-
3294 + ticast forwarding is enabled."
3296 + ::= { ospfGeneralGroup 12 }
3298 + ospfExitOverflowInterval OBJECT-TYPE
3299 + SYNTAX PositiveInteger
3300 + MAX-ACCESS read-write
3303 + "The number of seconds that, after entering
3304 + OverflowState, a router will attempt to leave
3305 + OverflowState. This allows the router to again
3306 + originate non-default AS-external-LSAs. When
3307 + set to 0, the router will not leave Overflow-
3308 + State until restarted."
3310 + ::= { ospfGeneralGroup 13 }
3313 + ospfDemandExtensions OBJECT-TYPE
3315 + MAX-ACCESS read-write
3318 + "The router's support for demand routing."
3320 + "OSPF Version 2, Appendix on Demand Routing"
3321 + ::= { ospfGeneralGroup 14 }
3324 +-- The OSPF Area Data Structure contains information
3325 +-- regarding the various areas. The interfaces and
3326 +-- virtual links are configured as part of these areas.
3327 +-- Area 0.0.0.0, by definition, is the Backbone Area
3330 + ospfAreaTable OBJECT-TYPE
3331 + SYNTAX SEQUENCE OF OspfAreaEntry
3332 + MAX-ACCESS not-accessible
3335 + "Information describing the configured parame-
3336 + ters and cumulative statistics of the router's
3339 + "OSPF Version 2, Section 6 The Area Data Struc-
3344 + ospfAreaEntry OBJECT-TYPE
3345 + SYNTAX OspfAreaEntry
3346 + MAX-ACCESS not-accessible
3349 + "Information describing the configured parame-
3350 + ters and cumulative statistics of one of the
3351 + router's attached areas."
3352 + INDEX { ospfAreaId }
3353 + ::= { ospfAreaTable 1 }
3361 + ospfImportAsExtern
3365 + ospfAreaBdrRtrCount
3371 + ospfAreaLsaCksumSum
3379 + ospfAreaId OBJECT-TYPE
3381 + MAX-ACCESS read-only
3384 + "A 32-bit integer uniquely identifying an area.
3385 + Area ID 0.0.0.0 is used for the OSPF backbone."
3387 + "OSPF Version 2, Appendix C.2 Area parameters"
3388 + ::= { ospfAreaEntry 1 }
3391 + ospfAuthType OBJECT-TYPE
3394 + -- simplePassword (1)
3396 + -- reserved for specification by IANA (> 2)
3397 + MAX-ACCESS read-create
3400 + "The authentication type specified for an area.
3401 + Additional authentication types may be assigned
3402 + locally on a per Area basis."
3404 + "OSPF Version 2, Appendix E Authentication"
3405 + DEFVAL { 0 } -- no authentication, by default
3406 + ::= { ospfAreaEntry 2 }
3408 + ospfImportAsExtern OBJECT-TYPE
3410 + importExternal (1),
3411 + importNoExternal (2),
3414 + MAX-ACCESS read-create
3417 + "The area's support for importing AS external
3418 + link- state advertisements."
3420 + "OSPF Version 2, Appendix C.2 Area parameters"
3421 + DEFVAL { importExternal }
3422 + ::= { ospfAreaEntry 3 }
3425 + ospfSpfRuns OBJECT-TYPE
3427 + MAX-ACCESS read-only
3430 + "The number of times that the intra-area route
3431 + table has been calculated using this area's
3432 + link-state database. This is typically done
3433 + using Dijkstra's algorithm."
3434 + ::= { ospfAreaEntry 4 }
3437 + ospfAreaBdrRtrCount OBJECT-TYPE
3439 + MAX-ACCESS read-only
3442 + "The total number of area border routers reach-
3443 + able within this area. This is initially zero,
3444 + and is calculated in each SPF Pass."
3445 + ::= { ospfAreaEntry 5 }
3447 + ospfAsBdrRtrCount OBJECT-TYPE
3449 + MAX-ACCESS read-only
3452 + "The total number of Autonomous System border
3453 + routers reachable within this area. This is
3454 + initially zero, and is calculated in each SPF
3456 + ::= { ospfAreaEntry 6 }
3459 + ospfAreaLsaCount OBJECT-TYPE
3461 + MAX-ACCESS read-only
3464 + "The total number of link-state advertisements
3465 + in this area's link-state database, excluding
3466 + AS External LSA's."
3467 + ::= { ospfAreaEntry 7 }
3470 + ospfAreaLsaCksumSum OBJECT-TYPE
3472 + MAX-ACCESS read-only
3475 + "The 32-bit unsigned sum of the link-state ad-
3476 + vertisements' LS checksums contained in this
3477 + area's link-state database. This sum excludes
3478 + external (LS type 5) link-state advertisements.
3479 + The sum can be used to determine if there has
3480 + been a change in a router's link state data-
3481 + base, and to compare the link-state database of
3484 + ::= { ospfAreaEntry 8 }
3486 + ospfAreaSummary OBJECT-TYPE
3488 + noAreaSummary (1),
3489 + sendAreaSummary (2)
3491 + MAX-ACCESS read-create
3494 + "The variable ospfAreaSummary controls the im-
3495 + port of summary LSAs into stub areas. It has
3496 + no effect on other areas.
3498 + If it is noAreaSummary, the router will neither
3499 + originate nor propagate summary LSAs into the
3500 + stub area. It will rely entirely on its de-
3503 + If it is sendAreaSummary, the router will both
3504 + summarize and propagate summary LSAs."
3505 + DEFVAL { noAreaSummary }
3506 + ::= { ospfAreaEntry 9 }
3509 + ospfAreaStatus OBJECT-TYPE
3511 + MAX-ACCESS read-create
3514 + "This variable displays the status of the en-
3515 + try. Setting it to 'invalid' has the effect of
3516 + rendering it inoperative. The internal effect
3517 + (row removal) is implementation dependent."
3518 + ::= { ospfAreaEntry 10 }
3521 +-- OSPF Area Default Metric Table
3523 +-- The OSPF Area Default Metric Table describes the metrics
3524 +-- that a default Area Border Router will advertise into a
3528 + ospfStubAreaTable OBJECT-TYPE
3529 + SYNTAX SEQUENCE OF OspfStubAreaEntry
3530 + MAX-ACCESS not-accessible
3533 + "The set of metrics that will be advertised by
3534 + a default Area Border Router into a stub area."
3536 + "OSPF Version 2, Appendix C.2, Area Parameters"
3540 + ospfStubAreaEntry OBJECT-TYPE
3541 + SYNTAX OspfStubAreaEntry
3542 + MAX-ACCESS not-accessible
3545 + "The metric for a given Type of Service that
3546 + will be advertised by a default Area Border
3547 + Router into a stub area."
3549 + "OSPF Version 2, Appendix C.2, Area Parameters"
3550 + INDEX { ospfStubAreaId, ospfStubTOS }
3551 + ::= { ospfStubAreaTable 1 }
3553 +OspfStubAreaEntry ::=
3563 + ospfStubMetricType
3567 + ospfStubAreaId OBJECT-TYPE
3569 + MAX-ACCESS read-only
3572 + "The 32 bit identifier for the Stub Area. On
3573 + creation, this can be derived from the in-
3575 + ::= { ospfStubAreaEntry 1 }
3578 + ospfStubTOS OBJECT-TYPE
3580 + MAX-ACCESS read-only
3583 + "The Type of Service associated with the
3584 + metric. On creation, this can be derived from
3586 + ::= { ospfStubAreaEntry 2 }
3589 + ospfStubMetric OBJECT-TYPE
3591 + MAX-ACCESS read-create
3594 + "The metric value applied at the indicated type
3595 + of service. By default, this equals the least
3596 + metric at the type of service among the inter-
3597 + faces to other areas."
3598 + ::= { ospfStubAreaEntry 3 }
3601 + ospfStubStatus OBJECT-TYPE
3603 + MAX-ACCESS read-create
3606 + "This variable displays the status of the en-
3607 + try. Setting it to 'invalid' has the effect of
3608 + rendering it inoperative. The internal effect
3609 + (row removal) is implementation dependent."
3610 + ::= { ospfStubAreaEntry 4 }
3612 + ospfStubMetricType OBJECT-TYPE
3614 + ospfMetric (1), -- OSPF Metric
3615 + comparableCost (2), -- external type 1
3616 + nonComparable (3) -- external type 2
3618 + MAX-ACCESS read-create
3621 + "This variable displays the type of metric ad-
3622 + vertised as a default route."
3623 + DEFVAL { ospfMetric }
3624 + ::= { ospfStubAreaEntry 5 }
3626 +-- OSPF Link State Database
3628 +-- The Link State Database contains the Link State
3629 +-- Advertisements from throughout the areas that the
3630 +-- device is attached to.
3633 + ospfLsdbTable OBJECT-TYPE
3634 + SYNTAX SEQUENCE OF OspfLsdbEntry
3635 + MAX-ACCESS not-accessible
3638 + "The OSPF Process's Link State Database."
3640 + "OSPF Version 2, Section 12 Link State Adver-
3645 + ospfLsdbEntry OBJECT-TYPE
3646 + SYNTAX OspfLsdbEntry
3647 + MAX-ACCESS not-accessible
3650 + "A single Link State Advertisement."
3651 + INDEX { ospfLsdbAreaId, ospfLsdbType,
3652 + ospfLsdbLsid, ospfLsdbRouterId }
3653 + ::= { ospfLsdbTable 1 }
3671 + ospfLsdbAdvertisement
3674 + ospfLsdbAreaId OBJECT-TYPE
3676 + MAX-ACCESS read-only
3679 + "The 32 bit identifier of the Area from which
3680 + the LSA was received."
3682 + "OSPF Version 2, Appendix C.2 Area parameters"
3683 + ::= { ospfLsdbEntry 1 }
3685 +-- External Link State Advertisements are permitted
3686 +-- for backward compatibility, but should be displayed in
3687 +-- the ospfExtLsdbTable rather than here.
3689 + ospfLsdbType OBJECT-TYPE
3694 + asSummaryLink (4),
3695 + asExternalLink (5), -- but see ospfExtLsdbTable
3696 + multicastLink (6),
3697 + nssaExternalLink (7)
3699 + MAX-ACCESS read-only
3702 + "The type of the link state advertisement.
3703 + Each link state type has a separate advertise-
3706 + "OSPF Version 2, Appendix A.4.1 The Link State
3707 + Advertisement header"
3708 + ::= { ospfLsdbEntry 2 }
3710 + ospfLsdbLsid OBJECT-TYPE
3712 + MAX-ACCESS read-only
3715 + "The Link State ID is an LS Type Specific field
3716 + containing either a Router ID or an IP Address;
3717 + it identifies the piece of the routing domain
3718 + that is being described by the advertisement."
3720 + "OSPF Version 2, Section 12.1.4 Link State ID"
3721 + ::= { ospfLsdbEntry 3 }
3722 + ospfLsdbRouterId OBJECT-TYPE
3724 + MAX-ACCESS read-only
3727 + "The 32 bit number that uniquely identifies the
3728 + originating router in the Autonomous System."
3730 + "OSPF Version 2, Appendix C.1 Global parameters"
3731 + ::= { ospfLsdbEntry 4 }
3733 +-- Note that the OSPF Sequence Number is a 32 bit signed
3734 +-- integer. It starts with the value '80000001'h,
3735 +-- or -'7FFFFFFF'h, and increments until '7FFFFFFF'h
3736 +-- Thus, a typical sequence number will be very negative.
3738 + ospfLsdbSequence OBJECT-TYPE
3740 + MAX-ACCESS read-only
3743 + "The sequence number field is a signed 32-bit
3744 + integer. It is used to detect old and dupli-
3745 + cate link state advertisements. The space of
3746 + sequence numbers is linearly ordered. The
3747 + larger the sequence number the more recent the
3750 + "OSPF Version 2, Section 12.1.6 LS sequence
3752 + ::= { ospfLsdbEntry 5 }
3755 + ospfLsdbAge OBJECT-TYPE
3756 + SYNTAX Integer32 -- Should be 0..MaxAge
3757 + MAX-ACCESS read-only
3760 + "This field is the age of the link state adver-
3761 + tisement in seconds."
3763 + "OSPF Version 2, Section 12.1.1 LS age"
3764 + ::= { ospfLsdbEntry 6 }
3766 + ospfLsdbChecksum OBJECT-TYPE
3768 + MAX-ACCESS read-only
3771 + "This field is the checksum of the complete
3772 + contents of the advertisement, excepting the
3773 + age field. The age field is excepted so that
3774 + an advertisement's age can be incremented
3775 + without updating the checksum. The checksum
3776 + used is the same that is used for ISO connec-
3777 + tionless datagrams; it is commonly referred to
3778 + as the Fletcher checksum."
3780 + "OSPF Version 2, Section 12.1.7 LS checksum"
3781 + ::= { ospfLsdbEntry 7 }
3784 + ospfLsdbAdvertisement OBJECT-TYPE
3785 + SYNTAX OCTET STRING (SIZE (1..65535))
3786 + MAX-ACCESS read-only
3789 + "The entire Link State Advertisement, including
3792 + "OSPF Version 2, Section 12 Link State Adver-
3794 + ::= { ospfLsdbEntry 8 }
3797 +-- Address Range Table
3799 +-- The Address Range Table acts as an adjunct to the Area
3800 +-- Table; It describes those Address Range Summaries that
3801 +-- are configured to be propagated from an Area to reduce
3802 +-- the amount of information about it which is known beyond
3805 + ospfAreaRangeTable OBJECT-TYPE
3806 + SYNTAX SEQUENCE OF OspfAreaRangeEntry
3807 + MAX-ACCESS not-accessible
3810 + "A range if IP addresses specified by an IP
3811 + address/IP network mask pair. For example,
3812 + class B address range of X.X.X.X with a network
3813 + mask of 255.255.0.0 includes all IP addresses
3814 + from X.X.0.0 to X.X.255.255"
3816 + "OSPF Version 2, Appendix C.2 Area parameters"
3818 + ospfAreaRangeEntry OBJECT-TYPE
3819 + SYNTAX OspfAreaRangeEntry
3820 + MAX-ACCESS not-accessible
3823 + "A range if IP addresses specified by an IP
3824 + address/IP network mask pair. For example,
3825 + class B address range of X.X.X.X with a network
3826 + mask of 255.255.0.0 includes all IP addresses
3827 + from X.X.0.0 to X.X.255.255"
3829 + "OSPF Version 2, Appendix C.2 Area parameters"
3830 + INDEX { ospfAreaRangeAreaId, ospfAreaRangeNet }
3831 + ::= { ospfAreaRangeTable 1 }
3833 +OspfAreaRangeEntry ::=
3835 + ospfAreaRangeAreaId
3841 + ospfAreaRangeStatus
3843 + ospfAreaRangeEffect
3847 + ospfAreaRangeAreaId OBJECT-TYPE
3849 + MAX-ACCESS read-only
3852 + "The Area the Address Range is to be found
3855 + "OSPF Version 2, Appendix C.2 Area parameters"
3856 + ::= { ospfAreaRangeEntry 1 }
3859 + ospfAreaRangeNet OBJECT-TYPE
3861 + MAX-ACCESS read-only
3864 + "The IP Address of the Net or Subnet indicated
3867 + "OSPF Version 2, Appendix C.2 Area parameters"
3868 + ::= { ospfAreaRangeEntry 2 }
3871 + ospfAreaRangeMask OBJECT-TYPE
3873 + MAX-ACCESS read-create
3876 + "The Subnet Mask that pertains to the Net or
3879 + "OSPF Version 2, Appendix C.2 Area parameters"
3880 + ::= { ospfAreaRangeEntry 3 }
3882 + ospfAreaRangeStatus OBJECT-TYPE
3884 + MAX-ACCESS read-create
3887 + "This variable displays the status of the en-
3888 + try. Setting it to 'invalid' has the effect of
3889 + rendering it inoperative. The internal effect
3890 + (row removal) is implementation dependent."
3891 + ::= { ospfAreaRangeEntry 4 }
3894 + ospfAreaRangeEffect OBJECT-TYPE
3896 + advertiseMatching (1),
3897 + doNotAdvertiseMatching (2)
3899 + MAX-ACCESS read-create
3902 + "Subnets subsumed by ranges either trigger the
3903 + advertisement of the indicated summary (adver-
3904 + tiseMatching), or result in the subnet's not
3905 + being advertised at all outside the area."
3906 + DEFVAL { advertiseMatching }
3907 + ::= { ospfAreaRangeEntry 5 }
3913 +-- The Host/Metric Table indicates what hosts are directly
3914 +-- attached to the Router, and what metrics and types of
3915 +-- service should be advertised for them.
3917 + ospfHostTable OBJECT-TYPE
3918 + SYNTAX SEQUENCE OF OspfHostEntry
3919 + MAX-ACCESS not-accessible
3922 + "The list of Hosts, and their metrics, that the
3923 + router will advertise as host routes."
3925 + "OSPF Version 2, Appendix C.6 Host route param-
3930 + ospfHostEntry OBJECT-TYPE
3931 + SYNTAX OspfHostEntry
3932 + MAX-ACCESS not-accessible
3935 + "A metric to be advertised, for a given type of
3936 + service, when a given host is reachable."
3937 + INDEX { ospfHostIpAddress, ospfHostTOS }
3938 + ::= { ospfHostTable 1 }
3954 + ospfHostIpAddress OBJECT-TYPE
3956 + MAX-ACCESS read-only
3959 + "The IP Address of the Host."
3961 + "OSPF Version 2, Appendix C.6 Host route parame-
3963 + ::= { ospfHostEntry 1 }
3966 + ospfHostTOS OBJECT-TYPE
3968 + MAX-ACCESS read-only
3971 + "The Type of Service of the route being config-
3974 + "OSPF Version 2, Appendix C.6 Host route parame-
3976 + ::= { ospfHostEntry 2 }
3979 + ospfHostMetric OBJECT-TYPE
3981 + MAX-ACCESS read-create
3984 + "The Metric to be advertised."
3986 + "OSPF Version 2, Appendix C.6 Host route parame-
3988 + ::= { ospfHostEntry 3 }
3990 + ospfHostStatus OBJECT-TYPE
3992 + MAX-ACCESS read-create
3995 + "This variable displays the status of the en-
3996 + try. Setting it to 'invalid' has the effect of
3997 + rendering it inoperative. The internal effect
3998 + (row removal) is implementation dependent."
3999 + ::= { ospfHostEntry 4 }
4002 + ospfHostAreaID OBJECT-TYPE
4004 + MAX-ACCESS read-only
4007 + "The Area the Host Entry is to be found within.
4008 + By default, the area that a subsuming OSPF in-
4009 + terface is in, or 0.0.0.0"
4011 + "OSPF Version 2, Appendix C.2 Area parameters"
4012 + ::= { ospfHostEntry 5 }
4015 +-- OSPF Interface Table
4017 +-- The OSPF Interface Table augments the ipAddrTable
4018 +-- with OSPF specific information.
4020 + ospfIfTable OBJECT-TYPE
4021 + SYNTAX SEQUENCE OF OspfIfEntry
4022 + MAX-ACCESS not-accessible
4025 + "The OSPF Interface Table describes the inter-
4026 + faces from the viewpoint of OSPF."
4028 + "OSPF Version 2, Appendix C.3 Router interface
4033 + ospfIfEntry OBJECT-TYPE
4034 + SYNTAX OspfIfEntry
4035 + MAX-ACCESS not-accessible
4038 + "The OSPF Interface Entry describes one inter-
4039 + face from the viewpoint of OSPF."
4040 + INDEX { ospfIfIpAddress, ospfAddressLessIf }
4041 + ::= { ospfIfTable 1 }
4056 + DesignatedRouterPriority,
4057 + ospfIfTransitDelay
4059 + ospfIfRetransInterval
4061 + ospfIfHelloInterval
4063 + ospfIfRtrDeadInterval
4065 + ospfIfPollInterval
4069 + ospfIfDesignatedRouter
4071 + ospfIfBackupDesignatedRouter
4081 + ospfIfMulticastForwarding
4087 + ospfIfIpAddress OBJECT-TYPE
4089 + MAX-ACCESS read-only
4092 + "The IP address of this OSPF interface."
4093 + ::= { ospfIfEntry 1 }
4095 + ospfAddressLessIf OBJECT-TYPE
4097 + MAX-ACCESS read-only
4100 + "For the purpose of easing the instancing of
4101 + addressed and addressless interfaces; This
4102 + variable takes the value 0 on interfaces with
4103 + IP Addresses, and the corresponding value of
4104 + ifIndex for interfaces having no IP Address."
4105 + ::= { ospfIfEntry 2 }
4106 + ospfIfAreaId OBJECT-TYPE
4108 + MAX-ACCESS read-create
4111 + "A 32-bit integer uniquely identifying the area
4112 + to which the interface connects. Area ID
4113 + 0.0.0.0 is used for the OSPF backbone."
4114 + DEFVAL { '00000000'H } -- 0.0.0.0
4115 + ::= { ospfIfEntry 3 }
4117 + ospfIfType OBJECT-TYPE
4122 + pointToMultipoint (5)
4124 + MAX-ACCESS read-create
4127 + "The OSPF interface type.
4129 + By way of a default, this field may be intuited
4130 + from the corresponding value of ifType. Broad-
4131 + cast LANs, such as Ethernet and IEEE 802.5,
4132 + take the value 'broadcast', X.25 and similar
4133 + technologies take the value 'nbma', and links
4134 + that are definitively point to point take the
4135 + value 'pointToPoint'."
4136 + ::= { ospfIfEntry 4 }
4139 + ospfIfAdminStat OBJECT-TYPE
4141 + MAX-ACCESS read-create
4144 + "The OSPF interface's administrative status.
4145 + The value formed on the interface, and the in-
4146 + terface will be advertised as an internal route
4147 + to some area. The value 'disabled' denotes
4148 + that the interface is external to OSPF."
4149 + DEFVAL { enabled }
4150 + ::= { ospfIfEntry 5 }
4152 + ospfIfRtrPriority OBJECT-TYPE
4153 + SYNTAX DesignatedRouterPriority
4154 + MAX-ACCESS read-create
4157 + "The priority of this interface. Used in
4158 + multi-access networks, this field is used in
4159 + the designated router election algorithm. The
4160 + value 0 signifies that the router is not eligi-
4161 + ble to become the designated router on this
4162 + particular network. In the event of a tie in
4163 + this value, routers will use their Router ID as
4166 + ::= { ospfIfEntry 6 }
4169 + ospfIfTransitDelay OBJECT-TYPE
4171 + MAX-ACCESS read-create
4174 + "The estimated number of seconds it takes to
4175 + transmit a link state update packet over this
4178 + ::= { ospfIfEntry 7 }
4181 + ospfIfRetransInterval OBJECT-TYPE
4183 + MAX-ACCESS read-create
4186 + "The number of seconds between link-state ad-
4187 + vertisement retransmissions, for adjacencies
4188 + belonging to this interface. This value is
4189 + also used when retransmitting database descrip-
4190 + tion and link-state request packets."
4192 + ::= { ospfIfEntry 8 }
4195 + ospfIfHelloInterval OBJECT-TYPE
4197 + MAX-ACCESS read-create
4200 + "The length of time, in seconds, between the
4201 + Hello packets that the router sends on the in-
4202 + terface. This value must be the same for all
4203 + routers attached to a common network."
4205 + ::= { ospfIfEntry 9 }
4208 + ospfIfRtrDeadInterval OBJECT-TYPE
4209 + SYNTAX PositiveInteger
4210 + MAX-ACCESS read-create
4213 + "The number of seconds that a router's Hello
4214 + packets have not been seen before it's neigh-
4215 + bors declare the router down. This should be
4216 + some multiple of the Hello interval. This
4217 + value must be the same for all routers attached
4218 + to a common network."
4220 + ::= { ospfIfEntry 10 }
4223 + ospfIfPollInterval OBJECT-TYPE
4224 + SYNTAX PositiveInteger
4225 + MAX-ACCESS read-create
4228 + "The larger time interval, in seconds, between
4229 + the Hello packets sent to an inactive non-
4230 + broadcast multi- access neighbor."
4232 + ::= { ospfIfEntry 11 }
4235 + ospfIfState OBJECT-TYPE
4241 + designatedRouter (5),
4242 + backupDesignatedRouter (6),
4243 + otherDesignatedRouter (7)
4245 + MAX-ACCESS read-only
4248 + "The OSPF Interface State."
4250 + ::= { ospfIfEntry 12 }
4253 + ospfIfDesignatedRouter OBJECT-TYPE
4255 + MAX-ACCESS read-only
4258 + "The IP Address of the Designated Router."
4259 + DEFVAL { '00000000'H } -- 0.0.0.0
4260 + ::= { ospfIfEntry 13 }
4263 + ospfIfBackupDesignatedRouter OBJECT-TYPE
4265 + MAX-ACCESS read-only
4268 + "The IP Address of the Backup Designated
4270 + DEFVAL { '00000000'H } -- 0.0.0.0
4271 + ::= { ospfIfEntry 14 }
4273 + ospfIfEvents OBJECT-TYPE
4275 + MAX-ACCESS read-only
4278 + "The number of times this OSPF interface has
4279 + changed its state, or an error has occurred."
4280 + ::= { ospfIfEntry 15 }
4283 + ospfIfAuthKey OBJECT-TYPE
4284 + SYNTAX OCTET STRING (SIZE (0..256))
4285 + MAX-ACCESS read-create
4288 + "The Authentication Key. If the Area's Author-
4289 + ization Type is simplePassword, and the key
4290 + length is shorter than 8 octets, the agent will
4291 + left adjust and zero fill to 8 octets.
4293 + Note that unauthenticated interfaces need no
4294 + authentication key, and simple password authen-
4295 + tication cannot use a key of more than 8 oc-
4296 + tets. Larger keys are useful only with authen-
4297 + tication mechanisms not specified in this docu-
4300 + When read, ospfIfAuthKey always returns an Oc-
4301 + tet String of length zero."
4303 + "OSPF Version 2, Section 9 The Interface Data
4305 + DEFVAL { '0000000000000000'H } -- 0.0.0.0.0.0.0.0
4306 + ::= { ospfIfEntry 16 }
4308 + ospfIfStatus OBJECT-TYPE
4310 + MAX-ACCESS read-create
4313 + "This variable displays the status of the en-
4314 + try. Setting it to 'invalid' has the effect of
4315 + rendering it inoperative. The internal effect
4316 + (row removal) is implementation dependent."
4317 + ::= { ospfIfEntry 17 }
4320 + ospfIfMulticastForwarding OBJECT-TYPE
4322 + blocked (1), -- no multicast forwarding
4323 + multicast (2), -- using multicast address
4324 + unicast (3) -- to each OSPF neighbor
4326 + MAX-ACCESS read-create
4329 + "The way multicasts should forwarded on this
4330 + interface; not forwarded, forwarded as data
4331 + link multicasts, or forwarded as data link uni-
4332 + casts. Data link multicasting is not meaning-
4333 + ful on point to point and NBMA interfaces, and
4334 + setting ospfMulticastForwarding to 0 effective-
4335 + ly disables all multicast forwarding."
4336 + DEFVAL { blocked }
4337 + ::= { ospfIfEntry 18 }
4340 + ospfIfDemand OBJECT-TYPE
4342 + MAX-ACCESS read-create
4345 + "Indicates whether Demand OSPF procedures (hel-
4346 + lo supression to FULL neighbors and setting the
4347 + DoNotAge flag on proogated LSAs) should be per-
4348 + formed on this interface."
4350 + ::= { ospfIfEntry 19 }
4353 + ospfIfAuthType OBJECT-TYPE
4354 + SYNTAX INTEGER (0..255)
4356 + -- simplePassword (1)
4358 + -- reserved for specification by IANA (> 2)
4359 + MAX-ACCESS read-create
4362 + "The authentication type specified for an in-
4363 + terface. Additional authentication types may
4364 + be assigned locally."
4366 + "OSPF Version 2, Appendix E Authentication"
4367 + DEFVAL { 0 } -- no authentication, by default
4368 + ::= { ospfIfEntry 20 }
4371 +-- OSPF Interface Metric Table
4373 +-- The Metric Table describes the metrics to be advertised
4374 +-- for a specified interface at the various types of service.
4375 +-- As such, this table is an adjunct of the OSPF Interface
4378 +-- Types of service, as defined by RFC 791, have the ability
4379 +-- to request low delay, high bandwidth, or reliable linkage.
4381 +-- For the purposes of this specification, the measure of
4384 +-- Metric = 10^8 / ifSpeed
4386 +-- is the default value. For multiple link interfaces, note
4387 +-- that ifSpeed is the sum of the individual link speeds.
4388 +-- This yields a number having the following typical values:
4390 +-- Network Type/bit rate Metric
4393 +-- Ethernet/802.3 10
4401 +-- Routes that are not specified use the default (TOS 0) metric
4403 + ospfIfMetricTable OBJECT-TYPE
4404 + SYNTAX SEQUENCE OF OspfIfMetricEntry
4405 + MAX-ACCESS not-accessible
4408 + "The TOS metrics for a non-virtual interface
4409 + identified by the interface index."
4411 + "OSPF Version 2, Appendix C.3 Router interface
4415 + ospfIfMetricEntry OBJECT-TYPE
4416 + SYNTAX OspfIfMetricEntry
4417 + MAX-ACCESS not-accessible
4420 + "A particular TOS metric for a non-virtual in-
4421 + terface identified by the interface index."
4423 + "OSPF Version 2, Appendix C.3 Router interface
4425 + INDEX { ospfIfMetricIpAddress,
4426 + ospfIfMetricAddressLessIf,
4428 + ::= { ospfIfMetricTable 1 }
4430 +OspfIfMetricEntry ::=
4432 + ospfIfMetricIpAddress
4434 + ospfIfMetricAddressLessIf
4440 + ospfIfMetricStatus
4444 + ospfIfMetricIpAddress OBJECT-TYPE
4446 + MAX-ACCESS read-only
4449 + "The IP address of this OSPF interface. On row
4450 + creation, this can be derived from the in-
4452 + ::= { ospfIfMetricEntry 1 }
4454 + ospfIfMetricAddressLessIf OBJECT-TYPE
4456 + MAX-ACCESS read-only
4459 + "For the purpose of easing the instancing of
4460 + addressed and addressless interfaces; This
4461 + variable takes the value 0 on interfaces with
4462 + IP Addresses, and the value of ifIndex for in-
4463 + terfaces having no IP Address. On row crea-
4464 + tion, this can be derived from the instance."
4465 + ::= { ospfIfMetricEntry 2 }
4468 + ospfIfMetricTOS OBJECT-TYPE
4470 + MAX-ACCESS read-only
4473 + "The type of service metric being referenced.
4474 + On row creation, this can be derived from the
4476 + ::= { ospfIfMetricEntry 3 }
4479 + ospfIfMetricValue OBJECT-TYPE
4481 + MAX-ACCESS read-create
4484 + "The metric of using this type of service on
4485 + this interface. The default value of the TOS 0
4486 + Metric is 10^8 / ifSpeed."
4487 + ::= { ospfIfMetricEntry 4 }
4489 + ospfIfMetricStatus OBJECT-TYPE
4491 + MAX-ACCESS read-create
4494 + "This variable displays the status of the en-
4495 + try. Setting it to 'invalid' has the effect of
4496 + rendering it inoperative. The internal effect
4497 + (row removal) is implementation dependent."
4498 + ::= { ospfIfMetricEntry 5 }
4501 +-- OSPF Virtual Interface Table
4503 +-- The Virtual Interface Table describes the virtual
4504 +-- links that the OSPF Process is configured to
4507 + ospfVirtIfTable OBJECT-TYPE
4508 + SYNTAX SEQUENCE OF OspfVirtIfEntry
4509 + MAX-ACCESS not-accessible
4512 + "Information about this router's virtual inter-
4515 + "OSPF Version 2, Appendix C.4 Virtual link
4520 + ospfVirtIfEntry OBJECT-TYPE
4521 + SYNTAX OspfVirtIfEntry
4522 + MAX-ACCESS not-accessible
4525 + "Information about a single Virtual Interface."
4526 + INDEX { ospfVirtIfAreaId, ospfVirtIfNeighbor }
4527 + ::= { ospfVirtIfTable 1 }
4529 +OspfVirtIfEntry ::=
4533 + ospfVirtIfNeighbor
4535 + ospfVirtIfTransitDelay
4537 + ospfVirtIfRetransInterval
4539 + ospfVirtIfHelloInterval
4541 + ospfVirtIfRtrDeadInterval
4547 + ospfVirtIfAuthType
4555 + ospfVirtIfAreaId OBJECT-TYPE
4557 + MAX-ACCESS read-only
4560 + "The Transit Area that the Virtual Link
4561 + traverses. By definition, this is not 0.0.0.0"
4562 + ::= { ospfVirtIfEntry 1 }
4565 + ospfVirtIfNeighbor OBJECT-TYPE
4567 + MAX-ACCESS read-only
4570 + "The Router ID of the Virtual Neighbor."
4571 + ::= { ospfVirtIfEntry 2 }
4574 + ospfVirtIfTransitDelay OBJECT-TYPE
4576 + MAX-ACCESS read-create
4579 + "The estimated number of seconds it takes to
4580 + transmit a link- state update packet over this
4583 + ::= { ospfVirtIfEntry 3 }
4586 + ospfVirtIfRetransInterval OBJECT-TYPE
4588 + MAX-ACCESS read-create
4591 + "The number of seconds between link-state ad-
4592 + vertisement retransmissions, for adjacencies
4593 + belonging to this interface. This value is
4594 + also used when retransmitting database descrip-
4595 + tion and link-state request packets. This
4596 + value should be well over the expected round-
4599 + ::= { ospfVirtIfEntry 4 }
4602 + ospfVirtIfHelloInterval OBJECT-TYPE
4604 + MAX-ACCESS read-create
4607 + "The length of time, in seconds, between the
4608 + Hello packets that the router sends on the in-
4609 + terface. This value must be the same for the
4610 + virtual neighbor."
4612 + ::= { ospfVirtIfEntry 5 }
4615 + ospfVirtIfRtrDeadInterval OBJECT-TYPE
4616 + SYNTAX PositiveInteger
4617 + MAX-ACCESS read-create
4620 + "The number of seconds that a router's Hello
4621 + packets have not been seen before it's neigh-
4622 + bors declare the router down. This should be
4623 + some multiple of the Hello interval. This
4624 + value must be the same for the virtual neigh-
4627 + ::= { ospfVirtIfEntry 6 }
4630 + ospfVirtIfState OBJECT-TYPE
4632 + down (1), -- these use the same encoding
4633 + pointToPoint (4) -- as the ospfIfTable
4635 + MAX-ACCESS read-only
4638 + "OSPF virtual interface states."
4640 + ::= { ospfVirtIfEntry 7 }
4643 + ospfVirtIfEvents OBJECT-TYPE
4645 + MAX-ACCESS read-only
4648 + "The number of state changes or error events on
4649 + this Virtual Link"
4650 + ::= { ospfVirtIfEntry 8 }
4653 + ospfVirtIfAuthKey OBJECT-TYPE
4654 + SYNTAX OCTET STRING (SIZE(0..256))
4655 + MAX-ACCESS read-create
4658 + "If Authentication Type is simplePassword, the
4659 + device will left adjust and zero fill to 8 oc-
4662 + Note that unauthenticated interfaces need no
4663 + authentication key, and simple password authen-
4664 + tication cannot use a key of more than 8 oc-
4665 + tets. Larger keys are useful only with authen-
4666 + tication mechanisms not specified in this docu-
4669 + When read, ospfVifAuthKey always returns a
4670 + string of length zero."
4672 + "OSPF Version 2, Section 9 The Interface Data
4674 + DEFVAL { '0000000000000000'H } -- 0.0.0.0.0.0.0.0
4675 + ::= { ospfVirtIfEntry 9 }
4678 + ospfVirtIfStatus OBJECT-TYPE
4680 + MAX-ACCESS read-create
4683 + "This variable displays the status of the en-
4684 + try. Setting it to 'invalid' has the effect of
4685 + rendering it inoperative. The internal effect
4686 + (row removal) is implementation dependent."
4687 + ::= { ospfVirtIfEntry 10 }
4690 + ospfVirtIfAuthType OBJECT-TYPE
4691 + SYNTAX INTEGER (0..255)
4693 + -- simplePassword (1)
4695 + -- reserved for specification by IANA (> 2)
4696 + MAX-ACCESS read-create
4699 + "The authentication type specified for a virtu-
4700 + al interface. Additional authentication types
4701 + may be assigned locally."
4703 + "OSPF Version 2, Appendix E Authentication"
4704 + DEFVAL { 0 } -- no authentication, by default
4705 + ::= { ospfVirtIfEntry 11 }
4708 +-- OSPF Neighbor Table
4710 +-- The OSPF Neighbor Table describes all neighbors in
4711 +-- the locality of the subject router.
4713 + ospfNbrTable OBJECT-TYPE
4714 + SYNTAX SEQUENCE OF OspfNbrEntry
4715 + MAX-ACCESS not-accessible
4718 + "A table of non-virtual neighbor information."
4720 + "OSPF Version 2, Section 10 The Neighbor Data
4725 + ospfNbrEntry OBJECT-TYPE
4726 + SYNTAX OspfNbrEntry
4727 + MAX-ACCESS not-accessible
4730 + "The information regarding a single neighbor."
4732 + "OSPF Version 2, Section 10 The Neighbor Data
4734 + INDEX { ospfNbrIpAddr, ospfNbrAddressLessIndex }
4735 + ::= { ospfNbrTable 1 }
4741 + ospfNbrAddressLessIndex
4748 + DesignatedRouterPriority,
4753 + ospfNbrLsRetransQLen
4757 + ospfNbmaNbrPermanence
4759 + ospfNbrHelloSuppressed
4763 + ospfNbrIpAddr OBJECT-TYPE
4765 + MAX-ACCESS read-only
4768 + "The IP address this neighbor is using in its
4769 + IP Source Address. Note that, on addressless
4770 + links, this will not be 0.0.0.0, but the ad-
4771 + dress of another of the neighbor's interfaces."
4772 + ::= { ospfNbrEntry 1 }
4775 + ospfNbrAddressLessIndex OBJECT-TYPE
4776 + SYNTAX InterfaceIndex
4777 + MAX-ACCESS read-only
4780 + "On an interface having an IP Address, zero.
4781 + On addressless interfaces, the corresponding
4782 + value of ifIndex in the Internet Standard MIB.
4783 + On row creation, this can be derived from the
4785 + ::= { ospfNbrEntry 2 }
4788 + ospfNbrRtrId OBJECT-TYPE
4790 + MAX-ACCESS read-only
4793 + "A 32-bit integer (represented as a type IpAd-
4794 + dress) uniquely identifying the neighboring
4795 + router in the Autonomous System."
4796 + DEFVAL { '00000000'H } -- 0.0.0.0
4797 + ::= { ospfNbrEntry 3 }
4800 + ospfNbrOptions OBJECT-TYPE
4802 + MAX-ACCESS read-only
4805 + "A Bit Mask corresponding to the neighbor's op-
4808 + Bit 0, if set, indicates that the system will
4809 + operate on Type of Service metrics other than
4810 + TOS 0. If zero, the neighbor will ignore all
4811 + metrics except the TOS 0 metric.
4813 + Bit 1, if set, indicates that the associated
4814 + area accepts and operates on external informa-
4815 + tion; if zero, it is a stub area.
4817 + Bit 2, if set, indicates that the system is ca-
4818 + pable of routing IP Multicast datagrams; i.e.,
4819 + that it implements the Multicast Extensions to
4822 + Bit 3, if set, indicates that the associated
4823 + area is an NSSA. These areas are capable of
4824 + carrying type 7 external advertisements, which
4825 + are translated into type 5 external advertise-
4826 + ments at NSSA borders."
4828 + "OSPF Version 2, Section 12.1.2 Options"
4830 + ::= { ospfNbrEntry 4 }
4833 + ospfNbrPriority OBJECT-TYPE
4834 + SYNTAX DesignatedRouterPriority
4835 + MAX-ACCESS read-create
4838 + "The priority of this neighbor in the designat-
4839 + ed router election algorithm. The value 0 sig-
4840 + nifies that the neighbor is not eligible to be-
4841 + come the designated router on this particular
4844 + ::= { ospfNbrEntry 5 }
4847 + ospfNbrState OBJECT-TYPE
4853 + exchangeStart (5),
4858 + MAX-ACCESS read-only
4861 + "The State of the relationship with this Neigh-
4864 + "OSPF Version 2, Section 10.1 Neighbor States"
4866 + ::= { ospfNbrEntry 6 }
4869 + ospfNbrEvents OBJECT-TYPE
4871 + MAX-ACCESS read-only
4874 + "The number of times this neighbor relationship
4875 + has changed state, or an error has occurred."
4876 + ::= { ospfNbrEntry 7 }
4879 + ospfNbrLsRetransQLen OBJECT-TYPE
4881 + MAX-ACCESS read-only
4884 + "The current length of the retransmission
4886 + ::= { ospfNbrEntry 8 }
4889 + ospfNbmaNbrStatus OBJECT-TYPE
4891 + MAX-ACCESS read-create
4894 + "This variable displays the status of the en-
4895 + try. Setting it to 'invalid' has the effect of
4896 + rendering it inoperative. The internal effect
4897 + (row removal) is implementation dependent."
4898 + ::= { ospfNbrEntry 9 }
4901 + ospfNbmaNbrPermanence OBJECT-TYPE
4903 + dynamic (1), -- learned through protocol
4904 + permanent (2) -- configured address
4906 + MAX-ACCESS read-only
4909 + "This variable displays the status of the en-
4910 + try. 'dynamic' and 'permanent' refer to how
4911 + the neighbor became known."
4912 + DEFVAL { permanent }
4913 + ::= { ospfNbrEntry 10 }
4916 + ospfNbrHelloSuppressed OBJECT-TYPE
4918 + MAX-ACCESS read-only
4921 + "Indicates whether Hellos are being suppressed
4923 + ::= { ospfNbrEntry 11 }
4926 +-- OSPF Virtual Neighbor Table
4928 +-- This table describes all virtual neighbors.
4929 +-- Since Virtual Links are configured in the
4930 +-- virtual interface table, this table is read-only.
4932 + ospfVirtNbrTable OBJECT-TYPE
4933 + SYNTAX SEQUENCE OF OspfVirtNbrEntry
4934 + MAX-ACCESS not-accessible
4937 + "A table of virtual neighbor information."
4939 + "OSPF Version 2, Section 15 Virtual Links"
4943 + ospfVirtNbrEntry OBJECT-TYPE
4944 + SYNTAX OspfVirtNbrEntry
4945 + MAX-ACCESS not-accessible
4948 + "Virtual neighbor information."
4949 + INDEX { ospfVirtNbrArea, ospfVirtNbrRtrId }
4950 + ::= { ospfVirtNbrTable 1 }
4952 +OspfVirtNbrEntry ::=
4960 + ospfVirtNbrOptions
4966 + ospfVirtNbrLsRetransQLen
4968 + ospfVirtNbrHelloSuppressed
4972 + ospfVirtNbrArea OBJECT-TYPE
4974 + MAX-ACCESS read-only
4977 + "The Transit Area Identifier."
4978 + ::= { ospfVirtNbrEntry 1 }
4981 + ospfVirtNbrRtrId OBJECT-TYPE
4983 + MAX-ACCESS read-only
4986 + "A 32-bit integer uniquely identifying the
4987 + neighboring router in the Autonomous System."
4988 + ::= { ospfVirtNbrEntry 2 }
4991 + ospfVirtNbrIpAddr OBJECT-TYPE
4993 + MAX-ACCESS read-only
4996 + "The IP address this Virtual Neighbor is us-
4998 + ::= { ospfVirtNbrEntry 3 }
5001 + ospfVirtNbrOptions OBJECT-TYPE
5003 + MAX-ACCESS read-only
5006 + "A Bit Mask corresponding to the neighbor's op-
5009 + Bit 1, if set, indicates that the system will
5010 + operate on Type of Service metrics other than
5011 + TOS 0. If zero, the neighbor will ignore all
5012 + metrics except the TOS 0 metric.
5014 + Bit 2, if set, indicates that the system is
5015 + Network Multicast capable; ie, that it imple-
5016 + ments OSPF Multicast Routing."
5017 + ::= { ospfVirtNbrEntry 4 }
5018 + ospfVirtNbrState OBJECT-TYPE
5024 + exchangeStart (5),
5029 + MAX-ACCESS read-only
5032 + "The state of the Virtual Neighbor Relation-
5034 + ::= { ospfVirtNbrEntry 5 }
5037 + ospfVirtNbrEvents OBJECT-TYPE
5039 + MAX-ACCESS read-only
5042 + "The number of times this virtual link has
5043 + changed its state, or an error has occurred."
5044 + ::= { ospfVirtNbrEntry 6 }
5047 + ospfVirtNbrLsRetransQLen OBJECT-TYPE
5049 + MAX-ACCESS read-only
5052 + "The current length of the retransmission
5054 + ::= { ospfVirtNbrEntry 7 }
5057 + ospfVirtNbrHelloSuppressed OBJECT-TYPE
5059 + MAX-ACCESS read-only
5062 + "Indicates whether Hellos are being suppressed
5064 + ::= { ospfVirtNbrEntry 8 }
5066 +-- OSPF Link State Database, External
5068 +-- The Link State Database contains the Link State
5069 +-- Advertisements from throughout the areas that the
5070 +-- device is attached to.
5072 +-- This table is identical to the OSPF LSDB Table in
5073 +-- format, but contains only External Link State
5074 +-- Advertisements. The purpose is to allow external
5075 +-- LSAs to be displayed once for the router rather
5076 +-- than once in each non-stub area.
5078 + ospfExtLsdbTable OBJECT-TYPE
5079 + SYNTAX SEQUENCE OF OspfExtLsdbEntry
5080 + MAX-ACCESS not-accessible
5083 + "The OSPF Process's Links State Database."
5085 + "OSPF Version 2, Section 12 Link State Adver-
5090 + ospfExtLsdbEntry OBJECT-TYPE
5091 + SYNTAX OspfExtLsdbEntry
5092 + MAX-ACCESS not-accessible
5095 + "A single Link State Advertisement."
5096 + INDEX { ospfExtLsdbType, ospfExtLsdbLsid, ospfExtLsdbRouterId }
5097 + ::= { ospfExtLsdbTable 1 }
5099 +OspfExtLsdbEntry ::=
5105 + ospfExtLsdbRouterId
5107 + ospfExtLsdbSequence
5111 + ospfExtLsdbChecksum
5113 + ospfExtLsdbAdvertisement
5117 + ospfExtLsdbType OBJECT-TYPE
5119 + asExternalLink (5)
5121 + MAX-ACCESS read-only
5124 + "The type of the link state advertisement.
5125 + Each link state type has a separate advertise-
5128 + "OSPF Version 2, Appendix A.4.1 The Link State
5129 + Advertisement header"
5130 + ::= { ospfExtLsdbEntry 1 }
5133 + ospfExtLsdbLsid OBJECT-TYPE
5135 + MAX-ACCESS read-only
5138 + "The Link State ID is an LS Type Specific field
5139 + containing either a Router ID or an IP Address;
5140 + it identifies the piece of the routing domain
5141 + that is being described by the advertisement."
5143 + "OSPF Version 2, Section 12.1.4 Link State ID"
5144 + ::= { ospfExtLsdbEntry 2 }
5147 + ospfExtLsdbRouterId OBJECT-TYPE
5149 + MAX-ACCESS read-only
5152 + "The 32 bit number that uniquely identifies the
5153 + originating router in the Autonomous System."
5155 + "OSPF Version 2, Appendix C.1 Global parameters"
5156 + ::= { ospfExtLsdbEntry 3 }
5158 +-- Note that the OSPF Sequence Number is a 32 bit signed
5159 +-- integer. It starts with the value '80000001'h,
5160 +-- or -'7FFFFFFF'h, and increments until '7FFFFFFF'h
5161 +-- Thus, a typical sequence number will be very negative.
5162 + ospfExtLsdbSequence OBJECT-TYPE
5164 + MAX-ACCESS read-only
5167 + "The sequence number field is a signed 32-bit
5168 + integer. It is used to detect old and dupli-
5169 + cate link state advertisements. The space of
5170 + sequence numbers is linearly ordered. The
5171 + larger the sequence number the more recent the
5174 + "OSPF Version 2, Section 12.1.6 LS sequence
5176 + ::= { ospfExtLsdbEntry 4 }
5179 + ospfExtLsdbAge OBJECT-TYPE
5180 + SYNTAX Integer32 -- Should be 0..MaxAge
5181 + MAX-ACCESS read-only
5184 + "This field is the age of the link state adver-
5185 + tisement in seconds."
5187 + "OSPF Version 2, Section 12.1.1 LS age"
5188 + ::= { ospfExtLsdbEntry 5 }
5191 + ospfExtLsdbChecksum OBJECT-TYPE
5193 + MAX-ACCESS read-only
5196 + "This field is the checksum of the complete
5197 + contents of the advertisement, excepting the
5198 + age field. The age field is excepted so that
5199 + an advertisement's age can be incremented
5200 + without updating the checksum. The checksum
5201 + used is the same that is used for ISO connec-
5202 + tionless datagrams; it is commonly referred to
5203 + as the Fletcher checksum."
5205 + "OSPF Version 2, Section 12.1.7 LS checksum"
5206 + ::= { ospfExtLsdbEntry 6 }
5209 + ospfExtLsdbAdvertisement OBJECT-TYPE
5210 + SYNTAX OCTET STRING (SIZE(36))
5211 + MAX-ACCESS read-only
5214 + "The entire Link State Advertisement, including
5217 + "OSPF Version 2, Section 12 Link State Adver-
5219 + ::= { ospfExtLsdbEntry 7 }
5222 +-- OSPF Use of the CIDR Route Table
5224 +ospfRouteGroup OBJECT IDENTIFIER ::= { ospf 13 }
5226 +-- The IP Forwarding Table defines a number of objects for use by
5227 +-- the routing protocol to externalize its information. Most of
5228 +-- the variables (ipForwardDest, ipForwardMask, ipForwardPolicy,
5229 +-- ipForwardNextHop, ipForwardIfIndex, ipForwardType,
5230 +-- ipForwardProto, ipForwardAge, and ipForwardNextHopAS) are
5233 +-- Those that leave some discretion are defined here.
5235 +-- ipCidrRouteProto is, of course, ospf (13).
5237 +-- ipCidrRouteAge is the time since the route was first calculated,
5238 +-- as opposed to the time since the last SPF run.
5240 +-- ipCidrRouteInfo is an OBJECT IDENTIFIER for use by the routing
5241 +-- protocol. The following values shall be found there depending
5242 +-- on the way the route was calculated.
5244 +ospfIntraArea OBJECT IDENTIFIER ::= { ospfRouteGroup 1 }
5245 +ospfInterArea OBJECT IDENTIFIER ::= { ospfRouteGroup 2 }
5246 +ospfExternalType1 OBJECT IDENTIFIER ::= { ospfRouteGroup 3 }
5247 +ospfExternalType2 OBJECT IDENTIFIER ::= { ospfRouteGroup 4 }
5249 +-- ipCidrRouteMetric1 is, by definition, the primary routing
5250 +-- metric. Therefore, it should be the metric that route
5251 +-- selection is based on. For intra-area and inter-area routes,
5252 +-- it is an OSPF metric. For External Type 1 (comparable value)
5253 +-- routes, it is an OSPF metric plus the External Metric. For
5254 +-- external Type 2 (non-comparable value) routes, it is the
5255 +-- external metric.
5257 +-- ipCidrRouteMetric2 is, by definition, a secondary routing
5258 +-- metric. Therefore, it should be the metric that breaks a tie
5259 +-- among routes having equal metric1 values and the same
5260 +-- calculation rule. For intra-area, inter-area routes, and
5261 +-- External Type 1 (comparable value) routes, it is unused. For
5262 +-- external Type 2 (non-comparable value) routes, it is the metric
5263 +-- to the AS border router.
5265 +-- ipCidrRouteMetric3, ipCidrRouteMetric4, and ipCidrRouteMetric5 are
5269 +-- The OSPF Area Aggregate Table
5271 +-- This table replaces the OSPF Area Summary Table, being an
5272 +-- extension of that for CIDR routers.
5274 + ospfAreaAggregateTable OBJECT-TYPE
5275 + SYNTAX SEQUENCE OF OspfAreaAggregateEntry
5276 + MAX-ACCESS not-accessible
5279 + "A range of IP addresses specified by an IP
5280 + address/IP network mask pair. For example,
5281 + class B address range of X.X.X.X with a network
5282 + mask of 255.255.0.0 includes all IP addresses
5283 + from X.X.0.0 to X.X.255.255. Note that if
5284 + ranges are configured such that one range sub-
5285 + sumes another range (e.g., 10.0.0.0 mask
5286 + 255.0.0.0 and 10.1.0.0 mask 255.255.0.0), the
5287 + most specific match is the preferred one."
5289 + "OSPF Version 2, Appendix C.2 Area parameters"
5293 + ospfAreaAggregateEntry OBJECT-TYPE
5294 + SYNTAX OspfAreaAggregateEntry
5295 + MAX-ACCESS not-accessible
5298 + "A range of IP addresses specified by an IP
5299 + address/IP network mask pair. For example,
5300 + class B address range of X.X.X.X with a network
5301 + mask of 255.255.0.0 includes all IP addresses
5302 + from X.X.0.0 to X.X.255.255. Note that if
5303 + ranges are range configured such that one range
5304 + subsumes another range (e.g., 10.0.0.0 mask
5305 + 255.0.0.0 and 10.1.0.0 mask 255.255.0.0), the
5306 + most specific match is the preferred one."
5308 + "OSPF Version 2, Appendix C.2 Area parameters"
5309 + INDEX { ospfAreaAggregateAreaID, ospfAreaAggregateLsdbType,
5310 + ospfAreaAggregateNet, ospfAreaAggregateMask }
5311 + ::= { ospfAreaAggregateTable 1 }
5314 +OspfAreaAggregateEntry ::=
5316 + ospfAreaAggregateAreaID
5318 + ospfAreaAggregateLsdbType
5320 + ospfAreaAggregateNet
5322 + ospfAreaAggregateMask
5324 + ospfAreaAggregateStatus
5326 + ospfAreaAggregateEffect
5330 + ospfAreaAggregateAreaID OBJECT-TYPE
5332 + MAX-ACCESS read-only
5335 + "The Area the Address Aggregate is to be found
5338 + "OSPF Version 2, Appendix C.2 Area parameters"
5339 + ::= { ospfAreaAggregateEntry 1 }
5342 + ospfAreaAggregateLsdbType OBJECT-TYPE
5345 + nssaExternalLink (7)
5347 + MAX-ACCESS read-only
5350 + "The type of the Address Aggregate. This field
5351 + specifies the Lsdb type that this Address Ag-
5352 + gregate applies to."
5354 + "OSPF Version 2, Appendix A.4.1 The Link State
5355 + Advertisement header"
5356 + ::= { ospfAreaAggregateEntry 2 }
5359 + ospfAreaAggregateNet OBJECT-TYPE
5361 + MAX-ACCESS read-only
5364 + "The IP Address of the Net or Subnet indicated
5367 + "OSPF Version 2, Appendix C.2 Area parameters"
5368 + ::= { ospfAreaAggregateEntry 3 }
5371 + ospfAreaAggregateMask OBJECT-TYPE
5373 + MAX-ACCESS read-only
5376 + "The Subnet Mask that pertains to the Net or
5379 + "OSPF Version 2, Appendix C.2 Area parameters"
5380 + ::= { ospfAreaAggregateEntry 4 }
5383 + ospfAreaAggregateStatus OBJECT-TYPE
5385 + MAX-ACCESS read-create
5388 + "This variable displays the status of the en-
5389 + try. Setting it to 'invalid' has the effect of
5390 + rendering it inoperative. The internal effect
5391 + (row removal) is implementation dependent."
5392 + ::= { ospfAreaAggregateEntry 5 }
5395 + ospfAreaAggregateEffect OBJECT-TYPE
5397 + advertiseMatching (1),
5398 + doNotAdvertiseMatching (2)
5400 + MAX-ACCESS read-create
5403 + "Subnets subsumed by ranges either trigger the
5404 + advertisement of the indicated aggregate (ad-
5405 + vertiseMatching), or result in the subnet's not
5406 + being advertised at all outside the area."
5407 + DEFVAL { advertiseMatching }
5408 + ::= { ospfAreaAggregateEntry 6 }
5411 +-- conformance information
5413 +ospfConformance OBJECT IDENTIFIER ::= { ospf 15 }
5415 +ospfGroups OBJECT IDENTIFIER ::= { ospfConformance 1 }
5416 +ospfCompliances OBJECT IDENTIFIER ::= { ospfConformance 2 }
5418 +-- compliance statements
5420 + ospfCompliance MODULE-COMPLIANCE
5423 + "The compliance statement "
5424 + MODULE -- this module
5425 + MANDATORY-GROUPS {
5428 + ospfStubAreaGroup,
5430 + ospfIfMetricGroup,
5434 + ospfAreaAggregateGroup
5436 + ::= { ospfCompliances 1 }
5439 +-- units of conformance
5441 + ospfBasicGroup OBJECT-GROUP
5445 + ospfVersionNumber,
5446 + ospfAreaBdrRtrStatus,
5447 + ospfASBdrRtrStatus,
5448 + ospfExternLsaCount,
5449 + ospfExternLsaCksumSum,
5451 + ospfOriginateNewLsas,
5454 + ospfMulticastExtensions,
5455 + ospfExitOverflowInterval,
5456 + ospfDemandExtensions
5460 + "These objects are required for OSPF systems."
5461 + ::= { ospfGroups 1 }
5464 + ospfAreaGroup OBJECT-GROUP
5467 + ospfImportAsExtern,
5469 + ospfAreaBdrRtrCount,
5470 + ospfAsBdrRtrCount,
5472 + ospfAreaLsaCksumSum,
5478 + "These objects are required for OSPF systems
5479 + supporting areas."
5480 + ::= { ospfGroups 2 }
5483 + ospfStubAreaGroup OBJECT-GROUP
5489 + ospfStubMetricType
5493 + "These objects are required for OSPF systems
5494 + supporting stub areas."
5495 + ::= { ospfGroups 3 }
5498 + ospfLsdbGroup OBJECT-GROUP
5507 + ospfLsdbAdvertisement
5511 + "These objects are required for OSPF systems
5512 + that display their link state database."
5513 + ::= { ospfGroups 4 }
5516 + ospfAreaRangeGroup OBJECT-GROUP
5518 + ospfAreaRangeAreaId,
5520 + ospfAreaRangeMask,
5521 + ospfAreaRangeStatus,
5522 + ospfAreaRangeEffect
5526 + "These objects are required for non-CIDR OSPF
5527 + systems that support multiple areas."
5528 + ::= { ospfGroups 5 }
5531 + ospfHostGroup OBJECT-GROUP
5533 + ospfHostIpAddress,
5541 + "These objects are required for OSPF systems
5542 + that support attached hosts."
5543 + ::= { ospfGroups 6 }
5546 + ospfIfGroup OBJECT-GROUP
5549 + ospfAddressLessIf,
5553 + ospfIfRtrPriority,
5554 + ospfIfTransitDelay,
5555 + ospfIfRetransInterval,
5556 + ospfIfHelloInterval,
5557 + ospfIfRtrDeadInterval,
5558 + ospfIfPollInterval,
5560 + ospfIfDesignatedRouter,
5561 + ospfIfBackupDesignatedRouter,
5566 + ospfIfMulticastForwarding,
5571 + "These objects are required for OSPF systems."
5572 + ::= { ospfGroups 7 }
5575 + ospfIfMetricGroup OBJECT-GROUP
5577 + ospfIfMetricIpAddress,
5578 + ospfIfMetricAddressLessIf,
5580 + ospfIfMetricValue,
5581 + ospfIfMetricStatus
5585 + "These objects are required for OSPF systems."
5586 + ::= { ospfGroups 8 }
5589 + ospfVirtIfGroup OBJECT-GROUP
5592 + ospfVirtIfNeighbor,
5593 + ospfVirtIfTransitDelay,
5594 + ospfVirtIfRetransInterval,
5595 + ospfVirtIfHelloInterval,
5596 + ospfVirtIfRtrDeadInterval,
5599 + ospfVirtIfAuthType,
5600 + ospfVirtIfAuthKey,
5605 + "These objects are required for OSPF systems."
5606 + ::= { ospfGroups 9 }
5609 + ospfNbrGroup OBJECT-GROUP
5612 + ospfNbrAddressLessIndex,
5618 + ospfNbrLsRetransQLen,
5619 + ospfNbmaNbrStatus,
5620 + ospfNbmaNbrPermanence,
5621 + ospfNbrHelloSuppressed
5625 + "These objects are required for OSPF systems."
5626 + ::= { ospfGroups 10 }
5629 + ospfVirtNbrGroup OBJECT-GROUP
5633 + ospfVirtNbrIpAddr,
5634 + ospfVirtNbrOptions,
5636 + ospfVirtNbrEvents,
5637 + ospfVirtNbrLsRetransQLen,
5638 + ospfVirtNbrHelloSuppressed
5642 + "These objects are required for OSPF systems."
5643 + ::= { ospfGroups 11 }
5646 + ospfExtLsdbGroup OBJECT-GROUP
5650 + ospfExtLsdbRouterId,
5651 + ospfExtLsdbSequence,
5653 + ospfExtLsdbChecksum,
5654 + ospfExtLsdbAdvertisement
5658 + "These objects are required for OSPF systems
5659 + that display their link state database."
5660 + ::= { ospfGroups 12 }
5663 + ospfAreaAggregateGroup OBJECT-GROUP
5665 + ospfAreaAggregateAreaID,
5666 + ospfAreaAggregateLsdbType,
5667 + ospfAreaAggregateNet,
5668 + ospfAreaAggregateMask,
5669 + ospfAreaAggregateStatus,
5670 + ospfAreaAggregateEffect
5674 + "These objects are required for OSPF systems."
5675 + ::= { ospfGroups 13 }
5678 diff -ruN net-snmp-5.1.2-orig/mibs/OSPF-TRAP-MIB.txt net-snmp-5.1.2-5/mibs/OSPF-TRAP-MIB.txt
5679 --- net-snmp-5.1.2-orig/mibs/OSPF-TRAP-MIB.txt 1970-01-01 01:00:00.000000000 +0100
5680 +++ net-snmp-5.1.2-5/mibs/OSPF-TRAP-MIB.txt 2005-03-13 16:17:21.000000000 +0100
5682 +OSPF-TRAP-MIB DEFINITIONS ::= BEGIN
5685 + MODULE-IDENTITY, OBJECT-TYPE, NOTIFICATION-TYPE, IpAddress
5687 + MODULE-COMPLIANCE, OBJECT-GROUP
5689 + ospfRouterId, ospfIfIpAddress, ospfAddressLessIf, ospfIfState,
5690 + ospfVirtIfAreaId, ospfVirtIfNeighbor, ospfVirtIfState,
5691 + ospfNbrIpAddr, ospfNbrAddressLessIndex, ospfNbrRtrId,
5692 + ospfNbrState, ospfVirtNbrArea, ospfVirtNbrRtrId, ospfVirtNbrState,
5693 + ospfLsdbType, ospfLsdbLsid, ospfLsdbRouterId, ospfLsdbAreaId,
5694 + ospfExtLsdbLimit, ospf
5697 + ospfTrap MODULE-IDENTITY
5698 + LAST-UPDATED "9501201225Z" -- Fri Jan 20 12:25:50 PST 1995
5699 + ORGANIZATION "IETF OSPF Working Group"
5702 + Postal: Cisco Systems
5704 + Santa Barbara, California 93111
5705 + Tel: +1 805 681 0115
5706 + E-Mail: fred@cisco.com
5709 + Postal: RainbowBridge Communications
5710 + Tel: (301) 340-9416
5711 + E-Mail: rcoltun@rainbow-bridge.com"
5713 + "The MIB module to describe traps for the OSPF
5714 + Version 2 Protocol."
5717 +-- Trap Support Objects
5719 +-- The following are support objects for the OSPF traps.
5721 +ospfTrapControl OBJECT IDENTIFIER ::= { ospfTrap 1 }
5722 +ospfTraps OBJECT IDENTIFIER ::= { ospfTrap 2 }
5724 + ospfSetTrap OBJECT-TYPE
5725 + SYNTAX OCTET STRING (SIZE(4))
5726 + MAX-ACCESS read-write
5729 + "A four-octet string serving as a bit map for
5730 + the trap events defined by the OSPF traps. This
5731 + object is used to enable and disable specific
5732 + OSPF traps where a 1 in the bit field
5733 + represents enabled. The right-most bit (least
5734 + significant) represents trap 0."
5735 + ::= { ospfTrapControl 1 }
5738 + ospfConfigErrorType OBJECT-TYPE
5742 + unknownNbmaNbr (3), -- Router is Dr eligible
5743 + unknownVirtualNbr (4),
5744 + authTypeMismatch(5),
5746 + netMaskMismatch (7),
5747 + helloIntervalMismatch (8),
5748 + deadIntervalMismatch (9),
5749 + optionMismatch (10) }
5750 + MAX-ACCESS read-only
5753 + "Potential types of configuration conflicts.
5754 + Used by the ospfConfigError and ospfConfigVir-
5756 + ::= { ospfTrapControl 2 }
5759 + ospfPacketType OBJECT-TYPE
5766 + MAX-ACCESS read-only
5769 + "OSPF packet types."
5770 + ::= { ospfTrapControl 3 }
5773 + ospfPacketSrc OBJECT-TYPE
5775 + MAX-ACCESS read-only
5778 + "The IP address of an inbound packet that can-
5779 + not be identified by a neighbor instance."
5780 + ::= { ospfTrapControl 4 }
5786 + ospfIfStateChange NOTIFICATION-TYPE
5788 + ospfRouterId, -- The originator of the trap
5790 + ospfAddressLessIf,
5791 + ospfIfState -- The new state
5795 + "An ospfIfStateChange trap signifies that there
5796 + has been a change in the state of a non-virtual
5797 + OSPF interface. This trap should be generated
5798 + when the interface state regresses (e.g., goes
5799 + from Dr to Down) or progresses to a terminal
5800 + state (i.e., Point-to-Point, DR Other, Dr, or
5802 + ::= { ospfTraps 16 }
5805 + ospfVirtIfStateChange NOTIFICATION-TYPE
5807 + ospfRouterId, -- The originator of the trap
5809 + ospfVirtIfNeighbor,
5810 + ospfVirtIfState -- The new state
5814 + "An ospfIfStateChange trap signifies that there
5815 + has been a change in the state of an OSPF vir-
5817 + This trap should be generated when the inter-
5818 + face state regresses (e.g., goes from Point-
5819 + to-Point to Down) or progresses to a terminal
5820 + state (i.e., Point-to-Point)."
5821 + ::= { ospfTraps 1 }
5824 + ospfNbrStateChange NOTIFICATION-TYPE
5826 + ospfRouterId, -- The originator of the trap
5828 + ospfNbrAddressLessIndex,
5830 + ospfNbrState -- The new state
5834 + "An ospfNbrStateChange trap signifies that
5835 + there has been a change in the state of a non-
5836 + virtual OSPF neighbor. This trap should be
5837 + generated when the neighbor state regresses
5838 + (e.g., goes from Attempt or Full to 1-Way or
5839 + Down) or progresses to a terminal state (e.g.,
5840 + 2-Way or Full). When an neighbor transitions
5841 + from or to Full on non-broadcast multi-access
5842 + and broadcast networks, the trap should be gen-
5843 + erated by the designated router. A designated
5844 + router transitioning to Down will be noted by
5845 + ospfIfStateChange."
5846 + ::= { ospfTraps 2 }
5849 + ospfVirtNbrStateChange NOTIFICATION-TYPE
5851 + ospfRouterId, -- The originator of the trap
5854 + ospfVirtNbrState -- The new state
5858 + "An ospfIfStateChange trap signifies that there
5859 + has been a change in the state of an OSPF vir-
5860 + tual neighbor. This trap should be generated
5861 + when the neighbor state regresses (e.g., goes
5862 + from Attempt or Full to 1-Way or Down) or
5863 + progresses to a terminal state (e.g., Full)."
5864 + ::= { ospfTraps 3 }
5865 + ospfIfConfigError NOTIFICATION-TYPE
5867 + ospfRouterId, -- The originator of the trap
5869 + ospfAddressLessIf,
5870 + ospfPacketSrc, -- The source IP address
5871 + ospfConfigErrorType, -- Type of error
5876 + "An ospfIfConfigError trap signifies that a
5877 + packet has been received on a non-virtual in-
5878 + terface from a router whose configuration
5879 + parameters conflict with this router's confi-
5880 + guration parameters. Note that the event op-
5881 + tionMismatch should cause a trap only if it
5882 + prevents an adjacency from forming."
5883 + ::= { ospfTraps 4 }
5886 + ospfVirtIfConfigError NOTIFICATION-TYPE
5888 + ospfRouterId, -- The originator of the trap
5890 + ospfVirtIfNeighbor,
5891 + ospfConfigErrorType, -- Type of error
5896 + "An ospfConfigError trap signifies that a pack-
5897 + et has been received on a virtual interface
5898 + from a router whose configuration parameters
5899 + conflict with this router's configuration
5900 + parameters. Note that the event optionMismatch
5901 + should cause a trap only if it prevents an ad-
5902 + jacency from forming."
5903 + ::= { ospfTraps 5 }
5906 + ospfIfAuthFailure NOTIFICATION-TYPE
5908 + ospfRouterId, -- The originator of the trap
5910 + ospfAddressLessIf,
5911 + ospfPacketSrc, -- The source IP address
5912 + ospfConfigErrorType, -- authTypeMismatch or
5918 + "An ospfIfAuthFailure trap signifies that a
5919 + packet has been received on a non-virtual in-
5920 + terface from a router whose authentication key
5921 + or authentication type conflicts with this
5922 + router's authentication key or authentication
5924 + ::= { ospfTraps 6 }
5927 + ospfVirtIfAuthFailure NOTIFICATION-TYPE
5929 + ospfRouterId, -- The originator of the trap
5931 + ospfVirtIfNeighbor,
5932 + ospfConfigErrorType, -- authTypeMismatch or
5938 + "An ospfVirtIfAuthFailure trap signifies that a
5939 + packet has been received on a virtual interface
5940 + from a router whose authentication key or au-
5941 + thentication type conflicts with this router's
5942 + authentication key or authentication type."
5943 + ::= { ospfTraps 7 }
5946 + ospfIfRxBadPacket NOTIFICATION-TYPE
5948 + ospfRouterId, -- The originator of the trap
5950 + ospfAddressLessIf,
5951 + ospfPacketSrc, -- The source IP address
5956 + "An ospfIfRxBadPacket trap signifies that an
5957 + OSPF packet has been received on a non-virtual
5958 + interface that cannot be parsed."
5959 + ::= { ospfTraps 8 }
5961 + ospfVirtIfRxBadPacket NOTIFICATION-TYPE
5963 + ospfRouterId, -- The originator of the trap
5965 + ospfVirtIfNeighbor,
5970 + "An ospfRxBadPacket trap signifies that an OSPF
5971 + packet has been received on a virtual interface
5972 + that cannot be parsed."
5973 + ::= { ospfTraps 9 }
5976 + ospfTxRetransmit NOTIFICATION-TYPE
5978 + ospfRouterId, -- The originator of the trap
5980 + ospfAddressLessIf,
5981 + ospfNbrRtrId, -- Destination
5989 + "An ospfTxRetransmit trap signifies than an
5990 + OSPF packet has been retransmitted on a non-
5991 + virtual interface. All packets that may be re-
5992 + transmitted are associated with an LSDB entry.
5993 + The LS type, LS ID, and Router ID are used to
5994 + identify the LSDB entry."
5995 + ::= { ospfTraps 10 }
5998 + ospfVirtIfTxRetransmit NOTIFICATION-TYPE
6000 + ospfRouterId, -- The originator of the trap
6002 + ospfVirtIfNeighbor,
6010 + "An ospfTxRetransmit trap signifies than an
6011 + OSPF packet has been retransmitted on a virtual
6012 + interface. All packets that may be retransmit-
6013 + ted are associated with an LSDB entry. The LS
6014 + type, LS ID, and Router ID are used to identify
6016 + ::= { ospfTraps 11 }
6019 + ospfOriginateLsa NOTIFICATION-TYPE
6021 + ospfRouterId, -- The originator of the trap
6022 + ospfLsdbAreaId, -- 0.0.0.0 for AS Externals
6029 + "An ospfOriginateLsa trap signifies that a new
6030 + LSA has been originated by this router. This
6031 + trap should not be invoked for simple refreshes
6032 + of LSAs (which happesn every 30 minutes), but
6033 + instead will only be invoked when an LSA is
6034 + (re)originated due to a topology change. Addi-
6035 + tionally, this trap does not include LSAs that
6036 + are being flushed because they have reached
6038 + ::= { ospfTraps 12 }
6041 + ospfMaxAgeLsa NOTIFICATION-TYPE
6043 + ospfRouterId, -- The originator of the trap
6044 + ospfLsdbAreaId, -- 0.0.0.0 for AS Externals
6051 + "An ospfMaxAgeLsa trap signifies that one of
6052 + the LSA in the router's link-state database has
6054 + ::= { ospfTraps 13 }
6057 + ospfLsdbOverflow NOTIFICATION-TYPE
6059 + ospfRouterId, -- The originator of the trap
6064 + "An ospfLsdbOverflow trap signifies that the
6065 + number of LSAs in the router's link-state data-
6066 + base has exceeded ospfExtLsdbLimit."
6067 + ::= { ospfTraps 14 }
6070 + ospfLsdbApproachingOverflow NOTIFICATION-TYPE
6072 + ospfRouterId, -- The originator of the trap
6077 + "An ospfLsdbApproachingOverflow trap signifies
6078 + that the number of LSAs in the router's link-
6079 + state database has exceeded ninety percent of
6080 + ospfExtLsdbLimit."
6081 + ::= { ospfTraps 15 }
6084 +-- conformance information
6086 +ospfTrapConformance OBJECT IDENTIFIER ::= { ospfTrap 3 }
6088 +ospfTrapGroups OBJECT IDENTIFIER ::= { ospfTrapConformance 1 }
6089 +ospfTrapCompliances OBJECT IDENTIFIER ::= { ospfTrapConformance 2 }
6091 +-- compliance statements
6093 + ospfTrapCompliance MODULE-COMPLIANCE
6096 + "The compliance statement "
6097 + MODULE -- this module
6098 + MANDATORY-GROUPS { ospfTrapControlGroup }
6101 + GROUP ospfTrapControlGroup
6103 + "This group is optional but recommended for all
6105 + ::= { ospfTrapCompliances 1 }
6108 +-- units of conformance
6110 + ospfTrapControlGroup OBJECT-GROUP
6113 + ospfConfigErrorType,
6119 + "These objects are required to control traps
6120 + from OSPF systems."
6121 + ::= { ospfTrapGroups 1 }
6125 diff -ruN net-snmp-5.1.2-orig/mibs/RIPv2-MIB.txt net-snmp-5.1.2-5/mibs/RIPv2-MIB.txt
6126 --- net-snmp-5.1.2-orig/mibs/RIPv2-MIB.txt 1970-01-01 01:00:00.000000000 +0100
6127 +++ net-snmp-5.1.2-5/mibs/RIPv2-MIB.txt 2005-03-13 16:17:21.000000000 +0100
6129 + RIPv2-MIB DEFINITIONS ::= BEGIN
6132 + MODULE-IDENTITY, OBJECT-TYPE, Counter32,
6133 + TimeTicks, IpAddress FROM SNMPv2-SMI
6134 + TEXTUAL-CONVENTION, RowStatus FROM SNMPv2-TC
6135 + MODULE-COMPLIANCE, OBJECT-GROUP FROM SNMPv2-CONF
6136 + mib-2 FROM RFC1213-MIB;
6138 + -- This MIB module uses the extended OBJECT-TYPE macro as
6139 + -- defined in [9].
6141 + rip2 MODULE-IDENTITY
6142 + LAST-UPDATED "9407272253Z" -- Wed Jul 27 22:53:04 PDT 1994
6143 + ORGANIZATION "IETF RIP-II Working Group"
6146 + Postal: Cisco Systems
6148 + Santa Barbara, California 93111
6149 + Tel: +1 805 681 0115
6150 + E-Mail: fbaker@cisco.com
6152 + Postal: Gary Malkin
6155 + Burlington, MA 01803
6157 + Phone: (617) 272-8140
6158 + EMail: gmalkin@Xylogics.COM"
6160 + "The MIB module to describe the RIP2 Version 2 Protocol"
6163 + -- RIP-2 Management Information Base
6165 + -- the RouteTag type represents the contents of the
6166 + -- Route Domain field in the packet header or route entry.
6167 + -- The use of the Route Domain is deprecated.
6169 + RouteTag ::= TEXTUAL-CONVENTION
6172 + "the RouteTag type represents the contents of the Route Domain
6173 + field in the packet header or route entry"
6174 + SYNTAX OCTET STRING (SIZE (2))
6176 +--4.1 Global Counters
6178 +-- The RIP-2 Globals Group.
6179 +-- Implementation of this group is mandatory for systems
6180 +-- which implement RIP-2.
6182 +-- These counters are intended to facilitate debugging quickly
6183 +-- changing routes or failing neighbors
6185 +rip2Globals OBJECT IDENTIFIER ::= { rip2 1 }
6187 + rip2GlobalRouteChanges OBJECT-TYPE
6189 + MAX-ACCESS read-only
6192 + "The number of route changes made to the IP Route
6193 + Database by RIP. This does not include the refresh
6194 + of a route's age."
6195 + ::= { rip2Globals 1 }
6197 + rip2GlobalQueries OBJECT-TYPE
6199 + MAX-ACCESS read-only
6202 + "The number of responses sent to RIP queries
6203 + from other systems."
6204 + ::= { rip2Globals 2 }
6206 +--4.2 RIP Interface Tables
6208 +-- RIP Interfaces Groups
6209 +-- Implementation of these Groups is mandatory for systems
6210 +-- which implement RIP-2.
6212 +-- The RIP Interface Status Table.
6214 + rip2IfStatTable OBJECT-TYPE
6215 + SYNTAX SEQUENCE OF Rip2IfStatEntry
6216 + MAX-ACCESS not-accessible
6219 + "A list of subnets which require separate
6220 + status monitoring in RIP."
6223 + rip2IfStatEntry OBJECT-TYPE
6224 + SYNTAX Rip2IfStatEntry
6225 + MAX-ACCESS not-accessible
6228 + "A Single Routing Domain in a single Subnet."
6229 + INDEX { rip2IfStatAddress }
6230 + ::= { rip2IfStatTable 1 }
6232 + Rip2IfStatEntry ::=
6236 + rip2IfStatRcvBadPackets
6238 + rip2IfStatRcvBadRoutes
6240 + rip2IfStatSentUpdates
6246 + rip2IfStatAddress OBJECT-TYPE
6248 + MAX-ACCESS read-only
6251 + "The IP Address of this system on the indicated
6252 + subnet. For unnumbered interfaces, the value 0.0.0.N,
6253 + where the least significant 24 bits (N) is the ifIndex
6254 + for the IP Interface in network byte order."
6255 + ::= { rip2IfStatEntry 1 }
6257 + rip2IfStatRcvBadPackets OBJECT-TYPE
6259 + MAX-ACCESS read-only
6262 + "The number of RIP response packets received by
6263 + the RIP process which were subsequently discarded
6264 + for any reason (e.g. a version 0 packet, or an
6265 + unknown command type)."
6266 + ::= { rip2IfStatEntry 2 }
6268 + rip2IfStatRcvBadRoutes OBJECT-TYPE
6270 + MAX-ACCESS read-only
6273 + "The number of routes, in valid RIP packets,
6274 + which were ignored for any reason (e.g. unknown
6275 + address family, or invalid metric)."
6276 + ::= { rip2IfStatEntry 3 }
6278 + rip2IfStatSentUpdates OBJECT-TYPE
6280 + MAX-ACCESS read-only
6283 + "The number of triggered RIP updates actually
6284 + sent on this interface. This explicitly does
6285 + NOT include full updates sent containing new
6287 + ::= { rip2IfStatEntry 4 }
6289 + rip2IfStatStatus OBJECT-TYPE
6291 + MAX-ACCESS read-create
6294 + "Writing invalid has the effect of deleting
6296 + ::= { rip2IfStatEntry 5 }
6298 +-- The RIP Interface Configuration Table.
6300 + rip2IfConfTable OBJECT-TYPE
6301 + SYNTAX SEQUENCE OF Rip2IfConfEntry
6302 + MAX-ACCESS not-accessible
6305 + "A list of subnets which require separate
6306 + configuration in RIP."
6309 + rip2IfConfEntry OBJECT-TYPE
6310 + SYNTAX Rip2IfConfEntry
6311 + MAX-ACCESS not-accessible
6314 + "A Single Routing Domain in a single Subnet."
6315 + INDEX { rip2IfConfAddress }
6316 + ::= { rip2IfConfTable 1 }
6318 + Rip2IfConfEntry ::=
6324 + rip2IfConfAuthType
6327 + OCTET STRING (SIZE(0..16)),
6332 + rip2IfConfDefaultMetric
6336 + rip2IfConfSrcAddress
6340 + rip2IfConfAddress OBJECT-TYPE
6342 + MAX-ACCESS read-only
6345 + "The IP Address of this system on the indicated
6346 + subnet. For unnumbered interfaces, the value 0.0.0.N,
6347 + where the least significant 24 bits (N) is the ifIndex
6348 + for the IP Interface in network byte order."
6349 + ::= { rip2IfConfEntry 1 }
6351 + rip2IfConfDomain OBJECT-TYPE
6353 + MAX-ACCESS read-create
6356 + "Value inserted into the Routing Domain field
6357 + of all RIP packets sent on this interface."
6358 + DEFVAL { '0000'h }
6359 + ::= { rip2IfConfEntry 2 }
6361 + rip2IfConfAuthType OBJECT-TYPE
6363 + noAuthentication (1),
6364 + simplePassword (2),
6367 + MAX-ACCESS read-create
6370 + "The type of Authentication used on this
6372 + DEFVAL { noAuthentication }
6373 + ::= { rip2IfConfEntry 3 }
6375 + rip2IfConfAuthKey OBJECT-TYPE
6376 + SYNTAX OCTET STRING (SIZE(0..16))
6377 + MAX-ACCESS read-create
6380 + "The value to be used as the Authentication Key
6381 + whenever the corresponding instance of
6382 + rip2IfConfAuthType has a value other than
6383 + noAuthentication. A modification of the corresponding
6384 + instance of rip2IfConfAuthType does not modify
6385 + the rip2IfConfAuthKey value. If a string shorter
6386 + than 16 octets is supplied, it will be left-
6387 + justified and padded to 16 octets, on the right,
6388 + with nulls (0x00).
6390 + Reading this object always results in an OCTET
6391 + STRING of length zero; authentication may not
6392 + be bypassed by reading the MIB object."
6394 + ::= { rip2IfConfEntry 4 }
6396 + rip2IfConfSend OBJECT-TYPE
6400 + rip1Compatible (3),
6405 + MAX-ACCESS read-create
6408 + "What the router sends on this interface.
6409 + ripVersion1 implies sending RIP updates compliant
6410 + with RFC 1058. rip1Compatible implies
6411 + broadcasting RIP-2 updates using RFC 1058 route
6412 + subsumption rules. ripVersion2 implies
6413 + multicasting RIP-2 updates. ripV1Demand indicates
6414 + the use of Demand RIP on a WAN interface under RIP
6415 + Version 1 rules. ripV2Demand indicates the use of
6416 + Demand RIP on a WAN interface under Version 2 rules."
6417 + DEFVAL { rip1Compatible }
6418 + ::= { rip2IfConfEntry 5 }
6420 + rip2IfConfReceive OBJECT-TYPE
6427 + MAX-ACCESS read-create
6430 + "This indicates which version of RIP updates
6431 + are to be accepted. Note that rip2 and
6432 + rip1OrRip2 implies reception of multicast
6434 + DEFVAL { rip1OrRip2 }
6435 + ::= { rip2IfConfEntry 6 }
6437 + rip2IfConfDefaultMetric OBJECT-TYPE
6438 + SYNTAX INTEGER ( 0..15 )
6439 + MAX-ACCESS read-create
6442 + "This variable indicates the metric that is to
6443 + be used for the default route entry in RIP updates
6444 + originated on this interface. A value of zero
6445 + indicates that no default route should be
6446 + originated; in this case, a default route via
6447 + another router may be propagated."
6448 + ::= { rip2IfConfEntry 7 }
6450 + rip2IfConfStatus OBJECT-TYPE
6452 + MAX-ACCESS read-create
6455 + "Writing invalid has the effect of deleting
6457 + ::= { rip2IfConfEntry 8 }
6459 + rip2IfConfSrcAddress OBJECT-TYPE
6461 + MAX-ACCESS read-create
6464 + "The IP Address this system will use as a source
6465 + address on this interface. If it is a numbered
6466 + interface, this MUST be the same value as
6467 + rip2IfConfAddress. On unnumbered interfaces,
6468 + it must be the value of rip2IfConfAddress for
6469 + some interface on the system."
6470 + ::= { rip2IfConfEntry 9 }
6476 +-- The RIP Peer Group
6477 +-- Implementation of this Group is Optional
6479 +-- This group provides information about active peer
6480 +-- relationships intended to assist in debugging. An
6481 +-- active peer is a router from which a valid RIP
6482 +-- updated has been heard in the last 180 seconds.
6484 + rip2PeerTable OBJECT-TYPE
6485 + SYNTAX SEQUENCE OF Rip2PeerEntry
6486 + MAX-ACCESS not-accessible
6489 + "A list of RIP Peers."
6492 + rip2PeerEntry OBJECT-TYPE
6493 + SYNTAX Rip2PeerEntry
6494 + MAX-ACCESS not-accessible
6497 + "Information regarding a single routing peer."
6498 + INDEX { rip2PeerAddress, rip2PeerDomain }
6499 + ::= { rip2PeerTable 1 }
6507 + rip2PeerLastUpdate
6511 + rip2PeerRcvBadPackets
6513 + rip2PeerRcvBadRoutes
6517 + rip2PeerAddress OBJECT-TYPE
6519 + MAX-ACCESS read-only
6522 + "The IP Address that the peer is using as its source
6523 + address. Note that on an unnumbered link, this may
6524 + not be a member of any subnet on the system."
6525 + ::= { rip2PeerEntry 1 }
6527 + rip2PeerDomain OBJECT-TYPE
6529 + MAX-ACCESS read-only
6532 + "The value in the Routing Domain field in RIP
6533 + packets received from the peer. As domain suuport
6534 + is deprecated, this must be zero."
6535 + ::= { rip2PeerEntry 2 }
6537 + rip2PeerLastUpdate OBJECT-TYPE
6539 + MAX-ACCESS read-only
6542 + "The value of sysUpTime when the most recent
6543 + RIP update was received from this system."
6544 + ::= { rip2PeerEntry 3 }
6546 + rip2PeerVersion OBJECT-TYPE
6547 + SYNTAX INTEGER ( 0..255 )
6548 + MAX-ACCESS read-only
6551 + "The RIP version number in the header of the
6552 + last RIP packet received."
6553 + ::= { rip2PeerEntry 4 }
6555 + rip2PeerRcvBadPackets OBJECT-TYPE
6557 + MAX-ACCESS read-only
6560 + "The number of RIP response packets from this
6561 + peer discarded as invalid."
6562 + ::= { rip2PeerEntry 5 }
6565 + rip2PeerRcvBadRoutes OBJECT-TYPE
6567 + MAX-ACCESS read-only
6570 + "The number of routes from this peer that were
6571 + ignored because the entry format was invalid."
6572 + ::= { rip2PeerEntry 6 }
6574 +-- conformance information
6576 +rip2Conformance OBJECT IDENTIFIER ::= { rip2 5 }
6578 +rip2Groups OBJECT IDENTIFIER ::= { rip2Conformance 1 }
6579 +rip2Compliances OBJECT IDENTIFIER ::= { rip2Conformance 2 }
6581 +-- compliance statements
6582 +rip2Compliance MODULE-COMPLIANCE
6585 + "The compliance statement "
6586 + MODULE -- this module
6587 + MANDATORY-GROUPS {
6593 + GROUP rip2GlobalGroup
6595 + "This group defines global controls for RIP-II systems."
6596 + GROUP rip2IfStatGroup
6598 + "This group defines interface statistics for RIP-II systems."
6599 + GROUP rip2IfConfGroup
6601 + "This group defines interface configuration for RIP-II systems."
6602 + GROUP rip2PeerGroup
6604 + "This group defines peer information for RIP-II systems."
6605 + ::= { rip2Compliances 1 }
6607 +-- units of conformance
6609 +rip2GlobalGroup OBJECT-GROUP
6611 + rip2GlobalRouteChanges,
6616 + "This group defines global controls for RIP-II systems."
6617 + ::= { rip2Groups 1 }
6618 +rip2IfStatGroup OBJECT-GROUP
6620 + rip2IfStatAddress,
6621 + rip2IfStatRcvBadPackets,
6622 + rip2IfStatRcvBadRoutes,
6623 + rip2IfStatSentUpdates,
6628 + "This group defines interface statistics for RIP-II systems."
6629 + ::= { rip2Groups 2 }
6630 +rip2IfConfGroup OBJECT-GROUP
6632 + rip2IfConfAddress,
6633 + rip2IfConfAuthType,
6634 + rip2IfConfAuthKey,
6636 + rip2IfConfReceive,
6637 + rip2IfConfDefaultMetric,
6639 + rip2IfConfSrcAddress
6643 + "This group defines interface configuration for RIP-II systems."
6644 + ::= { rip2Groups 3 }
6645 +rip2PeerGroup OBJECT-GROUP
6649 + rip2PeerLastUpdate,
6651 + rip2PeerRcvBadPackets,
6652 + rip2PeerRcvBadRoutes
6656 + "This group defines peer information for RIP-II systems."
6657 + ::= { rip2Groups 4 }
6659 diff -ruN net-snmp-5.1.2-orig/mibs/SOURCE-ROUTING-MIB.txt net-snmp-5.1.2-5/mibs/SOURCE-ROUTING-MIB.txt
6660 --- net-snmp-5.1.2-orig/mibs/SOURCE-ROUTING-MIB.txt 1970-01-01 01:00:00.000000000 +0100
6661 +++ net-snmp-5.1.2-5/mibs/SOURCE-ROUTING-MIB.txt 2005-03-13 16:17:21.000000000 +0100
6663 +SOURCE-ROUTING-MIB DEFINITIONS ::= BEGIN
6668 + dot1dBridge, dot1dSr
6673 +-- groups in the SR MIB
6675 +-- dot1dSr is imported from the Bridge MIB
6677 +dot1dPortPair OBJECT IDENTIFIER ::= { dot1dBridge 10 }
6679 +-- the dot1dSr group
6681 +-- this group is implemented by those bridges that
6682 +-- support the source route bridging mode, including Source
6683 +-- Routing and SRT bridges.
6685 +dot1dSrPortTable OBJECT-TYPE
6686 + SYNTAX SEQUENCE OF Dot1dSrPortEntry
6687 + ACCESS not-accessible
6690 + "A table that contains information about every
6691 + port that is associated with this source route
6695 +dot1dSrPortEntry OBJECT-TYPE
6696 + SYNTAX Dot1dSrPortEntry
6697 + ACCESS not-accessible
6700 + "A list of information for each port of a source
6702 + INDEX { dot1dSrPort }
6704 + ::= { dot1dSrPortTable 1 }
6706 +Dot1dSrPortEntry ::=
6710 + dot1dSrPortHopCount
6712 + dot1dSrPortLocalSegment
6714 + dot1dSrPortBridgeNum
6716 + dot1dSrPortTargetSegment
6718 + dot1dSrPortLargestFrame
6720 + dot1dSrPortSTESpanMode
6722 + dot1dSrPortSpecInFrames
6724 + dot1dSrPortSpecOutFrames
6726 + dot1dSrPortApeInFrames
6728 + dot1dSrPortApeOutFrames
6730 + dot1dSrPortSteInFrames
6732 + dot1dSrPortSteOutFrames
6734 + dot1dSrPortSegmentMismatchDiscards
6736 + dot1dSrPortDuplicateSegmentDiscards
6738 + dot1dSrPortHopCountExceededDiscards
6740 + dot1dSrPortDupLanIdOrTreeErrors
6742 + dot1dSrPortLanIdMismatches
6746 +dot1dSrPort OBJECT-TYPE
6747 + SYNTAX INTEGER (1..65535)
6751 + "The port number of the port for which this entry
6753 + contains Source Route management information."
6754 + ::= { dot1dSrPortEntry 1 }
6756 +dot1dSrPortHopCount OBJECT-TYPE
6761 + "The maximum number of routing descriptors allowed
6762 + in an All Paths or Spanning Tree Explorer frames."
6763 + ::= { dot1dSrPortEntry 2 }
6765 +dot1dSrPortLocalSegment OBJECT-TYPE
6770 + "The segment number that uniquely identifies the
6771 + segment to which this port is connected. Current
6772 + source routing protocols limit this value to the
6773 + range: 0 through 4095. (The value 0 is used by
6774 + some management applications for special test
6775 + cases.) A value of 65535 signifies that no segment
6776 + number is assigned to this port."
6777 + ::= { dot1dSrPortEntry 3 }
6779 +dot1dSrPortBridgeNum OBJECT-TYPE
6784 + "A bridge number uniquely identifies a bridge when
6785 + more than one bridge is used to span the same two
6786 + segments. Current source routing protocols limit
6787 + this value to the range: 0 through 15. A value of
6788 + 65535 signifies that no bridge number is assigned
6790 + ::= { dot1dSrPortEntry 4 }
6792 +dot1dSrPortTargetSegment OBJECT-TYPE
6797 + "The segment number that corresponds to the target
6798 + segment this port is considered to be connected to
6799 + by the bridge. Current source routing protocols
6800 + limit this value to the range: 0 through 4095.
6802 + (The value 0 is used by some management
6803 + applications for special test cases.) A value of
6804 + 65535 signifies that no target segment is assigned
6806 + ::= { dot1dSrPortEntry 5 }
6808 +-- It would be nice if we could use ifMtu as the size of the
6809 +-- largest frame, but we can't because ifMtu is defined to be
6810 +-- the size that the (inter-)network layer can use which can
6811 +-- differ from the MAC layer (especially if several layers of
6812 +-- encapsulation are used).
6814 +dot1dSrPortLargestFrame OBJECT-TYPE
6819 + "The maximum size of the INFO field (LLC and
6820 + above) that this port can send/receive. It does
6821 + not include any MAC level (framing) octets. The
6822 + value of this object is used by this bridge to
6823 + determine whether a modification of the
6824 + LargestFrame (LF, see [14]) field of the Routing
6825 + Control field of the Routing Information Field is
6828 + 64 valid values are defined by the IEEE 802.5M SRT
6829 + Addendum: 516, 635, 754, 873, 993, 1112, 1231,
6830 + 1350, 1470, 1542, 1615, 1688, 1761, 1833, 1906,
6831 + 1979, 2052, 2345, 2638, 2932, 3225, 3518, 3812,
6832 + 4105, 4399, 4865, 5331, 5798, 6264, 6730, 7197,
6833 + 7663, 8130, 8539, 8949, 9358, 9768, 10178, 10587,
6834 + 10997, 11407, 12199, 12992, 13785, 14578, 15370,
6835 + 16163, 16956, 17749, 20730, 23711, 26693, 29674,
6836 + 32655, 35637, 38618, 41600, 44591, 47583, 50575,
6837 + 53567, 56559, 59551, and 65535.
6839 + An illegal value will not be accepted by the
6841 + ::= { dot1dSrPortEntry 6 }
6843 +dot1dSrPortSTESpanMode OBJECT-TYPE
6852 + "Determines how this port behaves when presented
6853 + with a Spanning Tree Explorer frame. The value
6854 + 'disabled(2)' indicates that the port will not
6855 + accept or send Spanning Tree Explorer packets; any
6856 + STE packets received will be silently discarded.
6857 + The value 'forced(3)' indicates the port will
6858 + always accept and propagate Spanning Tree Explorer
6859 + frames. This allows a manually configured
6860 + Spanning Tree for this class of packet to be
6861 + configured. Note that unlike transparent
6862 + bridging, this is not catastrophic to the network
6863 + if there are loops. The value 'auto-span(1)' can
6864 + only be returned by a bridge that both implements
6865 + the Spanning Tree Protocol and has use of the
6866 + protocol enabled on this port. The behavior of the
6867 + port for Spanning Tree Explorer frames is
6868 + determined by the state of dot1dStpPortState. If
6869 + the port is in the 'forwarding' state, the frame
6870 + will be accepted or propagated. Otherwise, it
6871 + will be silently discarded."
6872 + ::= { dot1dSrPortEntry 7 }
6874 +dot1dSrPortSpecInFrames OBJECT-TYPE
6879 + "The number of Specifically Routed frames, also
6880 + referred to as Source Routed Frames, that have
6881 + been received from this port's segment."
6882 + ::= { dot1dSrPortEntry 8 }
6884 +dot1dSrPortSpecOutFrames OBJECT-TYPE
6889 + "The number of Specifically Routed frames, also
6890 + referred to as Source Routed Frames, that this
6891 + port has transmitted on its segment."
6892 + ::= { dot1dSrPortEntry 9 }
6894 +dot1dSrPortApeInFrames OBJECT-TYPE
6899 + "The number of All Paths Explorer frames, also
6900 + referred to as All Routes Explorer frames, that
6901 + have been received by this port from its segment."
6902 + ::= { dot1dSrPortEntry 10 }
6904 +dot1dSrPortApeOutFrames OBJECT-TYPE
6909 + "The number of all Paths Explorer Frames, also
6910 + referred to as All Routes Explorer frames, that
6911 + have been transmitted by this port on its
6913 + ::= { dot1dSrPortEntry 11 }
6915 +dot1dSrPortSteInFrames OBJECT-TYPE
6920 + "The number of spanning tree explorer frames that
6921 + have been received by this port from its segment."
6922 + ::= { dot1dSrPortEntry 12 }
6924 +dot1dSrPortSteOutFrames OBJECT-TYPE
6929 + "The number of spanning tree explorer frames that
6930 + have been transmitted by this port on its
6932 + ::= { dot1dSrPortEntry 13 }
6934 +dot1dSrPortSegmentMismatchDiscards OBJECT-TYPE
6939 + "The number of explorer frames that have been
6940 + discarded by this port because the routing
6941 + descriptor field contained an invalid adjacent
6943 + ::= { dot1dSrPortEntry 14 }
6945 +dot1dSrPortDuplicateSegmentDiscards OBJECT-TYPE
6950 + "The number of frames that have been discarded by
6951 + this port because the routing descriptor field
6952 + contained a duplicate segment identifier."
6953 + ::= { dot1dSrPortEntry 15 }
6955 +dot1dSrPortHopCountExceededDiscards OBJECT-TYPE
6960 + "The number of explorer frames that have been
6961 + discarded by this port because the Routing
6962 + Information Field has exceeded the maximum route
6963 + descriptor length."
6964 + ::= { dot1dSrPortEntry 16 }
6966 +dot1dSrPortDupLanIdOrTreeErrors OBJECT-TYPE
6971 + "The number of duplicate LAN IDs or Tree errors.
6972 + This helps in detection of problems in networks
6973 + containing older IBM Source Routing Bridges."
6974 + ::= { dot1dSrPortEntry 17 }
6976 +dot1dSrPortLanIdMismatches OBJECT-TYPE
6981 + "The number of ARE and STE frames that were
6982 + discarded because the last LAN ID in the routing
6983 + information field did not equal the LAN-in ID.
6984 + This error can occur in implementations which do
6985 + only a LAN-in ID and Bridge Number check instead
6986 + of a LAN-in ID, Bridge Number, and LAN-out ID
6987 + check before they forward broadcast frames."
6988 + ::= { dot1dSrPortEntry 18 }
6990 +-- scalar object in dot1dSr
6992 +dot1dSrBridgeLfMode OBJECT-TYPE
7000 + "Indicates whether the bridge operates using older
7001 + 3 bit length negotiation fields or the newer 6 bit
7002 + length field in its RIF."
7005 +-- The Port-Pair Database
7007 +-- Implementation of this group is optional.
7009 +-- This group is implemented by those bridges that support
7010 +-- the direct multiport model of the source route bridging
7011 +-- mode as defined in the IEEE 802.5 SRT Addendum to
7014 +-- Bridges implementing this group may report 65535 for
7015 +-- dot1dSrPortBridgeNumber and dot1dSrPortTargetSegment,
7016 +-- indicating that those objects are not applicable.
7018 +dot1dPortPairTableSize OBJECT-TYPE
7023 + "The total number of entries in the Bridge Port
7025 + ::= { dot1dPortPair 1 }
7027 +-- the Bridge Port-Pair table
7029 +-- this table represents port pairs within a bridge forming
7030 +-- a unique bridge path, as defined in the IEEE 802.5M SRT
7033 +dot1dPortPairTable OBJECT-TYPE
7034 + SYNTAX SEQUENCE OF Dot1dPortPairEntry
7035 + ACCESS not-accessible
7038 + "A table that contains information about every
7040 + port pair database entity associated with this
7041 + source routing bridge."
7042 + ::= { dot1dPortPair 2 }
7044 +dot1dPortPairEntry OBJECT-TYPE
7045 + SYNTAX Dot1dPortPairEntry
7046 + ACCESS not-accessible
7049 + "A list of information for each port pair entity
7051 + INDEX { dot1dPortPairLowPort, dot1dPortPairHighPort }
7052 + ::= { dot1dPortPairTable 1 }
7054 +Dot1dPortPairEntry ::=
7056 + dot1dPortPairLowPort
7058 + dot1dPortPairHighPort
7060 + dot1dPortPairBridgeNum
7062 + dot1dPortPairBridgeState
7066 +dot1dPortPairLowPort OBJECT-TYPE
7067 + SYNTAX INTEGER (1..65535)
7071 + "The port number of the lower numbered port for
7072 + which this entry contains port pair database
7074 + ::= { dot1dPortPairEntry 1 }
7076 +dot1dPortPairHighPort OBJECT-TYPE
7077 + SYNTAX INTEGER (1..65535)
7081 + "The port number of the higher numbered port for
7082 + which this entry contains port pair database
7084 + ::= { dot1dPortPairEntry 2 }
7086 +dot1dPortPairBridgeNum OBJECT-TYPE
7092 + "A bridge number that uniquely identifies the path
7093 + provided by this source routing bridge between the
7094 + segments connected to dot1dPortPairLowPort and
7095 + dot1dPortPairHighPort. The purpose of bridge
7096 + number is to disambiguate between multiple paths
7097 + connecting the same two LANs."
7098 + ::= { dot1dPortPairEntry 3 }
7100 +dot1dPortPairBridgeState OBJECT-TYPE
7109 + "The state of dot1dPortPairBridgeNum. Writing
7110 + 'invalid(3)' to this object removes the
7111 + corresponding entry."
7112 + ::= { dot1dPortPairEntry 4 }
7115 diff -ruN net-snmp-5.1.2-orig/net-snmp-config.in net-snmp-5.1.2-5/net-snmp-config.in
7116 --- net-snmp-5.1.2-orig/net-snmp-config.in 2004-06-17 15:39:28.000000000 +0200
7117 +++ net-snmp-5.1.2-5/net-snmp-config.in 2005-03-13 16:17:21.000000000 +0100
7118 @@ -113,13 +113,13 @@
7119 #################################################### client lib
7121 # use this one == --netsnmp-libs + --external-libs
7122 - echo $NSC_LDFLAGS $NSC_LIBDIR -lnetsnmp $NSC_LIBS
7123 + echo $NSC_LDFLAGS $NSC_LIBDIR -lnetsnmp $NSC_LIBS @WRAPLIBS@
7126 echo $NSC_LIBDIR -lnetsnmp
7129 - echo $NSC_LDFLAGS $NSC_LIBS
7130 + echo $NSC_LDFLAGS $NSC_LIBS @WRAPLIBS@
7132 #################################################### agent lib
7134 @@ -130,13 +130,13 @@
7137 # use this one == --netsnmp-agent-libs + --external-libs
7138 - echo $NSC_LDFLAGS $NSC_LIBDIR $NSC_BASE_AGENT_LIBS $NSC_AGENTLIBS
7139 + echo $NSC_LDFLAGS $NSC_LIBDIR $NSC_BASE_AGENT_LIBS $NSC_AGENTLIBS @WRAPLIBS@
7141 --netsnmp-agent-libs)
7142 echo $NSC_LIBDIR $NSC_BASE_AGENT_LIBS
7144 --external-agent-libs)
7145 - echo $NSC_LDFLAGS $NSC_AGENTLIBS
7146 + echo $NSC_LDFLAGS $NSC_AGENTLIBS @WRAPLIBS@
7148 ####################################################
7151 echo "Ack. Can't create $tmpfile."
7154 - cmd="@CC@ $cflags @CFLAGS@ @DEVFLAGS@ -I. -I@includedir@ -o $outname $tmpfile $cfiles $NSC_LDFLAGS -L$NSC_EXEC_PREFIX/lib -lnetsnmpagent -lnetsnmphelpers -lnetsnmpmibs -lnetsnmp $NSC_AGENTLIBS $ldflags"
7155 + cmd="@CC@ $cflags @CFLAGS@ @DEVFLAGS@ -I. -I@includedir@ -o $outname $tmpfile $cfiles $NSC_LDFLAGS -L$NSC_EXEC_PREFIX/lib -lnetsnmpagent -lnetsnmphelpers -lnetsnmpmibs -lnetsnmp $NSC_AGENTLIBS @WRAPLIBS@ $ldflags"
7156 echo "running: $cmd"
7158 if test "x$norm" != "x1" ; then
7159 diff -ruN net-snmp-5.1.2-orig/perl/agent/netsnmp_request_infoPtr.pm net-snmp-5.1.2-5/perl/agent/netsnmp_request_infoPtr.pm
7160 --- net-snmp-5.1.2-orig/perl/agent/netsnmp_request_infoPtr.pm 2002-09-19 22:38:24.000000000 +0200
7161 +++ net-snmp-5.1.2-5/perl/agent/netsnmp_request_infoPtr.pm 2005-03-13 16:17:21.000000000 +0100
7169 NetSNMP::agent::netsnmp_request_infoPtr - Perl extension for request information
7170 diff -ruN net-snmp-5.1.2-orig/snmplib/Makefile.in net-snmp-5.1.2-5/snmplib/Makefile.in
7171 --- net-snmp-5.1.2-orig/snmplib/Makefile.in 2004-03-04 14:41:19.000000000 +0100
7172 +++ net-snmp-5.1.2-5/snmplib/Makefile.in 2005-03-13 16:17:21.000000000 +0100
7173 @@ -178,11 +178,11 @@
7175 # how to build the libraries.
7176 libnetsnmp.$(LIB_EXTENSION)$(LIB_VERSION): ${TOBJS}
7177 - $(LIB_LD_CMD) libnetsnmp.$(LIB_EXTENSION)$(LIB_VERSION) ${TOBJS}
7178 + $(LIB_LD_CMD) libnetsnmp.$(LIB_EXTENSION)$(LIB_VERSION) ${TOBJS} @CRYPTOLIBS@
7179 $(RANLIB) libnetsnmp.$(LIB_EXTENSION)$(LIB_VERSION)
7181 libsnmp.$(LIB_EXTENSION)$(LIB_VERSION): ${TOBJS}
7182 - $(LIB_LD_CMD) libsnmp.$(LIB_EXTENSION)$(LIB_VERSION) ${TOBJS}
7183 + $(LIB_LD_CMD) libsnmp.$(LIB_EXTENSION)$(LIB_VERSION) ${TOBJS} @CRYPTOLIBS@
7184 $(RANLIB) libsnmp.$(LIB_EXTENSION)$(LIB_VERSION)
7187 diff -ruN net-snmp-5.1.2-orig/snmplib/snmpUDPDomain.c net-snmp-5.1.2-5/snmplib/snmpUDPDomain.c
7188 --- net-snmp-5.1.2-orig/snmplib/snmpUDPDomain.c 2004-07-07 14:21:32.000000000 +0200
7189 +++ net-snmp-5.1.2-5/snmplib/snmpUDPDomain.c 2005-03-13 16:17:21.000000000 +0100
7190 @@ -233,18 +233,6 @@
7191 netsnmp_transport_free(t);
7194 -#ifdef SO_BSDCOMPAT
7196 - * Patch for Linux. Without this, UDP packets that fail get an ICMP
7197 - * response. Linux turns the failed ICMP response into an error message
7198 - * and return value, unlike all other OS's.
7202 - setsockopt(t->sock, SOL_SOCKET, SO_BSDCOMPAT, (void *) &one,
7205 -#endif /*SO_BSDCOMPAT */
7207 * SO_REUSEADDR will allow multiple apps to open the same port at
7208 * the same time. Only the last one to open the socket will get
7209 diff -ruN net-snmp-5.1.2-orig/snmplib/snmpUDPIPv6Domain.c net-snmp-5.1.2-5/snmplib/snmpUDPIPv6Domain.c
7210 --- net-snmp-5.1.2-orig/snmplib/snmpUDPIPv6Domain.c 2004-07-22 19:45:00.000000000 +0200
7211 +++ net-snmp-5.1.2-5/snmplib/snmpUDPIPv6Domain.c 2005-03-13 16:17:21.000000000 +0100
7212 @@ -249,17 +249,6 @@
7213 netsnmp_transport_free(t);
7216 -#ifdef SO_BSDCOMPAT
7218 - * Patch for Linux. Without this, UDP packets that fail get an ICMP
7219 - * response. Linux turns the failed ICMP response into an error message
7220 - * and return value, unlike all other OS's.
7224 - setsockopt(t->sock, SOL_SOCKET, SO_BSDCOMPAT, &one, sizeof(one));
7226 -#endif /*SO_BSDCOMPAT */
7229 * Try to set the send and receive buffers to a reasonably large value, so
7230 diff -ruN net-snmp-5.1.2-orig/snmplib/snmp_logging.c net-snmp-5.1.2-5/snmplib/snmp_logging.c
7231 --- net-snmp-5.1.2-orig/snmplib/snmp_logging.c 2004-03-31 03:06:08.000000000 +0200
7232 +++ net-snmp-5.1.2-5/snmplib/snmp_logging.c 2005-03-13 16:17:21.000000000 +0100
7233 @@ -860,13 +860,14 @@
7237 - newline = string[strlen(string) - 1] == '\n'; /* XXX - Eh ? */
7240 printf( "%s%s", sbuf, string);
7242 fprintf(stderr, "%s%s", sbuf, string);
7244 + newline = string[strlen(string) - 1] == '\n'; /* XXX - Eh ? */
7249 diff -ruN net-snmp-5.1.2-orig/snmplib/winservice.mc net-snmp-5.1.2-5/snmplib/winservice.mc
7250 --- net-snmp-5.1.2-orig/snmplib/winservice.mc 2002-04-20 09:30:21.000000000 +0200
7251 +++ net-snmp-5.1.2-5/snmplib/winservice.mc 2005-03-13 16:17:21.000000000 +0100
7253 -;//Message catalog for Windows Serivce Support routines
7254 -;//To support event logging functionality
7255 -;//By Raju Krishnappa(raju_krishnappa@yahoo.com)
7257 -;//Message ID descriptions
7260 -SymbolicName=DISPLAY_MSG
7264 +;//Message catalog for Windows Serivce Support routines
7265 +;//To support event logging functionality
7266 +;//By Raju Krishnappa(raju_krishnappa@yahoo.com)
7268 +;//Message ID descriptions
7271 +SymbolicName=DISPLAY_MSG
7275 diff -ruN net-snmp-5.1.2-orig/snmplib/winservice.rc net-snmp-5.1.2-5/snmplib/winservice.rc
7276 --- net-snmp-5.1.2-orig/snmplib/winservice.rc 2002-04-20 09:30:21.000000000 +0200
7277 +++ net-snmp-5.1.2-5/snmplib/winservice.rc 2005-03-13 16:17:21.000000000 +0100