summaryrefslogtreecommitdiff
path: root/MIBS/dlink/DLINKSW-RA-GUARD-MIB
blob: c42b8505ba4e6746e5719e584ad5f0ebbb21d9fe (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
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
-- *****************************************************************
-- DLINKSW-RA-GUARD-MIB: RA Guard MIB
--
--  Copyright (c) 2013 D-Link Corporation, all rights reserved.
--
-- *****************************************************************

DLINKSW-RA-GUARD-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;

dlinkSwRaGuardMIB 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 RA Guard."
    REVISION    "201307180000Z"
    DESCRIPTION
         "This is the first version of the MIB file.
         "
    ::= { dlinkIndustrialCommon 141 }

--
-- Textual Conventions
--


-- -----------------------------------------------------------------------------
    dRaGuardNotifications    OBJECT IDENTIFIER ::= { dlinkSwRaGuardMIB 0 }
    dRaGuardObjects          OBJECT IDENTIFIER ::= { dlinkSwRaGuardMIB 1 }
    dRaGuardConformance      OBJECT IDENTIFIER ::= { dlinkSwRaGuardMIB 2 }

    dRaGuardPolicy       OBJECT IDENTIFIER ::= { dRaGuardObjects 1 }
    dRaGuardInterface    OBJECT IDENTIFIER ::= { dRaGuardObjects 2 }

-- -----------------------------------------------------------------------------
    dRaGuardPolicyNumber  OBJECT-TYPE
        SYNTAX          Unsigned32
        MAX-ACCESS      read-only
        STATUS          current
        DESCRIPTION
            "Indicates the number of entries present in RA Guard policy
             table."
        ::= { dRaGuardPolicy 1 }

    dRaGuardPolicyTable OBJECT-TYPE
        SYNTAX          SEQUENCE OF DRaGuardPolicyEntry
        MAX-ACCESS      not-accessible
        STATUS          current
        DESCRIPTION
            "The table contains information about RA Guard policies."
        ::= { dRaGuardPolicy 2 }

    dRaGuardPolicyEntry OBJECT-TYPE
        SYNTAX          DRaGuardPolicyEntry
        MAX-ACCESS      not-accessible
        STATUS          current
        DESCRIPTION
            "An entry defined in dRaGuardPolicyTable. An entry is 
            created/removed when a RA Guard policy is created/deleted."
        INDEX { dRaGuardPolicyName }
        ::= { dRaGuardPolicyTable 1 }

    DRaGuardPolicyEntry ::= SEQUENCE {
        dRaGuardPolicyName          DisplayString,
        dRaGuardPolicyDeviceRole	INTEGER,
        dRaGuardPolicyRowStatus     RowStatus
    }

    dRaGuardPolicyName OBJECT-TYPE
        SYNTAX          DisplayString (SIZE (1..32))
        MAX-ACCESS      not-accessible
        STATUS          current
        DESCRIPTION
            "The name of the RA Guard policy."
        ::= { dRaGuardPolicyEntry 1 }

    dRaGuardPolicyDeviceRole OBJECT-TYPE
        SYNTAX      INTEGER {
            host(1),
            router(2)
        }
        MAX-ACCESS      read-create
        STATUS          current
        DESCRIPTION
            "Indicates the role of the attached device.
             host: all the inbound router advertisement 
                   and redirect messages are blocked.
             router: all messages (router solicitation [RS], 
                   router advertisement [RA], or redirect) 
                   are allowed on this port.
            "
        DEFVAL { host }
        ::= { dRaGuardPolicyEntry 2 }
        
     dRaGuardPolicyRowStatus  OBJECT-TYPE
        SYNTAX          RowStatus
        MAX-ACCESS      read-create
        STATUS          current
        DESCRIPTION
            "This object allows the dynamic creation and deletion of a RA Guard
            policy.
            "
        ::= { dRaGuardPolicyEntry 99 }

-- -----------------------------------------------------------------------------
    dRaGuardMatchAclTable OBJECT-TYPE
        SYNTAX          SEQUENCE OF DRaGuardMatchAclEntry
        MAX-ACCESS      not-accessible
        STATUS          current
        DESCRIPTION            
            "The table contains a list of IPv6 access list associations for
            RA Guard policies. 
            The IPv6 access list is used to filter the RA messages based on 
            sender IPv6 address.
            "
        ::= { dRaGuardPolicy 3 }

    dRaGuardMatchAclEntry OBJECT-TYPE
        SYNTAX          DRaGuardMatchAclEntry
        MAX-ACCESS      not-accessible
        STATUS          current
        DESCRIPTION
            "An entry is defined in dRaGuardMatchAclTable. 
            The first instance identifier index value identifies the 
            dRaGuardPolicyEntry that an IPv6 access list (dRaGuardMatchAclEntry)
            belongs to. An entry is removed from this table when its 
            corresponding dRaGuardPolicyEntry is deleted."
        INDEX { 
            dRaGuardPolicyName 
        }
        ::= { dRaGuardMatchAclTable 1 }

    DRaGuardMatchAclEntry ::= SEQUENCE {
        dRaGuardMatchAccessListName        DisplayString,
        dRaGuardMatchAclRowStatus          RowStatus
        }

    dRaGuardMatchAccessListName  OBJECT-TYPE
        SYNTAX          DisplayString (SIZE (1..32))
        MAX-ACCESS      read-create
        STATUS          current
        DESCRIPTION
            "This object indicates the name of the associated IPv6 access list
            in a RA Guard policy.
            The IPv6 access list is used to filter RA messages based on sender
            IPv6 address when the corresponding dRaGuardPolicyDeviceRole is
            'router'. 
            If the IPv6 access list is not configured, all RA messages are
            bypassed."
        ::= { dRaGuardMatchAclEntry 1 }

    dRaGuardMatchAclRowStatus 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."
        ::= { dRaGuardMatchAclEntry 99 }

-- -----------------------------------------------------------------------------
    dRaGuardIfConfigTable OBJECT-TYPE
        SYNTAX          SEQUENCE OF DRaGuardIfConfigEntry
        MAX-ACCESS      not-accessible
        STATUS          current
        DESCRIPTION
            "A table provides the mechanism to configure the RA Guard
            state at every interface capable of this feature.
            "
        ::= { dRaGuardInterface 1 }

    dRaGuardIfConfigEntry OBJECT-TYPE
        SYNTAX          DRaGuardIfConfigEntry
        MAX-ACCESS      not-accessible
        STATUS          current
        DESCRIPTION
            "A row instance contains the configuration to enable or
            disable RA Guard on an interface.
            "
        INDEX { ifIndex }
        ::= { dRaGuardIfConfigTable 1 }

    DRaGuardIfConfigEntry ::= SEQUENCE {
        dRaGuardIfEnabled       TruthValue
    }

    dRaGuardIfEnabled OBJECT-TYPE
        SYNTAX          TruthValue
        MAX-ACCESS      read-write
        STATUS          current
        DESCRIPTION
            "This object enables RA Guard on the interface, if set this 
            object to 'true'. 
            Setting this object to 'false' disables the RA Guard on the
            interface.
            "
        ::= { dRaGuardIfConfigEntry 1 }

-- -----------------------------------------------------------------------------
    dRaGuardIfAttachTable OBJECT-TYPE
        SYNTAX          SEQUENCE OF DRaGuardIfAttachEntry
        MAX-ACCESS      not-accessible
        STATUS          current
        DESCRIPTION
            "A table provides the mechanism to attach a RA Guard policy on
            a physical port or port-channel interface.       
            "
    ::= { dRaGuardInterface 2 }

    dRaGuardIfAttachEntry OBJECT-TYPE
        SYNTAX       DRaGuardIfAttachEntry
        MAX-ACCESS   not-accessible
        STATUS       current
        DESCRIPTION
            "A row instance contains the configuration to attach a RA Guard
            policy on a physical port or port-channel interface.   
            "
        INDEX { ifIndex }
        ::= { dRaGuardIfAttachTable 1 }

    DRaGuardIfAttachEntry ::= SEQUENCE {
        dRaGuardIfAttachPolicy       DisplayString,
        dRaGuardIfAttachRowStatus    RowStatus
    }

    dRaGuardIfAttachPolicy OBJECT-TYPE
        SYNTAX          DisplayString (SIZE (1..32))
        MAX-ACCESS      read-create
        STATUS          current
        DESCRIPTION
            "This object indicates the name of the attached RA Guard
            policy.
            "
        ::= { dRaGuardIfAttachEntry 1 }

    dRaGuardIfAttachRowStatus 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."
        ::= { dRaGuardIfAttachEntry 99 }

-- Conformance

    dRaGuardMIBCompliances    OBJECT IDENTIFIER ::= { dRaGuardConformance 1 }

    dRaGuardMIBGroups    OBJECT IDENTIFIER ::= { dRaGuardConformance 2 }

    dRaGuardMIBCompliance MODULE-COMPLIANCE
        STATUS  current
        DESCRIPTION
            "The compliance statement for DLINKSW-RA-GUARD-MIB"
        MODULE
        MANDATORY-GROUPS {
            dRaGuardIfConfigGroup
        }

        GROUP dRaGuardPolicyGroup
        DESCRIPTION
            "This group is mandatory only for the platform which supports
            configuration of RA Guard policy."

        GROUP dRaGuardIfAttachGroup
        DESCRIPTION
            "This group is mandatory only for the platform which supports
            interface-specific configuration of attaching RA Guard policy."

        GROUP dRaGuardMatchAclGroup
        DESCRIPTION
            "This group is mandatory only for the platform which supports
            filtering IPv6 RA message by IPv6 access list."
        ::= { dRaGuardMIBCompliances 1 }

-- Units of Conformance

    dRaGuardIfConfigGroup OBJECT-GROUP
        OBJECTS {
            dRaGuardIfEnabled
        }
        STATUS current
        DESCRIPTION
            "A collection of objects which are used to configure as
            well as show information regarding the RA Guard feature
            per interface."
        ::= { dRaGuardMIBGroups 1 }

    dRaGuardPolicyGroup OBJECT-GROUP
        OBJECTS {
            dRaGuardPolicyNumber,
            dRaGuardPolicyDeviceRole,
            dRaGuardPolicyRowStatus 
        }
        STATUS current
        DESCRIPTION
            "A collection of objects which are used to configure as
            well as show information regarding the RA Guard policy."
        ::= { dRaGuardMIBGroups 2 }

    dRaGuardMatchAclGroup OBJECT-GROUP
        OBJECTS {
            dRaGuardMatchAccessListName,
            dRaGuardMatchAclRowStatus
        }
        STATUS current
        DESCRIPTION
            "A collection of objects which are used to configure as
            well as show information regarding the IPv6 access list
            in RA Guard policy."
        ::= { dRaGuardMIBGroups 3 }

    dRaGuardIfAttachGroup OBJECT-GROUP
        OBJECTS {
            dRaGuardIfAttachPolicy,
            dRaGuardIfAttachRowStatus
        }
        STATUS  current
        DESCRIPTION
            "A collection of object which are used to configure as
            well as show information regarding the attaching policy 
            per interface."
    ::= { dRaGuardMIBGroups 4 }

END