source:
freewrt/package/net-snmp/patches/500-debian-subset-5.1.2-6.1.patch@
d419478
| Last change on this file since d419478 was 475ad56, checked in by , 20 years ago | |
|---|---|
|
|
| File size: 253.4 KB | |
-
EXAMPLE-trap.conf
diff -ruN net-snmp-5.1.2-orig/EXAMPLE-trap.conf net-snmp-5.1.2-5/EXAMPLE-trap.conf
old new 1 ############################################################################### 2 # 3 # EXAMPLE.conf: 4 # An example configuration file for configuring the ucd-snmp snmptrapd agent. 5 # 6 ############################################################################### 7 # 8 # This file is intended to only be an example. If, however, you want 9 # to use it, it should be placed in /etc/snmp/snmptrapd.conf. 10 # When the snmptrapd agent starts up, this is where it will look for it. 11 # 12 # All lines beginning with a '#' are comments and are intended for you 13 # to read. All other lines are configuration commands for the agent. 14 15 # 16 # PLEASE: read the snmptrapd.conf(5) manual page as well! 17 # 18 -
EXAMPLE.conf.def
diff -ruN net-snmp-5.1.2-orig/EXAMPLE.conf.def net-snmp-5.1.2-5/EXAMPLE.conf.def
old new 6 6 ############################################################################### 7 7 # 8 8 # This file is intended to only be an example. If, however, you want 9 # to use it, it should be placed in SYSCONFDIR/share/snmp/snmpd.conf.9 # to use it, it should be placed in /etc/snmp/snmpd.conf. 10 10 # When the snmpd agent starts up, this is where it will look for it. 11 11 # 12 12 # You might be interested in generating your own snmpd.conf file using … … 58 58 # from): 59 59 60 60 # sec.name source community 61 com2sec local localhost COMMUNITY 62 com2sec mynetwork NETWORK/24 COMMUNITY 61 com2sec paranoid default public 62 #com2sec readonly default public 63 #com2sec readwrite default private 63 64 64 65 #### 65 66 # Second, map the security names into group names: 66 67 67 68 # sec.model sec.name 68 group MyRWGroup v1 local 69 group MyRWGroup v2c local 70 group MyRWGroup usm local 71 group MyROGroup v1 mynetwork 72 group MyROGroup v2c mynetwork 73 group MyROGroup usm mynetwork 69 group MyROSystem v1 paranoid 70 group MyROSystem v2c paranoid 71 group MyROSystem usm paranoid 72 group MyROGroup v1 readonly 73 group MyROGroup v2c readonly 74 group MyROGroup usm readonly 75 group MyRWGroup v1 readwrite 76 group MyRWGroup v2c readwrite 77 group MyRWGroup usm readwrite 74 78 75 79 #### 76 80 # Third, create a view for us to let the groups have rights to: 77 81 78 82 # incl/excl subtree mask 79 83 view all included .1 80 84 view system included .iso.org.dod.internet.mgmt.mib-2.system 80 85 81 86 #### 82 87 # Finally, grant the 2 groups access to the 1 view with different 83 88 # write permissions: 84 89 85 90 # context sec.model sec.level match read write notif 91 access MyROSystem "" any noauth exact system none none 86 92 access MyROGroup "" any noauth exact all none none 87 93 access MyRWGroup "" any noauth exact all all none 88 94 … … 100 106 # value of an object whose value is given here will fail with an error 101 107 # status of notWritable. 102 108 103 syslocation Right here, right now.104 syscontact Me <me@somewhere.org>109 syslocation Unknown (configure /etc/snmp/snmpd.local.conf) 110 syscontact Root <root@localhost> (configure /etc/snmp/snmpd.local.conf) 105 111 106 112 # Example output of snmpwalk: 107 113 # % snmpwalk -v 1 -c public localhost system … … 135 141 # 136 142 137 143 # Make sure mountd is running 138 proc mountd144 #proc mountd 139 145 140 146 # Make sure there are no more than 4 ntalkds running, but 0 is ok too. 141 proc ntalkd 4147 #proc ntalkd 4 142 148 143 149 # Make sure at least one sendmail, but less than or equal to 10 are running. 144 proc sendmail 10 1150 #proc sendmail 10 1 145 151 146 152 # A snmpwalk of the prTable would look something like this: 147 153 # … … 199 205 # ARGS: optional arguments to be passed to the program 200 206 201 207 # a simple hello world 202 exec echotest /bin/echo hello world208 #exec echotest /bin/echo hello world 203 209 204 210 # Run a shell script containing: 205 211 # … … 250 256 251 257 # Check the / partition and make sure it contains at least 10 megs. 252 258 253 disk / 10000259 #disk / 10000 254 260 255 261 # % snmpwalk -v 1 -c public localhost .EXTENSIBLEDOTMIB.DISKMIBNUM 256 262 # enterprises.ucdavis.diskTable.dskEntry.diskIndex.1 = 0 … … 279 285 # 15MAX: Similar, but for 15 min average. 280 286 281 287 # Check for loads: 282 load 12 14 14288 #load 12 14 14 283 289 284 290 # % snmpwalk -v 1 -c public localhost .EXTENSIBLEDOTMIB.LOADAVEMIBNUM 285 291 # enterprises.ucdavis.loadTable.laEntry.loadaveIndex.1 = 1 … … 365 371 # (commented out here since it requires that you place the 366 372 # script in the right location. (its not installed by default)) 367 373 368 # pass .EXTENSIBLEDOTMIB.255 /bin/sh PREFIX/local/passtest374 # pass .EXTENSIBLEDOTMIB.255 /bin/sh /usr/local/passtest 369 375 370 376 # % snmpwalk -v 1 -c public localhost .EXTENSIBLEDOTMIB.255 371 377 # enterprises.ucdavis.255.1 = "life the universe and everything" -
net-snmp-5.1.
diff -ruN net-snmp-5.1.2-orig/FAQ net-snmp-5.1.2-5/FAQ
old new 104 104 I don't understand the new access control stuff - what does it mean? 105 105 How do I configure SNMPv3 users? 106 106 The 'createUser' line disappears when I start the agent. Why? 107 What's the difference between /var/ucd-snmp and /usr/ local/share/snmp?107 What's the difference between /var/ucd-snmp and /usr/share/snmp? 108 108 My new agent is ignoring the old snmpd.conf file. Why? 109 109 Why am I getting "Connection refused"? 110 110 I'm getting errors about "bad security model" - why? … … 620 620 621 621 Firstly, 622 622 623 cp MY-MIB.txt /usr/ local/share/snmp/mibs623 cp MY-MIB.txt /usr/share/snmp/mibs 624 624 625 625 or 626 626 … … 639 639 Note that you need *both* steps. 640 640 The first command copies the file defining the new MIB to a 641 641 expected location for MIB files. This defaults to 642 /usr/ local/share/snmp/mibs (or PREFIX/share/snmp/mibs if the the642 /usr/share/snmp/mibs (or PREFIX/share/snmp/mibs if the the 643 643 suite was installed into a different base location). Some 644 644 ready-packaged distributions (such as Linux RPM packages) may look 645 645 for MIB files in a different location, such as /etc/snmp/mibs - put … … 1111 1111 If this is the case, then you can specify this interpreter 1112 1112 explicitly as part of the trap handle directive: 1113 1113 1114 traphandle default /usr/bin/perl /usr/ local/bin/log_it1114 traphandle default /usr/bin/perl /usr/bin/log_it 1115 1115 1116 1116 Note that in this case, it's almost certain that you'll also 1117 1117 need to give the full path to the traphandle script (as shown) … … 1263 1263 (if appropriate) the community string to use. 1264 1264 1265 1265 Some of these (such as the MIB file location), might belong in a 1266 shared snmp.conf file (typically /usr/ local/share/snmp/snmp.conf or1266 shared snmp.conf file (typically /usr/share/snmp/snmp.conf or 1267 1267 /etc/snmp/snmp.conf) to apply to all users of the system. Others 1268 1268 (particularly the SNMPv3 security settings), are more likely to refer 1269 1269 to a particular user, and should go in a personal snmp.conf file … … 1522 1522 1523 1523 1524 1524 Alternatively, the tools may be looking in the wrong place. 1525 The default location for the mib files is /usr/ local/share/snmp/mibs.1525 The default location for the mib files is /usr/share/snmp/mibs. 1526 1526 Again, this is set when the suite is first configured and compiled. 1527 1527 This can be changed using the environmental variable 'MIBDIRS' 1528 1528 or the snmp.conf directive 'mibdirs'. … … 2507 2507 2508 2508 2509 2509 2510 What's the difference between /var/ucd-snmp and /usr/ local/share/snmp?2510 What's the difference between /var/ucd-snmp and /usr/share/snmp? 2511 2511 --------------------------------------------------------------------- 2512 2512 2513 2513 Most "static" agent configuration should go in the traditional location 2514 (typically /usr/ local/share/snmp/snmpd.conf or /etc/snmp). The2514 (typically /usr/share/snmp/snmpd.conf or /etc/snmp). The 2515 2515 /var/ucd-snmp (or /var/net-snmp) location is used for information set during 2516 2516 the running of the agent, which needs to be persistent between one run of 2517 2517 the agent and the next. … … 2531 2531 distribution), with the current release installed from the source. 2532 2532 2533 2533 The default location for this file with the basic distribution is 2534 /usr/ local/share/snmp/snmpd.conf (or PREFIX/share/snmp/snmpd.conf).2534 /usr/share/snmp/snmpd.conf (or PREFIX/share/snmp/snmpd.conf). 2535 2535 Ready-installed versions often look for the file as /etc/snmpd.conf, 2536 2536 or /etc/snmp/snmpd.conf. Try moving the old config file to the new 2537 2537 location, and restart the agent. -
net-snmp-5.1.
diff -ruN net-snmp-5.1.2-orig/Makefile.in net-snmp-5.1.2-5/Makefile.in
old new 163 163 ( cd perl ; $(MAKE) clean ) ; \ 164 164 fi 165 165 166 perlrealclean: 167 @if test -f perl/Makefile; then \ 168 ( cd perl ; $(MAKE) realclean ) ; \ 169 fi 170 166 171 # 167 172 # make distclean completely removes all traces of building including 168 173 # any files generated by configure itself. -
Makefile.rules
diff -ruN net-snmp-5.1.2-orig/Makefile.rules net-snmp-5.1.2-5/Makefile.rules
old new 301 301 # cleaning targets 302 302 # 303 303 clean: cleansubdirs $(OTHERCLEANTODOS) 304 rm -f core ${OBJS} ${LOBJS} $(STANDARDCLEANTARGETS) $(OTHERCLEANTARGETS)304 rm -f -- core ${OBJS} ${LOBJS} $(STANDARDCLEANTARGETS) $(OTHERCLEANTARGETS) 305 305 rm -rf .libs 306 306 307 307 cleansubdirs: -
Makefile.top
diff -ruN net-snmp-5.1.2-orig/Makefile.top net-snmp-5.1.2-5/Makefile.top
old new 27 27 snmplibdir = $(datadir)/snmp 28 28 mibdir = $(snmplibdir)/mibs 29 29 persistentdir = @PERSISTENT_DIRECTORY@ 30 sysconfdir = @sysconfdir@ 30 31 INSTALL_PREFIX = @INSTALL_PREFIX@ 31 32 32 33 # -
net-snmp-5.1.
diff -ruN net-snmp-5.1.2-orig/acconfig.h net-snmp-5.1.2-5/acconfig.h
old new 560 560 /* define if you have getservbyname */ 561 561 #undef HAVE_GETSERVBYNAME 562 562 563 /* define if you have dlopen */ 564 #undef HAVE_DLOPEN 565 563 566 /* printing system */ 564 567 #undef HAVE_LPSTAT 565 568 #undef LPSTAT_PATH -
acinclude.m4
diff -ruN net-snmp-5.1.2-orig/acinclude.m4 net-snmp-5.1.2-5/acinclude.m4
old new 1 dnl @synopsis AC_PROMPT_USER_NO_DEFINE(VARIABLENAME,QUESTION,[DEFAULT]) 2 dnl 3 dnl Asks a QUESTION and puts the results in VARIABLENAME with an optional 4 dnl DEFAULT value if the user merely hits return. 5 dnl 6 dnl @version 1.15 7 dnl @author Wes Hardaker <hardaker@users.sourceforge.net> 8 dnl 9 AC_DEFUN([AC_PROMPT_USER_NO_DEFINE], 10 dnl changequote(<<, >>) dnl 11 dnl << 12 [ 13 if test "x$defaults" = "xno"; then 14 echo $ac_n "$2 ($3): $ac_c" 15 read tmpinput 16 if test "$tmpinput" = "" -a "$3" != ""; then 17 tmpinput="$3" 18 fi 19 eval $1=\"$tmpinput\" 20 else 21 tmpinput="$3" 22 eval $1=\"$tmpinput\" 23 fi 24 ] 25 dnl >> 26 dnl changequote([, ]) 27 ) dnl done AC_PROMPT_USER 28 29 dnl @synopsis AC_PROMPT_USER(VARIABLENAME,QUESTION,[DEFAULT],QUOTED) 30 dnl 31 dnl Asks a QUESTION and puts the results in VARIABLENAME with an optional 32 dnl DEFAULT value if the user merely hits return. Also calls 33 dnl AC_DEFINE_UNQUOTED() on the VARIABLENAME for VARIABLENAMEs that should 34 dnl be entered into the config.h file as well. If QUOTED is "quoted" then 35 dnl the result will be defined within quotes. 36 dnl 37 dnl @version 1.15 38 dnl @author Wes Hardaker <hardaker@users.sourceforge.net> 39 dnl 40 AC_DEFUN([AC_PROMPT_USER], 41 [ 42 MSG_CHECK=`echo "$2" | tail -1` 43 AC_CACHE_CHECK($MSG_CHECK, ac_cv_user_prompt_$1, 44 [echo "" >&AC_FD_MSG 45 AC_PROMPT_USER_NO_DEFINE($1,[$2],$3) 46 eval ac_cv_user_prompt_$1=\$$1 47 echo $ac_n "setting $MSG_CHECK to... $ac_c" >&AC_FD_MSG 48 ]) 49 if test "$ac_cv_user_prompt_$1" != "none"; then 50 if test "x$4" = "xquoted" -o "x$4" = "xQUOTED"; then 51 AC_DEFINE_UNQUOTED($1,"$ac_cv_user_prompt_$1") 52 else 53 AC_DEFINE_UNQUOTED($1,$ac_cv_user_prompt_$1) 54 fi 55 fi 56 ]) dnl 57 58 dnl @synopsis AC_CHECK_STRUCT_FOR(INCLUDES,STRUCT,MEMBER,DEFINE,[no]) 59 dnl 60 dnl Checks STRUCT for MEMBER and defines DEFINE if found. 61 dnl 62 dnl @version 1.15 63 dnl @author Wes Hardaker <hardaker@users.sourceforge.net> 64 dnl 65 AC_DEFUN(AC_CHECK_STRUCT_FOR,[ 66 67 ac_safe_struct=`echo "$2" | sed 'y%./+-%__p_%'` 68 ac_safe_member=`echo "$3" | sed 'y%./+-%__p_%'` 69 ac_safe_all="ac_cv_struct_${ac_safe_struct}_has_${ac_safe_member}" 70 changequote(, )dnl 71 ac_uc_define=STRUCT_`echo "${ac_safe_struct}_HAS_${ac_safe_member}" | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` 72 changequote([, ])dnl 73 74 AC_MSG_CHECKING([for $2.$3]) 75 AC_CACHE_VAL($ac_safe_all, 76 [ 77 if test "x$4" = "x"; then 78 defineit="= 0" 79 elif test "x$4" = "xno"; then 80 defineit="" 81 else 82 defineit="$4" 83 fi 84 AC_TRY_COMPILE([ 85 $1 86 ],[ 87 struct $2 testit; 88 testit.$3 $defineit; 89 ], eval "${ac_safe_all}=yes", eval "${ac_safe_all}=no" ) 90 ]) 91 92 if eval "test \"x$`echo ${ac_safe_all}`\" = \"xyes\""; then 93 AC_MSG_RESULT(yes) 94 AC_DEFINE_UNQUOTED($ac_uc_define) 95 else 96 AC_MSG_RESULT(no) 97 fi 98 99 ]) 100 101 dnl AC_CHECK_IFNET_FOR(SUBSTRUCT,[no]) 102 AC_DEFUN(AC_CHECK_IFNET_FOR,[ 103 dnl check for $1 in struct ifnet 104 AC_CHECK_STRUCT_FOR([ 105 #ifdef IFNET_NEEDS_KERNEL 106 #define _KERNEL 1 107 #endif 108 #include <sys/types.h> 109 #include <sys/socket.h> 110 #ifdef HAVE_SYS_TIME_H 111 #include <sys/time.h> 112 #endif 113 #include <net/if.h> 114 #ifdef HAVE_NET_IF_VAR_H 115 #include <net/if_var.h> 116 #endif 117 #ifdef HAVE_SYS_QUEUE_H 118 #include <sys/queue.h> 119 #endif 120 #ifdef linux 121 struct ifnet { 122 char *if_name; /* name, e.g. "en" or "lo" */ 123 short if_unit; /* sub-unit for lower level driver */ 124 short if_mtu; /* maximum transmission unit */ 125 short if_flags; /* up/down, broadcast, etc. */ 126 int if_metric; /* routing metric (external only) */ 127 char if_hwaddr [6]; /* ethernet address */ 128 int if_type; /* interface type: 1=generic, 129 28=slip, ether=6, loopback=24 */ 130 int if_speed; /* interface speed: in bits/sec */ 131 132 struct sockaddr if_addr; /* interface's address */ 133 struct sockaddr ifu_broadaddr; /* broadcast address */ 134 struct sockaddr ia_subnetmask; /* interface's mask */ 135 136 struct ifqueue { 137 int ifq_len; 138 int ifq_drops; 139 } if_snd; /* output queue */ 140 int if_ibytes; /* octets received on interface */ 141 int if_ipackets; /* packets received on interface */ 142 int if_ierrors; /* input errors on interface */ 143 int if_iqdrops; /* input queue overruns */ 144 int if_obytes; /* octets sent on interface */ 145 int if_opackets; /* packets sent on interface */ 146 int if_oerrors; /* output errors on interface */ 147 int if_collisions; /* collisions on csma interfaces */ 148 /* end statistics */ 149 struct ifnet *if_next; 150 }; 151 #endif 152 ], ifnet, $1, $2) 153 ]) 154 155 dnl 156 dnl Add a search path to the LIBS and CFLAGS variables 157 dnl 158 AC_DEFUN(AC_ADD_SEARCH_PATH,[ 159 if test "x$1" != x -a -d $1; then 160 if test -d $1/lib; then 161 LDFLAGS="-L$1/lib $LDFLAGS" 162 fi 163 if test -d $1/include; then 164 CPPFLAGS="-I$1/include $CPPFLAGS" 165 fi 166 fi 167 ]) 168 169 dnl 170 dnl Store information for displaying later. 171 dnl 172 AC_DEFUN(AC_MSG_CACHE_INIT,[ 173 rm -f configure-summary 174 ]) 175 176 AC_DEFUN(AC_MSG_CACHE_ADD,[ 177 cat >> configure-summary << EOF 178 $1 179 EOF 180 ]) 181 182 AC_DEFUN(AC_MSG_CACHE_DISPLAY,[ 183 echo "" 184 echo "---------------------------------------------------------" 185 echo " Net-SNMP configuration summary:" 186 echo "---------------------------------------------------------" 187 echo "" 188 cat configure-summary 189 echo "" 190 echo "---------------------------------------------------------" 191 echo "" 192 ]) 193 -
agent/Makefile.in
diff -ruN net-snmp-5.1.2-orig/agent/Makefile.in net-snmp-5.1.2-5/agent/Makefile.in
old new 82 82 # libnetsnmpagent objects 83 83 LIBAGENTOBJS=snmp_agent.o snmp_vars.o agent_read_config.o \ 84 84 agent_registry.o agent_index.o agent_trap.o kernel.o \ 85 agent_handler.o @OTHERAGENTLIBOBJS@ 85 agent_handler.o @OTHERAGENTLIBOBJS@ @WRAPLIBS@ 86 86 LLIBAGENTOBJS=snmp_agent.lo snmp_vars.lo agent_read_config.lo \ 87 87 agent_registry.lo agent_index.lo agent_trap.lo kernel.lo \ 88 88 agent_handler.lo @OTHERAGENTLIBLOBJS@ … … 120 120 121 121 122 122 libnetsnmpagent.$(LIB_EXTENSION)$(LIB_VERSION): ${LLIBAGENTOBJS} libnetsnmpmibs.$(LIB_EXTENSION)$(LIB_VERSION) 123 $(LIB_LD_CMD) libnetsnmpagent.$(LIB_EXTENSION)$(LIB_VERSION) ${LLIBAGENTOBJS} $(LIB_LD_LIBS) 123 $(LIB_LD_CMD) libnetsnmpagent.$(LIB_EXTENSION)$(LIB_VERSION) ${LLIBAGENTOBJS} $(LIB_LD_LIBS) $(AGENT_RELINK_LIBS) 124 124 $(RANLIB) libnetsnmpagent.$(LIB_EXTENSION)$(LIB_VERSION) 125 125 126 126 libnetsnmpmibs.$(LIB_EXTENSION)$(LIB_VERSION): ${LMIBOBJS} 127 $(LIB_LD_CMD) libnetsnmpmibs.$(LIB_EXTENSION)$(LIB_VERSION) ${LMIBOBJS} $(LIB_LD_LIBS) 127 $(LIB_LD_CMD) libnetsnmpmibs.$(LIB_EXTENSION)$(LIB_VERSION) ${LMIBOBJS} $(LIB_LD_LIBS) $(MIBS_RELINK_LIBS) $(LIBSENSORS) 128 128 $(RANLIB) libnetsnmpmibs.$(LIB_EXTENSION)$(LIB_VERSION) 129 129 130 130 embedperlinstall: -
agent/helpers/Makefile.in
diff -ruN net-snmp-5.1.2-orig/agent/helpers/Makefile.in net-snmp-5.1.2-5/agent/helpers/Makefile.in
old new 68 68 all: standardall 69 69 70 70 libnetsnmphelpers.$(LIB_EXTENSION)$(LIB_VERSION): ${LOBJS} 71 $(LIB_LD_CMD) libnetsnmphelpers.$(LIB_EXTENSION)$(LIB_VERSION) ${LOBJS} $(LIB_LD_LIBS) 71 $(LIB_LD_CMD) libnetsnmphelpers.$(LIB_EXTENSION)$(LIB_VERSION) ${LOBJS} $(LIB_LD_LIBS) $(HELPERS_RELINK_LIBS) 72 72 $(RANLIB) libnetsnmphelpers.$(LIB_EXTENSION)$(LIB_VERSION) -
agent/mibgroup/agentx/protocol.h
diff -ruN net-snmp-5.1.2-orig/agent/mibgroup/agentx/protocol.h net-snmp-5.1.2-5/agent/mibgroup/agentx/protocol.h
old new 10 10 */ 11 11 12 12 #define AGENTX_PORT 705 13 #define AGENTX_SOCKET "/var/ agentx/master"13 #define AGENTX_SOCKET "/var/run/agentx" 14 14 15 15 /* 16 16 * AgentX versions -
agent/mibgroup/mibII/interfaces.c
diff -ruN net-snmp-5.1.2-orig/agent/mibgroup/mibII/interfaces.c net-snmp-5.1.2-5/agent/mibgroup/mibII/interfaces.c
old new 1512 1512 struct ifreq ifrq; 1513 1513 struct ifnet **ifnetaddr_ptr; 1514 1514 FILE *devin; 1515 unsigned long rec_pkt, rec_oct, rec_err, rec_drop;1516 unsigned long snd_pkt, snd_oct, snd_err, snd_drop, coll;1517 1515 int i, fd; 1518 1516 conf_if_list *if_ptr; 1517 #ifdef SCNuMAX 1518 uintmax_t rec_pkt, rec_oct, rec_err, rec_drop, rec_mcast; 1519 uintmax_t snd_pkt, snd_oct, snd_err, snd_drop, coll; 1520 const char *scan_line_2_2 = 1521 "%" SCNuMAX " %" SCNuMAX " %" SCNuMAX " %" SCNuMAX 1522 " %*" SCNuMAX " %*" SCNuMAX " %*" SCNuMAX " %*" SCNuMAX 1523 " %" SCNuMAX " %" SCNuMAX " %" SCNuMAX " %" SCNuMAX 1524 " %*" SCNuMAX " %" SCNuMAX; 1525 const char *scan_line_2_0 = 1526 "%" SCNuMAX " %" SCNuMAX " %*" SCNuMAX " %*" SCNuMAX 1527 " %*" SCNuMAX " %" SCNuMAX " %" SCNuMAX " %*" SCNuMAX 1528 " %*" SCNuMAX " %" SCNuMAX; 1529 #else 1530 unsigned long rec_pkt, rec_oct, rec_err, rec_drop; 1531 unsigned long snd_pkt, snd_oct, snd_err, snd_drop, coll; 1519 1532 const char *scan_line_2_2 = 1520 1533 "%lu %lu %lu %lu %*lu %*lu %*lu %*lu %lu %lu %lu %lu %*lu %lu"; 1521 1534 const char *scan_line_2_0 = 1522 1535 "%lu %lu %*lu %*lu %*lu %lu %lu %*lu %*lu %lu"; 1536 #endif 1523 1537 const char *scan_line_to_use; 1524 1538 struct timeval et; /* elapsed time */ 1525 1539 … … 1598 1612 struct ifnet *nnew; 1599 1613 char *stats, *ifstart = line; 1600 1614 1615 /* Ignore interfaces with no statistics. */ 1616 if (strstr(line, "No statistics available.")) 1617 continue; 1618 1601 1619 if (line[strlen(line) - 1] == '\n') 1602 1620 line[strlen(line) - 1] = '\0'; 1603 1621 … … 1631 1649 &coll) != 5)) { 1632 1650 if ((scan_line_to_use == scan_line_2_2) 1633 1651 && !strstr(line, "No statistics available")) 1634 snmp_log(LOG_ ERR,1652 snmp_log(LOG_DEBUG, 1635 1653 "/proc/net/dev data format error, line ==|%s|", 1636 1654 line); 1637 1655 continue; -
agent/mibgroup/smux/smux.c
diff -ruN net-snmp-5.1.2-orig/agent/mibgroup/smux/smux.c net-snmp-5.1.2-5/agent/mibgroup/smux/smux.c
old new 819 819 passwd[string_len] = '\0'; 820 820 if (!smux_auth_peer(oid_name, oid_name_len, passwd, fd)) { 821 821 snmp_log(LOG_WARNING, 822 "refused smux peer: oid %s, password %s,descr %s\n",823 oid_print, passwd,descr);822 "refused smux peer: oid %s, descr %s\n", 823 oid_print, descr); 824 824 *fail = TRUE; 825 825 return ptr; 826 826 } 827 827 snmp_log(LOG_INFO, 828 "accepted smux peer: oid %s, password %s,descr %s\n",829 oid_print, passwd,descr);828 "accepted smux peer: oid %s, descr %s\n", 829 oid_print, descr); 830 830 *fail = FALSE; 831 831 return ptr; 832 832 } -
apps/Makefile.in
diff -ruN net-snmp-5.1.2-orig/apps/Makefile.in net-snmp-5.1.2-5/apps/Makefile.in
old new 129 129 $(LINK) -o $@ snmpdf.$(OSUFFIX) $(LOCAL_LIBS) ${LDFLAGS} ${LIBS} 130 130 131 131 libnetsnmptrapd.$(LIB_EXTENSION)$(LIB_VERSION): $(LLIBTRAPD_OBJS) 132 $(LIB_LD_CMD) libnetsnmptrapd.$(LIB_EXTENSION)$(LIB_VERSION) ${LLIBTRAPD_OBJS} $(LIB_LD_LIBS) 132 $(LIB_LD_CMD) libnetsnmptrapd.$(LIB_EXTENSION)$(LIB_VERSION) ${LLIBTRAPD_OBJS} $(LIB_LD_LIBS) $(TRAPD_RELINK_LIBS) 133 133 $(RANLIB) libnetsnmptrapd.$(LIB_EXTENSION)$(LIB_VERSION) 134 134 135 135 snmpinforminstall: -
apps/snmpnetstat/if.c
diff -ruN net-snmp-5.1.2-orig/apps/snmpnetstat/if.c net-snmp-5.1.2-5/apps/snmpnetstat/if.c
old new 300 300 case IFINDEX: 301 301 ifindex = *var->val.integer; 302 302 for (cur_if = if_table; 303 cur_if->ifindex != ifindex && cur_if->ifindex != 0; 304 cur_if++); 303 cur_if < (if_table + cfg_nnets) && 304 cur_if->ifindex != ifindex && 305 cur_if->ifindex != 0; cur_if++); 305 306 if (cur_if >= (if_table + cfg_nnets)) { 306 307 fprintf(stderr, 307 308 "Inconsistent reponse from server. Aborting\n"); … … 492 493 case IPIFINDEX: 493 494 ifindex = *var->val.integer; 494 495 for (cur_if = if_table; 495 cur_if->ifindex != ifindex && cur_if->ifindex != 0; 496 cur_if++); 496 cur_if < (if_table + cfg_nnets) && 497 cur_if->ifindex != ifindex && 498 cur_if->ifindex != 0; cur_if++); 499 if (cur_if >= (if_table + cfg_nnets)) { 500 fprintf(stderr, 501 "Inconsistent reponse from server. Aborting.\n"); 502 exit(0); 503 } 497 504 cur_if->ifindex = ifindex; 498 505 break; 499 506 case IPADDR: … … 567 574 case IFINDEX: 568 575 ifindex = *var->val.integer; 569 576 for (cur_if = if_table; 570 cur_if->ifindex != ifindex && cur_if->ifindex != 0; 571 cur_if++); 577 cur_if < (if_table + cfg_nnets) && 578 cur_if->ifindex != ifindex && 579 cur_if->ifindex != 0; cur_if++); 580 if (cur_if >= (if_table + cfg_nnets)) { 581 fprintf(stderr, 582 "Inconsistent reponse from server. Aborting.\n"); 583 exit(0); 584 } 572 585 cur_if->ifindex = ifindex; 573 586 break; 574 587 case INOCTETS: -
configure.in
diff -ruN net-snmp-5.1.2-orig/configure.in net-snmp-5.1.2-5/configure.in
old new 161 161 AC_DEFINE(SNMP_NO_DEBUGGING) 162 162 fi 163 163 164 AC_ARG_WITH(rpm, 165 [ --without-rpm Don't use RPM even if available.]) 166 164 167 AC_ARG_WITH(dmalloc, 165 168 [ --with-dmalloc=PATH Use dmalloc library (www.dmalloc.com)], 166 169 if test "x$withval" = "xyes"; then … … 1539 1542 AC_CHECK_LIB(RSAglue, RSA_PKCS1_RSAref) 1540 1543 fi 1541 1544 1542 AC_CHECK_LIB(crypto, EVP_md5 )1545 AC_CHECK_LIB(crypto, EVP_md5, [CRYPTOLIBS=-lcrypto], , ) 1543 1546 AC_CHECK_FUNCS(AES_cfb128_encrypt) 1544 1547 fi 1545 1548 elif test "x$askedpkcs" = "xyes"; then 1546 1549 AC_CHECK_LIB(pkcs11, C_Initialize) 1547 1550 fi 1551 AC_SUBST(CRYPTOLIBS) 1548 1552 1549 1553 # Check for libraries that the agent needs 1550 1554 # saving old libraries … … 1664 1668 # Replace `main' with a function in -lkvm: 1665 1669 AC_CHECK_LIB(kvm, kvm_read) 1666 1670 # DYNAMIC MODULE SUPPORT 1667 AC_CHECK_LIB(dl, dlopen) 1668 AC_CHECK_FUNCS(dlopen) 1671 AC_CHECK_FUNC(dlopen, AC_DEFINE(HAVE_DLOPEN), 1672 AC_CHECK_LIB(dl, dlopen, AC_DEFINE(HAVE_DLOPEN) 1673 LIBS="${LIBS} -ldl")) 1669 1674 1670 1675 AC_CHECK_FUNCS(kvm_openfiles nlist knlist kvm_getprocs) 1671 1676 echo "$with_mib_modules" | grep "ucd-snmp/diskio" >/dev/null … … 1979 1984 1980 1985 AC_MSG_RESULT([$ac_cv_type_ssize_t]) 1981 1986 if test $ac_cv_type_ssize_t = yes; then 1982 AC_DEFINE(HAVE_SSIZE_T )1987 AC_DEFINE(HAVE_SSIZE_T, 1, [Define if type ssize_t is available]) 1983 1988 fi 1984 1989 1985 1990 # Check ps args -
local/Makefile.in
diff -ruN net-snmp-5.1.2-orig/debian/README.Debian net-snmp-5.1.2-5/debian/README.Debian diff -ruN net-snmp-5.1.2-orig/debian/changelog net-snmp-5.1.2-5/debian/changelog diff -ruN net-snmp-5.1.2-orig/debian/control net-snmp-5.1.2-5/debian/control diff -ruN net-snmp-5.1.2-orig/debian/copyright net-snmp-5.1.2-5/debian/copyright diff -ruN net-snmp-5.1.2-orig/debian/fixman net-snmp-5.1.2-5/debian/fixman diff -ruN net-snmp-5.1.2-orig/debian/libsnmp-base.dirs net-snmp-5.1.2-5/debian/libsnmp-base.dirs diff -ruN net-snmp-5.1.2-orig/debian/libsnmp-base.docs net-snmp-5.1.2-5/debian/libsnmp-base.docs diff -ruN net-snmp-5.1.2-orig/debian/libsnmp-base.files net-snmp-5.1.2-5/debian/libsnmp-base.files diff -ruN net-snmp-5.1.2-orig/debian/libsnmp-base.postrm net-snmp-5.1.2-5/debian/libsnmp-base.postrm diff -ruN net-snmp-5.1.2-orig/debian/libsnmp-base.prerm net-snmp-5.1.2-5/debian/libsnmp-base.prerm diff -ruN net-snmp-5.1.2-orig/debian/libsnmp-perl.docs net-snmp-5.1.2-5/debian/libsnmp-perl.docs diff -ruN net-snmp-5.1.2-orig/debian/libsnmp-perl.files net-snmp-5.1.2-5/debian/libsnmp-perl.files diff -ruN net-snmp-5.1.2-orig/debian/libsnmp5-dev.files net-snmp-5.1.2-5/debian/libsnmp5-dev.files diff -ruN net-snmp-5.1.2-orig/debian/libsnmp5-dev.manpages net-snmp-5.1.2-5/debian/libsnmp5-dev.manpages diff -ruN net-snmp-5.1.2-orig/debian/libsnmp5.dirs net-snmp-5.1.2-5/debian/libsnmp5.dirs diff -ruN net-snmp-5.1.2-orig/debian/libsnmp5.docs net-snmp-5.1.2-5/debian/libsnmp5.docs diff -ruN net-snmp-5.1.2-orig/debian/libsnmp5.files net-snmp-5.1.2-5/debian/libsnmp5.files diff -ruN net-snmp-5.1.2-orig/debian/libsnmp5.postinst net-snmp-5.1.2-5/debian/libsnmp5.postinst diff -ruN net-snmp-5.1.2-orig/debian/libsnmp5.prerm net-snmp-5.1.2-5/debian/libsnmp5.prerm diff -ruN net-snmp-5.1.2-orig/debian/manpages/encode_keychange.1 net-snmp-5.1.2-5/debian/manpages/encode_keychange.1 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 diff -ruN net-snmp-5.1.2-orig/debian/manpages/snmpvacm.1 net-snmp-5.1.2-5/debian/manpages/snmpvacm.1 diff -ruN net-snmp-5.1.2-orig/debian/manpages/tkmib.1 net-snmp-5.1.2-5/debian/manpages/tkmib.1 diff -ruN net-snmp-5.1.2-orig/debian/rules net-snmp-5.1.2-5/debian/rules diff -ruN net-snmp-5.1.2-orig/debian/snmp.files net-snmp-5.1.2-5/debian/snmp.files diff -ruN net-snmp-5.1.2-orig/debian/snmp.manpages net-snmp-5.1.2-5/debian/snmp.manpages diff -ruN net-snmp-5.1.2-orig/debian/snmp.preinst net-snmp-5.1.2-5/debian/snmp.preinst diff -ruN net-snmp-5.1.2-orig/debian/snmpd.default net-snmp-5.1.2-5/debian/snmpd.default diff -ruN net-snmp-5.1.2-orig/debian/snmpd.files net-snmp-5.1.2-5/debian/snmpd.files diff -ruN net-snmp-5.1.2-orig/debian/snmpd.init net-snmp-5.1.2-5/debian/snmpd.init diff -ruN net-snmp-5.1.2-orig/debian/snmpd.postinst net-snmp-5.1.2-5/debian/snmpd.postinst diff -ruN net-snmp-5.1.2-orig/debian/snmpd.postrm net-snmp-5.1.2-5/debian/snmpd.postrm diff -ruN net-snmp-5.1.2-orig/debian/tkmib.docs net-snmp-5.1.2-5/debian/tkmib.docs diff -ruN net-snmp-5.1.2-orig/debian/tkmib.files net-snmp-5.1.2-5/debian/tkmib.files diff -ruN net-snmp-5.1.2-orig/debian/tkmib.manpages net-snmp-5.1.2-5/debian/tkmib.manpages diff -ruN net-snmp-5.1.2-orig/debian/watch net-snmp-5.1.2-5/debian/watch diff -ruN net-snmp-5.1.2-orig/ipkg/libsnmp/CONTROL/control net-snmp-5.1.2-5/ipkg/libsnmp/CONTROL/control diff -ruN net-snmp-5.1.2-orig/ipkg/libsnmp-dev/CONTROL/control net-snmp-5.1.2-5/ipkg/libsnmp-dev/CONTROL/control diff -ruN net-snmp-5.1.2-orig/ipkg/rules net-snmp-5.1.2-5/ipkg/rules diff -ruN net-snmp-5.1.2-orig/ipkg/snmp-utils/CONTROL/control net-snmp-5.1.2-5/ipkg/snmp-utils/CONTROL/control diff -ruN net-snmp-5.1.2-orig/ipkg/snmpd/CONTROL/conffiles net-snmp-5.1.2-5/ipkg/snmpd/CONTROL/conffiles diff -ruN net-snmp-5.1.2-orig/ipkg/snmpd/CONTROL/control net-snmp-5.1.2-5/ipkg/snmpd/CONTROL/control diff -ruN net-snmp-5.1.2-orig/ipkg/snmpd/etc/default/snmpd net-snmp-5.1.2-5/ipkg/snmpd/etc/default/snmpd 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 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 diff -ruN net-snmp-5.1.2-orig/ipkg/snmpd-static/CONTROL/control net-snmp-5.1.2-5/ipkg/snmpd-static/CONTROL/control diff -ruN net-snmp-5.1.2-orig/ipkg/version net-snmp-5.1.2-5/ipkg/version diff -ruN net-snmp-5.1.2-orig/local/Makefile.in net-snmp-5.1.2-5/local/Makefile.in
old new 58 58 59 59 mib2c.made: $(srcdir)/mib2c 60 60 if test "x$(PERLPROG)" != "x" ; then \ 61 $(PERLPROG) -p -e 's%^#!.*/perl.*%#!$(PERLPROG)%;s#/usr/local/share/snmp#$(snmplibdir)#; ' ${srcdir}/mib2c > mib2c.made; \61 $(PERLPROG) -p -e 's%^#!.*/perl.*%#!$(PERLPROG)%;s#/usr/local/share/snmp#$(snmplibdir)#;s#/usr/local/etc/snmp#$(SNMPCONFPATH)#;' ${srcdir}/mib2c > mib2c.made; \ 62 62 else \ 63 63 touch mib2c.made; \ 64 64 fi -
net-snmp-5.1.
diff -ruN net-snmp-5.1.2-orig/local/mib2c net-snmp-5.1.2-5/local/mib2c
old new 56 56 if($ENV{MIB2C_DIR}) { 57 57 push @def_search_dirs, $ENV{MIB2C_DIR}; 58 58 } 59 push @def_search_dirs, "/usr/local/share/snmp/"; 59 push @def_search_dirs, "/etc/snmp/"; 60 push @def_search_dirs, "/usr/share/snmp/"; 60 61 61 62 62 63 sub usage { -
man/mib2c.1.def
diff -ruN net-snmp-5.1.2-orig/man/mib2c.1.def net-snmp-5.1.2-5/man/mib2c.1.def
old new 72 72 .TP 73 73 .BI -c " CONFIGFILE" 74 74 Use CONFIGFILE when generating code. These files will be searched for 75 first in the current directory and then in the DATADIR directory 76 (which is where the default mib2c configuration files can be found). 75 first in the current directory and then in /etc/snmp 76 (which is where the default mib2c configuration files can be found) 77 and finally in the DATADIR directory. 77 78 Running mib2c without the -c CONFIGFILE option will display 78 79 a description of the valid values for CONFIGFILE, that is, 79 80 the available config files, including new ones that you might -
man/mib_api.3.def
diff -ruN net-snmp-5.1.2-orig/man/mib_api.3.def net-snmp-5.1.2-5/man/mib_api.3.def
old new 5 5 add_module_replacement, 6 6 read_module, read_mib, read_all_mibs, 7 7 read_objid, read_module_node, 8 get_module_node , read_objid8 get_module_node 9 9 snmp_set_mib_warnings, snmp_set_save_descriptions, 10 10 shutdown_mib, 11 11 print_mib, … … 34 34 .PP 35 35 .BI "void print_mib(FILE *" "fp" ); 36 36 .PP 37 .BI "int read_objid(char *" "input" ", oid *" "output" ", int *" "out_len" );37 .BI "int read_objid(char *" "input" ", oid *" "output" ", size_t *" "out_len" ); 38 38 .br 39 .BI "int get_module_node(char *" "name" ", char *" "module" ", oid *" "objid" ", int *" "objidlen" );39 .BI "int get_module_node(char *" "name" ", char *" "module" ", oid *" "objid" ", size_t *" "objidlen" ); 40 40 .PP 41 41 .BI "void print_variable(const oid *" "objid" ", size_t " "objidlen" ", struct variable_list *" "variable" ); 42 42 .br -
man/snmp_config.5.def
diff -ruN net-snmp-5.1.2-orig/man/snmp_config.5.def net-snmp-5.1.2-5/man/snmp_config.5.def
old new 11 11 found and read from. By default, the applications look for 12 12 configuration files in the following 4 directories, in order: 13 13 SYSCONFDIR/snmp, 14 DATADIR/snmp, LIBDIR/snmp, and $HOME/.snmp. In each of these14 /etc/snmp, LIBDIR/snmp, and $HOME/.snmp. In each of these 15 15 directories, it looks for files with the extension of both 16 16 .IR conf " and " local.conf 17 17 (reading the second ones last). In this manner, there are -
man/snmp_trap_api.3.def
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
old new 1 1 .TH SNMP_TRAP_API 3 "7 Mar 2002" VVERSIONINFO "Net-SNMP" 2 2 .UC 5 3 3 .SH NAME 4 send_easy_trap, send_trap_vars, send_v2trap - send TRAPs or INFORMs 5 from a Net-SNMP MIB module 4 send_easy_trap, send_trap_vars, send_v2trap - send TRAPs or INFORMs from a Net-SNMP MIB module 6 5 .SH SYNOPSIS 7 6 .B #include <net-snmp/agent/agent_trap.h> 8 7 .PP -
mibs/BGP4-MIB.txt
diff -ruN net-snmp-5.1.2-orig/mibs/BGP4-MIB.txt net-snmp-5.1.2-5/mibs/BGP4-MIB.txt
old new 1 BGP4-MIB DEFINITIONS ::= BEGIN 2 3 IMPORTS 4 MODULE-IDENTITY, OBJECT-TYPE, NOTIFICATION-TYPE, 5 IpAddress, Integer32, Counter32, Gauge32, mib-2 6 FROM SNMPv2-SMI 7 MODULE-COMPLIANCE, OBJECT-GROUP, NOTIFICATION-GROUP 8 FROM SNMPv2-CONF; 9 10 bgp MODULE-IDENTITY 11 LAST-UPDATED "9902100000Z" 12 ORGANIZATION "IETF IDR Working Group" 13 CONTACT-INFO "E-mail: idr@merit.net 14 15 Susan Hares (Editor) 16 Merit Network 17 4251 Plymouth Road 18 Suite C 19 Ann Arbor, MI 48105-2785 20 Tel: +1 734 936 2095 21 Fax: +1 734 647 3185 22 E-mail: skh@merit.edu 23 24 Jeff Johnson (Editor) 25 RedBack Networks, Inc. 26 1389 Moffett Park Drive 27 Sunnyvale, CA 94089-1134 28 Tel: +1 408 548 3516 29 Fax: +1 408 548 3599 30 E-mail: jeff@redback.com" 31 DESCRIPTION 32 "The MIB module for BGP-4." 33 REVISION "9902100000Z" 34 DESCRIPTION 35 "Corrected duplicate OBJECT IDENTIFIER 36 assignment in the conformance information." 37 REVISION "9601080000Z" 38 DESCRIPTION 39 "1) Fixed the definitions of the traps to 40 make them equivalent to their initial 41 definition in RFC 1269. 42 2) Added compliance and conformance info." 43 ::= { mib-2 15 } 44 45 bgpVersion OBJECT-TYPE 46 SYNTAX OCTET STRING (SIZE (1..255)) 47 MAX-ACCESS read-only 48 STATUS current 49 DESCRIPTION 50 "Vector of supported BGP protocol version 51 numbers. Each peer negotiates the version 52 from this vector. Versions are identified 53 via the string of bits contained within this 54 object. The first octet contains bits 0 to 55 7, the second octet contains bits 8 to 15, 56 and so on, with the most significant bit 57 referring to the lowest bit number in the 58 octet (e.g., the MSB of the first octet 59 refers to bit 0). If a bit, i, is present 60 and set, then the version (i+1) of the BGP 61 is supported." 62 ::= { bgp 1 } 63 64 bgpLocalAs OBJECT-TYPE 65 SYNTAX INTEGER (0..65535) 66 MAX-ACCESS read-only 67 STATUS current 68 DESCRIPTION 69 "The local autonomous system number." 70 ::= { bgp 2 } 71 72 73 74 -- BGP Peer table. This table contains, one entry per BGP 75 -- peer, information about the BGP peer. 76 77 bgpPeerTable OBJECT-TYPE 78 SYNTAX SEQUENCE OF BgpPeerEntry 79 MAX-ACCESS not-accessible 80 STATUS current 81 DESCRIPTION 82 "BGP peer table. This table contains, 83 one entry per BGP peer, information about the 84 connections with BGP peers." 85 ::= { bgp 3 } 86 87 bgpPeerEntry OBJECT-TYPE 88 SYNTAX BgpPeerEntry 89 MAX-ACCESS not-accessible 90 STATUS current 91 DESCRIPTION 92 "Entry containing information about the 93 connection with a BGP peer." 94 INDEX { bgpPeerRemoteAddr } 95 ::= { bgpPeerTable 1 } 96 97 BgpPeerEntry ::= SEQUENCE { 98 bgpPeerIdentifier 99 IpAddress, 100 bgpPeerState 101 INTEGER, 102 bgpPeerAdminStatus 103 INTEGER, 104 bgpPeerNegotiatedVersion 105 Integer32, 106 bgpPeerLocalAddr 107 IpAddress, 108 bgpPeerLocalPort 109 INTEGER, 110 bgpPeerRemoteAddr 111 IpAddress, 112 bgpPeerRemotePort 113 INTEGER, 114 bgpPeerRemoteAs 115 INTEGER, 116 bgpPeerInUpdates 117 Counter32, 118 bgpPeerOutUpdates 119 Counter32, 120 bgpPeerInTotalMessages 121 Counter32, 122 bgpPeerOutTotalMessages 123 Counter32, 124 bgpPeerLastError 125 OCTET STRING, 126 bgpPeerFsmEstablishedTransitions 127 Counter32, 128 bgpPeerFsmEstablishedTime 129 Gauge32, 130 bgpPeerConnectRetryInterval 131 INTEGER, 132 bgpPeerHoldTime 133 INTEGER, 134 bgpPeerKeepAlive 135 INTEGER, 136 bgpPeerHoldTimeConfigured 137 INTEGER, 138 bgpPeerKeepAliveConfigured 139 INTEGER, 140 bgpPeerMinASOriginationInterval 141 INTEGER, 142 bgpPeerMinRouteAdvertisementInterval 143 INTEGER, 144 bgpPeerInUpdateElapsedTime 145 Gauge32 146 } 147 148 bgpPeerIdentifier OBJECT-TYPE 149 SYNTAX IpAddress 150 MAX-ACCESS read-only 151 STATUS current 152 DESCRIPTION 153 "The BGP Identifier of this entry's BGP peer." 154 ::= { bgpPeerEntry 1 } 155 156 bgpPeerState OBJECT-TYPE 157 SYNTAX INTEGER { 158 idle(1), 159 connect(2), 160 active(3), 161 opensent(4), 162 openconfirm(5), 163 established(6) 164 } 165 MAX-ACCESS read-only 166 STATUS current 167 DESCRIPTION 168 "The BGP peer connection state." 169 ::= { bgpPeerEntry 2 } 170 171 bgpPeerAdminStatus OBJECT-TYPE 172 SYNTAX INTEGER { 173 stop(1), 174 start(2) 175 } 176 MAX-ACCESS read-write 177 STATUS current 178 DESCRIPTION 179 "The desired state of the BGP connection. A 180 transition from 'stop' to 'start' will cause 181 the BGP Start Event to be generated. A 182 transition from 'start' to 'stop' will cause 183 the BGP Stop Event to be generated. This 184 parameter can be used to restart BGP peer 185 connections. Care should be used in providing 186 write access to this object without adequate 187 authentication." 188 ::= { bgpPeerEntry 3 } 189 190 bgpPeerNegotiatedVersion OBJECT-TYPE 191 SYNTAX Integer32 192 MAX-ACCESS read-only 193 STATUS current 194 DESCRIPTION 195 "The negotiated version of BGP running between 196 the two peers." 197 ::= { bgpPeerEntry 4 } 198 199 bgpPeerLocalAddr OBJECT-TYPE 200 SYNTAX IpAddress 201 MAX-ACCESS read-only 202 STATUS current 203 DESCRIPTION 204 "The local IP address of this entry's BGP 205 connection." 206 ::= { bgpPeerEntry 5 } 207 208 bgpPeerLocalPort OBJECT-TYPE 209 SYNTAX INTEGER (0..65535) 210 MAX-ACCESS read-only 211 STATUS current 212 DESCRIPTION 213 "The local port for the TCP connection between 214 the BGP peers." 215 ::= { bgpPeerEntry 6 } 216 217 bgpPeerRemoteAddr OBJECT-TYPE 218 SYNTAX IpAddress 219 MAX-ACCESS read-only 220 STATUS current 221 DESCRIPTION 222 "The remote IP address of this entry's BGP 223 peer." 224 ::= { bgpPeerEntry 7 } 225 226 bgpPeerRemotePort OBJECT-TYPE 227 SYNTAX INTEGER (0..65535) 228 MAX-ACCESS read-only 229 STATUS current 230 DESCRIPTION 231 "The remote port for the TCP connection between 232 the BGP peers. Note that the objects 233 bgpPeerLocalAddr, bgpPeerLocalPort, 234 bgpPeerRemoteAddr and bgpPeerRemotePort 235 provide the appropriate reference to the 236 standard MIB TCP connection table." 237 ::= { bgpPeerEntry 8 } 238 239 bgpPeerRemoteAs OBJECT-TYPE 240 SYNTAX INTEGER (0..65535) 241 MAX-ACCESS read-only 242 STATUS current 243 DESCRIPTION 244 "The remote autonomous system number." 245 ::= { bgpPeerEntry 9 } 246 247 bgpPeerInUpdates OBJECT-TYPE 248 SYNTAX Counter32 249 MAX-ACCESS read-only 250 STATUS current 251 DESCRIPTION 252 "The number of BGP UPDATE messages received on 253 this connection. This object should be 254 initialized to zero (0) when the connection is 255 established." 256 ::= { bgpPeerEntry 10 } 257 258 bgpPeerOutUpdates OBJECT-TYPE 259 SYNTAX Counter32 260 MAX-ACCESS read-only 261 STATUS current 262 DESCRIPTION 263 "The number of BGP UPDATE messages transmitted 264 on this connection. This object should be 265 initialized to zero (0) when the connection is 266 established." 267 ::= { bgpPeerEntry 11 } 268 269 bgpPeerInTotalMessages OBJECT-TYPE 270 SYNTAX Counter32 271 MAX-ACCESS read-only 272 STATUS current 273 DESCRIPTION 274 "The total number of messages received from the 275 remote peer on this connection. This object 276 should be initialized to zero when the 277 connection is established." 278 ::= { bgpPeerEntry 12 } 279 280 bgpPeerOutTotalMessages OBJECT-TYPE 281 SYNTAX Counter32 282 MAX-ACCESS read-only 283 STATUS current 284 DESCRIPTION 285 "The total number of messages transmitted to 286 the remote peer on this connection. This object 287 should be initialized to zero when the 288 connection is established." 289 ::= { bgpPeerEntry 13 } 290 291 bgpPeerLastError OBJECT-TYPE 292 SYNTAX OCTET STRING (SIZE (2)) 293 MAX-ACCESS read-only 294 STATUS current 295 DESCRIPTION 296 "The last error code and subcode seen by this 297 peer on this connection. If no error has 298 occurred, this field is zero. Otherwise, the 299 first byte of this two byte OCTET STRING 300 contains the error code, and the second byte 301 contains the subcode." 302 ::= { bgpPeerEntry 14 } 303 304 bgpPeerFsmEstablishedTransitions OBJECT-TYPE 305 SYNTAX Counter32 306 MAX-ACCESS read-only 307 STATUS current 308 DESCRIPTION 309 "The total number of times the BGP FSM 310 transitioned into the established state." 311 ::= { bgpPeerEntry 15 } 312 313 bgpPeerFsmEstablishedTime OBJECT-TYPE 314 SYNTAX Gauge32 315 MAX-ACCESS read-only 316 STATUS current 317 DESCRIPTION 318 "This timer indicates how long (in seconds) this 319 peer has been in the Established state or how long 320 since this peer was last in the Established state. 321 It is set to zero when a new peer is configured or 322 the router is booted." 323 ::= { bgpPeerEntry 16 } 324 325 bgpPeerConnectRetryInterval OBJECT-TYPE 326 SYNTAX INTEGER (1..65535) 327 MAX-ACCESS read-write 328 STATUS current 329 DESCRIPTION 330 "Time interval in seconds for the ConnectRetry 331 timer. The suggested value for this timer is 332 120 seconds." 333 ::= { bgpPeerEntry 17 } 334 335 bgpPeerHoldTime OBJECT-TYPE 336 SYNTAX INTEGER ( 0 | 3..65535 ) 337 MAX-ACCESS read-only 338 STATUS current 339 DESCRIPTION 340 "Time interval in seconds for the Hold Timer 341 established with the peer. The value of this 342 object is calculated by this BGP speaker by 343 using the smaller of the value in 344 bgpPeerHoldTimeConfigured and the Hold Time 345 received in the OPEN message. This value 346 must be at lease three seconds if it is not 347 zero (0) in which case the Hold Timer has 348 not been established with the peer, or, the 349 value of bgpPeerHoldTimeConfigured is zero (0)." 350 ::= { bgpPeerEntry 18 } 351 352 bgpPeerKeepAlive OBJECT-TYPE 353 SYNTAX INTEGER ( 0 | 1..21845 ) 354 MAX-ACCESS read-only 355 STATUS current 356 DESCRIPTION 357 "Time interval in seconds for the KeepAlive 358 timer established with the peer. The value of 359 this object is calculated by this BGP speaker 360 such that, when compared with bgpPeerHoldTime, 361 it has the same proportion as what 362 bgpPeerKeepAliveConfigured has when compared 363 with bgpPeerHoldTimeConfigured. If the value 364 of this object is zero (0), it indicates that 365 the KeepAlive timer has not been established 366 with the peer, or, the value of 367 bgpPeerKeepAliveConfigured is zero (0)." 368 ::= { bgpPeerEntry 19 } 369 370 bgpPeerHoldTimeConfigured OBJECT-TYPE 371 SYNTAX INTEGER ( 0 | 3..65535 ) 372 MAX-ACCESS read-write 373 STATUS current 374 DESCRIPTION 375 "Time interval in seconds for the Hold Time 376 configured for this BGP speaker with this peer. 377 This value is placed in an OPEN message sent to 378 this peer by this BGP speaker, and is compared 379 with the Hold Time field in an OPEN message 380 received from the peer when determining the Hold 381 Time (bgpPeerHoldTime) with the peer. This value 382 must not be less than three seconds if it is not 383 zero (0) in which case the Hold Time is NOT to be 384 established with the peer. The suggested value for 385 this timer is 90 seconds." 386 ::= { bgpPeerEntry 20 } 387 388 bgpPeerKeepAliveConfigured OBJECT-TYPE 389 SYNTAX INTEGER ( 0 | 1..21845 ) 390 MAX-ACCESS read-write 391 STATUS current 392 DESCRIPTION 393 "Time interval in seconds for the KeepAlive timer 394 configured for this BGP speaker with this peer. 395 The value of this object will only determine the 396 KEEPALIVE messages' frequency relative to the value 397 specified in bgpPeerHoldTimeConfigured; the actual 398 time interval for the KEEPALIVE messages is 399 indicated by bgpPeerKeepAlive. A reasonable 400 maximum value for this timer would be configured to 401 be one third of that of bgpPeerHoldTimeConfigured. 402 If the value of this object is zero (0), no 403 periodical KEEPALIVE messages are sent to the peer 404 after the BGP connection has been established. The 405 suggested value for this timer is 30 seconds." 406 ::= { bgpPeerEntry 21 } 407 408 bgpPeerMinASOriginationInterval OBJECT-TYPE 409 SYNTAX INTEGER (1..65535) 410 MAX-ACCESS read-write 411 STATUS current 412 DESCRIPTION 413 "Time interval in seconds for the 414 MinASOriginationInterval timer. 415 The suggested value for this timer is 15 seconds." 416 ::= { bgpPeerEntry 22 } 417 418 bgpPeerMinRouteAdvertisementInterval OBJECT-TYPE 419 SYNTAX INTEGER (1..65535) 420 MAX-ACCESS read-write 421 STATUS current 422 DESCRIPTION 423 "Time interval in seconds for the 424 MinRouteAdvertisementInterval timer. 425 The suggested value for this timer is 30 seconds." 426 ::= { bgpPeerEntry 23 } 427 428 bgpPeerInUpdateElapsedTime OBJECT-TYPE 429 SYNTAX Gauge32 430 MAX-ACCESS read-only 431 STATUS current 432 DESCRIPTION 433 "Elapsed time in seconds since the last BGP 434 UPDATE message was received from the peer. 435 Each time bgpPeerInUpdates is incremented, 436 the value of this object is set to zero (0)." 437 ::= { bgpPeerEntry 24 } 438 439 440 441 bgpIdentifier OBJECT-TYPE 442 SYNTAX IpAddress 443 MAX-ACCESS read-only 444 STATUS current 445 DESCRIPTION 446 "The BGP Identifier of local system." 447 ::= { bgp 4 } 448 449 450 451 -- Received Path Attribute Table. This table contains, 452 -- one entry per path to a network, path attributes 453 -- received from all peers running BGP version 3 or less. 454 -- This table is obsolete, having been replaced in 455 -- functionality with the bgp4PathAttrTable. 456 457 bgpRcvdPathAttrTable OBJECT-TYPE 458 SYNTAX SEQUENCE OF BgpPathAttrEntry 459 MAX-ACCESS not-accessible 460 STATUS obsolete 461 DESCRIPTION 462 "The BGP Received Path Attribute Table contains 463 information about paths to destination networks 464 received from all peers running BGP version 3 or 465 less." 466 ::= { bgp 5 } 467 468 bgpPathAttrEntry OBJECT-TYPE 469 SYNTAX BgpPathAttrEntry 470 MAX-ACCESS not-accessible 471 STATUS obsolete 472 DESCRIPTION 473 "Information about a path to a network." 474 INDEX { bgpPathAttrDestNetwork, 475 bgpPathAttrPeer } 476 ::= { bgpRcvdPathAttrTable 1 } 477 478 BgpPathAttrEntry ::= SEQUENCE { 479 bgpPathAttrPeer 480 IpAddress, 481 bgpPathAttrDestNetwork 482 IpAddress, 483 bgpPathAttrOrigin 484 INTEGER, 485 bgpPathAttrASPath 486 OCTET STRING, 487 bgpPathAttrNextHop 488 IpAddress, 489 bgpPathAttrInterASMetric 490 Integer32 491 } 492 493 bgpPathAttrPeer OBJECT-TYPE 494 SYNTAX IpAddress 495 MAX-ACCESS read-only 496 STATUS obsolete 497 DESCRIPTION 498 "The IP address of the peer where the path 499 information was learned." 500 ::= { bgpPathAttrEntry 1 } 501 502 bgpPathAttrDestNetwork OBJECT-TYPE 503 SYNTAX IpAddress 504 MAX-ACCESS read-only 505 STATUS obsolete 506 DESCRIPTION 507 "The address of the destination network." 508 ::= { bgpPathAttrEntry 2 } 509 510 bgpPathAttrOrigin OBJECT-TYPE 511 SYNTAX INTEGER { 512 igp(1),-- networks are interior 513 egp(2),-- networks learned via EGP 514 incomplete(3) -- undetermined 515 } 516 MAX-ACCESS read-only 517 STATUS obsolete 518 DESCRIPTION 519 "The ultimate origin of the path information." 520 ::= { bgpPathAttrEntry 3 } 521 522 bgpPathAttrASPath OBJECT-TYPE 523 SYNTAX OCTET STRING (SIZE (2..255)) 524 MAX-ACCESS read-only 525 STATUS obsolete 526 DESCRIPTION 527 "The set of ASs that must be traversed to reach 528 the network. This object is probably best 529 represented as SEQUENCE OF INTEGER. For SMI 530 compatibility, though, it is represented as 531 OCTET STRING. Each AS is represented as a pair 532 of octets according to the following algorithm: 533 534 first-byte-of-pair = ASNumber / 256; 535 second-byte-of-pair = ASNumber & 255;" 536 ::= { bgpPathAttrEntry 4 } 537 538 bgpPathAttrNextHop OBJECT-TYPE 539 SYNTAX IpAddress 540 MAX-ACCESS read-only 541 STATUS obsolete 542 DESCRIPTION 543 "The address of the border router that should 544 be used for the destination network." 545 ::= { bgpPathAttrEntry 5 } 546 547 bgpPathAttrInterASMetric OBJECT-TYPE 548 SYNTAX Integer32 549 MAX-ACCESS read-only 550 STATUS obsolete 551 DESCRIPTION 552 "The optional inter-AS metric. If this 553 attribute has not been provided for this route, 554 the value for this object is 0." 555 ::= { bgpPathAttrEntry 6 } 556 557 558 559 -- BGP-4 Received Path Attribute Table. This table contains, 560 -- one entry per path to a network, path attributes 561 -- received from all peers running BGP-4. 562 563 bgp4PathAttrTable OBJECT-TYPE 564 SYNTAX SEQUENCE OF Bgp4PathAttrEntry 565 MAX-ACCESS not-accessible 566 STATUS current 567 DESCRIPTION 568 "The BGP-4 Received Path Attribute Table contains 569 information about paths to destination networks 570 received from all BGP4 peers." 571 ::= { bgp 6 } 572 573 bgp4PathAttrEntry OBJECT-TYPE 574 SYNTAX Bgp4PathAttrEntry 575 MAX-ACCESS not-accessible 576 STATUS current 577 DESCRIPTION 578 "Information about a path to a network." 579 INDEX { bgp4PathAttrIpAddrPrefix, 580 bgp4PathAttrIpAddrPrefixLen, 581 bgp4PathAttrPeer } 582 ::= { bgp4PathAttrTable 1 } 583 584 Bgp4PathAttrEntry ::= SEQUENCE { 585 bgp4PathAttrPeer 586 IpAddress, 587 bgp4PathAttrIpAddrPrefixLen 588 INTEGER, 589 bgp4PathAttrIpAddrPrefix 590 IpAddress, 591 bgp4PathAttrOrigin 592 INTEGER, 593 bgp4PathAttrASPathSegment 594 OCTET STRING, 595 bgp4PathAttrNextHop 596 IpAddress, 597 bgp4PathAttrMultiExitDisc 598 INTEGER, 599 bgp4PathAttrLocalPref 600 INTEGER, 601 bgp4PathAttrAtomicAggregate 602 INTEGER, 603 bgp4PathAttrAggregatorAS 604 INTEGER, 605 bgp4PathAttrAggregatorAddr 606 IpAddress, 607 bgp4PathAttrCalcLocalPref 608 INTEGER, 609 bgp4PathAttrBest 610 INTEGER, 611 bgp4PathAttrUnknown 612 OCTET STRING 613 } 614 615 bgp4PathAttrPeer OBJECT-TYPE 616 SYNTAX IpAddress 617 MAX-ACCESS read-only 618 STATUS current 619 DESCRIPTION 620 "The IP address of the peer where the path 621 information was learned." 622 ::= { bgp4PathAttrEntry 1 } 623 bgp4PathAttrIpAddrPrefixLen OBJECT-TYPE 624 SYNTAX INTEGER (0..32) 625 MAX-ACCESS read-only 626 STATUS current 627 DESCRIPTION 628 "Length in bits of the IP address prefix in the 629 Network Layer Reachability Information field." 630 ::= { bgp4PathAttrEntry 2 } 631 632 bgp4PathAttrIpAddrPrefix OBJECT-TYPE 633 SYNTAX IpAddress 634 MAX-ACCESS read-only 635 STATUS current 636 DESCRIPTION 637 "An IP address prefix in the Network Layer 638 Reachability Information field. This object 639 is an IP address containing the prefix with 640 length specified by bgp4PathAttrIpAddrPrefixLen. 641 Any bits beyond the length specified by 642 bgp4PathAttrIpAddrPrefixLen are zeroed." 643 ::= { bgp4PathAttrEntry 3 } 644 645 bgp4PathAttrOrigin OBJECT-TYPE 646 SYNTAX INTEGER { 647 igp(1),-- networks are interior 648 egp(2),-- networks learned via EGP 649 incomplete(3) -- undetermined 650 } 651 MAX-ACCESS read-only 652 STATUS current 653 DESCRIPTION 654 "The ultimate origin of the path information." 655 ::= { bgp4PathAttrEntry 4 } 656 657 bgp4PathAttrASPathSegment OBJECT-TYPE 658 SYNTAX OCTET STRING (SIZE (2..255)) 659 MAX-ACCESS read-only 660 STATUS current 661 DESCRIPTION 662 "The sequence of AS path segments. Each AS 663 path segment is represented by a triple 664 <type, length, value>. 665 666 The type is a 1-octet field which has two 667 possible values: 668 1 AS_SET: unordered set of ASs a 669 route in the UPDATE message 670 has traversed 671 2 AS_SEQUENCE: ordered set of ASs 672 a route in the UPDATE message 673 has traversed. 674 675 The length is a 1-octet field containing the 676 number of ASs in the value field. 677 678 The value field contains one or more AS 679 numbers, each AS is represented in the octet 680 string as a pair of octets according to the 681 following algorithm: 682 683 first-byte-of-pair = ASNumber / 256; 684 second-byte-of-pair = ASNumber & 255;" 685 ::= { bgp4PathAttrEntry 5 } 686 687 bgp4PathAttrNextHop OBJECT-TYPE 688 SYNTAX IpAddress 689 MAX-ACCESS read-only 690 STATUS current 691 DESCRIPTION 692 "The address of the border router that should 693 be used for the destination network." 694 ::= { bgp4PathAttrEntry 6 } 695 696 bgp4PathAttrMultiExitDisc OBJECT-TYPE 697 SYNTAX INTEGER (-1..2147483647) 698 MAX-ACCESS read-only 699 STATUS current 700 DESCRIPTION 701 "This metric is used to discriminate between 702 multiple exit points to an adjacent autonomous 703 system. A value of -1 indicates the absence of 704 this attribute." 705 ::= { bgp4PathAttrEntry 7 } 706 707 bgp4PathAttrLocalPref OBJECT-TYPE 708 SYNTAX INTEGER (-1..2147483647) 709 MAX-ACCESS read-only 710 STATUS current 711 DESCRIPTION 712 "The originating BGP4 speaker's degree of 713 preference for an advertised route. A value of 714 -1 indicates the absence of this attribute." 715 ::= { bgp4PathAttrEntry 8 } 716 717 bgp4PathAttrAtomicAggregate OBJECT-TYPE 718 SYNTAX INTEGER { 719 lessSpecificRrouteNotSelected(1), 720 lessSpecificRouteSelected(2) 721 } 722 MAX-ACCESS read-only 723 STATUS current 724 DESCRIPTION 725 "Whether or not a system has selected 726 a less specific route without selecting a 727 more specific route." 728 ::= { bgp4PathAttrEntry 9 } 729 730 bgp4PathAttrAggregatorAS OBJECT-TYPE 731 SYNTAX INTEGER (0..65535) 732 MAX-ACCESS read-only 733 STATUS current 734 DESCRIPTION 735 "The AS number of the last BGP4 speaker that 736 performed route aggregation. A value of zero (0) 737 indicates the absence of this attribute." 738 ::= { bgp4PathAttrEntry 10 } 739 740 bgp4PathAttrAggregatorAddr OBJECT-TYPE 741 SYNTAX IpAddress 742 MAX-ACCESS read-only 743 STATUS current 744 DESCRIPTION 745 "The IP address of the last BGP4 speaker that 746 performed route aggregation. A value of 747 0.0.0.0 indicates the absence of this attribute." 748 ::= { bgp4PathAttrEntry 11 } 749 750 bgp4PathAttrCalcLocalPref OBJECT-TYPE 751 SYNTAX INTEGER (-1..2147483647) 752 MAX-ACCESS read-only 753 STATUS current 754 DESCRIPTION 755 "The degree of preference calculated by the 756 receiving BGP4 speaker for an advertised route. 757 A value of -1 indicates the absence of this 758 attribute." 759 ::= { bgp4PathAttrEntry 12 } 760 761 bgp4PathAttrBest OBJECT-TYPE 762 SYNTAX INTEGER { 763 false(1),-- not chosen as best route 764 true(2) -- chosen as best route 765 } 766 MAX-ACCESS read-only 767 STATUS current 768 DESCRIPTION 769 "An indication of whether or not this route 770 was chosen as the best BGP4 route." 771 ::= { bgp4PathAttrEntry 13 } 772 773 bgp4PathAttrUnknown OBJECT-TYPE 774 SYNTAX OCTET STRING (SIZE(0..255)) 775 MAX-ACCESS read-only 776 STATUS current 777 DESCRIPTION 778 "One or more path attributes not understood 779 by this BGP4 speaker. Size zero (0) indicates 780 the absence of such attribute(s). Octets 781 beyond the maximum size, if any, are not 782 recorded by this object." 783 ::= { bgp4PathAttrEntry 14 } 784 785 786 -- Traps. 787 788 -- note that in RFC 1657, bgpTraps was incorrectly 789 -- assigned a value of { bgp 7 }, and each of the 790 -- traps had the bgpPeerRemoteAddr object inappropriately 791 -- removed from their OBJECTS clause. The following 792 -- definitions restore the semantics of the traps as 793 -- they were initially defined in RFC 1269. 794 795 -- { bgp 7 } is unused 796 797 bgpTraps OBJECT IDENTIFIER ::= { bgp 0 } 798 799 bgpEstablished NOTIFICATION-TYPE 800 OBJECTS { bgpPeerRemoteAddr, 801 bgpPeerLastError, 802 bgpPeerState } 803 STATUS current 804 DESCRIPTION 805 "The BGP Established event is generated when 806 the BGP FSM enters the ESTABLISHED state." 807 ::= { bgpTraps 1 } 808 809 bgpBackwardTransition NOTIFICATION-TYPE 810 OBJECTS { bgpPeerRemoteAddr, 811 bgpPeerLastError, 812 bgpPeerState } 813 STATUS current 814 DESCRIPTION 815 "The BGPBackwardTransition Event is generated 816 when the BGP FSM moves from a higher numbered 817 state to a lower numbered state." 818 ::= { bgpTraps 2 } 819 820 -- conformance information 821 822 bgpMIBConformance OBJECT IDENTIFIER ::= { bgp 8 } 823 bgpMIBCompliances OBJECT IDENTIFIER ::= { bgpMIBConformance 1 } 824 bgpMIBGroups OBJECT IDENTIFIER ::= { bgpMIBConformance 2 } 825 826 -- compliance statements 827 828 bgpMIBCompliance MODULE-COMPLIANCE 829 STATUS current 830 DESCRIPTION 831 "The compliance statement for entities which 832 implement the BGP4 mib." 833 MODULE -- this module 834 MANDATORY-GROUPS { bgp4MIBGlobalsGroup, 835 bgp4MIBPeerGroup, 836 bgp4MIBPathAttrGroup, 837 bgp4MIBNotificationGroup } 838 ::= { bgpMIBCompliances 1 } 839 840 -- units of conformance 841 842 bgp4MIBGlobalsGroup OBJECT-GROUP 843 OBJECTS { bgpVersion, 844 bgpLocalAs, 845 bgpIdentifier } 846 STATUS current 847 DESCRIPTION 848 "A collection of objects providing information 849 on global BGP state." 850 ::= { bgpMIBGroups 1 } 851 852 bgp4MIBPeerGroup OBJECT-GROUP 853 OBJECTS { bgpPeerIdentifier, 854 bgpPeerState, 855 bgpPeerAdminStatus, 856 bgpPeerNegotiatedVersion, 857 bgpPeerLocalAddr, 858 bgpPeerLocalPort, 859 bgpPeerRemoteAddr, 860 bgpPeerRemotePort, 861 bgpPeerRemoteAs, 862 bgpPeerInUpdates, 863 bgpPeerOutUpdates, 864 bgpPeerInTotalMessages, 865 bgpPeerOutTotalMessages, 866 bgpPeerLastError, 867 bgpPeerFsmEstablishedTransitions, 868 bgpPeerFsmEstablishedTime, 869 bgpPeerConnectRetryInterval, 870 bgpPeerHoldTime, 871 bgpPeerKeepAlive, 872 bgpPeerHoldTimeConfigured, 873 bgpPeerKeepAliveConfigured, 874 bgpPeerMinASOriginationInterval, 875 bgpPeerMinRouteAdvertisementInterval, 876 bgpPeerInUpdateElapsedTime } 877 STATUS current 878 DESCRIPTION 879 "A collection of objects for managing 880 BGP peers." 881 ::= { bgpMIBGroups 2 } 882 883 bgp4MIBRcvdPathAttrGroup OBJECT-GROUP 884 OBJECTS { bgpPathAttrPeer, 885 bgpPathAttrDestNetwork, 886 bgpPathAttrOrigin, 887 bgpPathAttrASPath, 888 bgpPathAttrNextHop, 889 bgpPathAttrInterASMetric } 890 STATUS obsolete 891 DESCRIPTION 892 "A collection of objects for managing BGP 893 path entries. 894 895 This conformance group is obsolete, 896 replaced by bgp4MIBPathAttrGroup." 897 ::= { bgpMIBGroups 3 } 898 899 bgp4MIBPathAttrGroup OBJECT-GROUP 900 OBJECTS { bgp4PathAttrPeer, 901 bgp4PathAttrIpAddrPrefixLen, 902 bgp4PathAttrIpAddrPrefix, 903 bgp4PathAttrOrigin, 904 bgp4PathAttrASPathSegment, 905 bgp4PathAttrNextHop, 906 bgp4PathAttrMultiExitDisc, 907 bgp4PathAttrLocalPref, 908 bgp4PathAttrAtomicAggregate, 909 bgp4PathAttrAggregatorAS, 910 bgp4PathAttrAggregatorAddr, 911 bgp4PathAttrCalcLocalPref, 912 bgp4PathAttrBest, 913 bgp4PathAttrUnknown } 914 STATUS current 915 DESCRIPTION 916 "A collection of objects for managing 917 BGP path entries." 918 ::= { bgpMIBGroups 4 } 919 920 bgp4MIBNotificationGroup NOTIFICATION-GROUP 921 NOTIFICATIONS { bgpEstablished, 922 bgpBackwardTransition } 923 STATUS current 924 DESCRIPTION 925 "A collection of notifications for signaling 926 changes in BGP peer relationships." 927 ::= { bgpMIBGroups 5 } 928 929 END -
mibs/BRIDGE-MIB.txt
diff -ruN net-snmp-5.1.2-orig/mibs/BRIDGE-MIB.txt net-snmp-5.1.2-5/mibs/BRIDGE-MIB.txt
old new 1 BRIDGE-MIB DEFINITIONS ::= BEGIN 2 3 IMPORTS 4 Counter, TimeTicks 5 FROM RFC1155-SMI 6 mib-2 7 FROM RFC1213-MIB 8 OBJECT-TYPE 9 FROM RFC-1212 10 TRAP-TYPE 11 FROM RFC-1215; 12 13 -- All representations of MAC addresses in this MIB Module 14 -- use, as a textual convention (i.e. this convention does 15 -- not affect their encoding), the data type: 16 MacAddress ::= OCTET STRING (SIZE (6)) -- a 6 octet address 17 -- in the 18 -- "canonical" 19 -- order 20 -- defined by IEEE 802.1a, i.e., as if it were transmitted 21 -- least significant bit first, even though 802.5 (in 22 -- contrast to other n802.x protocols) requires MAC 23 -- addresses to be transmitted most significant bit first. 24 -- 25 -- 16-bit addresses, if needed, are represented by setting 26 -- their upper 4 octets to all 0's, i.e., AAFF would be 27 -- represented as 00000000AAFF. 28 29 -- Similarly, all representations of Bridge-Id in this MIB 30 -- Module use, as a textual convention (i.e. this 31 -- convention does not affect their encoding), the data 32 -- type: 33 BridgeId ::= OCTET STRING (SIZE (8)) -- the 34 -- Bridge-Identifier 35 -- as used in the 36 -- Spanning Tree 37 -- Protocol to uniquely identify a bridge. Its first two 38 -- octets (in network byte order) contain a priority 39 -- value and its last 6 octets contain the MAC address 40 -- used to refer to a bridge in a unique fashion 41 -- (typically, the numerically smallest MAC address 42 -- of all ports on the bridge). 43 44 -- Several objects in this MIB module represent values of 45 -- timers used by the Spanning Tree Protocol. In this 46 -- MIB, these timers have values in units of hundreths of 47 -- a second (i.e. 1/100 secs). 48 -- These timers, when stored in a Spanning Tree Protocol's 49 -- BPDU, are in units of 1/256 seconds. Note, however, 50 -- that 802.1D-1990 specifies a settable granularity of 51 -- no more than 1 second for these timers. To avoid 52 -- ambiguity, a data type is defined here as a textual 53 -- convention and all representation of these timers 54 -- in this MIB module are defined using this data type. An 55 -- algorithm is also defined for converting between the 56 -- different units, to ensure a timer's value is not 57 -- distorted by multiple conversions. 58 -- The data type is: 59 60 Timeout ::= INTEGER -- a STP timer in units of 1/100 seconds 61 62 -- To convert a Timeout value into a value in units of 63 -- 1/256 seconds, the following algorithm should be used: 64 -- 65 -- b = floor( (n * 256) / 100) 66 -- 67 -- where: 68 -- floor = quotient [ignore remainder] 69 -- n is the value in 1/100 second units 70 -- b is the value in 1/256 second units 71 -- 72 -- To convert the value from 1/256 second units back to 73 -- 1/100 seconds, the following algorithm should be used: 74 -- 75 -- n = ceiling( (b * 100) / 256) 76 -- 77 -- where: 78 -- ceiling = quotient [if remainder is 0], or 79 -- quotient + 1 [if remainder is non-zero] 80 -- n is the value in 1/100 second units 81 -- b is the value in 1/256 second units 82 -- 83 -- Note: it is important that the arithmetic operations are 84 -- done in the order specified (i.e., multiply first, divide 85 -- second). 86 87 dot1dBridge OBJECT IDENTIFIER ::= { mib-2 17 } 88 89 -- groups in the Bridge MIB 90 91 dot1dBase OBJECT IDENTIFIER ::= { dot1dBridge 1 } 92 93 dot1dStp OBJECT IDENTIFIER ::= { dot1dBridge 2 } 94 95 dot1dSr OBJECT IDENTIFIER ::= { dot1dBridge 3 } 96 -- separately documented 97 98 dot1dTp OBJECT IDENTIFIER ::= { dot1dBridge 4 } 99 100 dot1dStatic OBJECT IDENTIFIER ::= { dot1dBridge 5 } 101 102 -- the dot1dBase group 103 104 -- Implementation of the dot1dBase group is mandatory for all 105 -- bridges. 106 107 dot1dBaseBridgeAddress OBJECT-TYPE 108 SYNTAX MacAddress 109 ACCESS read-only 110 STATUS mandatory 111 DESCRIPTION 112 "The MAC address used by this bridge when it must 113 be referred to in a unique fashion. It is 114 recommended that this be the numerically smallest 115 MAC address of all ports that belong to this 116 bridge. However it is only required to be unique. 117 When concatenated with dot1dStpPriority a unique 118 BridgeIdentifier is formed which is used in the 119 Spanning Tree Protocol." 120 REFERENCE 121 "IEEE 802.1D-1990: Sections 6.4.1.1.3 and 3.12.5" 122 ::= { dot1dBase 1 } 123 124 dot1dBaseNumPorts OBJECT-TYPE 125 SYNTAX INTEGER 126 ACCESS read-only 127 STATUS mandatory 128 DESCRIPTION 129 "The number of ports controlled by this bridging 130 entity." 131 REFERENCE 132 "IEEE 802.1D-1990: Section 6.4.1.1.3" 133 ::= { dot1dBase 2 } 134 135 dot1dBaseType OBJECT-TYPE 136 SYNTAX INTEGER { 137 unknown(1), 138 transparent-only(2), 139 sourceroute-only(3), 140 srt(4) 141 } 142 ACCESS read-only 143 STATUS mandatory 144 DESCRIPTION 145 "Indicates what type of bridging this bridge can 146 perform. If a bridge is actually performing a 147 certain type of bridging this will be indicated by 148 entries in the port table for the given type." 149 ::= { dot1dBase 3 } 150 151 -- The Generic Bridge Port Table 152 153 dot1dBasePortTable OBJECT-TYPE 154 SYNTAX SEQUENCE OF Dot1dBasePortEntry 155 ACCESS not-accessible 156 STATUS mandatory 157 DESCRIPTION 158 "A table that contains generic information about 159 every port that is associated with this bridge. 160 Transparent, source-route, and srt ports are 161 included." 162 ::= { dot1dBase 4 } 163 164 dot1dBasePortEntry OBJECT-TYPE 165 SYNTAX Dot1dBasePortEntry 166 ACCESS not-accessible 167 STATUS mandatory 168 DESCRIPTION 169 "A list of information for each port of the 170 bridge." 171 REFERENCE 172 "IEEE 802.1D-1990: Section 6.4.2, 6.6.1" 173 INDEX { dot1dBasePort } 174 ::= { dot1dBasePortTable 1 } 175 176 Dot1dBasePortEntry ::= 177 SEQUENCE { 178 dot1dBasePort 179 INTEGER, 180 dot1dBasePortIfIndex 181 INTEGER, 182 dot1dBasePortCircuit 183 184 OBJECT IDENTIFIER, 185 dot1dBasePortDelayExceededDiscards 186 Counter, 187 dot1dBasePortMtuExceededDiscards 188 Counter 189 } 190 191 dot1dBasePort OBJECT-TYPE 192 SYNTAX INTEGER (1..65535) 193 ACCESS read-only 194 STATUS mandatory 195 DESCRIPTION 196 "The port number of the port for which this entry 197 contains bridge management information." 198 ::= { dot1dBasePortEntry 1 } 199 200 dot1dBasePortIfIndex OBJECT-TYPE 201 SYNTAX INTEGER 202 ACCESS read-only 203 STATUS mandatory 204 DESCRIPTION 205 "The value of the instance of the ifIndex object, 206 defined in MIB-II, for the interface corresponding 207 to this port." 208 ::= { dot1dBasePortEntry 2 } 209 210 dot1dBasePortCircuit OBJECT-TYPE 211 SYNTAX OBJECT IDENTIFIER 212 ACCESS read-only 213 STATUS mandatory 214 DESCRIPTION 215 "For a port which (potentially) has the same value 216 of dot1dBasePortIfIndex as another port on the 217 same bridge, this object contains the name of an 218 object instance unique to this port. For example, 219 in the case where multiple ports correspond one- 220 to-one with multiple X.25 virtual circuits, this 221 value might identify an (e.g., the first) object 222 instance associated with the X.25 virtual circuit 223 corresponding to this port. 224 225 For a port which has a unique value of 226 dot1dBasePortIfIndex, this object can have the 227 value { 0 0 }." 228 ::= { dot1dBasePortEntry 3 } 229 230 dot1dBasePortDelayExceededDiscards OBJECT-TYPE 231 SYNTAX Counter 232 233 ACCESS read-only 234 STATUS mandatory 235 DESCRIPTION 236 "The number of frames discarded by this port due 237 to excessive transit delay through the bridge. It 238 is incremented by both transparent and source 239 route bridges." 240 REFERENCE 241 "IEEE 802.1D-1990: Section 6.6.1.1.3" 242 ::= { dot1dBasePortEntry 4 } 243 244 dot1dBasePortMtuExceededDiscards OBJECT-TYPE 245 SYNTAX Counter 246 ACCESS read-only 247 STATUS mandatory 248 DESCRIPTION 249 "The number of frames discarded by this port due 250 to an excessive size. It is incremented by both 251 transparent and source route bridges." 252 REFERENCE 253 "IEEE 802.1D-1990: Section 6.6.1.1.3" 254 ::= { dot1dBasePortEntry 5 } 255 256 -- the dot1dStp group 257 258 -- Implementation of the dot1dStp group is optional. It is 259 -- implemented by those bridges that support the Spanning Tree 260 -- Protocol. 261 262 dot1dStpProtocolSpecification OBJECT-TYPE 263 SYNTAX INTEGER { 264 unknown(1), 265 decLb100(2), 266 ieee8021d(3) 267 } 268 ACCESS read-only 269 STATUS mandatory 270 DESCRIPTION 271 "An indication of what version of the Spanning 272 Tree Protocol is being run. The value 273 'decLb100(2)' indicates the DEC LANbridge 100 274 Spanning Tree protocol. IEEE 802.1d 275 implementations will return 'ieee8021d(3)'. If 276 future versions of the IEEE Spanning Tree Protocol 277 are released that are incompatible with the 278 current version a new value will be defined." 279 280 ::= { dot1dStp 1 } 281 282 dot1dStpPriority OBJECT-TYPE 283 SYNTAX INTEGER (0..65535) 284 ACCESS read-write 285 STATUS mandatory 286 DESCRIPTION 287 "The value of the write-able portion of the Bridge 288 ID, i.e., the first two octets of the (8 octet 289 long) Bridge ID. The other (last) 6 octets of the 290 Bridge ID are given by the value of 291 dot1dBaseBridgeAddress." 292 REFERENCE 293 "IEEE 802.1D-1990: Section 4.5.3.7" 294 ::= { dot1dStp 2 } 295 296 dot1dStpTimeSinceTopologyChange OBJECT-TYPE 297 SYNTAX TimeTicks 298 ACCESS read-only 299 STATUS mandatory 300 DESCRIPTION 301 "The time (in hundredths of a second) since the 302 last time a topology change was detected by the 303 bridge entity." 304 REFERENCE 305 "IEEE 802.1D-1990: Section 6.8.1.1.3" 306 ::= { dot1dStp 3 } 307 308 dot1dStpTopChanges OBJECT-TYPE 309 SYNTAX Counter 310 ACCESS read-only 311 STATUS mandatory 312 DESCRIPTION 313 "The total number of topology changes detected by 314 this bridge since the management entity was last 315 reset or initialized." 316 REFERENCE 317 "IEEE 802.1D-1990: Section 6.8.1.1.3" 318 ::= { dot1dStp 4 } 319 320 dot1dStpDesignatedRoot OBJECT-TYPE 321 SYNTAX BridgeId 322 ACCESS read-only 323 STATUS mandatory 324 DESCRIPTION 325 "The bridge identifier of the root of the spanning 326 tree as determined by the Spanning Tree Protocol 327 as executed by this node. This value is used as 328 329 the Root Identifier parameter in all Configuration 330 Bridge PDUs originated by this node." 331 REFERENCE 332 "IEEE 802.1D-1990: Section 4.5.3.1" 333 ::= { dot1dStp 5 } 334 335 dot1dStpRootCost OBJECT-TYPE 336 SYNTAX INTEGER 337 ACCESS read-only 338 STATUS mandatory 339 DESCRIPTION 340 "The cost of the path to the root as seen from 341 this bridge." 342 REFERENCE 343 "IEEE 802.1D-1990: Section 4.5.3.2" 344 ::= { dot1dStp 6 } 345 346 dot1dStpRootPort OBJECT-TYPE 347 SYNTAX INTEGER 348 ACCESS read-only 349 STATUS mandatory 350 DESCRIPTION 351 "The port number of the port which offers the 352 lowest cost path from this bridge to the root 353 bridge." 354 REFERENCE 355 "IEEE 802.1D-1990: Section 4.5.3.3" 356 ::= { dot1dStp 7 } 357 358 dot1dStpMaxAge OBJECT-TYPE 359 SYNTAX Timeout 360 ACCESS read-only 361 STATUS mandatory 362 DESCRIPTION 363 "The maximum age of Spanning Tree Protocol 364 information learned from the network on any port 365 before it is discarded, in units of hundredths of 366 a second. This is the actual value that this 367 bridge is currently using." 368 REFERENCE 369 "IEEE 802.1D-1990: Section 4.5.3.4" 370 ::= { dot1dStp 8 } 371 372 dot1dStpHelloTime OBJECT-TYPE 373 SYNTAX Timeout 374 ACCESS read-only 375 STATUS mandatory 376 DESCRIPTION 377 378 "The amount of time between the transmission of 379 Configuration bridge PDUs by this node on any port 380 when it is the root of the spanning tree or trying 381 to become so, in units of hundredths of a second. 382 This is the actual value that this bridge is 383 currently using." 384 REFERENCE 385 "IEEE 802.1D-1990: Section 4.5.3.5" 386 ::= { dot1dStp 9 } 387 388 dot1dStpHoldTime OBJECT-TYPE 389 SYNTAX INTEGER 390 ACCESS read-only 391 STATUS mandatory 392 DESCRIPTION 393 "This time value determines the interval length 394 during which no more than two Configuration bridge 395 PDUs shall be transmitted by this node, in units 396 of hundredths of a second." 397 REFERENCE 398 "IEEE 802.1D-1990: Section 4.5.3.14" 399 ::= { dot1dStp 10 } 400 401 dot1dStpForwardDelay OBJECT-TYPE 402 SYNTAX Timeout 403 ACCESS read-only 404 STATUS mandatory 405 DESCRIPTION 406 "This time value, measured in units of hundredths 407 of a second, controls how fast a port changes its 408 spanning state when moving towards the Forwarding 409 state. The value determines how long the port 410 stays in each of the Listening and Learning 411 states, which precede the Forwarding state. This 412 value is also used, when a topology change has 413 been detected and is underway, to age all dynamic 414 entries in the Forwarding Database. [Note that 415 this value is the one that this bridge is 416 currently using, in contrast to 417 dot1dStpBridgeForwardDelay which is the value that 418 this bridge and all others would start using 419 if/when this bridge were to become the root.]" 420 REFERENCE 421 "IEEE 802.1D-1990: Section 4.5.3.6" 422 ::= { dot1dStp 11 } 423 424 dot1dStpBridgeMaxAge OBJECT-TYPE 425 SYNTAX Timeout (600..4000) 426 427 ACCESS read-write 428 STATUS mandatory 429 DESCRIPTION 430 "The value that all bridges use for MaxAge when 431 this bridge is acting as the root. Note that 432 802.1D-1990 specifies that the range for this 433 parameter is related to the value of 434 dot1dStpBridgeHelloTime. The granularity of this 435 timer is specified by 802.1D-1990 to be 1 second. 436 An agent may return a badValue error if a set is 437 attempted to a value which is not a whole number 438 of seconds." 439 REFERENCE 440 "IEEE 802.1D-1990: Section 4.5.3.8" 441 ::= { dot1dStp 12 } 442 443 dot1dStpBridgeHelloTime OBJECT-TYPE 444 SYNTAX Timeout (100..1000) 445 ACCESS read-write 446 STATUS mandatory 447 DESCRIPTION 448 "The value that all bridges use for HelloTime when 449 this bridge is acting as the root. The 450 granularity of this timer is specified by 802.1D- 451 1990 to be 1 second. An agent may return a 452 badValue error if a set is attempted to a value 453 which is not a whole number of seconds." 454 REFERENCE 455 "IEEE 802.1D-1990: Section 4.5.3.9" 456 ::= { dot1dStp 13 } 457 458 dot1dStpBridgeForwardDelay OBJECT-TYPE 459 SYNTAX Timeout (400..3000) 460 ACCESS read-write 461 STATUS mandatory 462 DESCRIPTION 463 "The value that all bridges use for ForwardDelay 464 when this bridge is acting as the root. Note that 465 802.1D-1990 specifies that the range for this 466 parameter is related to the value of 467 dot1dStpBridgeMaxAge. The granularity of this 468 timer is specified by 802.1D-1990 to be 1 second. 469 An agent may return a badValue error if a set is 470 attempted to a value which is not a whole number 471 of seconds." 472 REFERENCE 473 "IEEE 802.1D-1990: Section 4.5.3.10" 474 ::= { dot1dStp 14 } 475 476 -- The Spanning Tree Port Table 477 478 dot1dStpPortTable OBJECT-TYPE 479 SYNTAX SEQUENCE OF Dot1dStpPortEntry 480 ACCESS not-accessible 481 STATUS mandatory 482 DESCRIPTION 483 "A table that contains port-specific information 484 for the Spanning Tree Protocol." 485 ::= { dot1dStp 15 } 486 487 dot1dStpPortEntry OBJECT-TYPE 488 SYNTAX Dot1dStpPortEntry 489 ACCESS not-accessible 490 STATUS mandatory 491 DESCRIPTION 492 "A list of information maintained by every port 493 about the Spanning Tree Protocol state for that 494 port." 495 INDEX { dot1dStpPort } 496 ::= { dot1dStpPortTable 1 } 497 498 Dot1dStpPortEntry ::= 499 SEQUENCE { 500 dot1dStpPort 501 INTEGER, 502 dot1dStpPortPriority 503 INTEGER, 504 dot1dStpPortState 505 INTEGER, 506 dot1dStpPortEnable 507 INTEGER, 508 dot1dStpPortPathCost 509 INTEGER, 510 dot1dStpPortDesignatedRoot 511 BridgeId, 512 dot1dStpPortDesignatedCost 513 INTEGER, 514 dot1dStpPortDesignatedBridge 515 BridgeId, 516 dot1dStpPortDesignatedPort 517 OCTET STRING, 518 dot1dStpPortForwardTransitions 519 Counter 520 } 521 522 dot1dStpPort OBJECT-TYPE 523 SYNTAX INTEGER (1..65535) 524 525 ACCESS read-only 526 STATUS mandatory 527 DESCRIPTION 528 "The port number of the port for which this entry 529 contains Spanning Tree Protocol management 530 information." 531 REFERENCE 532 "IEEE 802.1D-1990: Section 6.8.2.1.2" 533 ::= { dot1dStpPortEntry 1 } 534 535 dot1dStpPortPriority OBJECT-TYPE 536 SYNTAX INTEGER (0..255) 537 ACCESS read-write 538 STATUS mandatory 539 DESCRIPTION 540 "The value of the priority field which is 541 contained in the first (in network byte order) 542 octet of the (2 octet long) Port ID. The other 543 octet of the Port ID is given by the value of 544 dot1dStpPort." 545 REFERENCE 546 "IEEE 802.1D-1990: Section 4.5.5.1" 547 ::= { dot1dStpPortEntry 2 } 548 549 dot1dStpPortState OBJECT-TYPE 550 SYNTAX INTEGER { 551 disabled(1), 552 blocking(2), 553 listening(3), 554 learning(4), 555 forwarding(5), 556 broken(6) 557 } 558 ACCESS read-only 559 STATUS mandatory 560 DESCRIPTION 561 "The port's current state as defined by 562 application of the Spanning Tree Protocol. This 563 state controls what action a port takes on 564 reception of a frame. If the bridge has detected 565 a port that is malfunctioning it will place that 566 port into the broken(6) state. For ports which 567 are disabled (see dot1dStpPortEnable), this object 568 will have a value of disabled(1)." 569 REFERENCE 570 "IEEE 802.1D-1990: Section 4.5.5.2" 571 ::= { dot1dStpPortEntry 3 } 572 573 dot1dStpPortEnable OBJECT-TYPE 574 SYNTAX INTEGER { 575 enabled(1), 576 disabled(2) 577 } 578 ACCESS read-write 579 STATUS mandatory 580 DESCRIPTION 581 "The enabled/disabled status of the port." 582 REFERENCE 583 "IEEE 802.1D-1990: Section 4.5.5.2" 584 ::= { dot1dStpPortEntry 4 } 585 586 dot1dStpPortPathCost OBJECT-TYPE 587 SYNTAX INTEGER (1..65535) 588 ACCESS read-write 589 STATUS mandatory 590 DESCRIPTION 591 "The contribution of this port to the path cost of 592 paths towards the spanning tree root which include 593 this port. 802.1D-1990 recommends that the 594 default value of this parameter be in inverse 595 proportion to the speed of the attached LAN." 596 REFERENCE 597 "IEEE 802.1D-1990: Section 4.5.5.3" 598 ::= { dot1dStpPortEntry 5 } 599 600 dot1dStpPortDesignatedRoot OBJECT-TYPE 601 SYNTAX BridgeId 602 ACCESS read-only 603 STATUS mandatory 604 DESCRIPTION 605 "The unique Bridge Identifier of the Bridge 606 recorded as the Root in the Configuration BPDUs 607 transmitted by the Designated Bridge for the 608 segment to which the port is attached." 609 REFERENCE 610 "IEEE 802.1D-1990: Section 4.5.5.4" 611 ::= { dot1dStpPortEntry 6 } 612 613 dot1dStpPortDesignatedCost OBJECT-TYPE 614 SYNTAX INTEGER 615 ACCESS read-only 616 STATUS mandatory 617 DESCRIPTION 618 "The path cost of the Designated Port of the 619 segment connected to this port. This value is 620 compared to the Root Path Cost field in received 621 622 bridge PDUs." 623 REFERENCE 624 "IEEE 802.1D-1990: Section 4.5.5.5" 625 ::= { dot1dStpPortEntry 7 } 626 627 dot1dStpPortDesignatedBridge OBJECT-TYPE 628 SYNTAX BridgeId 629 ACCESS read-only 630 STATUS mandatory 631 DESCRIPTION 632 "The Bridge Identifier of the bridge which this 633 port considers to be the Designated Bridge for 634 this port's segment." 635 REFERENCE 636 "IEEE 802.1D-1990: Section 4.5.5.6" 637 ::= { dot1dStpPortEntry 8 } 638 639 dot1dStpPortDesignatedPort OBJECT-TYPE 640 SYNTAX OCTET STRING (SIZE (2)) 641 ACCESS read-only 642 STATUS mandatory 643 DESCRIPTION 644 "The Port Identifier of the port on the Designated 645 Bridge for this port's segment." 646 REFERENCE 647 "IEEE 802.1D-1990: Section 4.5.5.7" 648 ::= { dot1dStpPortEntry 9 } 649 650 dot1dStpPortForwardTransitions OBJECT-TYPE 651 SYNTAX Counter 652 ACCESS read-only 653 STATUS mandatory 654 DESCRIPTION 655 "The number of times this port has transitioned 656 from the Learning state to the Forwarding state." 657 ::= { dot1dStpPortEntry 10 } 658 659 -- the dot1dTp group 660 661 -- Implementation of the dot1dTp group is optional. It is 662 -- implemented by those bridges that support the transparent 663 -- bridging mode. A transparent or SRT bridge will implement 664 -- this group. 665 666 dot1dTpLearnedEntryDiscards OBJECT-TYPE 667 SYNTAX Counter 668 669 ACCESS read-only 670 STATUS mandatory 671 DESCRIPTION 672 "The total number of Forwarding Database entries, 673 which have been or would have been learnt, but 674 have been discarded due to a lack of space to 675 store them in the Forwarding Database. If this 676 counter is increasing, it indicates that the 677 Forwarding Database is regularly becoming full (a 678 condition which has unpleasant performance effects 679 on the subnetwork). If this counter has a 680 significant value but is not presently increasing, 681 it indicates that the problem has been occurring 682 but is not persistent." 683 REFERENCE 684 "IEEE 802.1D-1990: Section 6.7.1.1.3" 685 ::= { dot1dTp 1 } 686 687 dot1dTpAgingTime OBJECT-TYPE 688 SYNTAX INTEGER (10..1000000) 689 ACCESS read-write 690 STATUS mandatory 691 DESCRIPTION 692 "The timeout period in seconds for aging out 693 dynamically learned forwarding information. 694 802.1D-1990 recommends a default of 300 seconds." 695 REFERENCE 696 "IEEE 802.1D-1990: Section 6.7.1.1.3" 697 ::= { dot1dTp 2 } 698 699 -- The Forwarding Database for Transparent Bridges 700 701 dot1dTpFdbTable OBJECT-TYPE 702 SYNTAX SEQUENCE OF Dot1dTpFdbEntry 703 ACCESS not-accessible 704 STATUS mandatory 705 DESCRIPTION 706 "A table that contains information about unicast 707 entries for which the bridge has forwarding and/or 708 filtering information. This information is used 709 by the transparent bridging function in 710 determining how to propagate a received frame." 711 ::= { dot1dTp 3 } 712 713 dot1dTpFdbEntry OBJECT-TYPE 714 SYNTAX Dot1dTpFdbEntry 715 ACCESS not-accessible 716 STATUS mandatory 717 DESCRIPTION 718 "Information about a specific unicast MAC address 719 for which the bridge has some forwarding and/or 720 filtering information." 721 INDEX { dot1dTpFdbAddress } 722 ::= { dot1dTpFdbTable 1 } 723 724 Dot1dTpFdbEntry ::= 725 SEQUENCE { 726 dot1dTpFdbAddress 727 MacAddress, 728 dot1dTpFdbPort 729 INTEGER, 730 dot1dTpFdbStatus 731 INTEGER 732 } 733 734 dot1dTpFdbAddress OBJECT-TYPE 735 SYNTAX MacAddress 736 ACCESS read-only 737 STATUS mandatory 738 DESCRIPTION 739 "A unicast MAC address for which the bridge has 740 forwarding and/or filtering information." 741 REFERENCE 742 "IEEE 802.1D-1990: Section 3.9.1, 3.9.2" 743 ::= { dot1dTpFdbEntry 1 } 744 745 dot1dTpFdbPort OBJECT-TYPE 746 SYNTAX INTEGER 747 ACCESS read-only 748 STATUS mandatory 749 DESCRIPTION 750 "Either the value '0', or the port number of the 751 port on which a frame having a source address 752 equal to the value of the corresponding instance 753 of dot1dTpFdbAddress has been seen. A value of 754 '0' indicates that the port number has not been 755 learned but that the bridge does have some 756 forwarding/filtering information about this 757 address (e.g. in the dot1dStaticTable). 758 Implementors are encouraged to assign the port 759 value to this object whenever it is learned even 760 for addresses for which the corresponding value of 761 dot1dTpFdbStatus is not learned(3)." 762 ::= { dot1dTpFdbEntry 2 } 763 764 dot1dTpFdbStatus OBJECT-TYPE 765 SYNTAX INTEGER { 766 other(1), 767 invalid(2), 768 learned(3), 769 self(4), 770 mgmt(5) 771 } 772 ACCESS read-only 773 STATUS mandatory 774 DESCRIPTION 775 "The status of this entry. The meanings of the 776 values are: 777 other(1) : none of the following. This would 778 include the case where some other 779 MIB object (not the corresponding 780 instance of dot1dTpFdbPort, nor an 781 entry in the dot1dStaticTable) is 782 being used to determine if and how 783 frames addressed to the value of 784 the corresponding instance of 785 dot1dTpFdbAddress are being 786 forwarded. 787 invalid(2) : this entry is not longer valid 788 (e.g., it was learned but has since 789 aged-out), but has not yet been 790 flushed from the table. 791 learned(3) : the value of the corresponding 792 instance of dot1dTpFdbPort was 793 learned, and is being used. 794 self(4) : the value of the corresponding 795 instance of dot1dTpFdbAddress 796 represents one of the bridge's 797 addresses. The corresponding 798 instance of dot1dTpFdbPort 799 indicates which of the bridge's 800 ports has this address. 801 mgmt(5) : the value of the corresponding 802 instance of dot1dTpFdbAddress is 803 also the value of an existing 804 instance of dot1dStaticAddress." 805 ::= { dot1dTpFdbEntry 3 } 806 807 -- Port Table for Transparent Bridges 808 809 dot1dTpPortTable OBJECT-TYPE 810 SYNTAX SEQUENCE OF Dot1dTpPortEntry 811 ACCESS not-accessible 812 STATUS mandatory 813 DESCRIPTION 814 "A table that contains information about every 815 port that is associated with this transparent 816 bridge." 817 ::= { dot1dTp 4 } 818 819 dot1dTpPortEntry OBJECT-TYPE 820 SYNTAX Dot1dTpPortEntry 821 ACCESS not-accessible 822 STATUS mandatory 823 DESCRIPTION 824 "A list of information for each port of a 825 transparent bridge." 826 INDEX { dot1dTpPort } 827 ::= { dot1dTpPortTable 1 } 828 829 Dot1dTpPortEntry ::= 830 SEQUENCE { 831 dot1dTpPort 832 INTEGER, 833 dot1dTpPortMaxInfo 834 INTEGER, 835 dot1dTpPortInFrames 836 Counter, 837 dot1dTpPortOutFrames 838 Counter, 839 dot1dTpPortInDiscards 840 Counter 841 } 842 843 dot1dTpPort OBJECT-TYPE 844 SYNTAX INTEGER (1..65535) 845 ACCESS read-only 846 STATUS mandatory 847 DESCRIPTION 848 "The port number of the port for which this entry 849 contains Transparent bridging management 850 information." 851 ::= { dot1dTpPortEntry 1 } 852 853 -- It would be nice if we could use ifMtu as the size of the 854 -- largest INFO field, but we can't because ifMtu is defined 855 -- to be the size that the (inter-)network layer can use which 856 -- can differ from the MAC layer (especially if several layers 857 -- of encapsulation are used). 858 859 dot1dTpPortMaxInfo OBJECT-TYPE 860 SYNTAX INTEGER 861 ACCESS read-only 862 STATUS mandatory 863 DESCRIPTION 864 "The maximum size of the INFO (non-MAC) field that 865 this port will receive or transmit." 866 ::= { dot1dTpPortEntry 2 } 867 868 dot1dTpPortInFrames OBJECT-TYPE 869 SYNTAX Counter 870 ACCESS read-only 871 STATUS mandatory 872 DESCRIPTION 873 "The number of frames that have been received by 874 this port from its segment. Note that a frame 875 received on the interface corresponding to this 876 port is only counted by this object if and only if 877 it is for a protocol being processed by the local 878 bridging function, including bridge management 879 frames." 880 REFERENCE 881 "IEEE 802.1D-1990: Section 6.6.1.1.3" 882 ::= { dot1dTpPortEntry 3 } 883 884 dot1dTpPortOutFrames OBJECT-TYPE 885 SYNTAX Counter 886 ACCESS read-only 887 STATUS mandatory 888 DESCRIPTION 889 "The number of frames that have been transmitted 890 by this port to its segment. Note that a frame 891 transmitted on the interface corresponding to this 892 port is only counted by this object if and only if 893 it is for a protocol being processed by the local 894 bridging function, including bridge management 895 frames." 896 REFERENCE 897 "IEEE 802.1D-1990: Section 6.6.1.1.3" 898 ::= { dot1dTpPortEntry 4 } 899 900 dot1dTpPortInDiscards OBJECT-TYPE 901 SYNTAX Counter 902 ACCESS read-only 903 STATUS mandatory 904 DESCRIPTION 905 "Count of valid frames received which were 906 discarded (i.e., filtered) by the Forwarding 907 Process." 908 REFERENCE 909 "IEEE 802.1D-1990: Section 6.6.1.1.3" 910 ::= { dot1dTpPortEntry 5 } 911 -- The Static (Destination-Address Filtering) Database 912 913 -- Implementation of this group is optional. 914 915 dot1dStaticTable OBJECT-TYPE 916 SYNTAX SEQUENCE OF Dot1dStaticEntry 917 ACCESS not-accessible 918 STATUS mandatory 919 DESCRIPTION 920 "A table containing filtering information 921 configured into the bridge by (local or network) 922 management specifying the set of ports to which 923 frames received from specific ports and containing 924 specific destination addresses are allowed to be 925 forwarded. The value of zero in this table as the 926 port number from which frames with a specific 927 destination address are received, is used to 928 specify all ports for which there is no specific 929 entry in this table for that particular 930 destination address. Entries are valid for 931 unicast and for group/broadcast addresses." 932 REFERENCE 933 "IEEE 802.1D-1990: Section 6.7.2" 934 ::= { dot1dStatic 1 } 935 936 dot1dStaticEntry OBJECT-TYPE 937 SYNTAX Dot1dStaticEntry 938 ACCESS not-accessible 939 STATUS mandatory 940 DESCRIPTION 941 "Filtering information configured into the bridge 942 by (local or network) management specifying the 943 set of ports to which frames received from a 944 specific port and containing a specific 945 destination address are allowed to be forwarded." 946 REFERENCE 947 "IEEE 802.1D-1990: Section 6.7.2" 948 INDEX { dot1dStaticAddress, dot1dStaticReceivePort } 949 ::= { dot1dStaticTable 1 } 950 951 Dot1dStaticEntry ::= 952 SEQUENCE { 953 dot1dStaticAddress 954 MacAddress, 955 dot1dStaticReceivePort 956 INTEGER, 957 dot1dStaticAllowedToGoTo 958 OCTET STRING, 959 dot1dStaticStatus 960 INTEGER 961 } 962 963 dot1dStaticAddress OBJECT-TYPE 964 SYNTAX MacAddress 965 ACCESS read-write 966 STATUS mandatory 967 DESCRIPTION 968 "The destination MAC address in a frame to which 969 this entry's filtering information applies. This 970 object can take the value of a unicast address, a 971 group address or the broadcast address." 972 REFERENCE 973 "IEEE 802.1D-1990: Section 3.9.1, 3.9.2" 974 ::= { dot1dStaticEntry 1 } 975 976 dot1dStaticReceivePort OBJECT-TYPE 977 SYNTAX INTEGER 978 ACCESS read-write 979 STATUS mandatory 980 DESCRIPTION 981 "Either the value '0', or the port number of the 982 port from which a frame must be received in order 983 for this entry's filtering information to apply. 984 A value of zero indicates that this entry applies 985 on all ports of the bridge for which there is no 986 other applicable entry." 987 ::= { dot1dStaticEntry 2 } 988 989 dot1dStaticAllowedToGoTo OBJECT-TYPE 990 SYNTAX OCTET STRING 991 ACCESS read-write 992 STATUS mandatory 993 DESCRIPTION 994 "The set of ports to which frames received from a 995 specific port and destined for a specific MAC 996 997 address, are allowed to be forwarded. Each octet 998 within the value of this object specifies a set of 999 eight ports, with the first octet specifying ports 1000 1 through 8, the second octet specifying ports 9 1001 through 16, etc. Within each octet, the most 1002 significant bit represents the lowest numbered 1003 port, and the least significant bit represents the 1004 highest numbered port. Thus, each port of the 1005 bridge is represented by a single bit within the 1006 value of this object. If that bit has a value of 1007 '1' then that port is included in the set of 1008 ports; the port is not included if its bit has a 1009 value of '0'. (Note that the setting of the bit 1010 corresponding to the port from which a frame is 1011 received is irrelevant.) The default value of 1012 this object is a string of ones of appropriate 1013 length." 1014 ::= { dot1dStaticEntry 3 } 1015 1016 dot1dStaticStatus OBJECT-TYPE 1017 SYNTAX INTEGER { 1018 other(1), 1019 invalid(2), 1020 permanent(3), 1021 deleteOnReset(4), 1022 deleteOnTimeout(5) 1023 } 1024 ACCESS read-write 1025 STATUS mandatory 1026 DESCRIPTION 1027 "This object indicates the status of this entry. 1028 The default value is permanent(3). 1029 other(1) - this entry is currently in use but 1030 the conditions under which it will 1031 remain so are different from each of the 1032 following values. 1033 invalid(2) - writing this value to the object 1034 removes the corresponding entry. 1035 permanent(3) - this entry is currently in use 1036 and will remain so after the next reset 1037 of the bridge. 1038 deleteOnReset(4) - this entry is currently in 1039 use and will remain so until the next 1040 reset of the bridge. 1041 deleteOnTimeout(5) - this entry is currently 1042 in use and will remain so until it is 1043 aged out." 1044 1045 ::= { dot1dStaticEntry 4 } 1046 1047 -- Traps for use by Bridges 1048 1049 -- Traps for the Spanning Tree Protocol 1050 1051 newRoot TRAP-TYPE 1052 ENTERPRISE dot1dBridge 1053 DESCRIPTION 1054 "The newRoot trap indicates that the sending agent 1055 has become the new root of the Spanning Tree; the 1056 trap is sent by a bridge soon after its election 1057 as the new root, e.g., upon expiration of the 1058 Topology Change Timer immediately subsequent to 1059 its election. Implementation of this trap is 1060 optional." 1061 ::= 1 1062 1063 topologyChange TRAP-TYPE 1064 ENTERPRISE dot1dBridge 1065 DESCRIPTION 1066 "A topologyChange trap is sent by a bridge when 1067 any of its configured ports transitions from the 1068 Learning state to the Forwarding state, or from 1069 the Forwarding state to the Blocking state. The 1070 trap is not sent if a newRoot trap is sent for the 1071 same transition. Implementation of this trap is 1072 optional." 1073 ::= 2 1074 1075 END -
mibs/GNOME-SMI.txt
diff -ruN net-snmp-5.1.2-orig/mibs/GNOME-SMI.txt net-snmp-5.1.2-5/mibs/GNOME-SMI.txt
old new 1 GNOME-SMI DEFINITIONS ::= BEGIN 2 3 IMPORTS 4 MODULE-IDENTITY, 5 OBJECT-IDENTITY, 6 enterprises 7 FROM SNMPv2-SMI; 8 9 gnome MODULE-IDENTITY 10 LAST-UPDATED "200312070000Z" 11 ORGANIZATION "GNOME project" 12 CONTACT-INFO 13 "GNU Network Object Model Environment project 14 15 see http://www.gnome.org for contact persons of a particular 16 area or subproject of GNOME. 17 18 Administrative contact for MIB module: 19 20 Jochen Friedrich 21 Buedingerstr. 30b 22 63546 Hammersbach 23 Germany 24 25 email: jochen@scram.de" 26 DESCRIPTION 27 "The Structure of GNOME." 28 29 -- revision history 30 31 REVISION "9809010000Z" -- September 01, 1998 32 DESCRIPTION 33 "Initial version." 34 35 REVISION "200312070000Z" -- December 07, 2003 36 DESCRIPTION 37 "Added gnomeSysadmin subtree for GNOME project system administration. 38 Updated contact info." 39 40 ::= { enterprises 3317 } -- assigned by IANA 41 42 gnomeProducts OBJECT-IDENTITY 43 STATUS current 44 DESCRIPTION 45 "gnomeProducts is the root OBJECT IDENTIFIER from 46 which sysObjectID values are assigned." 47 ::= { gnome 1 } 48 49 gnomeMgmt OBJECT-IDENTITY 50 STATUS current 51 DESCRIPTION 52 "gnomeMgmt defines the subtree for production GNOME related 53 MIB registrations." 54 ::= { gnome 2 } 55 56 gnomeTest OBJECT-IDENTITY 57 STATUS current 58 DESCRIPTION 59 "gnomeTest defines the subtree for testing GNOME related 60 MIB registrations." 61 ::= { gnome 3 } 62 63 gnomeSysadmin OBJECT-IDENTITY 64 STATUS current 65 DESCRIPTION 66 "gnomeSysadmin defines the subtree for GNOME related Sysadmin 67 MIB registrations." 68 ::= { gnome 4 } 69 70 -- more to come if necessary. 71 72 END -
mibs/Makefile.in
diff -ruN net-snmp-5.1.2-orig/mibs/Makefile.in net-snmp-5.1.2-5/mibs/Makefile.in
old new 43 43 UCDMIBS = UCD-SNMP-MIB.txt UCD-DEMO-MIB.txt UCD-IPFWACC-MIB.txt \ 44 44 UCD-DLMOD-MIB.txt UCD-DISKIO-MIB.txt 45 45 46 EXTRAMIBS = BGP4-MIB.txt BRIDGE-MIB.txt GNOME-SMI.txt OSPF-MIB.txt \ 47 OSPF-TRAP-MIB.txt RIPv2-MIB.txt SOURCE-ROUTING-MIB.txt \ 48 LM-SENSORS-MIB.txt 49 46 50 DEFAULTMIBS = @default_mibs_install@ 47 51 48 52 MIBS = $(V1MIBS) $(V2MIBS) $(V3MIBS) $(RFCMIBS) \ 49 53 $(AGENTMIBS) $(IANAMIBS) \ 50 $(NETSNMPMIBS) $(UCDMIBS) $(DEFAULTMIBS) 54 $(NETSNMPMIBS) $(UCDMIBS) $(DEFAULTMIBS) $(EXTRAMIBS) 51 55 52 56 all: standardall 53 57 -
mibs/OSPF-MIB.txt
diff -ruN net-snmp-5.1.2-orig/mibs/OSPF-MIB.txt net-snmp-5.1.2-5/mibs/OSPF-MIB.txt
old new 1 OSPF-MIB DEFINITIONS ::= BEGIN 2 3 IMPORTS 4 MODULE-IDENTITY, OBJECT-TYPE, Counter32, Gauge32, 5 Integer32, IpAddress 6 FROM SNMPv2-SMI 7 TEXTUAL-CONVENTION, TruthValue, RowStatus 8 FROM SNMPv2-TC 9 MODULE-COMPLIANCE, OBJECT-GROUP FROM SNMPv2-CONF 10 mib-2 FROM RFC1213-MIB; 11 12 -- This MIB module uses the extended OBJECT-TYPE macro as 13 -- defined in [9]. 14 15 ospf MODULE-IDENTITY 16 LAST-UPDATED "9501201225Z" -- Fri Jan 20 12:25:50 PST 1995 17 ORGANIZATION "IETF OSPF Working Group" 18 CONTACT-INFO 19 " Fred Baker 20 Postal: Cisco Systems 21 519 Lado Drive 22 Santa Barbara, California 93111 23 Tel: +1 805 681 0115 24 E-Mail: fred@cisco.com 25 26 Rob Coltun 27 Postal: RainbowBridge Communications 28 Tel: (301) 340-9416 29 E-Mail: rcoltun@rainbow-bridge.com" 30 DESCRIPTION 31 "The MIB module to describe the OSPF Version 2 32 Protocol" 33 ::= { mib-2 14 } 34 35 -- The Area ID, in OSPF, has the same format as an IP Address, 36 -- but has the function of defining a summarization point for 37 -- Link State Advertisements 38 39 AreaID ::= TEXTUAL-CONVENTION 40 STATUS current 41 DESCRIPTION 42 "An OSPF Area Identifier." 43 SYNTAX IpAddress 44 45 46 -- The Router ID, in OSPF, has the same format as an IP Address, 47 -- but identifies the router independent of its IP Address. 48 49 RouterID ::= TEXTUAL-CONVENTION 50 STATUS current 51 DESCRIPTION 52 "A OSPF Router Identifier." 53 SYNTAX IpAddress 54 55 56 -- The OSPF Metric is defined as an unsigned value in the range 57 58 Metric ::= TEXTUAL-CONVENTION 59 STATUS current 60 DESCRIPTION 61 "The OSPF Internal Metric." 62 SYNTAX Integer32 (0..'FFFF'h) 63 64 BigMetric ::= TEXTUAL-CONVENTION 65 STATUS current 66 DESCRIPTION 67 "The OSPF External Metric." 68 SYNTAX Integer32 (0..'FFFFFF'h) 69 70 -- Status Values 71 72 Status ::= TEXTUAL-CONVENTION 73 STATUS current 74 DESCRIPTION 75 "The status of an interface: 'enabled' indicates that 76 it is willing to communicate with other OSPF Routers, 77 while 'disabled' indicates that it is not." 78 SYNTAX INTEGER { enabled (1), disabled (2) } 79 80 -- Time Durations measured in seconds 81 82 PositiveInteger ::= TEXTUAL-CONVENTION 83 STATUS current 84 DESCRIPTION 85 "A positive integer. Values in excess are precluded as 86 unnecessary and prone to interoperability issues." 87 SYNTAX Integer32 (0..'7FFFFFFF'h) 88 89 HelloRange ::= TEXTUAL-CONVENTION 90 STATUS current 91 DESCRIPTION 92 "The range of intervals on which hello messages are 93 exchanged." 94 SYNTAX Integer32 (1..'FFFF'h) 95 96 UpToMaxAge ::= TEXTUAL-CONVENTION 97 STATUS current 98 DESCRIPTION 99 "The values that one might find or configure for 100 variables bounded by the maximum age of an LSA." 101 SYNTAX Integer32 (0..3600) 102 103 104 -- The range of ifIndex 105 106 InterfaceIndex ::= TEXTUAL-CONVENTION 107 STATUS current 108 DESCRIPTION 109 "The range of ifIndex." 110 SYNTAX Integer32 111 112 113 -- Potential Priorities for the Designated Router Election 114 115 DesignatedRouterPriority ::= TEXTUAL-CONVENTION 116 STATUS current 117 DESCRIPTION 118 "The values defined for the priority of a system for 119 becoming the designated router." 120 SYNTAX Integer32 (0..'FF'h) 121 122 TOSType ::= TEXTUAL-CONVENTION 123 STATUS current 124 DESCRIPTION 125 "Type of Service is defined as a mapping to the IP Type of 126 Service Flags as defined in the IP Forwarding Table MIB 127 128 +-----+-----+-----+-----+-----+-----+-----+-----+ 129 | | | | 130 | PRECEDENCE | TYPE OF SERVICE | 0 | 131 | | | | 132 +-----+-----+-----+-----+-----+-----+-----+-----+ 133 134 IP TOS IP TOS 135 Field Policy Field Policy 136 137 Contents Code Contents Code 138 0 0 0 0 ==> 0 0 0 0 1 ==> 2 139 0 0 1 0 ==> 4 0 0 1 1 ==> 6 140 0 1 0 0 ==> 8 0 1 0 1 ==> 10 141 0 1 1 0 ==> 12 0 1 1 1 ==> 14 142 1 0 0 0 ==> 16 1 0 0 1 ==> 18 143 1 0 1 0 ==> 20 1 0 1 1 ==> 22 144 1 1 0 0 ==> 24 1 1 0 1 ==> 26 145 1 1 1 0 ==> 28 1 1 1 1 ==> 30 146 147 The remaining values are left for future definition." 148 SYNTAX Integer32 (0..30) 149 150 151 -- OSPF General Variables 152 153 -- These parameters apply globally to the Router's 154 -- OSPF Process. 155 156 ospfGeneralGroup OBJECT IDENTIFIER ::= { ospf 1 } 157 158 159 ospfRouterId OBJECT-TYPE 160 SYNTAX RouterID 161 MAX-ACCESS read-write 162 STATUS current 163 DESCRIPTION 164 "A 32-bit integer uniquely identifying the 165 router in the Autonomous System. 166 167 By convention, to ensure uniqueness, this 168 should default to the value of one of the 169 router's IP interface addresses." 170 REFERENCE 171 "OSPF Version 2, C.1 Global parameters" 172 ::= { ospfGeneralGroup 1 } 173 174 175 ospfAdminStat OBJECT-TYPE 176 SYNTAX Status 177 MAX-ACCESS read-write 178 STATUS current 179 DESCRIPTION 180 "The administrative status of OSPF in the 181 router. The value 'enabled' denotes that the 182 OSPF Process is active on at least one inter- 183 face; 'disabled' disables it on all inter- 184 faces." 185 ::= { ospfGeneralGroup 2 } 186 187 ospfVersionNumber OBJECT-TYPE 188 SYNTAX INTEGER { version2 (2) } 189 MAX-ACCESS read-only 190 STATUS current 191 DESCRIPTION 192 "The current version number of the OSPF proto- 193 col is 2." 194 REFERENCE 195 "OSPF Version 2, Title" 196 ::= { ospfGeneralGroup 3 } 197 198 199 ospfAreaBdrRtrStatus OBJECT-TYPE 200 SYNTAX TruthValue 201 MAX-ACCESS read-only 202 STATUS current 203 DESCRIPTION 204 "A flag to note whether this router is an area 205 border router." 206 REFERENCE 207 "OSPF Version 2, Section 3 Splitting the AS into 208 Areas" 209 ::= { ospfGeneralGroup 4 } 210 211 212 ospfASBdrRtrStatus OBJECT-TYPE 213 SYNTAX TruthValue 214 MAX-ACCESS read-write 215 STATUS current 216 DESCRIPTION 217 "A flag to note whether this router is config- 218 ured as an Autonomous System border router." 219 REFERENCE 220 "OSPF Version 2, Section 3.3 Classification of 221 routers" 222 ::= { ospfGeneralGroup 5 } 223 224 ospfExternLsaCount OBJECT-TYPE 225 SYNTAX Gauge32 226 MAX-ACCESS read-only 227 STATUS current 228 DESCRIPTION 229 "The number of external (LS type 5) link-state 230 advertisements in the link-state database." 231 REFERENCE 232 "OSPF Version 2, Appendix A.4.5 AS external link 233 advertisements" 234 ::= { ospfGeneralGroup 6 } 235 236 237 ospfExternLsaCksumSum OBJECT-TYPE 238 SYNTAX Integer32 239 MAX-ACCESS read-only 240 STATUS current 241 DESCRIPTION 242 "The 32-bit unsigned sum of the LS checksums of 243 the external link-state advertisements con- 244 tained in the link-state database. This sum 245 can be used to determine if there has been a 246 change in a router's link state database, and 247 to compare the link-state database of two 248 routers." 249 ::= { ospfGeneralGroup 7 } 250 251 252 ospfTOSSupport OBJECT-TYPE 253 SYNTAX TruthValue 254 MAX-ACCESS read-write 255 STATUS current 256 DESCRIPTION 257 "The router's support for type-of-service rout- 258 ing." 259 REFERENCE 260 "OSPF Version 2, Appendix F.1.2 Optional TOS 261 support" 262 ::= { ospfGeneralGroup 8 } 263 264 ospfOriginateNewLsas OBJECT-TYPE 265 SYNTAX Counter32 266 MAX-ACCESS read-only 267 STATUS current 268 DESCRIPTION 269 "The number of new link-state advertisements 270 that have been originated. This number is in- 271 cremented each time the router originates a new 272 LSA." 273 ::= { ospfGeneralGroup 9 } 274 275 276 ospfRxNewLsas OBJECT-TYPE 277 SYNTAX Counter32 278 MAX-ACCESS read-only 279 STATUS current 280 DESCRIPTION 281 "The number of link-state advertisements re- 282 ceived determined to be new instantiations. 283 This number does not include newer instantia- 284 tions of self-originated link-state advertise- 285 ments." 286 ::= { ospfGeneralGroup 10 } 287 288 ospfExtLsdbLimit OBJECT-TYPE 289 SYNTAX Integer32 (-1..'7FFFFFFF'h) 290 MAX-ACCESS read-write 291 STATUS current 292 DESCRIPTION 293 "The maximum number of non-default AS- 294 external-LSAs entries that can be stored in the 295 link-state database. If the value is -1, then 296 there is no limit. 297 298 When the number of non-default AS-external-LSAs 299 in a router's link-state database reaches 300 ospfExtLsdbLimit, the router enters Overflow- 301 State. The router never holds more than 302 ospfExtLsdbLimit non-default AS-external-LSAs 303 in its database. OspfExtLsdbLimit MUST be set 304 identically in all routers attached to the OSPF 305 backbone and/or any regular OSPF area. (i.e., 306 OSPF stub areas and NSSAs are excluded)." 307 DEFVAL { -1 } 308 ::= { ospfGeneralGroup 11 } 309 310 ospfMulticastExtensions OBJECT-TYPE 311 SYNTAX Integer32 312 MAX-ACCESS read-write 313 STATUS current 314 DESCRIPTION 315 "A Bit Mask indicating whether the router is 316 forwarding IP multicast (Class D) datagrams 317 based on the algorithms defined in the Multi- 318 cast Extensions to OSPF. 319 320 Bit 0, if set, indicates that the router can 321 forward IP multicast datagrams in the router's 322 directly attached areas (called intra-area mul- 323 ticast routing). 324 325 Bit 1, if set, indicates that the router can 326 forward IP multicast datagrams between OSPF 327 areas (called inter-area multicast routing). 328 329 Bit 2, if set, indicates that the router can 330 forward IP multicast datagrams between Auto- 331 nomous Systems (called inter-AS multicast rout- 332 ing). 333 334 Only certain combinations of bit settings are 335 allowed, namely: 0 (no multicast forwarding is 336 enabled), 1 (intra-area multicasting only), 3 337 (intra-area and inter-area multicasting), 5 338 (intra-area and inter-AS multicasting) and 7 339 (multicasting everywhere). By default, no mul- 340 ticast forwarding is enabled." 341 DEFVAL { 0 } 342 ::= { ospfGeneralGroup 12 } 343 344 ospfExitOverflowInterval OBJECT-TYPE 345 SYNTAX PositiveInteger 346 MAX-ACCESS read-write 347 STATUS current 348 DESCRIPTION 349 "The number of seconds that, after entering 350 OverflowState, a router will attempt to leave 351 OverflowState. This allows the router to again 352 originate non-default AS-external-LSAs. When 353 set to 0, the router will not leave Overflow- 354 State until restarted." 355 DEFVAL { 0 } 356 ::= { ospfGeneralGroup 13 } 357 358 359 ospfDemandExtensions OBJECT-TYPE 360 SYNTAX TruthValue 361 MAX-ACCESS read-write 362 STATUS current 363 DESCRIPTION 364 "The router's support for demand routing." 365 REFERENCE 366 "OSPF Version 2, Appendix on Demand Routing" 367 ::= { ospfGeneralGroup 14 } 368 369 370 -- The OSPF Area Data Structure contains information 371 -- regarding the various areas. The interfaces and 372 -- virtual links are configured as part of these areas. 373 -- Area 0.0.0.0, by definition, is the Backbone Area 374 375 376 ospfAreaTable OBJECT-TYPE 377 SYNTAX SEQUENCE OF OspfAreaEntry 378 MAX-ACCESS not-accessible 379 STATUS current 380 DESCRIPTION 381 "Information describing the configured parame- 382 ters and cumulative statistics of the router's 383 attached areas." 384 REFERENCE 385 "OSPF Version 2, Section 6 The Area Data Struc- 386 ture" 387 ::= { ospf 2 } 388 389 390 ospfAreaEntry OBJECT-TYPE 391 SYNTAX OspfAreaEntry 392 MAX-ACCESS not-accessible 393 STATUS current 394 DESCRIPTION 395 "Information describing the configured parame- 396 ters and cumulative statistics of one of the 397 router's attached areas." 398 INDEX { ospfAreaId } 399 ::= { ospfAreaTable 1 } 400 401 OspfAreaEntry ::= 402 SEQUENCE { 403 ospfAreaId 404 AreaID, 405 ospfAuthType 406 Integer32, 407 ospfImportAsExtern 408 INTEGER, 409 ospfSpfRuns 410 Counter32, 411 ospfAreaBdrRtrCount 412 Gauge32, 413 ospfAsBdrRtrCount 414 Gauge32, 415 ospfAreaLsaCount 416 Gauge32, 417 ospfAreaLsaCksumSum 418 Integer32, 419 ospfAreaSummary 420 INTEGER, 421 ospfAreaStatus 422 RowStatus 423 } 424 425 ospfAreaId OBJECT-TYPE 426 SYNTAX AreaID 427 MAX-ACCESS read-only 428 STATUS current 429 DESCRIPTION 430 "A 32-bit integer uniquely identifying an area. 431 Area ID 0.0.0.0 is used for the OSPF backbone." 432 REFERENCE 433 "OSPF Version 2, Appendix C.2 Area parameters" 434 ::= { ospfAreaEntry 1 } 435 436 437 ospfAuthType OBJECT-TYPE 438 SYNTAX Integer32 439 -- none (0), 440 -- simplePassword (1) 441 -- md5 (2) 442 -- reserved for specification by IANA (> 2) 443 MAX-ACCESS read-create 444 STATUS obsolete 445 DESCRIPTION 446 "The authentication type specified for an area. 447 Additional authentication types may be assigned 448 locally on a per Area basis." 449 REFERENCE 450 "OSPF Version 2, Appendix E Authentication" 451 DEFVAL { 0 } -- no authentication, by default 452 ::= { ospfAreaEntry 2 } 453 454 ospfImportAsExtern OBJECT-TYPE 455 SYNTAX INTEGER { 456 importExternal (1), 457 importNoExternal (2), 458 importNssa (3) 459 } 460 MAX-ACCESS read-create 461 STATUS current 462 DESCRIPTION 463 "The area's support for importing AS external 464 link- state advertisements." 465 REFERENCE 466 "OSPF Version 2, Appendix C.2 Area parameters" 467 DEFVAL { importExternal } 468 ::= { ospfAreaEntry 3 } 469 470 471 ospfSpfRuns OBJECT-TYPE 472 SYNTAX Counter32 473 MAX-ACCESS read-only 474 STATUS current 475 DESCRIPTION 476 "The number of times that the intra-area route 477 table has been calculated using this area's 478 link-state database. This is typically done 479 using Dijkstra's algorithm." 480 ::= { ospfAreaEntry 4 } 481 482 483 ospfAreaBdrRtrCount OBJECT-TYPE 484 SYNTAX Gauge32 485 MAX-ACCESS read-only 486 STATUS current 487 DESCRIPTION 488 "The total number of area border routers reach- 489 able within this area. This is initially zero, 490 and is calculated in each SPF Pass." 491 ::= { ospfAreaEntry 5 } 492 493 ospfAsBdrRtrCount OBJECT-TYPE 494 SYNTAX Gauge32 495 MAX-ACCESS read-only 496 STATUS current 497 DESCRIPTION 498 "The total number of Autonomous System border 499 routers reachable within this area. This is 500 initially zero, and is calculated in each SPF 501 Pass." 502 ::= { ospfAreaEntry 6 } 503 504 505 ospfAreaLsaCount OBJECT-TYPE 506 SYNTAX Gauge32 507 MAX-ACCESS read-only 508 STATUS current 509 DESCRIPTION 510 "The total number of link-state advertisements 511 in this area's link-state database, excluding 512 AS External LSA's." 513 ::= { ospfAreaEntry 7 } 514 515 516 ospfAreaLsaCksumSum OBJECT-TYPE 517 SYNTAX Integer32 518 MAX-ACCESS read-only 519 STATUS current 520 DESCRIPTION 521 "The 32-bit unsigned sum of the link-state ad- 522 vertisements' LS checksums contained in this 523 area's link-state database. This sum excludes 524 external (LS type 5) link-state advertisements. 525 The sum can be used to determine if there has 526 been a change in a router's link state data- 527 base, and to compare the link-state database of 528 two routers." 529 DEFVAL { 0 } 530 ::= { ospfAreaEntry 8 } 531 532 ospfAreaSummary OBJECT-TYPE 533 SYNTAX INTEGER { 534 noAreaSummary (1), 535 sendAreaSummary (2) 536 } 537 MAX-ACCESS read-create 538 STATUS current 539 DESCRIPTION 540 "The variable ospfAreaSummary controls the im- 541 port of summary LSAs into stub areas. It has 542 no effect on other areas. 543 544 If it is noAreaSummary, the router will neither 545 originate nor propagate summary LSAs into the 546 stub area. It will rely entirely on its de- 547 fault route. 548 549 If it is sendAreaSummary, the router will both 550 summarize and propagate summary LSAs." 551 DEFVAL { noAreaSummary } 552 ::= { ospfAreaEntry 9 } 553 554 555 ospfAreaStatus OBJECT-TYPE 556 SYNTAX RowStatus 557 MAX-ACCESS read-create 558 STATUS current 559 DESCRIPTION 560 "This variable displays the status of the en- 561 try. Setting it to 'invalid' has the effect of 562 rendering it inoperative. The internal effect 563 (row removal) is implementation dependent." 564 ::= { ospfAreaEntry 10 } 565 566 567 -- OSPF Area Default Metric Table 568 569 -- The OSPF Area Default Metric Table describes the metrics 570 -- that a default Area Border Router will advertise into a 571 -- Stub area. 572 573 574 ospfStubAreaTable OBJECT-TYPE 575 SYNTAX SEQUENCE OF OspfStubAreaEntry 576 MAX-ACCESS not-accessible 577 STATUS current 578 DESCRIPTION 579 "The set of metrics that will be advertised by 580 a default Area Border Router into a stub area." 581 REFERENCE 582 "OSPF Version 2, Appendix C.2, Area Parameters" 583 ::= { ospf 3 } 584 585 586 ospfStubAreaEntry OBJECT-TYPE 587 SYNTAX OspfStubAreaEntry 588 MAX-ACCESS not-accessible 589 STATUS current 590 DESCRIPTION 591 "The metric for a given Type of Service that 592 will be advertised by a default Area Border 593 Router into a stub area." 594 REFERENCE 595 "OSPF Version 2, Appendix C.2, Area Parameters" 596 INDEX { ospfStubAreaId, ospfStubTOS } 597 ::= { ospfStubAreaTable 1 } 598 599 OspfStubAreaEntry ::= 600 SEQUENCE { 601 ospfStubAreaId 602 AreaID, 603 ospfStubTOS 604 TOSType, 605 ospfStubMetric 606 BigMetric, 607 ospfStubStatus 608 RowStatus, 609 ospfStubMetricType 610 INTEGER 611 } 612 613 ospfStubAreaId OBJECT-TYPE 614 SYNTAX AreaID 615 MAX-ACCESS read-only 616 STATUS current 617 DESCRIPTION 618 "The 32 bit identifier for the Stub Area. On 619 creation, this can be derived from the in- 620 stance." 621 ::= { ospfStubAreaEntry 1 } 622 623 624 ospfStubTOS OBJECT-TYPE 625 SYNTAX TOSType 626 MAX-ACCESS read-only 627 STATUS current 628 DESCRIPTION 629 "The Type of Service associated with the 630 metric. On creation, this can be derived from 631 the instance." 632 ::= { ospfStubAreaEntry 2 } 633 634 635 ospfStubMetric OBJECT-TYPE 636 SYNTAX BigMetric 637 MAX-ACCESS read-create 638 STATUS current 639 DESCRIPTION 640 "The metric value applied at the indicated type 641 of service. By default, this equals the least 642 metric at the type of service among the inter- 643 faces to other areas." 644 ::= { ospfStubAreaEntry 3 } 645 646 647 ospfStubStatus OBJECT-TYPE 648 SYNTAX RowStatus 649 MAX-ACCESS read-create 650 STATUS current 651 DESCRIPTION 652 "This variable displays the status of the en- 653 try. Setting it to 'invalid' has the effect of 654 rendering it inoperative. The internal effect 655 (row removal) is implementation dependent." 656 ::= { ospfStubAreaEntry 4 } 657 658 ospfStubMetricType OBJECT-TYPE 659 SYNTAX INTEGER { 660 ospfMetric (1), -- OSPF Metric 661 comparableCost (2), -- external type 1 662 nonComparable (3) -- external type 2 663 } 664 MAX-ACCESS read-create 665 STATUS current 666 DESCRIPTION 667 "This variable displays the type of metric ad- 668 vertised as a default route." 669 DEFVAL { ospfMetric } 670 ::= { ospfStubAreaEntry 5 } 671 672 -- OSPF Link State Database 673 674 -- The Link State Database contains the Link State 675 -- Advertisements from throughout the areas that the 676 -- device is attached to. 677 678 679 ospfLsdbTable OBJECT-TYPE 680 SYNTAX SEQUENCE OF OspfLsdbEntry 681 MAX-ACCESS not-accessible 682 STATUS current 683 DESCRIPTION 684 "The OSPF Process's Link State Database." 685 REFERENCE 686 "OSPF Version 2, Section 12 Link State Adver- 687 tisements" 688 ::= { ospf 4 } 689 690 691 ospfLsdbEntry OBJECT-TYPE 692 SYNTAX OspfLsdbEntry 693 MAX-ACCESS not-accessible 694 STATUS current 695 DESCRIPTION 696 "A single Link State Advertisement." 697 INDEX { ospfLsdbAreaId, ospfLsdbType, 698 ospfLsdbLsid, ospfLsdbRouterId } 699 ::= { ospfLsdbTable 1 } 700 701 OspfLsdbEntry ::= 702 SEQUENCE { 703 ospfLsdbAreaId 704 AreaID, 705 ospfLsdbType 706 INTEGER, 707 ospfLsdbLsid 708 IpAddress, 709 ospfLsdbRouterId 710 RouterID, 711 ospfLsdbSequence 712 Integer32, 713 ospfLsdbAge 714 Integer32, 715 ospfLsdbChecksum 716 Integer32, 717 ospfLsdbAdvertisement 718 OCTET STRING 719 } 720 ospfLsdbAreaId OBJECT-TYPE 721 SYNTAX AreaID 722 MAX-ACCESS read-only 723 STATUS current 724 DESCRIPTION 725 "The 32 bit identifier of the Area from which 726 the LSA was received." 727 REFERENCE 728 "OSPF Version 2, Appendix C.2 Area parameters" 729 ::= { ospfLsdbEntry 1 } 730 731 -- External Link State Advertisements are permitted 732 -- for backward compatibility, but should be displayed in 733 -- the ospfExtLsdbTable rather than here. 734 735 ospfLsdbType OBJECT-TYPE 736 SYNTAX INTEGER { 737 routerLink (1), 738 networkLink (2), 739 summaryLink (3), 740 asSummaryLink (4), 741 asExternalLink (5), -- but see ospfExtLsdbTable 742 multicastLink (6), 743 nssaExternalLink (7) 744 } 745 MAX-ACCESS read-only 746 STATUS current 747 DESCRIPTION 748 "The type of the link state advertisement. 749 Each link state type has a separate advertise- 750 ment format." 751 REFERENCE 752 "OSPF Version 2, Appendix A.4.1 The Link State 753 Advertisement header" 754 ::= { ospfLsdbEntry 2 } 755 756 ospfLsdbLsid OBJECT-TYPE 757 SYNTAX IpAddress 758 MAX-ACCESS read-only 759 STATUS current 760 DESCRIPTION 761 "The Link State ID is an LS Type Specific field 762 containing either a Router ID or an IP Address; 763 it identifies the piece of the routing domain 764 that is being described by the advertisement." 765 REFERENCE 766 "OSPF Version 2, Section 12.1.4 Link State ID" 767 ::= { ospfLsdbEntry 3 } 768 ospfLsdbRouterId OBJECT-TYPE 769 SYNTAX RouterID 770 MAX-ACCESS read-only 771 STATUS current 772 DESCRIPTION 773 "The 32 bit number that uniquely identifies the 774 originating router in the Autonomous System." 775 REFERENCE 776 "OSPF Version 2, Appendix C.1 Global parameters" 777 ::= { ospfLsdbEntry 4 } 778 779 -- Note that the OSPF Sequence Number is a 32 bit signed 780 -- integer. It starts with the value '80000001'h, 781 -- or -'7FFFFFFF'h, and increments until '7FFFFFFF'h 782 -- Thus, a typical sequence number will be very negative. 783 784 ospfLsdbSequence OBJECT-TYPE 785 SYNTAX Integer32 786 MAX-ACCESS read-only 787 STATUS current 788 DESCRIPTION 789 "The sequence number field is a signed 32-bit 790 integer. It is used to detect old and dupli- 791 cate link state advertisements. The space of 792 sequence numbers is linearly ordered. The 793 larger the sequence number the more recent the 794 advertisement." 795 REFERENCE 796 "OSPF Version 2, Section 12.1.6 LS sequence 797 number" 798 ::= { ospfLsdbEntry 5 } 799 800 801 ospfLsdbAge OBJECT-TYPE 802 SYNTAX Integer32 -- Should be 0..MaxAge 803 MAX-ACCESS read-only 804 STATUS current 805 DESCRIPTION 806 "This field is the age of the link state adver- 807 tisement in seconds." 808 REFERENCE 809 "OSPF Version 2, Section 12.1.1 LS age" 810 ::= { ospfLsdbEntry 6 } 811 812 ospfLsdbChecksum OBJECT-TYPE 813 SYNTAX Integer32 814 MAX-ACCESS read-only 815 STATUS current 816 DESCRIPTION 817 "This field is the checksum of the complete 818 contents of the advertisement, excepting the 819 age field. The age field is excepted so that 820 an advertisement's age can be incremented 821 without updating the checksum. The checksum 822 used is the same that is used for ISO connec- 823 tionless datagrams; it is commonly referred to 824 as the Fletcher checksum." 825 REFERENCE 826 "OSPF Version 2, Section 12.1.7 LS checksum" 827 ::= { ospfLsdbEntry 7 } 828 829 830 ospfLsdbAdvertisement OBJECT-TYPE 831 SYNTAX OCTET STRING (SIZE (1..65535)) 832 MAX-ACCESS read-only 833 STATUS current 834 DESCRIPTION 835 "The entire Link State Advertisement, including 836 its header." 837 REFERENCE 838 "OSPF Version 2, Section 12 Link State Adver- 839 tisements" 840 ::= { ospfLsdbEntry 8 } 841 842 843 -- Address Range Table 844 845 -- The Address Range Table acts as an adjunct to the Area 846 -- Table; It describes those Address Range Summaries that 847 -- are configured to be propagated from an Area to reduce 848 -- the amount of information about it which is known beyond 849 -- its borders. 850 851 ospfAreaRangeTable OBJECT-TYPE 852 SYNTAX SEQUENCE OF OspfAreaRangeEntry 853 MAX-ACCESS not-accessible 854 STATUS obsolete 855 DESCRIPTION 856 "A range if IP addresses specified by an IP 857 address/IP network mask pair. For example, 858 class B address range of X.X.X.X with a network 859 mask of 255.255.0.0 includes all IP addresses 860 from X.X.0.0 to X.X.255.255" 861 REFERENCE 862 "OSPF Version 2, Appendix C.2 Area parameters" 863 ::= { ospf 5 } 864 ospfAreaRangeEntry OBJECT-TYPE 865 SYNTAX OspfAreaRangeEntry 866 MAX-ACCESS not-accessible 867 STATUS obsolete 868 DESCRIPTION 869 "A range if IP addresses specified by an IP 870 address/IP network mask pair. For example, 871 class B address range of X.X.X.X with a network 872 mask of 255.255.0.0 includes all IP addresses 873 from X.X.0.0 to X.X.255.255" 874 REFERENCE 875 "OSPF Version 2, Appendix C.2 Area parameters" 876 INDEX { ospfAreaRangeAreaId, ospfAreaRangeNet } 877 ::= { ospfAreaRangeTable 1 } 878 879 OspfAreaRangeEntry ::= 880 SEQUENCE { 881 ospfAreaRangeAreaId 882 AreaID, 883 ospfAreaRangeNet 884 IpAddress, 885 ospfAreaRangeMask 886 IpAddress, 887 ospfAreaRangeStatus 888 RowStatus, 889 ospfAreaRangeEffect 890 INTEGER 891 } 892 893 ospfAreaRangeAreaId OBJECT-TYPE 894 SYNTAX AreaID 895 MAX-ACCESS read-only 896 STATUS obsolete 897 DESCRIPTION 898 "The Area the Address Range is to be found 899 within." 900 REFERENCE 901 "OSPF Version 2, Appendix C.2 Area parameters" 902 ::= { ospfAreaRangeEntry 1 } 903 904 905 ospfAreaRangeNet OBJECT-TYPE 906 SYNTAX IpAddress 907 MAX-ACCESS read-only 908 STATUS obsolete 909 DESCRIPTION 910 "The IP Address of the Net or Subnet indicated 911 by the range." 912 REFERENCE 913 "OSPF Version 2, Appendix C.2 Area parameters" 914 ::= { ospfAreaRangeEntry 2 } 915 916 917 ospfAreaRangeMask OBJECT-TYPE 918 SYNTAX IpAddress 919 MAX-ACCESS read-create 920 STATUS obsolete 921 DESCRIPTION 922 "The Subnet Mask that pertains to the Net or 923 Subnet." 924 REFERENCE 925 "OSPF Version 2, Appendix C.2 Area parameters" 926 ::= { ospfAreaRangeEntry 3 } 927 928 ospfAreaRangeStatus OBJECT-TYPE 929 SYNTAX RowStatus 930 MAX-ACCESS read-create 931 STATUS obsolete 932 DESCRIPTION 933 "This variable displays the status of the en- 934 try. Setting it to 'invalid' has the effect of 935 rendering it inoperative. The internal effect 936 (row removal) is implementation dependent." 937 ::= { ospfAreaRangeEntry 4 } 938 939 940 ospfAreaRangeEffect OBJECT-TYPE 941 SYNTAX INTEGER { 942 advertiseMatching (1), 943 doNotAdvertiseMatching (2) 944 } 945 MAX-ACCESS read-create 946 STATUS obsolete 947 DESCRIPTION 948 "Subnets subsumed by ranges either trigger the 949 advertisement of the indicated summary (adver- 950 tiseMatching), or result in the subnet's not 951 being advertised at all outside the area." 952 DEFVAL { advertiseMatching } 953 ::= { ospfAreaRangeEntry 5 } 954 955 956 957 -- OSPF Host Table 958 959 -- The Host/Metric Table indicates what hosts are directly 960 -- attached to the Router, and what metrics and types of 961 -- service should be advertised for them. 962 963 ospfHostTable OBJECT-TYPE 964 SYNTAX SEQUENCE OF OspfHostEntry 965 MAX-ACCESS not-accessible 966 STATUS current 967 DESCRIPTION 968 "The list of Hosts, and their metrics, that the 969 router will advertise as host routes." 970 REFERENCE 971 "OSPF Version 2, Appendix C.6 Host route param- 972 eters" 973 ::= { ospf 6 } 974 975 976 ospfHostEntry OBJECT-TYPE 977 SYNTAX OspfHostEntry 978 MAX-ACCESS not-accessible 979 STATUS current 980 DESCRIPTION 981 "A metric to be advertised, for a given type of 982 service, when a given host is reachable." 983 INDEX { ospfHostIpAddress, ospfHostTOS } 984 ::= { ospfHostTable 1 } 985 986 OspfHostEntry ::= 987 SEQUENCE { 988 ospfHostIpAddress 989 IpAddress, 990 ospfHostTOS 991 TOSType, 992 ospfHostMetric 993 Metric, 994 ospfHostStatus 995 RowStatus, 996 ospfHostAreaID 997 AreaID 998 } 999 1000 ospfHostIpAddress OBJECT-TYPE 1001 SYNTAX IpAddress 1002 MAX-ACCESS read-only 1003 STATUS current 1004 DESCRIPTION 1005 "The IP Address of the Host." 1006 REFERENCE 1007 "OSPF Version 2, Appendix C.6 Host route parame- 1008 ters" 1009 ::= { ospfHostEntry 1 } 1010 1011 1012 ospfHostTOS OBJECT-TYPE 1013 SYNTAX TOSType 1014 MAX-ACCESS read-only 1015 STATUS current 1016 DESCRIPTION 1017 "The Type of Service of the route being config- 1018 ured." 1019 REFERENCE 1020 "OSPF Version 2, Appendix C.6 Host route parame- 1021 ters" 1022 ::= { ospfHostEntry 2 } 1023 1024 1025 ospfHostMetric OBJECT-TYPE 1026 SYNTAX Metric 1027 MAX-ACCESS read-create 1028 STATUS current 1029 DESCRIPTION 1030 "The Metric to be advertised." 1031 REFERENCE 1032 "OSPF Version 2, Appendix C.6 Host route parame- 1033 ters" 1034 ::= { ospfHostEntry 3 } 1035 1036 ospfHostStatus OBJECT-TYPE 1037 SYNTAX RowStatus 1038 MAX-ACCESS read-create 1039 STATUS current 1040 DESCRIPTION 1041 "This variable displays the status of the en- 1042 try. Setting it to 'invalid' has the effect of 1043 rendering it inoperative. The internal effect 1044 (row removal) is implementation dependent." 1045 ::= { ospfHostEntry 4 } 1046 1047 1048 ospfHostAreaID OBJECT-TYPE 1049 SYNTAX AreaID 1050 MAX-ACCESS read-only 1051 STATUS current 1052 DESCRIPTION 1053 "The Area the Host Entry is to be found within. 1054 By default, the area that a subsuming OSPF in- 1055 terface is in, or 0.0.0.0" 1056 REFERENCE 1057 "OSPF Version 2, Appendix C.2 Area parameters" 1058 ::= { ospfHostEntry 5 } 1059 1060 1061 -- OSPF Interface Table 1062 1063 -- The OSPF Interface Table augments the ipAddrTable 1064 -- with OSPF specific information. 1065 1066 ospfIfTable OBJECT-TYPE 1067 SYNTAX SEQUENCE OF OspfIfEntry 1068 MAX-ACCESS not-accessible 1069 STATUS current 1070 DESCRIPTION 1071 "The OSPF Interface Table describes the inter- 1072 faces from the viewpoint of OSPF." 1073 REFERENCE 1074 "OSPF Version 2, Appendix C.3 Router interface 1075 parameters" 1076 ::= { ospf 7 } 1077 1078 1079 ospfIfEntry OBJECT-TYPE 1080 SYNTAX OspfIfEntry 1081 MAX-ACCESS not-accessible 1082 STATUS current 1083 DESCRIPTION 1084 "The OSPF Interface Entry describes one inter- 1085 face from the viewpoint of OSPF." 1086 INDEX { ospfIfIpAddress, ospfAddressLessIf } 1087 ::= { ospfIfTable 1 } 1088 1089 OspfIfEntry ::= 1090 SEQUENCE { 1091 ospfIfIpAddress 1092 IpAddress, 1093 ospfAddressLessIf 1094 Integer32, 1095 ospfIfAreaId 1096 AreaID, 1097 ospfIfType 1098 INTEGER, 1099 ospfIfAdminStat 1100 Status, 1101 ospfIfRtrPriority 1102 DesignatedRouterPriority, 1103 ospfIfTransitDelay 1104 UpToMaxAge, 1105 ospfIfRetransInterval 1106 UpToMaxAge, 1107 ospfIfHelloInterval 1108 HelloRange, 1109 ospfIfRtrDeadInterval 1110 PositiveInteger, 1111 ospfIfPollInterval 1112 PositiveInteger, 1113 ospfIfState 1114 INTEGER, 1115 ospfIfDesignatedRouter 1116 IpAddress, 1117 ospfIfBackupDesignatedRouter 1118 IpAddress, 1119 ospfIfEvents 1120 Counter32, 1121 ospfIfAuthType 1122 INTEGER, 1123 ospfIfAuthKey 1124 OCTET STRING, 1125 ospfIfStatus 1126 RowStatus, 1127 ospfIfMulticastForwarding 1128 INTEGER, 1129 ospfIfDemand 1130 TruthValue 1131 } 1132 1133 ospfIfIpAddress OBJECT-TYPE 1134 SYNTAX IpAddress 1135 MAX-ACCESS read-only 1136 STATUS current 1137 DESCRIPTION 1138 "The IP address of this OSPF interface." 1139 ::= { ospfIfEntry 1 } 1140 1141 ospfAddressLessIf OBJECT-TYPE 1142 SYNTAX Integer32 1143 MAX-ACCESS read-only 1144 STATUS current 1145 DESCRIPTION 1146 "For the purpose of easing the instancing of 1147 addressed and addressless interfaces; This 1148 variable takes the value 0 on interfaces with 1149 IP Addresses, and the corresponding value of 1150 ifIndex for interfaces having no IP Address." 1151 ::= { ospfIfEntry 2 } 1152 ospfIfAreaId OBJECT-TYPE 1153 SYNTAX AreaID 1154 MAX-ACCESS read-create 1155 STATUS current 1156 DESCRIPTION 1157 "A 32-bit integer uniquely identifying the area 1158 to which the interface connects. Area ID 1159 0.0.0.0 is used for the OSPF backbone." 1160 DEFVAL { '00000000'H } -- 0.0.0.0 1161 ::= { ospfIfEntry 3 } 1162 1163 ospfIfType OBJECT-TYPE 1164 SYNTAX INTEGER { 1165 broadcast (1), 1166 nbma (2), 1167 pointToPoint (3), 1168 pointToMultipoint (5) 1169 } 1170 MAX-ACCESS read-create 1171 STATUS current 1172 DESCRIPTION 1173 "The OSPF interface type. 1174 1175 By way of a default, this field may be intuited 1176 from the corresponding value of ifType. Broad- 1177 cast LANs, such as Ethernet and IEEE 802.5, 1178 take the value 'broadcast', X.25 and similar 1179 technologies take the value 'nbma', and links 1180 that are definitively point to point take the 1181 value 'pointToPoint'." 1182 ::= { ospfIfEntry 4 } 1183 1184 1185 ospfIfAdminStat OBJECT-TYPE 1186 SYNTAX Status 1187 MAX-ACCESS read-create 1188 STATUS current 1189 DESCRIPTION 1190 "The OSPF interface's administrative status. 1191 The value formed on the interface, and the in- 1192 terface will be advertised as an internal route 1193 to some area. The value 'disabled' denotes 1194 that the interface is external to OSPF." 1195 DEFVAL { enabled } 1196 ::= { ospfIfEntry 5 } 1197 1198 ospfIfRtrPriority OBJECT-TYPE 1199 SYNTAX DesignatedRouterPriority 1200 MAX-ACCESS read-create 1201 STATUS current 1202 DESCRIPTION 1203 "The priority of this interface. Used in 1204 multi-access networks, this field is used in 1205 the designated router election algorithm. The 1206 value 0 signifies that the router is not eligi- 1207 ble to become the designated router on this 1208 particular network. In the event of a tie in 1209 this value, routers will use their Router ID as 1210 a tie breaker." 1211 DEFVAL { 1 } 1212 ::= { ospfIfEntry 6 } 1213 1214 1215 ospfIfTransitDelay OBJECT-TYPE 1216 SYNTAX UpToMaxAge 1217 MAX-ACCESS read-create 1218 STATUS current 1219 DESCRIPTION 1220 "The estimated number of seconds it takes to 1221 transmit a link state update packet over this 1222 interface." 1223 DEFVAL { 1 } 1224 ::= { ospfIfEntry 7 } 1225 1226 1227 ospfIfRetransInterval OBJECT-TYPE 1228 SYNTAX UpToMaxAge 1229 MAX-ACCESS read-create 1230 STATUS current 1231 DESCRIPTION 1232 "The number of seconds between link-state ad- 1233 vertisement retransmissions, for adjacencies 1234 belonging to this interface. This value is 1235 also used when retransmitting database descrip- 1236 tion and link-state request packets." 1237 DEFVAL { 5 } 1238 ::= { ospfIfEntry 8 } 1239 1240 1241 ospfIfHelloInterval OBJECT-TYPE 1242 SYNTAX HelloRange 1243 MAX-ACCESS read-create 1244 STATUS current 1245 DESCRIPTION 1246 "The length of time, in seconds, between the 1247 Hello packets that the router sends on the in- 1248 terface. This value must be the same for all 1249 routers attached to a common network." 1250 DEFVAL { 10 } 1251 ::= { ospfIfEntry 9 } 1252 1253 1254 ospfIfRtrDeadInterval OBJECT-TYPE 1255 SYNTAX PositiveInteger 1256 MAX-ACCESS read-create 1257 STATUS current 1258 DESCRIPTION 1259 "The number of seconds that a router's Hello 1260 packets have not been seen before it's neigh- 1261 bors declare the router down. This should be 1262 some multiple of the Hello interval. This 1263 value must be the same for all routers attached 1264 to a common network." 1265 DEFVAL { 40 } 1266 ::= { ospfIfEntry 10 } 1267 1268 1269 ospfIfPollInterval OBJECT-TYPE 1270 SYNTAX PositiveInteger 1271 MAX-ACCESS read-create 1272 STATUS current 1273 DESCRIPTION 1274 "The larger time interval, in seconds, between 1275 the Hello packets sent to an inactive non- 1276 broadcast multi- access neighbor." 1277 DEFVAL { 120 } 1278 ::= { ospfIfEntry 11 } 1279 1280 1281 ospfIfState OBJECT-TYPE 1282 SYNTAX INTEGER { 1283 down (1), 1284 loopback (2), 1285 waiting (3), 1286 pointToPoint (4), 1287 designatedRouter (5), 1288 backupDesignatedRouter (6), 1289 otherDesignatedRouter (7) 1290 } 1291 MAX-ACCESS read-only 1292 STATUS current 1293 DESCRIPTION 1294 "The OSPF Interface State." 1295 DEFVAL { down } 1296 ::= { ospfIfEntry 12 } 1297 1298 1299 ospfIfDesignatedRouter OBJECT-TYPE 1300 SYNTAX IpAddress 1301 MAX-ACCESS read-only 1302 STATUS current 1303 DESCRIPTION 1304 "The IP Address of the Designated Router." 1305 DEFVAL { '00000000'H } -- 0.0.0.0 1306 ::= { ospfIfEntry 13 } 1307 1308 1309 ospfIfBackupDesignatedRouter OBJECT-TYPE 1310 SYNTAX IpAddress 1311 MAX-ACCESS read-only 1312 STATUS current 1313 DESCRIPTION 1314 "The IP Address of the Backup Designated 1315 Router." 1316 DEFVAL { '00000000'H } -- 0.0.0.0 1317 ::= { ospfIfEntry 14 } 1318 1319 ospfIfEvents OBJECT-TYPE 1320 SYNTAX Counter32 1321 MAX-ACCESS read-only 1322 STATUS current 1323 DESCRIPTION 1324 "The number of times this OSPF interface has 1325 changed its state, or an error has occurred." 1326 ::= { ospfIfEntry 15 } 1327 1328 1329 ospfIfAuthKey OBJECT-TYPE 1330 SYNTAX OCTET STRING (SIZE (0..256)) 1331 MAX-ACCESS read-create 1332 STATUS current 1333 DESCRIPTION 1334 "The Authentication Key. If the Area's Author- 1335 ization Type is simplePassword, and the key 1336 length is shorter than 8 octets, the agent will 1337 left adjust and zero fill to 8 octets. 1338 1339 Note that unauthenticated interfaces need no 1340 authentication key, and simple password authen- 1341 tication cannot use a key of more than 8 oc- 1342 tets. Larger keys are useful only with authen- 1343 tication mechanisms not specified in this docu- 1344 ment. 1345 1346 When read, ospfIfAuthKey always returns an Oc- 1347 tet String of length zero." 1348 REFERENCE 1349 "OSPF Version 2, Section 9 The Interface Data 1350 Structure" 1351 DEFVAL { '0000000000000000'H } -- 0.0.0.0.0.0.0.0 1352 ::= { ospfIfEntry 16 } 1353 1354 ospfIfStatus OBJECT-TYPE 1355 SYNTAX RowStatus 1356 MAX-ACCESS read-create 1357 STATUS current 1358 DESCRIPTION 1359 "This variable displays the status of the en- 1360 try. Setting it to 'invalid' has the effect of 1361 rendering it inoperative. The internal effect 1362 (row removal) is implementation dependent." 1363 ::= { ospfIfEntry 17 } 1364 1365 1366 ospfIfMulticastForwarding OBJECT-TYPE 1367 SYNTAX INTEGER { 1368 blocked (1), -- no multicast forwarding 1369 multicast (2), -- using multicast address 1370 unicast (3) -- to each OSPF neighbor 1371 } 1372 MAX-ACCESS read-create 1373 STATUS current 1374 DESCRIPTION 1375 "The way multicasts should forwarded on this 1376 interface; not forwarded, forwarded as data 1377 link multicasts, or forwarded as data link uni- 1378 casts. Data link multicasting is not meaning- 1379 ful on point to point and NBMA interfaces, and 1380 setting ospfMulticastForwarding to 0 effective- 1381 ly disables all multicast forwarding." 1382 DEFVAL { blocked } 1383 ::= { ospfIfEntry 18 } 1384 1385 1386 ospfIfDemand OBJECT-TYPE 1387 SYNTAX TruthValue 1388 MAX-ACCESS read-create 1389 STATUS current 1390 DESCRIPTION 1391 "Indicates whether Demand OSPF procedures (hel- 1392 lo supression to FULL neighbors and setting the 1393 DoNotAge flag on proogated LSAs) should be per- 1394 formed on this interface." 1395 DEFVAL { false } 1396 ::= { ospfIfEntry 19 } 1397 1398 1399 ospfIfAuthType OBJECT-TYPE 1400 SYNTAX INTEGER (0..255) 1401 -- none (0), 1402 -- simplePassword (1) 1403 -- md5 (2) 1404 -- reserved for specification by IANA (> 2) 1405 MAX-ACCESS read-create 1406 STATUS current 1407 DESCRIPTION 1408 "The authentication type specified for an in- 1409 terface. Additional authentication types may 1410 be assigned locally." 1411 REFERENCE 1412 "OSPF Version 2, Appendix E Authentication" 1413 DEFVAL { 0 } -- no authentication, by default 1414 ::= { ospfIfEntry 20 } 1415 1416 1417 -- OSPF Interface Metric Table 1418 1419 -- The Metric Table describes the metrics to be advertised 1420 -- for a specified interface at the various types of service. 1421 -- As such, this table is an adjunct of the OSPF Interface 1422 -- Table. 1423 1424 -- Types of service, as defined by RFC 791, have the ability 1425 -- to request low delay, high bandwidth, or reliable linkage. 1426 1427 -- For the purposes of this specification, the measure of 1428 -- bandwidth 1429 1430 -- Metric = 10^8 / ifSpeed 1431 1432 -- is the default value. For multiple link interfaces, note 1433 -- that ifSpeed is the sum of the individual link speeds. 1434 -- This yields a number having the following typical values: 1435 1436 -- Network Type/bit rate Metric 1437 1438 -- >= 100 MBPS 1 1439 -- Ethernet/802.3 10 1440 -- E1 48 1441 -- T1 (ESF) 65 1442 -- 64 KBPS 1562 1443 -- 56 KBPS 1785 1444 -- 19.2 KBPS 5208 1445 -- 9.6 KBPS 10416 1446 1447 -- Routes that are not specified use the default (TOS 0) metric 1448 1449 ospfIfMetricTable OBJECT-TYPE 1450 SYNTAX SEQUENCE OF OspfIfMetricEntry 1451 MAX-ACCESS not-accessible 1452 STATUS current 1453 DESCRIPTION 1454 "The TOS metrics for a non-virtual interface 1455 identified by the interface index." 1456 REFERENCE 1457 "OSPF Version 2, Appendix C.3 Router interface 1458 parameters" 1459 ::= { ospf 8 } 1460 1461 ospfIfMetricEntry OBJECT-TYPE 1462 SYNTAX OspfIfMetricEntry 1463 MAX-ACCESS not-accessible 1464 STATUS current 1465 DESCRIPTION 1466 "A particular TOS metric for a non-virtual in- 1467 terface identified by the interface index." 1468 REFERENCE 1469 "OSPF Version 2, Appendix C.3 Router interface 1470 parameters" 1471 INDEX { ospfIfMetricIpAddress, 1472 ospfIfMetricAddressLessIf, 1473 ospfIfMetricTOS } 1474 ::= { ospfIfMetricTable 1 } 1475 1476 OspfIfMetricEntry ::= 1477 SEQUENCE { 1478 ospfIfMetricIpAddress 1479 IpAddress, 1480 ospfIfMetricAddressLessIf 1481 Integer32, 1482 ospfIfMetricTOS 1483 TOSType, 1484 ospfIfMetricValue 1485 Metric, 1486 ospfIfMetricStatus 1487 RowStatus 1488 } 1489 1490 ospfIfMetricIpAddress OBJECT-TYPE 1491 SYNTAX IpAddress 1492 MAX-ACCESS read-only 1493 STATUS current 1494 DESCRIPTION 1495 "The IP address of this OSPF interface. On row 1496 creation, this can be derived from the in- 1497 stance." 1498 ::= { ospfIfMetricEntry 1 } 1499 1500 ospfIfMetricAddressLessIf OBJECT-TYPE 1501 SYNTAX Integer32 1502 MAX-ACCESS read-only 1503 STATUS current 1504 DESCRIPTION 1505 "For the purpose of easing the instancing of 1506 addressed and addressless interfaces; This 1507 variable takes the value 0 on interfaces with 1508 IP Addresses, and the value of ifIndex for in- 1509 terfaces having no IP Address. On row crea- 1510 tion, this can be derived from the instance." 1511 ::= { ospfIfMetricEntry 2 } 1512 1513 1514 ospfIfMetricTOS OBJECT-TYPE 1515 SYNTAX TOSType 1516 MAX-ACCESS read-only 1517 STATUS current 1518 DESCRIPTION 1519 "The type of service metric being referenced. 1520 On row creation, this can be derived from the 1521 instance." 1522 ::= { ospfIfMetricEntry 3 } 1523 1524 1525 ospfIfMetricValue OBJECT-TYPE 1526 SYNTAX Metric 1527 MAX-ACCESS read-create 1528 STATUS current 1529 DESCRIPTION 1530 "The metric of using this type of service on 1531 this interface. The default value of the TOS 0 1532 Metric is 10^8 / ifSpeed." 1533 ::= { ospfIfMetricEntry 4 } 1534 1535 ospfIfMetricStatus OBJECT-TYPE 1536 SYNTAX RowStatus 1537 MAX-ACCESS read-create 1538 STATUS current 1539 DESCRIPTION 1540 "This variable displays the status of the en- 1541 try. Setting it to 'invalid' has the effect of 1542 rendering it inoperative. The internal effect 1543 (row removal) is implementation dependent." 1544 ::= { ospfIfMetricEntry 5 } 1545 1546 1547 -- OSPF Virtual Interface Table 1548 1549 -- The Virtual Interface Table describes the virtual 1550 -- links that the OSPF Process is configured to 1551 -- carry on. 1552 1553 ospfVirtIfTable OBJECT-TYPE 1554 SYNTAX SEQUENCE OF OspfVirtIfEntry 1555 MAX-ACCESS not-accessible 1556 STATUS current 1557 DESCRIPTION 1558 "Information about this router's virtual inter- 1559 faces." 1560 REFERENCE 1561 "OSPF Version 2, Appendix C.4 Virtual link 1562 parameters" 1563 ::= { ospf 9 } 1564 1565 1566 ospfVirtIfEntry OBJECT-TYPE 1567 SYNTAX OspfVirtIfEntry 1568 MAX-ACCESS not-accessible 1569 STATUS current 1570 DESCRIPTION 1571 "Information about a single Virtual Interface." 1572 INDEX { ospfVirtIfAreaId, ospfVirtIfNeighbor } 1573 ::= { ospfVirtIfTable 1 } 1574 1575 OspfVirtIfEntry ::= 1576 SEQUENCE { 1577 ospfVirtIfAreaId 1578 AreaID, 1579 ospfVirtIfNeighbor 1580 RouterID, 1581 ospfVirtIfTransitDelay 1582 UpToMaxAge, 1583 ospfVirtIfRetransInterval 1584 UpToMaxAge, 1585 ospfVirtIfHelloInterval 1586 HelloRange, 1587 ospfVirtIfRtrDeadInterval 1588 PositiveInteger, 1589 ospfVirtIfState 1590 INTEGER, 1591 ospfVirtIfEvents 1592 Counter32, 1593 ospfVirtIfAuthType 1594 INTEGER, 1595 ospfVirtIfAuthKey 1596 OCTET STRING, 1597 ospfVirtIfStatus 1598 RowStatus 1599 } 1600 1601 ospfVirtIfAreaId OBJECT-TYPE 1602 SYNTAX AreaID 1603 MAX-ACCESS read-only 1604 STATUS current 1605 DESCRIPTION 1606 "The Transit Area that the Virtual Link 1607 traverses. By definition, this is not 0.0.0.0" 1608 ::= { ospfVirtIfEntry 1 } 1609 1610 1611 ospfVirtIfNeighbor OBJECT-TYPE 1612 SYNTAX RouterID 1613 MAX-ACCESS read-only 1614 STATUS current 1615 DESCRIPTION 1616 "The Router ID of the Virtual Neighbor." 1617 ::= { ospfVirtIfEntry 2 } 1618 1619 1620 ospfVirtIfTransitDelay OBJECT-TYPE 1621 SYNTAX UpToMaxAge 1622 MAX-ACCESS read-create 1623 STATUS current 1624 DESCRIPTION 1625 "The estimated number of seconds it takes to 1626 transmit a link- state update packet over this 1627 interface." 1628 DEFVAL { 1 } 1629 ::= { ospfVirtIfEntry 3 } 1630 1631 1632 ospfVirtIfRetransInterval OBJECT-TYPE 1633 SYNTAX UpToMaxAge 1634 MAX-ACCESS read-create 1635 STATUS current 1636 DESCRIPTION 1637 "The number of seconds between link-state ad- 1638 vertisement retransmissions, for adjacencies 1639 belonging to this interface. This value is 1640 also used when retransmitting database descrip- 1641 tion and link-state request packets. This 1642 value should be well over the expected round- 1643 trip time." 1644 DEFVAL { 5 } 1645 ::= { ospfVirtIfEntry 4 } 1646 1647 1648 ospfVirtIfHelloInterval OBJECT-TYPE 1649 SYNTAX HelloRange 1650 MAX-ACCESS read-create 1651 STATUS current 1652 DESCRIPTION 1653 "The length of time, in seconds, between the 1654 Hello packets that the router sends on the in- 1655 terface. This value must be the same for the 1656 virtual neighbor." 1657 DEFVAL { 10 } 1658 ::= { ospfVirtIfEntry 5 } 1659 1660 1661 ospfVirtIfRtrDeadInterval OBJECT-TYPE 1662 SYNTAX PositiveInteger 1663 MAX-ACCESS read-create 1664 STATUS current 1665 DESCRIPTION 1666 "The number of seconds that a router's Hello 1667 packets have not been seen before it's neigh- 1668 bors declare the router down. This should be 1669 some multiple of the Hello interval. This 1670 value must be the same for the virtual neigh- 1671 bor." 1672 DEFVAL { 60 } 1673 ::= { ospfVirtIfEntry 6 } 1674 1675 1676 ospfVirtIfState OBJECT-TYPE 1677 SYNTAX INTEGER { 1678 down (1), -- these use the same encoding 1679 pointToPoint (4) -- as the ospfIfTable 1680 } 1681 MAX-ACCESS read-only 1682 STATUS current 1683 DESCRIPTION 1684 "OSPF virtual interface states." 1685 DEFVAL { down } 1686 ::= { ospfVirtIfEntry 7 } 1687 1688 1689 ospfVirtIfEvents OBJECT-TYPE 1690 SYNTAX Counter32 1691 MAX-ACCESS read-only 1692 STATUS current 1693 DESCRIPTION 1694 "The number of state changes or error events on 1695 this Virtual Link" 1696 ::= { ospfVirtIfEntry 8 } 1697 1698 1699 ospfVirtIfAuthKey OBJECT-TYPE 1700 SYNTAX OCTET STRING (SIZE(0..256)) 1701 MAX-ACCESS read-create 1702 STATUS current 1703 DESCRIPTION 1704 "If Authentication Type is simplePassword, the 1705 device will left adjust and zero fill to 8 oc- 1706 tets. 1707 1708 Note that unauthenticated interfaces need no 1709 authentication key, and simple password authen- 1710 tication cannot use a key of more than 8 oc- 1711 tets. Larger keys are useful only with authen- 1712 tication mechanisms not specified in this docu- 1713 ment. 1714 1715 When read, ospfVifAuthKey always returns a 1716 string of length zero." 1717 REFERENCE 1718 "OSPF Version 2, Section 9 The Interface Data 1719 Structure" 1720 DEFVAL { '0000000000000000'H } -- 0.0.0.0.0.0.0.0 1721 ::= { ospfVirtIfEntry 9 } 1722 1723 1724 ospfVirtIfStatus OBJECT-TYPE 1725 SYNTAX RowStatus 1726 MAX-ACCESS read-create 1727 STATUS current 1728 DESCRIPTION 1729 "This variable displays the status of the en- 1730 try. Setting it to 'invalid' has the effect of 1731 rendering it inoperative. The internal effect 1732 (row removal) is implementation dependent." 1733 ::= { ospfVirtIfEntry 10 } 1734 1735 1736 ospfVirtIfAuthType OBJECT-TYPE 1737 SYNTAX INTEGER (0..255) 1738 -- none (0), 1739 -- simplePassword (1) 1740 -- md5 (2) 1741 -- reserved for specification by IANA (> 2) 1742 MAX-ACCESS read-create 1743 STATUS current 1744 DESCRIPTION 1745 "The authentication type specified for a virtu- 1746 al interface. Additional authentication types 1747 may be assigned locally." 1748 REFERENCE 1749 "OSPF Version 2, Appendix E Authentication" 1750 DEFVAL { 0 } -- no authentication, by default 1751 ::= { ospfVirtIfEntry 11 } 1752 1753 1754 -- OSPF Neighbor Table 1755 1756 -- The OSPF Neighbor Table describes all neighbors in 1757 -- the locality of the subject router. 1758 1759 ospfNbrTable OBJECT-TYPE 1760 SYNTAX SEQUENCE OF OspfNbrEntry 1761 MAX-ACCESS not-accessible 1762 STATUS current 1763 DESCRIPTION 1764 "A table of non-virtual neighbor information." 1765 REFERENCE 1766 "OSPF Version 2, Section 10 The Neighbor Data 1767 Structure" 1768 ::= { ospf 10 } 1769 1770 1771 ospfNbrEntry OBJECT-TYPE 1772 SYNTAX OspfNbrEntry 1773 MAX-ACCESS not-accessible 1774 STATUS current 1775 DESCRIPTION 1776 "The information regarding a single neighbor." 1777 REFERENCE 1778 "OSPF Version 2, Section 10 The Neighbor Data 1779 Structure" 1780 INDEX { ospfNbrIpAddr, ospfNbrAddressLessIndex } 1781 ::= { ospfNbrTable 1 } 1782 1783 OspfNbrEntry ::= 1784 SEQUENCE { 1785 ospfNbrIpAddr 1786 IpAddress, 1787 ospfNbrAddressLessIndex 1788 InterfaceIndex, 1789 ospfNbrRtrId 1790 RouterID, 1791 ospfNbrOptions 1792 Integer32, 1793 ospfNbrPriority 1794 DesignatedRouterPriority, 1795 ospfNbrState 1796 INTEGER, 1797 ospfNbrEvents 1798 Counter32, 1799 ospfNbrLsRetransQLen 1800 Gauge32, 1801 ospfNbmaNbrStatus 1802 RowStatus, 1803 ospfNbmaNbrPermanence 1804 INTEGER, 1805 ospfNbrHelloSuppressed 1806 TruthValue 1807 } 1808 1809 ospfNbrIpAddr OBJECT-TYPE 1810 SYNTAX IpAddress 1811 MAX-ACCESS read-only 1812 STATUS current 1813 DESCRIPTION 1814 "The IP address this neighbor is using in its 1815 IP Source Address. Note that, on addressless 1816 links, this will not be 0.0.0.0, but the ad- 1817 dress of another of the neighbor's interfaces." 1818 ::= { ospfNbrEntry 1 } 1819 1820 1821 ospfNbrAddressLessIndex OBJECT-TYPE 1822 SYNTAX InterfaceIndex 1823 MAX-ACCESS read-only 1824 STATUS current 1825 DESCRIPTION 1826 "On an interface having an IP Address, zero. 1827 On addressless interfaces, the corresponding 1828 value of ifIndex in the Internet Standard MIB. 1829 On row creation, this can be derived from the 1830 instance." 1831 ::= { ospfNbrEntry 2 } 1832 1833 1834 ospfNbrRtrId OBJECT-TYPE 1835 SYNTAX RouterID 1836 MAX-ACCESS read-only 1837 STATUS current 1838 DESCRIPTION 1839 "A 32-bit integer (represented as a type IpAd- 1840 dress) uniquely identifying the neighboring 1841 router in the Autonomous System." 1842 DEFVAL { '00000000'H } -- 0.0.0.0 1843 ::= { ospfNbrEntry 3 } 1844 1845 1846 ospfNbrOptions OBJECT-TYPE 1847 SYNTAX Integer32 1848 MAX-ACCESS read-only 1849 STATUS current 1850 DESCRIPTION 1851 "A Bit Mask corresponding to the neighbor's op- 1852 tions field. 1853 1854 Bit 0, if set, indicates that the system will 1855 operate on Type of Service metrics other than 1856 TOS 0. If zero, the neighbor will ignore all 1857 metrics except the TOS 0 metric. 1858 1859 Bit 1, if set, indicates that the associated 1860 area accepts and operates on external informa- 1861 tion; if zero, it is a stub area. 1862 1863 Bit 2, if set, indicates that the system is ca- 1864 pable of routing IP Multicast datagrams; i.e., 1865 that it implements the Multicast Extensions to 1866 OSPF. 1867 1868 Bit 3, if set, indicates that the associated 1869 area is an NSSA. These areas are capable of 1870 carrying type 7 external advertisements, which 1871 are translated into type 5 external advertise- 1872 ments at NSSA borders." 1873 REFERENCE 1874 "OSPF Version 2, Section 12.1.2 Options" 1875 DEFVAL { 0 } 1876 ::= { ospfNbrEntry 4 } 1877 1878 1879 ospfNbrPriority OBJECT-TYPE 1880 SYNTAX DesignatedRouterPriority 1881 MAX-ACCESS read-create 1882 STATUS current 1883 DESCRIPTION 1884 "The priority of this neighbor in the designat- 1885 ed router election algorithm. The value 0 sig- 1886 nifies that the neighbor is not eligible to be- 1887 come the designated router on this particular 1888 network." 1889 DEFVAL { 1 } 1890 ::= { ospfNbrEntry 5 } 1891 1892 1893 ospfNbrState OBJECT-TYPE 1894 SYNTAX INTEGER { 1895 down (1), 1896 attempt (2), 1897 init (3), 1898 twoWay (4), 1899 exchangeStart (5), 1900 exchange (6), 1901 loading (7), 1902 full (8) 1903 } 1904 MAX-ACCESS read-only 1905 STATUS current 1906 DESCRIPTION 1907 "The State of the relationship with this Neigh- 1908 bor." 1909 REFERENCE 1910 "OSPF Version 2, Section 10.1 Neighbor States" 1911 DEFVAL { down } 1912 ::= { ospfNbrEntry 6 } 1913 1914 1915 ospfNbrEvents OBJECT-TYPE 1916 SYNTAX Counter32 1917 MAX-ACCESS read-only 1918 STATUS current 1919 DESCRIPTION 1920 "The number of times this neighbor relationship 1921 has changed state, or an error has occurred." 1922 ::= { ospfNbrEntry 7 } 1923 1924 1925 ospfNbrLsRetransQLen OBJECT-TYPE 1926 SYNTAX Gauge32 1927 MAX-ACCESS read-only 1928 STATUS current 1929 DESCRIPTION 1930 "The current length of the retransmission 1931 queue." 1932 ::= { ospfNbrEntry 8 } 1933 1934 1935 ospfNbmaNbrStatus OBJECT-TYPE 1936 SYNTAX RowStatus 1937 MAX-ACCESS read-create 1938 STATUS current 1939 DESCRIPTION 1940 "This variable displays the status of the en- 1941 try. Setting it to 'invalid' has the effect of 1942 rendering it inoperative. The internal effect 1943 (row removal) is implementation dependent." 1944 ::= { ospfNbrEntry 9 } 1945 1946 1947 ospfNbmaNbrPermanence OBJECT-TYPE 1948 SYNTAX INTEGER { 1949 dynamic (1), -- learned through protocol 1950 permanent (2) -- configured address 1951 } 1952 MAX-ACCESS read-only 1953 STATUS current 1954 DESCRIPTION 1955 "This variable displays the status of the en- 1956 try. 'dynamic' and 'permanent' refer to how 1957 the neighbor became known." 1958 DEFVAL { permanent } 1959 ::= { ospfNbrEntry 10 } 1960 1961 1962 ospfNbrHelloSuppressed OBJECT-TYPE 1963 SYNTAX TruthValue 1964 MAX-ACCESS read-only 1965 STATUS current 1966 DESCRIPTION 1967 "Indicates whether Hellos are being suppressed 1968 to the neighbor" 1969 ::= { ospfNbrEntry 11 } 1970 1971 1972 -- OSPF Virtual Neighbor Table 1973 1974 -- This table describes all virtual neighbors. 1975 -- Since Virtual Links are configured in the 1976 -- virtual interface table, this table is read-only. 1977 1978 ospfVirtNbrTable OBJECT-TYPE 1979 SYNTAX SEQUENCE OF OspfVirtNbrEntry 1980 MAX-ACCESS not-accessible 1981 STATUS current 1982 DESCRIPTION 1983 "A table of virtual neighbor information." 1984 REFERENCE 1985 "OSPF Version 2, Section 15 Virtual Links" 1986 ::= { ospf 11 } 1987 1988 1989 ospfVirtNbrEntry OBJECT-TYPE 1990 SYNTAX OspfVirtNbrEntry 1991 MAX-ACCESS not-accessible 1992 STATUS current 1993 DESCRIPTION 1994 "Virtual neighbor information." 1995 INDEX { ospfVirtNbrArea, ospfVirtNbrRtrId } 1996 ::= { ospfVirtNbrTable 1 } 1997 1998 OspfVirtNbrEntry ::= 1999 SEQUENCE { 2000 ospfVirtNbrArea 2001 AreaID, 2002 ospfVirtNbrRtrId 2003 RouterID, 2004 ospfVirtNbrIpAddr 2005 IpAddress, 2006 ospfVirtNbrOptions 2007 Integer32, 2008 ospfVirtNbrState 2009 INTEGER, 2010 ospfVirtNbrEvents 2011 Counter32, 2012 ospfVirtNbrLsRetransQLen 2013 Gauge32, 2014 ospfVirtNbrHelloSuppressed 2015 TruthValue 2016 } 2017 2018 ospfVirtNbrArea OBJECT-TYPE 2019 SYNTAX AreaID 2020 MAX-ACCESS read-only 2021 STATUS current 2022 DESCRIPTION 2023 "The Transit Area Identifier." 2024 ::= { ospfVirtNbrEntry 1 } 2025 2026 2027 ospfVirtNbrRtrId OBJECT-TYPE 2028 SYNTAX RouterID 2029 MAX-ACCESS read-only 2030 STATUS current 2031 DESCRIPTION 2032 "A 32-bit integer uniquely identifying the 2033 neighboring router in the Autonomous System." 2034 ::= { ospfVirtNbrEntry 2 } 2035 2036 2037 ospfVirtNbrIpAddr OBJECT-TYPE 2038 SYNTAX IpAddress 2039 MAX-ACCESS read-only 2040 STATUS current 2041 DESCRIPTION 2042 "The IP address this Virtual Neighbor is us- 2043 ing." 2044 ::= { ospfVirtNbrEntry 3 } 2045 2046 2047 ospfVirtNbrOptions OBJECT-TYPE 2048 SYNTAX Integer32 2049 MAX-ACCESS read-only 2050 STATUS current 2051 DESCRIPTION 2052 "A Bit Mask corresponding to the neighbor's op- 2053 tions field. 2054 2055 Bit 1, if set, indicates that the system will 2056 operate on Type of Service metrics other than 2057 TOS 0. If zero, the neighbor will ignore all 2058 metrics except the TOS 0 metric. 2059 2060 Bit 2, if set, indicates that the system is 2061 Network Multicast capable; ie, that it imple- 2062 ments OSPF Multicast Routing." 2063 ::= { ospfVirtNbrEntry 4 } 2064 ospfVirtNbrState OBJECT-TYPE 2065 SYNTAX INTEGER { 2066 down (1), 2067 attempt (2), 2068 init (3), 2069 twoWay (4), 2070 exchangeStart (5), 2071 exchange (6), 2072 loading (7), 2073 full (8) 2074 } 2075 MAX-ACCESS read-only 2076 STATUS current 2077 DESCRIPTION 2078 "The state of the Virtual Neighbor Relation- 2079 ship." 2080 ::= { ospfVirtNbrEntry 5 } 2081 2082 2083 ospfVirtNbrEvents OBJECT-TYPE 2084 SYNTAX Counter32 2085 MAX-ACCESS read-only 2086 STATUS current 2087 DESCRIPTION 2088 "The number of times this virtual link has 2089 changed its state, or an error has occurred." 2090 ::= { ospfVirtNbrEntry 6 } 2091 2092 2093 ospfVirtNbrLsRetransQLen OBJECT-TYPE 2094 SYNTAX Gauge32 2095 MAX-ACCESS read-only 2096 STATUS current 2097 DESCRIPTION 2098 "The current length of the retransmission 2099 queue." 2100 ::= { ospfVirtNbrEntry 7 } 2101 2102 2103 ospfVirtNbrHelloSuppressed OBJECT-TYPE 2104 SYNTAX TruthValue 2105 MAX-ACCESS read-only 2106 STATUS current 2107 DESCRIPTION 2108 "Indicates whether Hellos are being suppressed 2109 to the neighbor" 2110 ::= { ospfVirtNbrEntry 8 } 2111 2112 -- OSPF Link State Database, External 2113 2114 -- The Link State Database contains the Link State 2115 -- Advertisements from throughout the areas that the 2116 -- device is attached to. 2117 2118 -- This table is identical to the OSPF LSDB Table in 2119 -- format, but contains only External Link State 2120 -- Advertisements. The purpose is to allow external 2121 -- LSAs to be displayed once for the router rather 2122 -- than once in each non-stub area. 2123 2124 ospfExtLsdbTable OBJECT-TYPE 2125 SYNTAX SEQUENCE OF OspfExtLsdbEntry 2126 MAX-ACCESS not-accessible 2127 STATUS current 2128 DESCRIPTION 2129 "The OSPF Process's Links State Database." 2130 REFERENCE 2131 "OSPF Version 2, Section 12 Link State Adver- 2132 tisements" 2133 ::= { ospf 12 } 2134 2135 2136 ospfExtLsdbEntry OBJECT-TYPE 2137 SYNTAX OspfExtLsdbEntry 2138 MAX-ACCESS not-accessible 2139 STATUS current 2140 DESCRIPTION 2141 "A single Link State Advertisement." 2142 INDEX { ospfExtLsdbType, ospfExtLsdbLsid, ospfExtLsdbRouterId } 2143 ::= { ospfExtLsdbTable 1 } 2144 2145 OspfExtLsdbEntry ::= 2146 SEQUENCE { 2147 ospfExtLsdbType 2148 INTEGER, 2149 ospfExtLsdbLsid 2150 IpAddress, 2151 ospfExtLsdbRouterId 2152 RouterID, 2153 ospfExtLsdbSequence 2154 Integer32, 2155 ospfExtLsdbAge 2156 Integer32, 2157 ospfExtLsdbChecksum 2158 Integer32, 2159 ospfExtLsdbAdvertisement 2160 OCTET STRING 2161 } 2162 2163 ospfExtLsdbType OBJECT-TYPE 2164 SYNTAX INTEGER { 2165 asExternalLink (5) 2166 } 2167 MAX-ACCESS read-only 2168 STATUS current 2169 DESCRIPTION 2170 "The type of the link state advertisement. 2171 Each link state type has a separate advertise- 2172 ment format." 2173 REFERENCE 2174 "OSPF Version 2, Appendix A.4.1 The Link State 2175 Advertisement header" 2176 ::= { ospfExtLsdbEntry 1 } 2177 2178 2179 ospfExtLsdbLsid OBJECT-TYPE 2180 SYNTAX IpAddress 2181 MAX-ACCESS read-only 2182 STATUS current 2183 DESCRIPTION 2184 "The Link State ID is an LS Type Specific field 2185 containing either a Router ID or an IP Address; 2186 it identifies the piece of the routing domain 2187 that is being described by the advertisement." 2188 REFERENCE 2189 "OSPF Version 2, Section 12.1.4 Link State ID" 2190 ::= { ospfExtLsdbEntry 2 } 2191 2192 2193 ospfExtLsdbRouterId OBJECT-TYPE 2194 SYNTAX RouterID 2195 MAX-ACCESS read-only 2196 STATUS current 2197 DESCRIPTION 2198 "The 32 bit number that uniquely identifies the 2199 originating router in the Autonomous System." 2200 REFERENCE 2201 "OSPF Version 2, Appendix C.1 Global parameters" 2202 ::= { ospfExtLsdbEntry 3 } 2203 2204 -- Note that the OSPF Sequence Number is a 32 bit signed 2205 -- integer. It starts with the value '80000001'h, 2206 -- or -'7FFFFFFF'h, and increments until '7FFFFFFF'h 2207 -- Thus, a typical sequence number will be very negative. 2208 ospfExtLsdbSequence OBJECT-TYPE 2209 SYNTAX Integer32 2210 MAX-ACCESS read-only 2211 STATUS current 2212 DESCRIPTION 2213 "The sequence number field is a signed 32-bit 2214 integer. It is used to detect old and dupli- 2215 cate link state advertisements. The space of 2216 sequence numbers is linearly ordered. The 2217 larger the sequence number the more recent the 2218 advertisement." 2219 REFERENCE 2220 "OSPF Version 2, Section 12.1.6 LS sequence 2221 number" 2222 ::= { ospfExtLsdbEntry 4 } 2223 2224 2225 ospfExtLsdbAge OBJECT-TYPE 2226 SYNTAX Integer32 -- Should be 0..MaxAge 2227 MAX-ACCESS read-only 2228 STATUS current 2229 DESCRIPTION 2230 "This field is the age of the link state adver- 2231 tisement in seconds." 2232 REFERENCE 2233 "OSPF Version 2, Section 12.1.1 LS age" 2234 ::= { ospfExtLsdbEntry 5 } 2235 2236 2237 ospfExtLsdbChecksum OBJECT-TYPE 2238 SYNTAX Integer32 2239 MAX-ACCESS read-only 2240 STATUS current 2241 DESCRIPTION 2242 "This field is the checksum of the complete 2243 contents of the advertisement, excepting the 2244 age field. The age field is excepted so that 2245 an advertisement's age can be incremented 2246 without updating the checksum. The checksum 2247 used is the same that is used for ISO connec- 2248 tionless datagrams; it is commonly referred to 2249 as the Fletcher checksum." 2250 REFERENCE 2251 "OSPF Version 2, Section 12.1.7 LS checksum" 2252 ::= { ospfExtLsdbEntry 6 } 2253 2254 2255 ospfExtLsdbAdvertisement OBJECT-TYPE 2256 SYNTAX OCTET STRING (SIZE(36)) 2257 MAX-ACCESS read-only 2258 STATUS current 2259 DESCRIPTION 2260 "The entire Link State Advertisement, including 2261 its header." 2262 REFERENCE 2263 "OSPF Version 2, Section 12 Link State Adver- 2264 tisements" 2265 ::= { ospfExtLsdbEntry 7 } 2266 2267 2268 -- OSPF Use of the CIDR Route Table 2269 2270 ospfRouteGroup OBJECT IDENTIFIER ::= { ospf 13 } 2271 2272 -- The IP Forwarding Table defines a number of objects for use by 2273 -- the routing protocol to externalize its information. Most of 2274 -- the variables (ipForwardDest, ipForwardMask, ipForwardPolicy, 2275 -- ipForwardNextHop, ipForwardIfIndex, ipForwardType, 2276 -- ipForwardProto, ipForwardAge, and ipForwardNextHopAS) are 2277 -- defined there. 2278 2279 -- Those that leave some discretion are defined here. 2280 2281 -- ipCidrRouteProto is, of course, ospf (13). 2282 2283 -- ipCidrRouteAge is the time since the route was first calculated, 2284 -- as opposed to the time since the last SPF run. 2285 2286 -- ipCidrRouteInfo is an OBJECT IDENTIFIER for use by the routing 2287 -- protocol. The following values shall be found there depending 2288 -- on the way the route was calculated. 2289 2290 ospfIntraArea OBJECT IDENTIFIER ::= { ospfRouteGroup 1 } 2291 ospfInterArea OBJECT IDENTIFIER ::= { ospfRouteGroup 2 } 2292 ospfExternalType1 OBJECT IDENTIFIER ::= { ospfRouteGroup 3 } 2293 ospfExternalType2 OBJECT IDENTIFIER ::= { ospfRouteGroup 4 } 2294 2295 -- ipCidrRouteMetric1 is, by definition, the primary routing 2296 -- metric. Therefore, it should be the metric that route 2297 -- selection is based on. For intra-area and inter-area routes, 2298 -- it is an OSPF metric. For External Type 1 (comparable value) 2299 -- routes, it is an OSPF metric plus the External Metric. For 2300 -- external Type 2 (non-comparable value) routes, it is the 2301 -- external metric. 2302 2303 -- ipCidrRouteMetric2 is, by definition, a secondary routing 2304 -- metric. Therefore, it should be the metric that breaks a tie 2305 -- among routes having equal metric1 values and the same 2306 -- calculation rule. For intra-area, inter-area routes, and 2307 -- External Type 1 (comparable value) routes, it is unused. For 2308 -- external Type 2 (non-comparable value) routes, it is the metric 2309 -- to the AS border router. 2310 2311 -- ipCidrRouteMetric3, ipCidrRouteMetric4, and ipCidrRouteMetric5 are 2312 -- unused. 2313 2314 -- 2315 -- The OSPF Area Aggregate Table 2316 -- 2317 -- This table replaces the OSPF Area Summary Table, being an 2318 -- extension of that for CIDR routers. 2319 2320 ospfAreaAggregateTable OBJECT-TYPE 2321 SYNTAX SEQUENCE OF OspfAreaAggregateEntry 2322 MAX-ACCESS not-accessible 2323 STATUS current 2324 DESCRIPTION 2325 "A range of IP addresses specified by an IP 2326 address/IP network mask pair. For example, 2327 class B address range of X.X.X.X with a network 2328 mask of 255.255.0.0 includes all IP addresses 2329 from X.X.0.0 to X.X.255.255. Note that if 2330 ranges are configured such that one range sub- 2331 sumes another range (e.g., 10.0.0.0 mask 2332 255.0.0.0 and 10.1.0.0 mask 255.255.0.0), the 2333 most specific match is the preferred one." 2334 REFERENCE 2335 "OSPF Version 2, Appendix C.2 Area parameters" 2336 ::= { ospf 14 } 2337 2338 2339 ospfAreaAggregateEntry OBJECT-TYPE 2340 SYNTAX OspfAreaAggregateEntry 2341 MAX-ACCESS not-accessible 2342 STATUS current 2343 DESCRIPTION 2344 "A range of IP addresses specified by an IP 2345 address/IP network mask pair. For example, 2346 class B address range of X.X.X.X with a network 2347 mask of 255.255.0.0 includes all IP addresses 2348 from X.X.0.0 to X.X.255.255. Note that if 2349 ranges are range configured such that one range 2350 subsumes another range (e.g., 10.0.0.0 mask 2351 255.0.0.0 and 10.1.0.0 mask 255.255.0.0), the 2352 most specific match is the preferred one." 2353 REFERENCE 2354 "OSPF Version 2, Appendix C.2 Area parameters" 2355 INDEX { ospfAreaAggregateAreaID, ospfAreaAggregateLsdbType, 2356 ospfAreaAggregateNet, ospfAreaAggregateMask } 2357 ::= { ospfAreaAggregateTable 1 } 2358 2359 2360 OspfAreaAggregateEntry ::= 2361 SEQUENCE { 2362 ospfAreaAggregateAreaID 2363 AreaID, 2364 ospfAreaAggregateLsdbType 2365 INTEGER, 2366 ospfAreaAggregateNet 2367 IpAddress, 2368 ospfAreaAggregateMask 2369 IpAddress, 2370 ospfAreaAggregateStatus 2371 RowStatus, 2372 ospfAreaAggregateEffect 2373 INTEGER 2374 } 2375 2376 ospfAreaAggregateAreaID OBJECT-TYPE 2377 SYNTAX AreaID 2378 MAX-ACCESS read-only 2379 STATUS current 2380 DESCRIPTION 2381 "The Area the Address Aggregate is to be found 2382 within." 2383 REFERENCE 2384 "OSPF Version 2, Appendix C.2 Area parameters" 2385 ::= { ospfAreaAggregateEntry 1 } 2386 2387 2388 ospfAreaAggregateLsdbType OBJECT-TYPE 2389 SYNTAX INTEGER { 2390 summaryLink (3), 2391 nssaExternalLink (7) 2392 } 2393 MAX-ACCESS read-only 2394 STATUS current 2395 DESCRIPTION 2396 "The type of the Address Aggregate. This field 2397 specifies the Lsdb type that this Address Ag- 2398 gregate applies to." 2399 REFERENCE 2400 "OSPF Version 2, Appendix A.4.1 The Link State 2401 Advertisement header" 2402 ::= { ospfAreaAggregateEntry 2 } 2403 2404 2405 ospfAreaAggregateNet OBJECT-TYPE 2406 SYNTAX IpAddress 2407 MAX-ACCESS read-only 2408 STATUS current 2409 DESCRIPTION 2410 "The IP Address of the Net or Subnet indicated 2411 by the range." 2412 REFERENCE 2413 "OSPF Version 2, Appendix C.2 Area parameters" 2414 ::= { ospfAreaAggregateEntry 3 } 2415 2416 2417 ospfAreaAggregateMask OBJECT-TYPE 2418 SYNTAX IpAddress 2419 MAX-ACCESS read-only 2420 STATUS current 2421 DESCRIPTION 2422 "The Subnet Mask that pertains to the Net or 2423 Subnet." 2424 REFERENCE 2425 "OSPF Version 2, Appendix C.2 Area parameters" 2426 ::= { ospfAreaAggregateEntry 4 } 2427 2428 2429 ospfAreaAggregateStatus OBJECT-TYPE 2430 SYNTAX RowStatus 2431 MAX-ACCESS read-create 2432 STATUS current 2433 DESCRIPTION 2434 "This variable displays the status of the en- 2435 try. Setting it to 'invalid' has the effect of 2436 rendering it inoperative. The internal effect 2437 (row removal) is implementation dependent." 2438 ::= { ospfAreaAggregateEntry 5 } 2439 2440 2441 ospfAreaAggregateEffect OBJECT-TYPE 2442 SYNTAX INTEGER { 2443 advertiseMatching (1), 2444 doNotAdvertiseMatching (2) 2445 } 2446 MAX-ACCESS read-create 2447 STATUS current 2448 DESCRIPTION 2449 "Subnets subsumed by ranges either trigger the 2450 advertisement of the indicated aggregate (ad- 2451 vertiseMatching), or result in the subnet's not 2452 being advertised at all outside the area." 2453 DEFVAL { advertiseMatching } 2454 ::= { ospfAreaAggregateEntry 6 } 2455 2456 2457 -- conformance information 2458 2459 ospfConformance OBJECT IDENTIFIER ::= { ospf 15 } 2460 2461 ospfGroups OBJECT IDENTIFIER ::= { ospfConformance 1 } 2462 ospfCompliances OBJECT IDENTIFIER ::= { ospfConformance 2 } 2463 2464 -- compliance statements 2465 2466 ospfCompliance MODULE-COMPLIANCE 2467 STATUS current 2468 DESCRIPTION 2469 "The compliance statement " 2470 MODULE -- this module 2471 MANDATORY-GROUPS { 2472 ospfBasicGroup, 2473 ospfAreaGroup, 2474 ospfStubAreaGroup, 2475 ospfIfGroup, 2476 ospfIfMetricGroup, 2477 ospfVirtIfGroup, 2478 ospfNbrGroup, 2479 ospfVirtNbrGroup, 2480 ospfAreaAggregateGroup 2481 } 2482 ::= { ospfCompliances 1 } 2483 2484 2485 -- units of conformance 2486 2487 ospfBasicGroup OBJECT-GROUP 2488 OBJECTS { 2489 ospfRouterId, 2490 ospfAdminStat, 2491 ospfVersionNumber, 2492 ospfAreaBdrRtrStatus, 2493 ospfASBdrRtrStatus, 2494 ospfExternLsaCount, 2495 ospfExternLsaCksumSum, 2496 ospfTOSSupport, 2497 ospfOriginateNewLsas, 2498 ospfRxNewLsas, 2499 ospfExtLsdbLimit, 2500 ospfMulticastExtensions, 2501 ospfExitOverflowInterval, 2502 ospfDemandExtensions 2503 } 2504 STATUS current 2505 DESCRIPTION 2506 "These objects are required for OSPF systems." 2507 ::= { ospfGroups 1 } 2508 2509 2510 ospfAreaGroup OBJECT-GROUP 2511 OBJECTS { 2512 ospfAreaId, 2513 ospfImportAsExtern, 2514 ospfSpfRuns, 2515 ospfAreaBdrRtrCount, 2516 ospfAsBdrRtrCount, 2517 ospfAreaLsaCount, 2518 ospfAreaLsaCksumSum, 2519 ospfAreaSummary, 2520 ospfAreaStatus 2521 } 2522 STATUS current 2523 DESCRIPTION 2524 "These objects are required for OSPF systems 2525 supporting areas." 2526 ::= { ospfGroups 2 } 2527 2528 2529 ospfStubAreaGroup OBJECT-GROUP 2530 OBJECTS { 2531 ospfStubAreaId, 2532 ospfStubTOS, 2533 ospfStubMetric, 2534 ospfStubStatus, 2535 ospfStubMetricType 2536 } 2537 STATUS current 2538 DESCRIPTION 2539 "These objects are required for OSPF systems 2540 supporting stub areas." 2541 ::= { ospfGroups 3 } 2542 2543 2544 ospfLsdbGroup OBJECT-GROUP 2545 OBJECTS { 2546 ospfLsdbAreaId, 2547 ospfLsdbType, 2548 ospfLsdbLsid, 2549 ospfLsdbRouterId, 2550 ospfLsdbSequence, 2551 ospfLsdbAge, 2552 ospfLsdbChecksum, 2553 ospfLsdbAdvertisement 2554 } 2555 STATUS current 2556 DESCRIPTION 2557 "These objects are required for OSPF systems 2558 that display their link state database." 2559 ::= { ospfGroups 4 } 2560 2561 2562 ospfAreaRangeGroup OBJECT-GROUP 2563 OBJECTS { 2564 ospfAreaRangeAreaId, 2565 ospfAreaRangeNet, 2566 ospfAreaRangeMask, 2567 ospfAreaRangeStatus, 2568 ospfAreaRangeEffect 2569 } 2570 STATUS obsolete 2571 DESCRIPTION 2572 "These objects are required for non-CIDR OSPF 2573 systems that support multiple areas." 2574 ::= { ospfGroups 5 } 2575 2576 2577 ospfHostGroup OBJECT-GROUP 2578 OBJECTS { 2579 ospfHostIpAddress, 2580 ospfHostTOS, 2581 ospfHostMetric, 2582 ospfHostStatus, 2583 ospfHostAreaID 2584 } 2585 STATUS current 2586 DESCRIPTION 2587 "These objects are required for OSPF systems 2588 that support attached hosts." 2589 ::= { ospfGroups 6 } 2590 2591 2592 ospfIfGroup OBJECT-GROUP 2593 OBJECTS { 2594 ospfIfIpAddress, 2595 ospfAddressLessIf, 2596 ospfIfAreaId, 2597 ospfIfType, 2598 ospfIfAdminStat, 2599 ospfIfRtrPriority, 2600 ospfIfTransitDelay, 2601 ospfIfRetransInterval, 2602 ospfIfHelloInterval, 2603 ospfIfRtrDeadInterval, 2604 ospfIfPollInterval, 2605 ospfIfState, 2606 ospfIfDesignatedRouter, 2607 ospfIfBackupDesignatedRouter, 2608 ospfIfEvents, 2609 ospfIfAuthType, 2610 ospfIfAuthKey, 2611 ospfIfStatus, 2612 ospfIfMulticastForwarding, 2613 ospfIfDemand 2614 } 2615 STATUS current 2616 DESCRIPTION 2617 "These objects are required for OSPF systems." 2618 ::= { ospfGroups 7 } 2619 2620 2621 ospfIfMetricGroup OBJECT-GROUP 2622 OBJECTS { 2623 ospfIfMetricIpAddress, 2624 ospfIfMetricAddressLessIf, 2625 ospfIfMetricTOS, 2626 ospfIfMetricValue, 2627 ospfIfMetricStatus 2628 } 2629 STATUS current 2630 DESCRIPTION 2631 "These objects are required for OSPF systems." 2632 ::= { ospfGroups 8 } 2633 2634 2635 ospfVirtIfGroup OBJECT-GROUP 2636 OBJECTS { 2637 ospfVirtIfAreaId, 2638 ospfVirtIfNeighbor, 2639 ospfVirtIfTransitDelay, 2640 ospfVirtIfRetransInterval, 2641 ospfVirtIfHelloInterval, 2642 ospfVirtIfRtrDeadInterval, 2643 ospfVirtIfState, 2644 ospfVirtIfEvents, 2645 ospfVirtIfAuthType, 2646 ospfVirtIfAuthKey, 2647 ospfVirtIfStatus 2648 } 2649 STATUS current 2650 DESCRIPTION 2651 "These objects are required for OSPF systems." 2652 ::= { ospfGroups 9 } 2653 2654 2655 ospfNbrGroup OBJECT-GROUP 2656 OBJECTS { 2657 ospfNbrIpAddr, 2658 ospfNbrAddressLessIndex, 2659 ospfNbrRtrId, 2660 ospfNbrOptions, 2661 ospfNbrPriority, 2662 ospfNbrState, 2663 ospfNbrEvents, 2664 ospfNbrLsRetransQLen, 2665 ospfNbmaNbrStatus, 2666 ospfNbmaNbrPermanence, 2667 ospfNbrHelloSuppressed 2668 } 2669 STATUS current 2670 DESCRIPTION 2671 "These objects are required for OSPF systems." 2672 ::= { ospfGroups 10 } 2673 2674 2675 ospfVirtNbrGroup OBJECT-GROUP 2676 OBJECTS { 2677 ospfVirtNbrArea, 2678 ospfVirtNbrRtrId, 2679 ospfVirtNbrIpAddr, 2680 ospfVirtNbrOptions, 2681 ospfVirtNbrState, 2682 ospfVirtNbrEvents, 2683 ospfVirtNbrLsRetransQLen, 2684 ospfVirtNbrHelloSuppressed 2685 } 2686 STATUS current 2687 DESCRIPTION 2688 "These objects are required for OSPF systems." 2689 ::= { ospfGroups 11 } 2690 2691 2692 ospfExtLsdbGroup OBJECT-GROUP 2693 OBJECTS { 2694 ospfExtLsdbType, 2695 ospfExtLsdbLsid, 2696 ospfExtLsdbRouterId, 2697 ospfExtLsdbSequence, 2698 ospfExtLsdbAge, 2699 ospfExtLsdbChecksum, 2700 ospfExtLsdbAdvertisement 2701 } 2702 STATUS current 2703 DESCRIPTION 2704 "These objects are required for OSPF systems 2705 that display their link state database." 2706 ::= { ospfGroups 12 } 2707 2708 2709 ospfAreaAggregateGroup OBJECT-GROUP 2710 OBJECTS { 2711 ospfAreaAggregateAreaID, 2712 ospfAreaAggregateLsdbType, 2713 ospfAreaAggregateNet, 2714 ospfAreaAggregateMask, 2715 ospfAreaAggregateStatus, 2716 ospfAreaAggregateEffect 2717 } 2718 STATUS current 2719 DESCRIPTION 2720 "These objects are required for OSPF systems." 2721 ::= { ospfGroups 13 } 2722 2723 END -
mibs/OSPF-TRAP-MIB.txt
diff -ruN net-snmp-5.1.2-orig/mibs/OSPF-TRAP-MIB.txt net-snmp-5.1.2-5/mibs/OSPF-TRAP-MIB.txt
old new 1 OSPF-TRAP-MIB DEFINITIONS ::= BEGIN 2 3 IMPORTS 4 MODULE-IDENTITY, OBJECT-TYPE, NOTIFICATION-TYPE, IpAddress 5 FROM SNMPv2-SMI 6 MODULE-COMPLIANCE, OBJECT-GROUP 7 FROM SNMPv2-CONF 8 ospfRouterId, ospfIfIpAddress, ospfAddressLessIf, ospfIfState, 9 ospfVirtIfAreaId, ospfVirtIfNeighbor, ospfVirtIfState, 10 ospfNbrIpAddr, ospfNbrAddressLessIndex, ospfNbrRtrId, 11 ospfNbrState, ospfVirtNbrArea, ospfVirtNbrRtrId, ospfVirtNbrState, 12 ospfLsdbType, ospfLsdbLsid, ospfLsdbRouterId, ospfLsdbAreaId, 13 ospfExtLsdbLimit, ospf 14 FROM OSPF-MIB; 15 16 ospfTrap MODULE-IDENTITY 17 LAST-UPDATED "9501201225Z" -- Fri Jan 20 12:25:50 PST 1995 18 ORGANIZATION "IETF OSPF Working Group" 19 CONTACT-INFO 20 " Fred Baker 21 Postal: Cisco Systems 22 519 Lado Drive 23 Santa Barbara, California 93111 24 Tel: +1 805 681 0115 25 E-Mail: fred@cisco.com 26 27 Rob Coltun 28 Postal: RainbowBridge Communications 29 Tel: (301) 340-9416 30 E-Mail: rcoltun@rainbow-bridge.com" 31 DESCRIPTION 32 "The MIB module to describe traps for the OSPF 33 Version 2 Protocol." 34 ::= { ospf 16 } 35 36 -- Trap Support Objects 37 38 -- The following are support objects for the OSPF traps. 39 40 ospfTrapControl OBJECT IDENTIFIER ::= { ospfTrap 1 } 41 ospfTraps OBJECT IDENTIFIER ::= { ospfTrap 2 } 42 43 ospfSetTrap OBJECT-TYPE 44 SYNTAX OCTET STRING (SIZE(4)) 45 MAX-ACCESS read-write 46 STATUS current 47 DESCRIPTION 48 "A four-octet string serving as a bit map for 49 the trap events defined by the OSPF traps. This 50 object is used to enable and disable specific 51 OSPF traps where a 1 in the bit field 52 represents enabled. The right-most bit (least 53 significant) represents trap 0." 54 ::= { ospfTrapControl 1 } 55 56 57 ospfConfigErrorType OBJECT-TYPE 58 SYNTAX INTEGER { 59 badVersion (1), 60 areaMismatch (2), 61 unknownNbmaNbr (3), -- Router is Dr eligible 62 unknownVirtualNbr (4), 63 authTypeMismatch(5), 64 authFailure (6), 65 netMaskMismatch (7), 66 helloIntervalMismatch (8), 67 deadIntervalMismatch (9), 68 optionMismatch (10) } 69 MAX-ACCESS read-only 70 STATUS current 71 DESCRIPTION 72 "Potential types of configuration conflicts. 73 Used by the ospfConfigError and ospfConfigVir- 74 tError traps." 75 ::= { ospfTrapControl 2 } 76 77 78 ospfPacketType OBJECT-TYPE 79 SYNTAX INTEGER { 80 hello (1), 81 dbDescript (2), 82 lsReq (3), 83 lsUpdate (4), 84 lsAck (5) } 85 MAX-ACCESS read-only 86 STATUS current 87 DESCRIPTION 88 "OSPF packet types." 89 ::= { ospfTrapControl 3 } 90 91 92 ospfPacketSrc OBJECT-TYPE 93 SYNTAX IpAddress 94 MAX-ACCESS read-only 95 STATUS current 96 DESCRIPTION 97 "The IP address of an inbound packet that can- 98 not be identified by a neighbor instance." 99 ::= { ospfTrapControl 4 } 100 101 102 -- Traps 103 104 105 ospfIfStateChange NOTIFICATION-TYPE 106 OBJECTS { 107 ospfRouterId, -- The originator of the trap 108 ospfIfIpAddress, 109 ospfAddressLessIf, 110 ospfIfState -- The new state 111 } 112 STATUS current 113 DESCRIPTION 114 "An ospfIfStateChange trap signifies that there 115 has been a change in the state of a non-virtual 116 OSPF interface. This trap should be generated 117 when the interface state regresses (e.g., goes 118 from Dr to Down) or progresses to a terminal 119 state (i.e., Point-to-Point, DR Other, Dr, or 120 Backup)." 121 ::= { ospfTraps 16 } 122 123 124 ospfVirtIfStateChange NOTIFICATION-TYPE 125 OBJECTS { 126 ospfRouterId, -- The originator of the trap 127 ospfVirtIfAreaId, 128 ospfVirtIfNeighbor, 129 ospfVirtIfState -- The new state 130 } 131 STATUS current 132 DESCRIPTION 133 "An ospfIfStateChange trap signifies that there 134 has been a change in the state of an OSPF vir- 135 tual interface. 136 This trap should be generated when the inter- 137 face state regresses (e.g., goes from Point- 138 to-Point to Down) or progresses to a terminal 139 state (i.e., Point-to-Point)." 140 ::= { ospfTraps 1 } 141 142 143 ospfNbrStateChange NOTIFICATION-TYPE 144 OBJECTS { 145 ospfRouterId, -- The originator of the trap 146 ospfNbrIpAddr, 147 ospfNbrAddressLessIndex, 148 ospfNbrRtrId, 149 ospfNbrState -- The new state 150 } 151 STATUS current 152 DESCRIPTION 153 "An ospfNbrStateChange trap signifies that 154 there has been a change in the state of a non- 155 virtual OSPF neighbor. This trap should be 156 generated when the neighbor state regresses 157 (e.g., goes from Attempt or Full to 1-Way or 158 Down) or progresses to a terminal state (e.g., 159 2-Way or Full). When an neighbor transitions 160 from or to Full on non-broadcast multi-access 161 and broadcast networks, the trap should be gen- 162 erated by the designated router. A designated 163 router transitioning to Down will be noted by 164 ospfIfStateChange." 165 ::= { ospfTraps 2 } 166 167 168 ospfVirtNbrStateChange NOTIFICATION-TYPE 169 OBJECTS { 170 ospfRouterId, -- The originator of the trap 171 ospfVirtNbrArea, 172 ospfVirtNbrRtrId, 173 ospfVirtNbrState -- The new state 174 } 175 STATUS current 176 DESCRIPTION 177 "An ospfIfStateChange trap signifies that there 178 has been a change in the state of an OSPF vir- 179 tual neighbor. This trap should be generated 180 when the neighbor state regresses (e.g., goes 181 from Attempt or Full to 1-Way or Down) or 182 progresses to a terminal state (e.g., Full)." 183 ::= { ospfTraps 3 } 184 ospfIfConfigError NOTIFICATION-TYPE 185 OBJECTS { 186 ospfRouterId, -- The originator of the trap 187 ospfIfIpAddress, 188 ospfAddressLessIf, 189 ospfPacketSrc, -- The source IP address 190 ospfConfigErrorType, -- Type of error 191 ospfPacketType 192 } 193 STATUS current 194 DESCRIPTION 195 "An ospfIfConfigError trap signifies that a 196 packet has been received on a non-virtual in- 197 terface from a router whose configuration 198 parameters conflict with this router's confi- 199 guration parameters. Note that the event op- 200 tionMismatch should cause a trap only if it 201 prevents an adjacency from forming." 202 ::= { ospfTraps 4 } 203 204 205 ospfVirtIfConfigError NOTIFICATION-TYPE 206 OBJECTS { 207 ospfRouterId, -- The originator of the trap 208 ospfVirtIfAreaId, 209 ospfVirtIfNeighbor, 210 ospfConfigErrorType, -- Type of error 211 ospfPacketType 212 } 213 STATUS current 214 DESCRIPTION 215 "An ospfConfigError trap signifies that a pack- 216 et has been received on a virtual interface 217 from a router whose configuration parameters 218 conflict with this router's configuration 219 parameters. Note that the event optionMismatch 220 should cause a trap only if it prevents an ad- 221 jacency from forming." 222 ::= { ospfTraps 5 } 223 224 225 ospfIfAuthFailure NOTIFICATION-TYPE 226 OBJECTS { 227 ospfRouterId, -- The originator of the trap 228 ospfIfIpAddress, 229 ospfAddressLessIf, 230 ospfPacketSrc, -- The source IP address 231 ospfConfigErrorType, -- authTypeMismatch or 232 -- authFailure 233 ospfPacketType 234 } 235 STATUS current 236 DESCRIPTION 237 "An ospfIfAuthFailure trap signifies that a 238 packet has been received on a non-virtual in- 239 terface from a router whose authentication key 240 or authentication type conflicts with this 241 router's authentication key or authentication 242 type." 243 ::= { ospfTraps 6 } 244 245 246 ospfVirtIfAuthFailure NOTIFICATION-TYPE 247 OBJECTS { 248 ospfRouterId, -- The originator of the trap 249 ospfVirtIfAreaId, 250 ospfVirtIfNeighbor, 251 ospfConfigErrorType, -- authTypeMismatch or 252 -- authFailure 253 ospfPacketType 254 } 255 STATUS current 256 DESCRIPTION 257 "An ospfVirtIfAuthFailure trap signifies that a 258 packet has been received on a virtual interface 259 from a router whose authentication key or au- 260 thentication type conflicts with this router's 261 authentication key or authentication type." 262 ::= { ospfTraps 7 } 263 264 265 ospfIfRxBadPacket NOTIFICATION-TYPE 266 OBJECTS { 267 ospfRouterId, -- The originator of the trap 268 ospfIfIpAddress, 269 ospfAddressLessIf, 270 ospfPacketSrc, -- The source IP address 271 ospfPacketType 272 } 273 STATUS current 274 DESCRIPTION 275 "An ospfIfRxBadPacket trap signifies that an 276 OSPF packet has been received on a non-virtual 277 interface that cannot be parsed." 278 ::= { ospfTraps 8 } 279 280 ospfVirtIfRxBadPacket NOTIFICATION-TYPE 281 OBJECTS { 282 ospfRouterId, -- The originator of the trap 283 ospfVirtIfAreaId, 284 ospfVirtIfNeighbor, 285 ospfPacketType 286 } 287 STATUS current 288 DESCRIPTION 289 "An ospfRxBadPacket trap signifies that an OSPF 290 packet has been received on a virtual interface 291 that cannot be parsed." 292 ::= { ospfTraps 9 } 293 294 295 ospfTxRetransmit NOTIFICATION-TYPE 296 OBJECTS { 297 ospfRouterId, -- The originator of the trap 298 ospfIfIpAddress, 299 ospfAddressLessIf, 300 ospfNbrRtrId, -- Destination 301 ospfPacketType, 302 ospfLsdbType, 303 ospfLsdbLsid, 304 ospfLsdbRouterId 305 } 306 STATUS current 307 DESCRIPTION 308 "An ospfTxRetransmit trap signifies than an 309 OSPF packet has been retransmitted on a non- 310 virtual interface. All packets that may be re- 311 transmitted are associated with an LSDB entry. 312 The LS type, LS ID, and Router ID are used to 313 identify the LSDB entry." 314 ::= { ospfTraps 10 } 315 316 317 ospfVirtIfTxRetransmit NOTIFICATION-TYPE 318 OBJECTS { 319 ospfRouterId, -- The originator of the trap 320 ospfVirtIfAreaId, 321 ospfVirtIfNeighbor, 322 ospfPacketType, 323 ospfLsdbType, 324 ospfLsdbLsid, 325 ospfLsdbRouterId 326 } 327 STATUS current 328 DESCRIPTION 329 "An ospfTxRetransmit trap signifies than an 330 OSPF packet has been retransmitted on a virtual 331 interface. All packets that may be retransmit- 332 ted are associated with an LSDB entry. The LS 333 type, LS ID, and Router ID are used to identify 334 the LSDB entry." 335 ::= { ospfTraps 11 } 336 337 338 ospfOriginateLsa NOTIFICATION-TYPE 339 OBJECTS { 340 ospfRouterId, -- The originator of the trap 341 ospfLsdbAreaId, -- 0.0.0.0 for AS Externals 342 ospfLsdbType, 343 ospfLsdbLsid, 344 ospfLsdbRouterId 345 } 346 STATUS current 347 DESCRIPTION 348 "An ospfOriginateLsa trap signifies that a new 349 LSA has been originated by this router. This 350 trap should not be invoked for simple refreshes 351 of LSAs (which happesn every 30 minutes), but 352 instead will only be invoked when an LSA is 353 (re)originated due to a topology change. Addi- 354 tionally, this trap does not include LSAs that 355 are being flushed because they have reached 356 MaxAge." 357 ::= { ospfTraps 12 } 358 359 360 ospfMaxAgeLsa NOTIFICATION-TYPE 361 OBJECTS { 362 ospfRouterId, -- The originator of the trap 363 ospfLsdbAreaId, -- 0.0.0.0 for AS Externals 364 ospfLsdbType, 365 ospfLsdbLsid, 366 ospfLsdbRouterId 367 } 368 STATUS current 369 DESCRIPTION 370 "An ospfMaxAgeLsa trap signifies that one of 371 the LSA in the router's link-state database has 372 aged to MaxAge." 373 ::= { ospfTraps 13 } 374 375 376 ospfLsdbOverflow NOTIFICATION-TYPE 377 OBJECTS { 378 ospfRouterId, -- The originator of the trap 379 ospfExtLsdbLimit 380 } 381 STATUS current 382 DESCRIPTION 383 "An ospfLsdbOverflow trap signifies that the 384 number of LSAs in the router's link-state data- 385 base has exceeded ospfExtLsdbLimit." 386 ::= { ospfTraps 14 } 387 388 389 ospfLsdbApproachingOverflow NOTIFICATION-TYPE 390 OBJECTS { 391 ospfRouterId, -- The originator of the trap 392 ospfExtLsdbLimit 393 } 394 STATUS current 395 DESCRIPTION 396 "An ospfLsdbApproachingOverflow trap signifies 397 that the number of LSAs in the router's link- 398 state database has exceeded ninety percent of 399 ospfExtLsdbLimit." 400 ::= { ospfTraps 15 } 401 402 403 -- conformance information 404 405 ospfTrapConformance OBJECT IDENTIFIER ::= { ospfTrap 3 } 406 407 ospfTrapGroups OBJECT IDENTIFIER ::= { ospfTrapConformance 1 } 408 ospfTrapCompliances OBJECT IDENTIFIER ::= { ospfTrapConformance 2 } 409 410 -- compliance statements 411 412 ospfTrapCompliance MODULE-COMPLIANCE 413 STATUS current 414 DESCRIPTION 415 "The compliance statement " 416 MODULE -- this module 417 MANDATORY-GROUPS { ospfTrapControlGroup } 418 419 420 GROUP ospfTrapControlGroup 421 DESCRIPTION 422 "This group is optional but recommended for all 423 OSPF systems" 424 ::= { ospfTrapCompliances 1 } 425 426 427 -- units of conformance 428 429 ospfTrapControlGroup OBJECT-GROUP 430 OBJECTS { 431 ospfSetTrap, 432 ospfConfigErrorType, 433 ospfPacketType, 434 ospfPacketSrc 435 } 436 STATUS current 437 DESCRIPTION 438 "These objects are required to control traps 439 from OSPF systems." 440 ::= { ospfTrapGroups 1 } 441 442 443 END -
mibs/RIPv2-MIB.txt
diff -ruN net-snmp-5.1.2-orig/mibs/RIPv2-MIB.txt net-snmp-5.1.2-5/mibs/RIPv2-MIB.txt
old new 1 RIPv2-MIB DEFINITIONS ::= BEGIN 2 3 IMPORTS 4 MODULE-IDENTITY, OBJECT-TYPE, Counter32, 5 TimeTicks, IpAddress FROM SNMPv2-SMI 6 TEXTUAL-CONVENTION, RowStatus FROM SNMPv2-TC 7 MODULE-COMPLIANCE, OBJECT-GROUP FROM SNMPv2-CONF 8 mib-2 FROM RFC1213-MIB; 9 10 -- This MIB module uses the extended OBJECT-TYPE macro as 11 -- defined in [9]. 12 13 rip2 MODULE-IDENTITY 14 LAST-UPDATED "9407272253Z" -- Wed Jul 27 22:53:04 PDT 1994 15 ORGANIZATION "IETF RIP-II Working Group" 16 CONTACT-INFO 17 " Fred Baker 18 Postal: Cisco Systems 19 519 Lado Drive 20 Santa Barbara, California 93111 21 Tel: +1 805 681 0115 22 E-Mail: fbaker@cisco.com 23 24 Postal: Gary Malkin 25 Xylogics, Inc. 26 53 Third Avenue 27 Burlington, MA 01803 28 29 Phone: (617) 272-8140 30 EMail: gmalkin@Xylogics.COM" 31 DESCRIPTION 32 "The MIB module to describe the RIP2 Version 2 Protocol" 33 ::= { mib-2 23 } 34 35 -- RIP-2 Management Information Base 36 37 -- the RouteTag type represents the contents of the 38 -- Route Domain field in the packet header or route entry. 39 -- The use of the Route Domain is deprecated. 40 41 RouteTag ::= TEXTUAL-CONVENTION 42 STATUS current 43 DESCRIPTION 44 "the RouteTag type represents the contents of the Route Domain 45 field in the packet header or route entry" 46 SYNTAX OCTET STRING (SIZE (2)) 47 48 --4.1 Global Counters 49 50 -- The RIP-2 Globals Group. 51 -- Implementation of this group is mandatory for systems 52 -- which implement RIP-2. 53 54 -- These counters are intended to facilitate debugging quickly 55 -- changing routes or failing neighbors 56 57 rip2Globals OBJECT IDENTIFIER ::= { rip2 1 } 58 59 rip2GlobalRouteChanges OBJECT-TYPE 60 SYNTAX Counter32 61 MAX-ACCESS read-only 62 STATUS current 63 DESCRIPTION 64 "The number of route changes made to the IP Route 65 Database by RIP. This does not include the refresh 66 of a route's age." 67 ::= { rip2Globals 1 } 68 69 rip2GlobalQueries OBJECT-TYPE 70 SYNTAX Counter32 71 MAX-ACCESS read-only 72 STATUS current 73 DESCRIPTION 74 "The number of responses sent to RIP queries 75 from other systems." 76 ::= { rip2Globals 2 } 77 78 --4.2 RIP Interface Tables 79 80 -- RIP Interfaces Groups 81 -- Implementation of these Groups is mandatory for systems 82 -- which implement RIP-2. 83 84 -- The RIP Interface Status Table. 85 86 rip2IfStatTable OBJECT-TYPE 87 SYNTAX SEQUENCE OF Rip2IfStatEntry 88 MAX-ACCESS not-accessible 89 STATUS current 90 DESCRIPTION 91 "A list of subnets which require separate 92 status monitoring in RIP." 93 ::= { rip2 2 } 94 95 rip2IfStatEntry OBJECT-TYPE 96 SYNTAX Rip2IfStatEntry 97 MAX-ACCESS not-accessible 98 STATUS current 99 DESCRIPTION 100 "A Single Routing Domain in a single Subnet." 101 INDEX { rip2IfStatAddress } 102 ::= { rip2IfStatTable 1 } 103 104 Rip2IfStatEntry ::= 105 SEQUENCE { 106 rip2IfStatAddress 107 IpAddress, 108 rip2IfStatRcvBadPackets 109 Counter32, 110 rip2IfStatRcvBadRoutes 111 Counter32, 112 rip2IfStatSentUpdates 113 Counter32, 114 rip2IfStatStatus 115 RowStatus 116 } 117 118 rip2IfStatAddress OBJECT-TYPE 119 SYNTAX IpAddress 120 MAX-ACCESS read-only 121 STATUS current 122 DESCRIPTION 123 "The IP Address of this system on the indicated 124 subnet. For unnumbered interfaces, the value 0.0.0.N, 125 where the least significant 24 bits (N) is the ifIndex 126 for the IP Interface in network byte order." 127 ::= { rip2IfStatEntry 1 } 128 129 rip2IfStatRcvBadPackets OBJECT-TYPE 130 SYNTAX Counter32 131 MAX-ACCESS read-only 132 STATUS current 133 DESCRIPTION 134 "The number of RIP response packets received by 135 the RIP process which were subsequently discarded 136 for any reason (e.g. a version 0 packet, or an 137 unknown command type)." 138 ::= { rip2IfStatEntry 2 } 139 140 rip2IfStatRcvBadRoutes OBJECT-TYPE 141 SYNTAX Counter32 142 MAX-ACCESS read-only 143 STATUS current 144 DESCRIPTION 145 "The number of routes, in valid RIP packets, 146 which were ignored for any reason (e.g. unknown 147 address family, or invalid metric)." 148 ::= { rip2IfStatEntry 3 } 149 150 rip2IfStatSentUpdates OBJECT-TYPE 151 SYNTAX Counter32 152 MAX-ACCESS read-only 153 STATUS current 154 DESCRIPTION 155 "The number of triggered RIP updates actually 156 sent on this interface. This explicitly does 157 NOT include full updates sent containing new 158 information." 159 ::= { rip2IfStatEntry 4 } 160 161 rip2IfStatStatus OBJECT-TYPE 162 SYNTAX RowStatus 163 MAX-ACCESS read-create 164 STATUS current 165 DESCRIPTION 166 "Writing invalid has the effect of deleting 167 this interface." 168 ::= { rip2IfStatEntry 5 } 169 170 -- The RIP Interface Configuration Table. 171 172 rip2IfConfTable OBJECT-TYPE 173 SYNTAX SEQUENCE OF Rip2IfConfEntry 174 MAX-ACCESS not-accessible 175 STATUS current 176 DESCRIPTION 177 "A list of subnets which require separate 178 configuration in RIP." 179 ::= { rip2 3 } 180 181 rip2IfConfEntry OBJECT-TYPE 182 SYNTAX Rip2IfConfEntry 183 MAX-ACCESS not-accessible 184 STATUS current 185 DESCRIPTION 186 "A Single Routing Domain in a single Subnet." 187 INDEX { rip2IfConfAddress } 188 ::= { rip2IfConfTable 1 } 189 190 Rip2IfConfEntry ::= 191 SEQUENCE { 192 rip2IfConfAddress 193 IpAddress, 194 rip2IfConfDomain 195 RouteTag, 196 rip2IfConfAuthType 197 INTEGER, 198 rip2IfConfAuthKey 199 OCTET STRING (SIZE(0..16)), 200 rip2IfConfSend 201 INTEGER, 202 rip2IfConfReceive 203 INTEGER, 204 rip2IfConfDefaultMetric 205 INTEGER, 206 rip2IfConfStatus 207 RowStatus, 208 rip2IfConfSrcAddress 209 IpAddress 210 } 211 212 rip2IfConfAddress OBJECT-TYPE 213 SYNTAX IpAddress 214 MAX-ACCESS read-only 215 STATUS current 216 DESCRIPTION 217 "The IP Address of this system on the indicated 218 subnet. For unnumbered interfaces, the value 0.0.0.N, 219 where the least significant 24 bits (N) is the ifIndex 220 for the IP Interface in network byte order." 221 ::= { rip2IfConfEntry 1 } 222 223 rip2IfConfDomain OBJECT-TYPE 224 SYNTAX RouteTag 225 MAX-ACCESS read-create 226 STATUS obsolete 227 DESCRIPTION 228 "Value inserted into the Routing Domain field 229 of all RIP packets sent on this interface." 230 DEFVAL { '0000'h } 231 ::= { rip2IfConfEntry 2 } 232 233 rip2IfConfAuthType OBJECT-TYPE 234 SYNTAX INTEGER { 235 noAuthentication (1), 236 simplePassword (2), 237 md5 (3) 238 } 239 MAX-ACCESS read-create 240 STATUS current 241 DESCRIPTION 242 "The type of Authentication used on this 243 interface." 244 DEFVAL { noAuthentication } 245 ::= { rip2IfConfEntry 3 } 246 247 rip2IfConfAuthKey OBJECT-TYPE 248 SYNTAX OCTET STRING (SIZE(0..16)) 249 MAX-ACCESS read-create 250 STATUS current 251 DESCRIPTION 252 "The value to be used as the Authentication Key 253 whenever the corresponding instance of 254 rip2IfConfAuthType has a value other than 255 noAuthentication. A modification of the corresponding 256 instance of rip2IfConfAuthType does not modify 257 the rip2IfConfAuthKey value. If a string shorter 258 than 16 octets is supplied, it will be left- 259 justified and padded to 16 octets, on the right, 260 with nulls (0x00). 261 262 Reading this object always results in an OCTET 263 STRING of length zero; authentication may not 264 be bypassed by reading the MIB object." 265 DEFVAL { ''h } 266 ::= { rip2IfConfEntry 4 } 267 268 rip2IfConfSend OBJECT-TYPE 269 SYNTAX INTEGER { 270 doNotSend (1), 271 ripVersion1 (2), 272 rip1Compatible (3), 273 ripVersion2 (4), 274 ripV1Demand (5), 275 ripV2Demand (6) 276 } 277 MAX-ACCESS read-create 278 STATUS current 279 DESCRIPTION 280 "What the router sends on this interface. 281 ripVersion1 implies sending RIP updates compliant 282 with RFC 1058. rip1Compatible implies 283 broadcasting RIP-2 updates using RFC 1058 route 284 subsumption rules. ripVersion2 implies 285 multicasting RIP-2 updates. ripV1Demand indicates 286 the use of Demand RIP on a WAN interface under RIP 287 Version 1 rules. ripV2Demand indicates the use of 288 Demand RIP on a WAN interface under Version 2 rules." 289 DEFVAL { rip1Compatible } 290 ::= { rip2IfConfEntry 5 } 291 292 rip2IfConfReceive OBJECT-TYPE 293 SYNTAX INTEGER { 294 rip1 (1), 295 rip2 (2), 296 rip1OrRip2 (3), 297 doNotRecieve (4) 298 } 299 MAX-ACCESS read-create 300 STATUS current 301 DESCRIPTION 302 "This indicates which version of RIP updates 303 are to be accepted. Note that rip2 and 304 rip1OrRip2 implies reception of multicast 305 packets." 306 DEFVAL { rip1OrRip2 } 307 ::= { rip2IfConfEntry 6 } 308 309 rip2IfConfDefaultMetric OBJECT-TYPE 310 SYNTAX INTEGER ( 0..15 ) 311 MAX-ACCESS read-create 312 STATUS current 313 DESCRIPTION 314 "This variable indicates the metric that is to 315 be used for the default route entry in RIP updates 316 originated on this interface. A value of zero 317 indicates that no default route should be 318 originated; in this case, a default route via 319 another router may be propagated." 320 ::= { rip2IfConfEntry 7 } 321 322 rip2IfConfStatus OBJECT-TYPE 323 SYNTAX RowStatus 324 MAX-ACCESS read-create 325 STATUS current 326 DESCRIPTION 327 "Writing invalid has the effect of deleting 328 this interface." 329 ::= { rip2IfConfEntry 8 } 330 331 rip2IfConfSrcAddress OBJECT-TYPE 332 SYNTAX IpAddress 333 MAX-ACCESS read-create 334 STATUS current 335 DESCRIPTION 336 "The IP Address this system will use as a source 337 address on this interface. If it is a numbered 338 interface, this MUST be the same value as 339 rip2IfConfAddress. On unnumbered interfaces, 340 it must be the value of rip2IfConfAddress for 341 some interface on the system." 342 ::= { rip2IfConfEntry 9 } 343 344 --4.3 Peer Table 345 346 -- Peer Table 347 348 -- The RIP Peer Group 349 -- Implementation of this Group is Optional 350 351 -- This group provides information about active peer 352 -- relationships intended to assist in debugging. An 353 -- active peer is a router from which a valid RIP 354 -- updated has been heard in the last 180 seconds. 355 356 rip2PeerTable OBJECT-TYPE 357 SYNTAX SEQUENCE OF Rip2PeerEntry 358 MAX-ACCESS not-accessible 359 STATUS current 360 DESCRIPTION 361 "A list of RIP Peers." 362 ::= { rip2 4 } 363 364 rip2PeerEntry OBJECT-TYPE 365 SYNTAX Rip2PeerEntry 366 MAX-ACCESS not-accessible 367 STATUS current 368 DESCRIPTION 369 "Information regarding a single routing peer." 370 INDEX { rip2PeerAddress, rip2PeerDomain } 371 ::= { rip2PeerTable 1 } 372 373 Rip2PeerEntry ::= 374 SEQUENCE { 375 rip2PeerAddress 376 IpAddress, 377 rip2PeerDomain 378 RouteTag, 379 rip2PeerLastUpdate 380 TimeTicks, 381 rip2PeerVersion 382 INTEGER, 383 rip2PeerRcvBadPackets 384 Counter32, 385 rip2PeerRcvBadRoutes 386 Counter32 387 } 388 389 rip2PeerAddress OBJECT-TYPE 390 SYNTAX IpAddress 391 MAX-ACCESS read-only 392 STATUS current 393 DESCRIPTION 394 "The IP Address that the peer is using as its source 395 address. Note that on an unnumbered link, this may 396 not be a member of any subnet on the system." 397 ::= { rip2PeerEntry 1 } 398 399 rip2PeerDomain OBJECT-TYPE 400 SYNTAX RouteTag 401 MAX-ACCESS read-only 402 STATUS current 403 DESCRIPTION 404 "The value in the Routing Domain field in RIP 405 packets received from the peer. As domain suuport 406 is deprecated, this must be zero." 407 ::= { rip2PeerEntry 2 } 408 409 rip2PeerLastUpdate OBJECT-TYPE 410 SYNTAX TimeTicks 411 MAX-ACCESS read-only 412 STATUS current 413 DESCRIPTION 414 "The value of sysUpTime when the most recent 415 RIP update was received from this system." 416 ::= { rip2PeerEntry 3 } 417 418 rip2PeerVersion OBJECT-TYPE 419 SYNTAX INTEGER ( 0..255 ) 420 MAX-ACCESS read-only 421 STATUS current 422 DESCRIPTION 423 "The RIP version number in the header of the 424 last RIP packet received." 425 ::= { rip2PeerEntry 4 } 426 427 rip2PeerRcvBadPackets OBJECT-TYPE 428 SYNTAX Counter32 429 MAX-ACCESS read-only 430 STATUS current 431 DESCRIPTION 432 "The number of RIP response packets from this 433 peer discarded as invalid." 434 ::= { rip2PeerEntry 5 } 435 436 437 rip2PeerRcvBadRoutes OBJECT-TYPE 438 SYNTAX Counter32 439 MAX-ACCESS read-only 440 STATUS current 441 DESCRIPTION 442 "The number of routes from this peer that were 443 ignored because the entry format was invalid." 444 ::= { rip2PeerEntry 6 } 445 446 -- conformance information 447 448 rip2Conformance OBJECT IDENTIFIER ::= { rip2 5 } 449 450 rip2Groups OBJECT IDENTIFIER ::= { rip2Conformance 1 } 451 rip2Compliances OBJECT IDENTIFIER ::= { rip2Conformance 2 } 452 453 -- compliance statements 454 rip2Compliance MODULE-COMPLIANCE 455 STATUS current 456 DESCRIPTION 457 "The compliance statement " 458 MODULE -- this module 459 MANDATORY-GROUPS { 460 rip2GlobalGroup, 461 rip2IfStatGroup, 462 rip2IfConfGroup, 463 rip2PeerGroup 464 } 465 GROUP rip2GlobalGroup 466 DESCRIPTION 467 "This group defines global controls for RIP-II systems." 468 GROUP rip2IfStatGroup 469 DESCRIPTION 470 "This group defines interface statistics for RIP-II systems." 471 GROUP rip2IfConfGroup 472 DESCRIPTION 473 "This group defines interface configuration for RIP-II systems." 474 GROUP rip2PeerGroup 475 DESCRIPTION 476 "This group defines peer information for RIP-II systems." 477 ::= { rip2Compliances 1 } 478 479 -- units of conformance 480 481 rip2GlobalGroup OBJECT-GROUP 482 OBJECTS { 483 rip2GlobalRouteChanges, 484 rip2GlobalQueries 485 } 486 STATUS current 487 DESCRIPTION 488 "This group defines global controls for RIP-II systems." 489 ::= { rip2Groups 1 } 490 rip2IfStatGroup OBJECT-GROUP 491 OBJECTS { 492 rip2IfStatAddress, 493 rip2IfStatRcvBadPackets, 494 rip2IfStatRcvBadRoutes, 495 rip2IfStatSentUpdates, 496 rip2IfStatStatus 497 } 498 STATUS current 499 DESCRIPTION 500 "This group defines interface statistics for RIP-II systems." 501 ::= { rip2Groups 2 } 502 rip2IfConfGroup OBJECT-GROUP 503 OBJECTS { 504 rip2IfConfAddress, 505 rip2IfConfAuthType, 506 rip2IfConfAuthKey, 507 rip2IfConfSend, 508 rip2IfConfReceive, 509 rip2IfConfDefaultMetric, 510 rip2IfConfStatus, 511 rip2IfConfSrcAddress 512 } 513 STATUS current 514 DESCRIPTION 515 "This group defines interface configuration for RIP-II systems." 516 ::= { rip2Groups 3 } 517 rip2PeerGroup OBJECT-GROUP 518 OBJECTS { 519 rip2PeerAddress, 520 rip2PeerDomain, 521 rip2PeerLastUpdate, 522 rip2PeerVersion, 523 rip2PeerRcvBadPackets, 524 rip2PeerRcvBadRoutes 525 } 526 STATUS current 527 DESCRIPTION 528 "This group defines peer information for RIP-II systems." 529 ::= { rip2Groups 4 } 530 END -
mibs/SOURCE-ROUTING-MIB.txt
diff -ruN net-snmp-5.1.2-orig/mibs/SOURCE-ROUTING-MIB.txt net-snmp-5.1.2-5/mibs/SOURCE-ROUTING-MIB.txt
old new 1 SOURCE-ROUTING-MIB DEFINITIONS ::= BEGIN 2 3 IMPORTS 4 Counter, Gauge 5 FROM RFC1155-SMI 6 dot1dBridge, dot1dSr 7 FROM BRIDGE-MIB 8 OBJECT-TYPE 9 FROM RFC-1212; 10 11 -- groups in the SR MIB 12 13 -- dot1dSr is imported from the Bridge MIB 14 15 dot1dPortPair OBJECT IDENTIFIER ::= { dot1dBridge 10 } 16 17 -- the dot1dSr group 18 19 -- this group is implemented by those bridges that 20 -- support the source route bridging mode, including Source 21 -- Routing and SRT bridges. 22 23 dot1dSrPortTable OBJECT-TYPE 24 SYNTAX SEQUENCE OF Dot1dSrPortEntry 25 ACCESS not-accessible 26 STATUS mandatory 27 DESCRIPTION 28 "A table that contains information about every 29 port that is associated with this source route 30 bridge." 31 ::= { dot1dSr 1 } 32 33 dot1dSrPortEntry OBJECT-TYPE 34 SYNTAX Dot1dSrPortEntry 35 ACCESS not-accessible 36 STATUS mandatory 37 DESCRIPTION 38 "A list of information for each port of a source 39 route bridge." 40 INDEX { dot1dSrPort } 41 42 ::= { dot1dSrPortTable 1 } 43 44 Dot1dSrPortEntry ::= 45 SEQUENCE { 46 dot1dSrPort 47 INTEGER, 48 dot1dSrPortHopCount 49 INTEGER, 50 dot1dSrPortLocalSegment 51 INTEGER, 52 dot1dSrPortBridgeNum 53 INTEGER, 54 dot1dSrPortTargetSegment 55 INTEGER, 56 dot1dSrPortLargestFrame 57 INTEGER, 58 dot1dSrPortSTESpanMode 59 INTEGER, 60 dot1dSrPortSpecInFrames 61 Counter, 62 dot1dSrPortSpecOutFrames 63 Counter, 64 dot1dSrPortApeInFrames 65 Counter, 66 dot1dSrPortApeOutFrames 67 Counter, 68 dot1dSrPortSteInFrames 69 Counter, 70 dot1dSrPortSteOutFrames 71 Counter, 72 dot1dSrPortSegmentMismatchDiscards 73 Counter, 74 dot1dSrPortDuplicateSegmentDiscards 75 Counter, 76 dot1dSrPortHopCountExceededDiscards 77 Counter, 78 dot1dSrPortDupLanIdOrTreeErrors 79 Counter, 80 dot1dSrPortLanIdMismatches 81 Counter 82 } 83 84 dot1dSrPort OBJECT-TYPE 85 SYNTAX INTEGER (1..65535) 86 ACCESS read-only 87 STATUS mandatory 88 DESCRIPTION 89 "The port number of the port for which this entry 90 91 contains Source Route management information." 92 ::= { dot1dSrPortEntry 1 } 93 94 dot1dSrPortHopCount OBJECT-TYPE 95 SYNTAX INTEGER 96 ACCESS read-write 97 STATUS mandatory 98 DESCRIPTION 99 "The maximum number of routing descriptors allowed 100 in an All Paths or Spanning Tree Explorer frames." 101 ::= { dot1dSrPortEntry 2 } 102 103 dot1dSrPortLocalSegment OBJECT-TYPE 104 SYNTAX INTEGER 105 ACCESS read-write 106 STATUS mandatory 107 DESCRIPTION 108 "The segment number that uniquely identifies the 109 segment to which this port is connected. Current 110 source routing protocols limit this value to the 111 range: 0 through 4095. (The value 0 is used by 112 some management applications for special test 113 cases.) A value of 65535 signifies that no segment 114 number is assigned to this port." 115 ::= { dot1dSrPortEntry 3 } 116 117 dot1dSrPortBridgeNum OBJECT-TYPE 118 SYNTAX INTEGER 119 ACCESS read-write 120 STATUS mandatory 121 DESCRIPTION 122 "A bridge number uniquely identifies a bridge when 123 more than one bridge is used to span the same two 124 segments. Current source routing protocols limit 125 this value to the range: 0 through 15. A value of 126 65535 signifies that no bridge number is assigned 127 to this bridge." 128 ::= { dot1dSrPortEntry 4 } 129 130 dot1dSrPortTargetSegment OBJECT-TYPE 131 SYNTAX INTEGER 132 ACCESS read-write 133 STATUS mandatory 134 DESCRIPTION 135 "The segment number that corresponds to the target 136 segment this port is considered to be connected to 137 by the bridge. Current source routing protocols 138 limit this value to the range: 0 through 4095. 139 140 (The value 0 is used by some management 141 applications for special test cases.) A value of 142 65535 signifies that no target segment is assigned 143 to this port." 144 ::= { dot1dSrPortEntry 5 } 145 146 -- It would be nice if we could use ifMtu as the size of the 147 -- largest frame, but we can't because ifMtu is defined to be 148 -- the size that the (inter-)network layer can use which can 149 -- differ from the MAC layer (especially if several layers of 150 -- encapsulation are used). 151 152 dot1dSrPortLargestFrame OBJECT-TYPE 153 SYNTAX INTEGER 154 ACCESS read-write 155 STATUS mandatory 156 DESCRIPTION 157 "The maximum size of the INFO field (LLC and 158 above) that this port can send/receive. It does 159 not include any MAC level (framing) octets. The 160 value of this object is used by this bridge to 161 determine whether a modification of the 162 LargestFrame (LF, see [14]) field of the Routing 163 Control field of the Routing Information Field is 164 necessary. 165 166 64 valid values are defined by the IEEE 802.5M SRT 167 Addendum: 516, 635, 754, 873, 993, 1112, 1231, 168 1350, 1470, 1542, 1615, 1688, 1761, 1833, 1906, 169 1979, 2052, 2345, 2638, 2932, 3225, 3518, 3812, 170 4105, 4399, 4865, 5331, 5798, 6264, 6730, 7197, 171 7663, 8130, 8539, 8949, 9358, 9768, 10178, 10587, 172 10997, 11407, 12199, 12992, 13785, 14578, 15370, 173 16163, 16956, 17749, 20730, 23711, 26693, 29674, 174 32655, 35637, 38618, 41600, 44591, 47583, 50575, 175 53567, 56559, 59551, and 65535. 176 177 An illegal value will not be accepted by the 178 bridge." 179 ::= { dot1dSrPortEntry 6 } 180 181 dot1dSrPortSTESpanMode OBJECT-TYPE 182 SYNTAX INTEGER { 183 auto-span(1), 184 disabled(2), 185 forced(3) 186 } 187 ACCESS read-write 188 STATUS mandatory 189 DESCRIPTION 190 "Determines how this port behaves when presented 191 with a Spanning Tree Explorer frame. The value 192 'disabled(2)' indicates that the port will not 193 accept or send Spanning Tree Explorer packets; any 194 STE packets received will be silently discarded. 195 The value 'forced(3)' indicates the port will 196 always accept and propagate Spanning Tree Explorer 197 frames. This allows a manually configured 198 Spanning Tree for this class of packet to be 199 configured. Note that unlike transparent 200 bridging, this is not catastrophic to the network 201 if there are loops. The value 'auto-span(1)' can 202 only be returned by a bridge that both implements 203 the Spanning Tree Protocol and has use of the 204 protocol enabled on this port. The behavior of the 205 port for Spanning Tree Explorer frames is 206 determined by the state of dot1dStpPortState. If 207 the port is in the 'forwarding' state, the frame 208 will be accepted or propagated. Otherwise, it 209 will be silently discarded." 210 ::= { dot1dSrPortEntry 7 } 211 212 dot1dSrPortSpecInFrames OBJECT-TYPE 213 SYNTAX Counter 214 ACCESS read-only 215 STATUS mandatory 216 DESCRIPTION 217 "The number of Specifically Routed frames, also 218 referred to as Source Routed Frames, that have 219 been received from this port's segment." 220 ::= { dot1dSrPortEntry 8 } 221 222 dot1dSrPortSpecOutFrames OBJECT-TYPE 223 SYNTAX Counter 224 ACCESS read-only 225 STATUS mandatory 226 DESCRIPTION 227 "The number of Specifically Routed frames, also 228 referred to as Source Routed Frames, that this 229 port has transmitted on its segment." 230 ::= { dot1dSrPortEntry 9 } 231 232 dot1dSrPortApeInFrames OBJECT-TYPE 233 SYNTAX Counter 234 ACCESS read-only 235 STATUS mandatory 236 DESCRIPTION 237 "The number of All Paths Explorer frames, also 238 referred to as All Routes Explorer frames, that 239 have been received by this port from its segment." 240 ::= { dot1dSrPortEntry 10 } 241 242 dot1dSrPortApeOutFrames OBJECT-TYPE 243 SYNTAX Counter 244 ACCESS read-only 245 STATUS mandatory 246 DESCRIPTION 247 "The number of all Paths Explorer Frames, also 248 referred to as All Routes Explorer frames, that 249 have been transmitted by this port on its 250 segment." 251 ::= { dot1dSrPortEntry 11 } 252 253 dot1dSrPortSteInFrames OBJECT-TYPE 254 SYNTAX Counter 255 ACCESS read-only 256 STATUS mandatory 257 DESCRIPTION 258 "The number of spanning tree explorer frames that 259 have been received by this port from its segment." 260 ::= { dot1dSrPortEntry 12 } 261 262 dot1dSrPortSteOutFrames OBJECT-TYPE 263 SYNTAX Counter 264 ACCESS read-only 265 STATUS mandatory 266 DESCRIPTION 267 "The number of spanning tree explorer frames that 268 have been transmitted by this port on its 269 segment." 270 ::= { dot1dSrPortEntry 13 } 271 272 dot1dSrPortSegmentMismatchDiscards OBJECT-TYPE 273 SYNTAX Counter 274 ACCESS read-only 275 STATUS mandatory 276 DESCRIPTION 277 "The number of explorer frames that have been 278 discarded by this port because the routing 279 descriptor field contained an invalid adjacent 280 segment value." 281 ::= { dot1dSrPortEntry 14 } 282 283 dot1dSrPortDuplicateSegmentDiscards OBJECT-TYPE 284 SYNTAX Counter 285 ACCESS read-only 286 STATUS mandatory 287 DESCRIPTION 288 "The number of frames that have been discarded by 289 this port because the routing descriptor field 290 contained a duplicate segment identifier." 291 ::= { dot1dSrPortEntry 15 } 292 293 dot1dSrPortHopCountExceededDiscards OBJECT-TYPE 294 SYNTAX Counter 295 ACCESS read-only 296 STATUS mandatory 297 DESCRIPTION 298 "The number of explorer frames that have been 299 discarded by this port because the Routing 300 Information Field has exceeded the maximum route 301 descriptor length." 302 ::= { dot1dSrPortEntry 16 } 303 304 dot1dSrPortDupLanIdOrTreeErrors OBJECT-TYPE 305 SYNTAX Counter 306 ACCESS read-only 307 STATUS mandatory 308 DESCRIPTION 309 "The number of duplicate LAN IDs or Tree errors. 310 This helps in detection of problems in networks 311 containing older IBM Source Routing Bridges." 312 ::= { dot1dSrPortEntry 17 } 313 314 dot1dSrPortLanIdMismatches OBJECT-TYPE 315 SYNTAX Counter 316 ACCESS read-only 317 STATUS mandatory 318 DESCRIPTION 319 "The number of ARE and STE frames that were 320 discarded because the last LAN ID in the routing 321 information field did not equal the LAN-in ID. 322 This error can occur in implementations which do 323 only a LAN-in ID and Bridge Number check instead 324 of a LAN-in ID, Bridge Number, and LAN-out ID 325 check before they forward broadcast frames." 326 ::= { dot1dSrPortEntry 18 } 327 328 -- scalar object in dot1dSr 329 330 dot1dSrBridgeLfMode OBJECT-TYPE 331 SYNTAX INTEGER { 332 mode3(1), 333 mode6(2) 334 } 335 ACCESS read-write 336 STATUS mandatory 337 DESCRIPTION 338 "Indicates whether the bridge operates using older 339 3 bit length negotiation fields or the newer 6 bit 340 length field in its RIF." 341 ::= { dot1dSr 2 } 342 343 -- The Port-Pair Database 344 345 -- Implementation of this group is optional. 346 347 -- This group is implemented by those bridges that support 348 -- the direct multiport model of the source route bridging 349 -- mode as defined in the IEEE 802.5 SRT Addendum to 350 -- 802.1d. 351 352 -- Bridges implementing this group may report 65535 for 353 -- dot1dSrPortBridgeNumber and dot1dSrPortTargetSegment, 354 -- indicating that those objects are not applicable. 355 356 dot1dPortPairTableSize OBJECT-TYPE 357 SYNTAX Gauge 358 ACCESS read-only 359 STATUS mandatory 360 DESCRIPTION 361 "The total number of entries in the Bridge Port 362 Pair Database." 363 ::= { dot1dPortPair 1 } 364 365 -- the Bridge Port-Pair table 366 367 -- this table represents port pairs within a bridge forming 368 -- a unique bridge path, as defined in the IEEE 802.5M SRT 369 -- Addendum. 370 371 dot1dPortPairTable OBJECT-TYPE 372 SYNTAX SEQUENCE OF Dot1dPortPairEntry 373 ACCESS not-accessible 374 STATUS mandatory 375 DESCRIPTION 376 "A table that contains information about every 377 378 port pair database entity associated with this 379 source routing bridge." 380 ::= { dot1dPortPair 2 } 381 382 dot1dPortPairEntry OBJECT-TYPE 383 SYNTAX Dot1dPortPairEntry 384 ACCESS not-accessible 385 STATUS mandatory 386 DESCRIPTION 387 "A list of information for each port pair entity 388 of a bridge." 389 INDEX { dot1dPortPairLowPort, dot1dPortPairHighPort } 390 ::= { dot1dPortPairTable 1 } 391 392 Dot1dPortPairEntry ::= 393 SEQUENCE { 394 dot1dPortPairLowPort 395 INTEGER, 396 dot1dPortPairHighPort 397 INTEGER, 398 dot1dPortPairBridgeNum 399 INTEGER, 400 dot1dPortPairBridgeState 401 INTEGER 402 } 403 404 dot1dPortPairLowPort OBJECT-TYPE 405 SYNTAX INTEGER (1..65535) 406 ACCESS read-write 407 STATUS mandatory 408 DESCRIPTION 409 "The port number of the lower numbered port for 410 which this entry contains port pair database 411 information." 412 ::= { dot1dPortPairEntry 1 } 413 414 dot1dPortPairHighPort OBJECT-TYPE 415 SYNTAX INTEGER (1..65535) 416 ACCESS read-write 417 STATUS mandatory 418 DESCRIPTION 419 "The port number of the higher numbered port for 420 which this entry contains port pair database 421 information." 422 ::= { dot1dPortPairEntry 2 } 423 424 dot1dPortPairBridgeNum OBJECT-TYPE 425 SYNTAX INTEGER 426 427 ACCESS read-write 428 STATUS mandatory 429 DESCRIPTION 430 "A bridge number that uniquely identifies the path 431 provided by this source routing bridge between the 432 segments connected to dot1dPortPairLowPort and 433 dot1dPortPairHighPort. The purpose of bridge 434 number is to disambiguate between multiple paths 435 connecting the same two LANs." 436 ::= { dot1dPortPairEntry 3 } 437 438 dot1dPortPairBridgeState OBJECT-TYPE 439 SYNTAX INTEGER { 440 enabled(1), 441 disabled(2), 442 invalid(3) 443 } 444 ACCESS read-write 445 STATUS mandatory 446 DESCRIPTION 447 "The state of dot1dPortPairBridgeNum. Writing 448 'invalid(3)' to this object removes the 449 corresponding entry." 450 ::= { dot1dPortPairEntry 4 } 451 452 END -
net-snmp-config.in
diff -ruN net-snmp-5.1.2-orig/net-snmp-config.in net-snmp-5.1.2-5/net-snmp-config.in
old new 113 113 #################################################### client lib 114 114 --libs) 115 115 # use this one == --netsnmp-libs + --external-libs 116 echo $NSC_LDFLAGS $NSC_LIBDIR -lnetsnmp $NSC_LIBS 116 echo $NSC_LDFLAGS $NSC_LIBDIR -lnetsnmp $NSC_LIBS @WRAPLIBS@ 117 117 ;; 118 118 --netsnmp-libs) 119 119 echo $NSC_LIBDIR -lnetsnmp 120 120 ;; 121 121 --external-libs) 122 echo $NSC_LDFLAGS $NSC_LIBS 122 echo $NSC_LDFLAGS $NSC_LIBS @WRAPLIBS@ 123 123 ;; 124 124 #################################################### agent lib 125 125 --base-agent-libs) … … 130 130 ;; 131 131 --agent-libs) 132 132 # use this one == --netsnmp-agent-libs + --external-libs 133 echo $NSC_LDFLAGS $NSC_LIBDIR $NSC_BASE_AGENT_LIBS $NSC_AGENTLIBS 133 echo $NSC_LDFLAGS $NSC_LIBDIR $NSC_BASE_AGENT_LIBS $NSC_AGENTLIBS @WRAPLIBS@ 134 134 ;; 135 135 --netsnmp-agent-libs) 136 136 echo $NSC_LIBDIR $NSC_BASE_AGENT_LIBS 137 137 ;; 138 138 --external-agent-libs) 139 echo $NSC_LDFLAGS $NSC_AGENTLIBS 139 echo $NSC_LDFLAGS $NSC_AGENTLIBS @WRAPLIBS@ 140 140 ;; 141 141 #################################################### 142 142 --version) … … 409 409 echo "Ack. Can't create $tmpfile." 410 410 exit 1 411 411 fi 412 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"412 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" 413 413 echo "running: $cmd" 414 414 `$cmd` 415 415 if test "x$norm" != "x1" ; then -
perl/agent/netsnmp_request_infoPtr.pm
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
old new 4 4 5 5 1; 6 6 __END__ 7 7 8 =head1 NAME 8 9 9 10 NetSNMP::agent::netsnmp_request_infoPtr - Perl extension for request information -
snmplib/Makefile.in
diff -ruN net-snmp-5.1.2-orig/snmplib/Makefile.in net-snmp-5.1.2-5/snmplib/Makefile.in
old new 178 178 179 179 # how to build the libraries. 180 180 libnetsnmp.$(LIB_EXTENSION)$(LIB_VERSION): ${TOBJS} 181 $(LIB_LD_CMD) libnetsnmp.$(LIB_EXTENSION)$(LIB_VERSION) ${TOBJS} 181 $(LIB_LD_CMD) libnetsnmp.$(LIB_EXTENSION)$(LIB_VERSION) ${TOBJS} @CRYPTOLIBS@ 182 182 $(RANLIB) libnetsnmp.$(LIB_EXTENSION)$(LIB_VERSION) 183 183 184 184 libsnmp.$(LIB_EXTENSION)$(LIB_VERSION): ${TOBJS} 185 $(LIB_LD_CMD) libsnmp.$(LIB_EXTENSION)$(LIB_VERSION) ${TOBJS} 185 $(LIB_LD_CMD) libsnmp.$(LIB_EXTENSION)$(LIB_VERSION) ${TOBJS} @CRYPTOLIBS@ 186 186 $(RANLIB) libsnmp.$(LIB_EXTENSION)$(LIB_VERSION) 187 187 188 188 # -
snmplib/snmpUDPDomain.c
diff -ruN net-snmp-5.1.2-orig/snmplib/snmpUDPDomain.c net-snmp-5.1.2-5/snmplib/snmpUDPDomain.c
old new 233 233 netsnmp_transport_free(t); 234 234 return NULL; 235 235 } 236 #ifdef SO_BSDCOMPAT237 /*238 * Patch for Linux. Without this, UDP packets that fail get an ICMP239 * response. Linux turns the failed ICMP response into an error message240 * and return value, unlike all other OS's.241 */242 {243 int one = 1;244 setsockopt(t->sock, SOL_SOCKET, SO_BSDCOMPAT, (void *) &one,245 sizeof(one));246 }247 #endif /*SO_BSDCOMPAT */248 236 /* 249 237 * SO_REUSEADDR will allow multiple apps to open the same port at 250 238 * the same time. Only the last one to open the socket will get -
snmplib/snmpUDPIPv6Domain.c
diff -ruN net-snmp-5.1.2-orig/snmplib/snmpUDPIPv6Domain.c net-snmp-5.1.2-5/snmplib/snmpUDPIPv6Domain.c
old new 249 249 netsnmp_transport_free(t); 250 250 return NULL; 251 251 } 252 #ifdef SO_BSDCOMPAT253 /*254 * Patch for Linux. Without this, UDP packets that fail get an ICMP255 * response. Linux turns the failed ICMP response into an error message256 * and return value, unlike all other OS's.257 */258 {259 int one = 1;260 setsockopt(t->sock, SOL_SOCKET, SO_BSDCOMPAT, &one, sizeof(one));261 }262 #endif /*SO_BSDCOMPAT */263 252 264 253 /* 265 254 * Try to set the send and receive buffers to a reasonably large value, so -
snmplib/snmp_logging.c
diff -ruN net-snmp-5.1.2-orig/snmplib/snmp_logging.c net-snmp-5.1.2-5/snmplib/snmp_logging.c
old new 860 860 } else { 861 861 strcpy(sbuf, ""); 862 862 } 863 newline = string[strlen(string) - 1] == '\n'; /* XXX - Eh ? */864 863 865 864 if (logh->imagic) 866 865 printf( "%s%s", sbuf, string); 867 866 else 868 867 fprintf(stderr, "%s%s", sbuf, string); 869 868 869 newline = string[strlen(string) - 1] == '\n'; /* XXX - Eh ? */ 870 870 871 return 1; 871 872 } 872 873 -
snmplib/winservice.mc
diff -ruN net-snmp-5.1.2-orig/snmplib/winservice.mc net-snmp-5.1.2-5/snmplib/winservice.mc
old new 1 ;//Message catalog for Windows Serivce Support routines 2 ;//To support event logging functionality 3 ;//By Raju Krishnappa(raju_krishnappa@yahoo.com) 4 5 ;//Message ID descriptions 6 7 MessageId=100 8 SymbolicName=DISPLAY_MSG 9 Language=English 10 %1. 11 . 1 ;//Message catalog for Windows Serivce Support routines 2 ;//To support event logging functionality 3 ;//By Raju Krishnappa(raju_krishnappa@yahoo.com) 4 5 ;//Message ID descriptions 6 7 MessageId=100 8 SymbolicName=DISPLAY_MSG 9 Language=English 10 %1. 11 . -
snmplib/winservice.rc
diff -ruN net-snmp-5.1.2-orig/snmplib/winservice.rc net-snmp-5.1.2-5/snmplib/winservice.rc
old new 1 LANGUAGE 0x9,0x1 2 1 11 MSG00001.bin 1 LANGUAGE 0x9,0x1 2 1 11 MSG00001.bin
Note:
See TracBrowser
for help on using the repository browser.
