1 SNMPv2-CONF DEFINITIONS ::= BEGIN
3 IMPORTS ObjectName, NotificationName, ObjectSyntax
6 -- definitions for conformance groups
17 value(VALUE OBJECT IDENTIFIER)
20 "OBJECTS" "{" Objects "}"
36 -- a character string as defined in [2]
37 Text ::= value(IA5String)
40 -- more definitions for conformance groups
42 NOTIFICATION-GROUP MACRO ::=
51 value(VALUE OBJECT IDENTIFIER)
54 "NOTIFICATIONS" "{" Notifications "}"
57 | Notifications "," Notification
59 value(NotificationName)
70 -- a character string as defined in [2]
71 Text ::= value(IA5String)
74 -- definitions for compliance statements
76 MODULE-COMPLIANCE MACRO ::=
85 value(VALUE OBJECT IDENTIFIER)
108 -- identifier must start with uppercase letter
109 identifier ModuleIdentifier
110 -- must not be empty unless contained
114 value(OBJECT IDENTIFIER)
118 "MANDATORY-GROUPS" "{" Groups "}"
125 value(OBJECT IDENTIFIER)
133 | Compliances Compliance
139 "GROUP" value(OBJECT IDENTIFIER)
143 "OBJECT" value(ObjectName)
149 -- must be a refinement for object's SYNTAX clause
150 SyntaxPart ::= "SYNTAX" Syntax
153 -- must be a refinement for object's SYNTAX clause
154 WriteSyntaxPart ::= "WRITE-SYNTAX" Syntax
157 Syntax ::= -- Must be one of the following:
158 -- a base type (or its refinement),
159 -- a textual convention (or its refinement), or
160 -- a BITS pseudo-type
162 | "BITS" "{" NamedBits "}"
164 NamedBits ::= NamedBit
165 | NamedBits "," NamedBit
167 NamedBit ::= identifier "(" number ")" -- number is nonnegative
174 | "accessible-for-notify"
179 -- a character string as defined in [2]
180 Text ::= value(IA5String)
183 -- definitions for capabilities statements
185 AGENT-CAPABILITIES MACRO ::=
188 "PRODUCT-RELEASE" Text
195 value(VALUE OBJECT IDENTIFIER)
213 "SUPPORTS" ModuleName
214 "INCLUDES" "{" Groups "}"
218 -- identifier must start with uppercase letter
219 identifier ModuleIdentifier
221 value(OBJECT IDENTIFIER)
228 value(OBJECT IDENTIFIER)
235 | Variations Variation
239 | NotificationVariation
241 NotificationVariation ::=
242 "VARIATION" value(NotificationName)
247 "VARIATION" value(ObjectName)
255 -- must be a refinement for object's SYNTAX clause
256 SyntaxPart ::= "SYNTAX" Syntax
259 WriteSyntaxPart ::= "WRITE-SYNTAX" Syntax
262 Syntax ::= -- Must be one of the following:
263 -- a base type (or its refinement),
264 -- a textual convention (or its refinement), or
265 -- a BITS pseudo-type
267 | "BITS" "{" NamedBits "}"
269 NamedBits ::= NamedBit
270 | NamedBits "," NamedBit
272 NamedBit ::= identifier "(" number ")" -- number is nonnegative
280 -- only "not-implemented" for notifications
281 | "accessible-for-notify"
285 -- following is for backward-compatibility only
289 "CREATION-REQUIRES" "{" Cells "}"
297 DefValPart ::= "DEFVAL" "{" Defvalue "}"
300 Defvalue ::= -- must be valid for the object's syntax
301 -- in this macro's SYNTAX clause, if present,
302 -- or if not, in object's OBJECT-TYPE macro
306 BitsValue ::= BitNames
310 | BitNames "," BitName
312 BitName ::= identifier
314 -- a character string as defined in [2]
315 Text ::= value(IA5String)