📄 tt.mib
字号:
---- Copyright 2000-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.------ Copyright 1994-1997 Epilogue Technology Corporation.-- Copyright 1998 Integrated Systems, Inc.-- All rights reserved.-- TEST-TABLE-MIB FORCE-INCLUDE <wrn/wm/snmp/engine/asn1.h> FORCE-INCLUDE <wrn/wm/snmp/engine/mib.h> FORCE-INCLUDE <wrn/wm/snmp/engine/snmpdefs.h> FORCE-INCLUDE <wrn/wm/snmp/engine/snmp.h> FORCE-INCLUDE <wrn/wm/snmp/engine/auxfuncs.h> FORCE-INCLUDE "../tthnd.h" DEFAULT get-function-async tt_getproc DEFAULT set-function-async tt_setproc DEFAULT test-function-async tt_testproc DEFAULT next-function-async tt_nextproc DEFAULT cookie (char *)NULL DEFINITIONS ::= BEGIN IMPORTS enterprises, Counter FROM RFC1155-SMI OBJECT-TYPE FROM RFC-1212 Counter64 FROM SNMPv2-SMI;epilogue OBJECT IDENTIFIER ::= { enterprises 12 }tt OBJECT IDENTIFIER ::= { epilogue 9 }-- test table MIBtestTable OBJECT-TYPE SYNTAX SEQUENCE OF TestTableEntry ACCESS not-accessible STATUS mandatory DESCRIPTION "A table for testing purposes. This table tries to contain one column for each snmp type, with some of them being settable." ::= { tt 1 }testTableEntry OBJECT-TYPE SYNTAX TestTableEntry ACCESS not-accessible STATUS mandatory DESCRIPTION "An entry in the test table." INDEX { ttIndex } ::= { testTable 1 } TestTableEntry ::= SEQUENCE { ttIndex OBJECT IDENTIFIER, ttInteger INTEGER, ttCounter Counter, ttCounter64 Counter64, ttString OCTET STRING, ttObjectID OBJECT IDENTIFIER }ttIndex OBJECT-TYPE SYNTAX OBJECT IDENTIFIER ACCESS not-accessible STATUS mandatory DESCRIPTION "Index for the test table" ::= { testTableEntry 1 }ttInteger OBJECT-TYPE SYNTAX INTEGER ACCESS read-write STATUS mandatory DESCRIPTION "" ::= { testTableEntry 2 }ttCounter OBJECT-TYPE SYNTAX Counter ACCESS read-only STATUS mandatory DESCRIPTION "" ::= { testTableEntry 3 }ttCounter64 OBJECT-TYPE SYNTAX Counter64 ACCESS read-only STATUS mandatory DESCRIPTION "" ::= { testTableEntry 4 }ttString OBJECT-TYPE SYNTAX OCTET STRING ACCESS read-write STATUS mandatory DESCRIPTION "" ::= { testTableEntry 5 }ttObjectID OBJECT-TYPE SYNTAX OBJECT IDENTIFIER ACCESS read-write STATUS mandatory DESCRIPTION "" ::= { testTableEntry 6 } END
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -