summaryrefslogtreecommitdiff
path: root/MIBS/dlink/DLINKSW-DHCP6-GUARD-MIB
blob: 206da1789c1c67ab7f005f3a5a43305879756c05 (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
-- *****************************************************************
-- DLINKSW-DHCP6-GUARD-MIB: DHCPv6 Guard MIB
--
--  Copyright (c) 2013 D-Link Corporation, all rights reserved.
--
-- *****************************************************************

DLINKSW-DHCP6-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;

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

--
-- Textual Conventions
--


dDhcp6GuardNotifications    OBJECT IDENTIFIER ::= { dlinkSwDhcp6GuardMIB 0 }
dDhcp6GuardObjects          OBJECT IDENTIFIER ::= { dlinkSwDhcp6GuardMIB 1 }
dDhcp6GuardConformance      OBJECT IDENTIFIER ::= { dlinkSwDhcp6GuardMIB 2 }

dDhcp6GuardPolicy        OBJECT IDENTIFIER ::= { dDhcp6GuardObjects 1 }
dDhcp6GuardInterface     OBJECT IDENTIFIER ::= { dDhcp6GuardObjects 2 }

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

    dDhcp6GuardPolicyTable OBJECT-TYPE
        SYNTAX          SEQUENCE OF DDhcp6GuardPolicyEntry
        MAX-ACCESS      not-accessible
        STATUS          current
        DESCRIPTION
            "The table contains information about DHCPv6 Guard policies."
        ::= { dDhcp6GuardPolicy 2 }

    dDhcp6GuardPolicyEntry OBJECT-TYPE
        SYNTAX          DDhcp6GuardPolicyEntry
        MAX-ACCESS      not-accessible
        STATUS          current
        DESCRIPTION
            "An entry defined in dDhcp6GuardPolicyTable. An entry is 
            created/removed when a DHCPv6 Guard policy is created/deleted."
        INDEX { dDhcp6GuardPolicyName }
        ::= { dDhcp6GuardPolicyTable 1 }

    DDhcp6GuardPolicyEntry ::= SEQUENCE {
        dDhcp6GuardPolicyName              DisplayString,
        dDhcp6GuardPolicyDeviceRole        INTEGER,
        dDhcp6GuardPolicyRowStatus         RowStatus
    }

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

    dDhcp6GuardPolicyDeviceRole OBJECT-TYPE
        SYNTAX      INTEGER {
            client(1),
            server(2)
        }
        MAX-ACCESS  read-create
        STATUS      current
        DESCRIPTION
            "Indicates the role of the attached device.
             client: All DHCPv6 server messages are dropped on this port.
             server: DHCPv6 server messages are allowed on this port.
            "
        DEFVAL { client }
        ::= { dDhcp6GuardPolicyEntry 2 }
        
     dDhcp6GuardPolicyRowStatus  OBJECT-TYPE
        SYNTAX          RowStatus
        MAX-ACCESS      read-create
        STATUS          current
        DESCRIPTION
            "This object allows the dynamic creation and deletion of a policy."
        ::= { dDhcp6GuardPolicyEntry 99 }

-- -----------------------------------------------------------------------------
    dDhcp6GuardMatchAclTable OBJECT-TYPE
        SYNTAX          SEQUENCE OF DDhcp6GuardMatchAclEntry
        MAX-ACCESS      not-accessible
        STATUS          current
        DESCRIPTION
            "The table contains a list of IPv6 access list associations for
            DHCPv6 Guard policies. 
            The IPv6 access list is used to verify the sender's IPv6 address
            in server messages.
            "
        ::= { dDhcp6GuardPolicy 3 }

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

    DDhcp6GuardMatchAclEntry ::= SEQUENCE {
        dDhcp6GuardMatchAccessListName        DisplayString,
        dDhcp6GuardMatchAclRowStatus          RowStatus
        }

    dDhcp6GuardMatchAccessListName  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 DHCPv6 Guard policy.
            The IPv6 access list is used to filter DHCPv6 server message 
            based on sender's IP address. 
            If the IPv6 access list is not configured, all server messages
            are bypassed."
        ::= { dDhcp6GuardMatchAclEntry 1 }

    dDhcp6GuardMatchAclRowStatus 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."
        ::= { dDhcp6GuardMatchAclEntry 99 }

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

    dDhcp6GuardIfConfigEntry OBJECT-TYPE
        SYNTAX          DDhcp6GuardIfConfigEntry
        MAX-ACCESS      not-accessible
        STATUS          current
        DESCRIPTION
            "A row instance contains the configuration to enable or
            disable state for DHCPv6 Guard at every interface 
            capable of this feature.
            "
        INDEX { ifIndex }
        ::= { dDhcp6GuardIfConfigTable 1 }

    DDhcp6GuardIfConfigEntry ::= SEQUENCE {
        dDhcp6GuardIfEnabled       TruthValue
    }

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


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

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

    DDhcp6GuardIfAttachEntry ::= SEQUENCE {
        dDhcp6GuardIfAttachPolicy       DisplayString,
        dDhcp6GuardIfAttachRowStatus    RowStatus
    }

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

    dDhcp6GuardIfAttachRowStatus 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."
        ::= { dDhcp6GuardIfAttachEntry 99 }

-- Conformance

    dDhcp6GuardMIBCompliances OBJECT IDENTIFIER ::= { dDhcp6GuardConformance 1 }

    dDhcp6GuardMIBGroups  OBJECT IDENTIFIER ::= { dDhcp6GuardConformance 2 }

    dDhcp6GuardMIBCompliance MODULE-COMPLIANCE
        STATUS  current
        DESCRIPTION
            "The compliance statement for DLINKSW-DHCP6-GUARD-MIB"
        MODULE
        MANDATORY-GROUPS {
            dDhcp6GuardIfConfigGroup
        }

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

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

        GROUP dDhcp6GuardMatchAclGroup
        DESCRIPTION
            "This group is mandatory only for the platform which supports
            filtering IPv6 DHCPv6 message by IPv6 access list."

        ::= { dDhcp6GuardMIBCompliances 1 }

-- Units of Conformance

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

    dDhcp6GuardPolicyGroup OBJECT-GROUP
        OBJECTS {
            dDhcp6GuardPolicyNumber,
            dDhcp6GuardPolicyDeviceRole,
            dDhcp6GuardPolicyRowStatus
        }
        STATUS current
        DESCRIPTION
            "A collection of objects which are used to configure as
            well as show information regarding the DHCPv6 Guard policy."
        ::= { dDhcp6GuardMIBGroups 2 }

    dDhcp6GuardMatchAclGroup OBJECT-GROUP
        OBJECTS {
            dDhcp6GuardMatchAccessListName,
            dDhcp6GuardMatchAclRowStatus  
        }
        STATUS current
        DESCRIPTION
            "A collection of objects which are used to configure as
            well as show information regarding the IPv6 access list
            in DHCPv6 Guard policy."
        ::= { dDhcp6GuardMIBGroups 3 }

    dDhcp6GuardIfAttachGroup OBJECT-GROUP
        OBJECTS {
            dDhcp6GuardIfAttachPolicy,
            dDhcp6GuardIfAttachRowStatus
        }
        STATUS  current
        DESCRIPTION
            "A collection of objects which are used to configure as
            well as show information regarding the attaching policy 
            per interface.
            "
        ::= { dDhcp6GuardMIBGroups 4 }

END