summaryrefslogtreecommitdiff
path: root/MIBS/dlink/DLINKSW-ND-INSPECT-MIB
blob: b027e8d2f6cccca0308a189d324d1c992175c0ae (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
-- *****************************************************************
-- DLINKSW-ND-INSPECT-MIB: ND Inspection MIB
--
--  Copyright (c) 2013 D-Link Corporation, all rights reserved.
--
-- *****************************************************************

DLINKSW-ND-INSPECT-MIB DEFINITIONS ::= BEGIN

IMPORTS
    MODULE-IDENTITY,
    Unsigned32,
    OBJECT-TYPE
        FROM SNMPv2-SMI

    MODULE-COMPLIANCE,
    OBJECT-GROUP
        FROM SNMPv2-CONF

    TruthValue,
    RowStatus,
    DisplayString
        FROM SNMPv2-TC

    ifIndex
        FROM IF-MIB

    dlinkIndustrialCommon
        FROM DLINK-ID-REC-MIB;

dlinkSwNdInspecMIB MODULE-IDENTITY
    LAST-UPDATED "201307180000Z"
    ORGANIZATION "D-Link Corp."
    CONTACT-INFO
        "        D-Link Corporation

             Postal: No. 289, Sinhu 3rd Rd., Neihu District,
                     Taipei City 114, Taiwan, R.O.C
             Tel:     +886-2-66000123
             E-mail: tsd@dlink.com.tw
        "
    DESCRIPTION
        "This MIB module defines objects for ND Inspection."
    REVISION    "201307180000Z"
    DESCRIPTION
         "This is the first version of the MIB file.
         "
    ::= { dlinkIndustrialCommon 144 }

--
-- Textual Conventions
--


-- -----------------------------------------------------------------------------
dNdInspecNotifications  OBJECT IDENTIFIER ::= { dlinkSwNdInspecMIB 0 }
dNdInspecObjects        OBJECT IDENTIFIER ::= { dlinkSwNdInspecMIB 1 }
dNdInspecConformance    OBJECT IDENTIFIER ::= { dlinkSwNdInspecMIB 2 }

dNdInspecPolicy         OBJECT IDENTIFIER ::= { dNdInspecObjects 1 }
dNdInspecInterface      OBJECT IDENTIFIER ::= { dNdInspecObjects 2 }

-- -----------------------------------------------------------------------------
    dNdInspecPolicyNumber  OBJECT-TYPE
        SYNTAX          Unsigned32
        MAX-ACCESS      read-only
        STATUS          current
        DESCRIPTION
            "Indicates the number of entries present in ND inspection policy
             table."
        ::= { dNdInspecPolicy 1 }

    dNdInspecPolicyTable OBJECT-TYPE
        SYNTAX          SEQUENCE OF DNdInspecPolicyEntry
        MAX-ACCESS      not-accessible
        STATUS          current
        DESCRIPTION
            "The table contains information about ND inspection policies."
        ::= { dNdInspecPolicy 2 }

    dNdInspecPolicyEntry OBJECT-TYPE
        SYNTAX          DNdInspecPolicyEntry
        MAX-ACCESS      not-accessible
        STATUS          current
        DESCRIPTION
            "An entry defined in dNdInspecPolicyTable. An entry is 
            created/removed when an ND inspection policy is created/deleted."
        INDEX { dNdInspecPolicyName }
        ::= { dNdInspecPolicyTable 1 }

    DNdInspecPolicyEntry ::= SEQUENCE {
        dNdInspecPolicyName              DisplayString,
        dNdInspecPolicyDeviceRole        INTEGER,
        dNdInspecPolicyValidateSrcMac    TruthValue,
        dNdInspecPolicyRowStatus         RowStatus
    }

    dNdInspecPolicyName OBJECT-TYPE
        SYNTAX          DisplayString (SIZE (1..32))
        MAX-ACCESS      not-accessible
        STATUS          current
        DESCRIPTION
            "The name of the ND inspection policy."
        ::= { dNdInspecPolicyEntry 1 }

    dNdInspecPolicyDeviceRole OBJECT-TYPE
        SYNTAX      INTEGER {
            host(1),
            router(2)
        }
        MAX-ACCESS  read-create
        STATUS      current
        DESCRIPTION
            "Indicates the role of the attached device.
             host: The NS/NA messages will be inspected.
             router: The NS/NA inspection is not performed.
            "
        DEFVAL { host }
        ::= { dNdInspecPolicyEntry 2 }
        
    dNdInspecPolicyValidateSrcMac OBJECT-TYPE
        SYNTAX      TruthValue
        MAX-ACCESS  read-create
        STATUS      current
        DESCRIPTION
            "Indicates whether check the source MAC address against 
             the link-layer address for ND messages.
            "
        DEFVAL { false }
        ::= { dNdInspecPolicyEntry 3 }
        
    dNdInspecPolicyRowStatus  OBJECT-TYPE
        SYNTAX          RowStatus
        MAX-ACCESS      read-create
        STATUS          current
        DESCRIPTION
            "This object allows the dynamic creation and deletion of a policy."
        ::= { dNdInspecPolicyEntry 99 }

-- -----------------------------------------------------------------------------
    dNdInspecIfConfigTable OBJECT-TYPE
        SYNTAX          SEQUENCE OF DNdInspecIfConfigEntry
        MAX-ACCESS      not-accessible
        STATUS          current
        DESCRIPTION
            "A table provides the mechanism to attach ND inspection policy at
            each physical interface capable of this feature.
            "
        ::= { dNdInspecInterface 1 }

    dNdInspecIfConfigEntry OBJECT-TYPE
        SYNTAX          DNdInspecIfConfigEntry
        MAX-ACCESS      not-accessible
        STATUS          current
        DESCRIPTION
            "A row instance contains the configuration to enable or
             disable state for ND inspection at each physical interface 
             capable of this feature.
            "
        INDEX { ifIndex }
        ::= { dNdInspecIfConfigTable 1 }

    DNdInspecIfConfigEntry ::= SEQUENCE {
        dNdInspecIfEnabled       TruthValue
    }

    dNdInspecIfEnabled OBJECT-TYPE
        SYNTAX          TruthValue
        MAX-ACCESS      read-write
        STATUS          current
        DESCRIPTION
            "This object indicates the state of ND inspection on the interface.

            If this object is set to 'true', ND inspection is enabled on the
            interface.
        
            If this object is set to 'false', ND inspection is disabled on the
            interface. 
            "
    ::= { dNdInspecIfConfigEntry 1 }

-- -----------------------------------------------------------------------------
    dNdInspecIfAttachTable OBJECT-TYPE
        SYNTAX          SEQUENCE OF DNdInspecIfAttachEntry
        MAX-ACCESS      not-accessible
        STATUS          current
        DESCRIPTION
            "A table provides the mechanism to configure the policy attaching
            state for ND inspection at each physical interface capable of this feature.
            "
        ::= { dNdInspecInterface 2 }

    dNdInspecIfAttachEntry OBJECT-TYPE
        SYNTAX          DNdInspecIfAttachEntry
        MAX-ACCESS      not-accessible
        STATUS          current
        DESCRIPTION
            "A row instance contains the configuration to attach ND inspection policy 
            at each physical interface capable of this feature.
            "
        INDEX { ifIndex }
        ::= { dNdInspecIfAttachTable 1 }

    DNdInspecIfAttachEntry ::= SEQUENCE {
        dNdInspecIfAttachPolicy       DisplayString,
        dNdInspecIfAttachRowStatus    RowStatus
    }

    dNdInspecIfAttachPolicy OBJECT-TYPE
        SYNTAX          DisplayString (SIZE (1..32))
        MAX-ACCESS      read-create
        STATUS          current
        DESCRIPTION
            "This object indicates the name of ND inspection policy attached on
            the interface.
            "
        ::= { dNdInspecIfAttachEntry 1 }

    dNdInspecIfAttachRowStatus OBJECT-TYPE
        SYNTAX          RowStatus
        MAX-ACCESS      read-create
        STATUS          current
        DESCRIPTION
            "The row status variable, used according to installation
            and removal conventions for conceptual rows."
        ::= { dNdInspecIfAttachEntry 99 }

-- Conformance

dNdInspecMIBCompliances     OBJECT IDENTIFIER ::= { dNdInspecConformance 1 }

dNdInspecMIBGroups          OBJECT IDENTIFIER ::= { dNdInspecConformance 2 }

dNdInspecMIBCompliance MODULE-COMPLIANCE
    STATUS  current
    DESCRIPTION
        "The compliance statement for DLINKSW-ND-INSPECT-MIB."
    MODULE
    MANDATORY-GROUPS {
            dNdInspecIfConfigGroup
    }

    GROUP dNdInspecPolicyGroup
    DESCRIPTION
        "This group is mandatory only for the platform which supports
         the configuration of ND inspection policy."

    GROUP dNdInspecIfAttachGroup
    DESCRIPTION
        "This group is mandatory only for the platform which supports
         attaching ND inspection policy per interface."

    ::= { dNdInspecMIBCompliances 1 }

-- Units of Conformance

dNdInspecIfConfigGroup OBJECT-GROUP
    OBJECTS {
        dNdInspecIfEnabled
    }
    STATUS current
    DESCRIPTION
        "A collection of objects which are used to configure as
         well as show information regarding the ND inspection feature
         per interface."
    ::= { dNdInspecMIBGroups 1 }

dNdInspecPolicyGroup OBJECT-GROUP
    OBJECTS {
        dNdInspecPolicyNumber,
        dNdInspecPolicyDeviceRole,
        dNdInspecPolicyValidateSrcMac,
        dNdInspecPolicyRowStatus
    }
    STATUS current
    DESCRIPTION
        "A collection of objects which are used to configure as
         well as show information regarding the ND inspection policy."
    ::= { dNdInspecMIBGroups 2 }

dNdInspecIfAttachGroup OBJECT-GROUP
    OBJECTS {
        dNdInspecIfAttachPolicy,
        dNdInspecIfAttachRowStatus
    }
    STATUS  current
    DESCRIPTION
        "A collection of object which are used to configure as
         well as show information regarding the attaching policy 
         of interface."
    ::= { dNdInspecMIBGroups 3 }

END