📄 snmpmib2.mib
字号:
-- snmpMib2.Mib - Snmp v1 agent mib2 definition-- Copyright 1984-2004 Wind River Systems, Inc -- All rights reserved. Provided under license only.-- Distribution or other use of this software is only-- permitted pursuant to the terms of a license agreement-- from Wind River Systems (and is otherwise prohibited).-- Refer to that license agreement for terms of use.---- modification history------------------------- 01d,19may1997,rjc fixed rip2PeerTable problem. SPR 8593-- 01c,05may1997,rjc added rip2 method routines-- 01b,30apr1997,rjc added ospf method routines-- 01a,10apr1996,rjc written------ This mib definition depends on the files - rfc1213.mib and rfc1155.smi,-- found in the $WIND_BASE/target/src/snmpv1/mibs direcory.-- This file is used to generate stub code for the various method routines-- specified with DEFAULT statements below.-- It is also used to generate the mibhand.h file which contains function -- prototypes for these method routines.-- It is also used to generate the file mibleaf.h containing macros denoting -- the leaf identifiers as well as the values associated with these.-- VxWorksAgent-MIB -- include header files needed by the method routines --FORCE-INCLUDE <wrn/wm/snmp/engine/mib.h> --FORCE-INCLUDE <wrn/wm/snmp/engine/snmpdefs.h> --FORCE-INCLUDE <wrn/wm/snmp/engine/snmpstat.h> --FORCE-INCLUDE <wrn/wm/snmp/vxagent/mibhand.h> -- exclude the egp group, as it is not supported. --EXCLUDE egp -- exclude the atTable, as it's deprecated and improperly implemented. --EXCLUDE atTable -- If you need to include snmp support for the rip group then -- uncomment the next line.-- EXCLUDE rip2PeerTable -- MIB definition for snmpv1 agent DEFINITIONS ::= BEGIN IMPORTS OBJECT-TYPE FROM RFC-1212 mgmt FROM RFC1155-SMI ; -- object types -- set up MIB-wide defaults -- all functions can use %n for object name and -- %t for object type, %p for parent name, -- %d for name of default-bearing node and %% for % mib-2 OBJECT-TYPE --DEFAULT test-function-async it_exists_async --DEFAULT set-function-async %pSet --DEFAULT get-function-async %pGet --DEFAULT next-function-async std_next_async --DEFAULT cookie (char*) 0 ::= { mgmt 1 } system OBJECT-TYPE --DEFAULT get-function-async systemGet --DEFAULT test-function-async %pTest ::= { mib-2 1 } snmp OBJECT-TYPE --DEFAULT test-function-async %pTest ::= { mib-2 11 } at OBJECT-TYPE --DEFAULT test-function-async ipNetToMediaEntryTest --DEFAULT next-function-async ipNetToMediaEntryNext --DEFAULT set-function-async ipNetToMediaEntrySet --DEFAULT get-function-async ipNetToMediaEntryGet ::= { mib-2 3 } ip OBJECT-TYPE --DEFAULT test-function-async %pTest ::= { mib-2 4 } ipRouteTable OBJECT-TYPE --DEFAULT next-function-async %pNext ::= { ip 21 } ipNetToMediaTable OBJECT-TYPE --DEFAULT next-function-async %pNext ::= { ip 22 } ipAddrTable OBJECT-TYPE --DEFAULT test-function-async it_exists_async --DEFAULT next-function-async %pNext ::= { ip 20 } interfaces OBJECT-TYPE ::= { mib-2 2 } ifTable OBJECT-TYPE --DEFAULT next-function-async %pNext --DEFAULT test-function-async %pTest ::= { interfaces 2 } tcp OBJECT-TYPE ::= { mib-2 6 } tcpConnTable OBJECT-TYPE --DEFAULT next-function-async %pNext --DEFAULT test-function-async %pTest ::= { tcp 13 } udp OBJECT-TYPE ::= { mib-2 7 } udpTable OBJECT-TYPE --DEFAULT next-function-async %pNext ::= { udp 5 } -- If you need to include snmp support for the rip group then -- uncomment the next 4 lines.-- rip2 OBJECT-TYPE-- DEFAULT next-function-async %pNext-- DEFAULT test-function-async null_test_async-- ::= { mib-2 23 } -- If you need to include snmp support for the ospf group then -- uncomment the next 4 lines.-- ospf OBJECT-TYPE-- DEFAULT next-function-async %pNext-- DEFAULT test-function-async null_test_async-- ::= { mib-2 14 } END
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -