mirror of
https://git.savannah.nongnu.org/git/lwip.git
synced 2026-06-26 07:13:38 +08:00
SNMP: Add some basic MIBs
This commit is contained in:
34
src/apps/snmp/LwipMibCompiler/Mibs/RFC-1215
Normal file
34
src/apps/snmp/LwipMibCompiler/Mibs/RFC-1215
Normal file
@@ -0,0 +1,34 @@
|
||||
RFC-1215 DEFINITIONS ::= BEGIN
|
||||
|
||||
IMPORTS
|
||||
ObjectName
|
||||
FROM RFC1155-SMI;
|
||||
|
||||
TRAP-TYPE MACRO ::=
|
||||
BEGIN
|
||||
TYPE NOTATION ::= "ENTERPRISE" value
|
||||
(enterprise OBJECT IDENTIFIER)
|
||||
VarPart
|
||||
DescrPart
|
||||
ReferPart
|
||||
VALUE NOTATION ::= value (VALUE INTEGER)
|
||||
|
||||
VarPart ::=
|
||||
"VARIABLES" "{" VarTypes "}"
|
||||
| empty
|
||||
VarTypes ::=
|
||||
VarType | VarTypes "," VarType
|
||||
VarType ::=
|
||||
value (vartype ObjectName)
|
||||
|
||||
DescrPart ::=
|
||||
"DESCRIPTION" value (description DisplayString)
|
||||
| empty
|
||||
|
||||
ReferPart ::=
|
||||
"REFERENCE" value (reference DisplayString)
|
||||
| empty
|
||||
|
||||
END
|
||||
|
||||
END
|
||||
Reference in New Issue
Block a user