1-- -----------------------------------------------------------------------------
2-- MIB NAME : L3 Management MIB
3-- FILE NAME: des3200-28f-L3mgmt.mib
4-- DATE     : 2009/11/07
5-- VERSION  : 1.02
6-- PURPOSE  : To construct the MIB structure of Layer 3 Network Management Information
7--            for proprietary enterprise
8-- -----------------------------------------------------------------------------
9-- MODIFICTION HISTORY:
10-- -----------------------------------------------------------------------------
11-- Version, Date, Author
12-- Description:
13--  [New Object]
14--  [Modification]
15-- Notes: (Requested by who and which project)
16--
17-- Version 1.02 2009/11/07,  Eli
18-- Description:
19-- [New Object]
20-- Add swL3IpCtrlIpDhcpOption12State and swL3IpCtrlIpDhcpOption12HostName to
21-- support DHCP option 12 host name function.
22--
23-- Version 1.01 2009/05/16, Eli Lin
24-- Description:
25-- [Remove Object]
26-- swL3Ipv6CtrlRaState, swL3Ipv6CtrlRaMinRtrAdvInterval,
27-- swL3Ipv6CtrlRaMaxRtrAdvInterval, swL3Ipv6CtrlRaLifeTime,
28-- swL3Ipv6CtrlRaReachableTime, swL3Ipv6CtrlRaRetransTime,
29-- swL3Ipv6CtrlRaHopLimit, swL3Ipv6CtrlRaManagedFlag,
30-- swL3Ipv6CtrlRaOtherConfigFlag, swL3Ipv6AddressCtrlPreferredLifeTime,
31-- swL3Ipv6AddressCtrlValidLifeTime, swL3Ipv6AddressCtrlOnLinkFlag,
32-- swL3Ipv6AddressCtrlAutonomousFlag for not supporting
33-- [New Object]
34-- swL3IpCtrlInterfaceName, swL3IpCtrlIpv6LinkLocalAddress,
35-- swL3IpCtrlIpv6LinkLocalPrefixLen, swL3IpCtrlIpv6LinkLocalAutoState
36-- for IPV6 Automatic Link Local Address
37--
38-- Version 1.00 2009/04/28, Eli Lin
39-- Description:
40-- [New Object]
41-- Add swL2IpCtrlAllIpIfState, swL2Ipv6CtrlTable,
42-- swL2Ipv6AddressCtrlTable for IPv6
43-- -----------------------------------------------------------------------------
44DES3200-28F-L3MGMT-MIB DEFINITIONS ::= BEGIN
45
46    IMPORTS
47        Counter32,MODULE-IDENTITY,OBJECT-TYPE,IpAddress,
48        NOTIFICATION-TYPE, Integer32,Unsigned32
49                                                  FROM SNMPv2-SMI
50        TEXTUAL-CONVENTION,PhysAddress,TruthValue,DisplayString,RowStatus,MacAddress,TimeStamp
51        							              FROM SNMPv2-TC
52        des3200-28f					              FROM SWPRIMGMT-DES3200-MIB;
53
54    swL3MgmtMIB MODULE-IDENTITY
55		LAST-UPDATED "0911070000Z"
56	  	ORGANIZATION "D-Link, Inc."
57	  	CONTACT-INFO
58	   		"http://support.dlink.com"
59	  	DESCRIPTION
60	    		"The Structure of Layer 3 Network Management Information for enterprise."
61	  	::= {des3200-28f 3}
62
63    swL3DevMgmt             OBJECT IDENTIFIER ::= { swL3MgmtMIB 1 }
64    swL3IpMgmt              OBJECT IDENTIFIER ::= { swL3MgmtMIB 2 }
65
66    swL3IpCtrlMgmt          OBJECT IDENTIFIER ::= { swL3IpMgmt 1 }
67
68-- -----------------------------------------------------------------------------
69-- Textual Conventions
70-- -----------------------------------------------------------------------------
71-- This definition may be excluded if IPv6 Supported
72Ipv6Address ::= TEXTUAL-CONVENTION
73	DISPLAY-HINT "2x:"
74	STATUS       current
75	DESCRIPTION
76		"This data type is used to model IPv6 addresses.
77		This is a binary string of 16 octets in network
78		byte-order."
79	SYNTAX       OCTET STRING (SIZE (16))
80
81-- -----------------------------------------------------------------------------
82--  swL3IpCtrlMgmt        OBJECT IDENTIFIER ::= { swL3IpMgmt 1 }
83-- -----------------------------------------------------------------------------
84
85    swL3IpCtrlTable OBJECT-TYPE
86        SYNTAX  SEQUENCE OF SwL3IpCtrlEntry
87        MAX-ACCESS  not-accessible
88        STATUS  current
89        DESCRIPTION
90            "This table contains IP interface information."
91        ::= { swL3IpCtrlMgmt 3 }
92
93    swL3IpCtrlEntry OBJECT-TYPE
94        SYNTAX  SwL3IpCtrlEntry
95        MAX-ACCESS  not-accessible
96        STATUS  current
97        DESCRIPTION
98            "A list of information about a specific IP interface."
99        INDEX  { swL3IpCtrlInterfaceName }
100        ::= { swL3IpCtrlTable 1 }
101
102    SwL3IpCtrlEntry ::=
103        SEQUENCE {
104            swL3IpCtrlInterfaceName
105                DisplayString,
106            swL3IpCtrlIpv6LinkLocalAddress
107            	Ipv6Address,
108            swL3IpCtrlIpv6LinkLocalPrefixLen
109                INTEGER,
110            swL3IpCtrlIpv6LinkLocalAutoState
111            	INTEGER,
112            swL3IpCtrlIpDhcpOption12State
113            	INTEGER,
114            swL3IpCtrlIpDhcpOption12HostName
115            	DisplayString
116        }
117
118    swL3IpCtrlInterfaceName OBJECT-TYPE
119        SYNTAX  DisplayString (SIZE (1..12))
120        MAX-ACCESS  read-only
121        STATUS  current
122        DESCRIPTION
123            "This object indicates the name of the IP interface."
124        ::= { swL3IpCtrlEntry 1 }
125
126    swL3IpCtrlIpv6LinkLocalAddress  OBJECT-TYPE
127        SYNTAX  Ipv6Address
128        MAX-ACCESS  read-only
129        STATUS  current
130        DESCRIPTION
131            "The IPv6 link local address for this interface."
132        ::= { swL3IpCtrlEntry 14 }
133
134    swL3IpCtrlIpv6LinkLocalPrefixLen  OBJECT-TYPE
135        SYNTAX  INTEGER
136        MAX-ACCESS  read-only
137        STATUS  current
138        DESCRIPTION
139            "The IPv6 prefix length for this IPv6 link local address."
140        ::= { swL3IpCtrlEntry 15 }
141
142    swL3IpCtrlIpv6LinkLocalAutoState OBJECT-TYPE
143        SYNTAX  INTEGER {
144               other(1),
145               enabled(2),
146               disabled(3)
147                }
148        MAX-ACCESS  read-write
149        STATUS  current
150        DESCRIPTION
151            "The state of the IPv6 link local auto."
152        ::= { swL3IpCtrlEntry 17 }
153
154    swL3IpCtrlIpDhcpOption12State OBJECT-TYPE
155        SYNTAX  INTEGER {
156                    enabled(1),
157                    disabled(2)
158                }
159        MAX-ACCESS  read-write
160        STATUS  current
161        DESCRIPTION
162            "Enable or disable insertion of option 12 in the DHCPDISCOVER and
163             DHCPREQUEST message."
164        ::= { swL3IpCtrlEntry 22 }
165
166    swL3IpCtrlIpDhcpOption12HostName OBJECT-TYPE
167        SYNTAX  DisplayString (SIZE (0..63))
168        MAX-ACCESS  read-write
169        STATUS  current
170        DESCRIPTION
171            "Specify the host name to be inserted in the DHCPDISCOVER and
172             DHCPREQUEST message. The specified host name must start with a
173             letter, end with a letter or digit, and have only letters, digits,
174             and hyphen as interior characters; the maximal length is 63. By
175             default, the host name is empty.
176             When set an empty host name, means to clear the host name setting and
177             use the default value to encode option 12."
178        ::= { swL3IpCtrlEntry 23 }
179
180    swL3Ipv6CtrlTable OBJECT-TYPE
181        SYNTAX  SEQUENCE OF SwL3Ipv6CtrlEntry
182        MAX-ACCESS  not-accessible
183        STATUS  current
184        DESCRIPTION
185            "This table contains IPv6 information of an IP interface."
186        ::= { swL3IpCtrlMgmt 4 }
187
188    swL3Ipv6CtrlEntry OBJECT-TYPE
189        SYNTAX  SwL3Ipv6CtrlEntry
190        MAX-ACCESS  not-accessible
191        STATUS  current
192        DESCRIPTION
193            "A list of IPv6 information about a specific IP interface."
194        INDEX  { swL3Ipv6CtrlInterfaceName }
195        ::= { swL3Ipv6CtrlTable 1 }
196
197    SwL3Ipv6CtrlEntry ::=
198        SEQUENCE {
199            swL3Ipv6CtrlInterfaceName
200                DisplayString,
201            swL3Ipv6CtrlMaxReassmblySize
202                INTEGER,
203            swL3Ipv6CtrlNsRetransTimer
204                Unsigned32
205--            swL3Ipv6CtrlRsState
206--                INTEGER,
207--            swL3Ipv6CtrlRaState
208--                INTEGER,
209--            swL3Ipv6CtrlRaMinRtrAdvInterval
210--            	INTEGER,
211--            swL3Ipv6CtrlRaMaxRtrAdvInterval
212--            	INTEGER,
213--            swL3Ipv6CtrlRaLifeTime
214--                INTEGER,
215--            swL3Ipv6CtrlRaReachableTime
216--                INTEGER,
217--            swL3Ipv6CtrlRaRetransTime
218--                Unsigned32,
219--            swL3Ipv6CtrlRaHopLimit
220--            	INTEGER,
221--            swL3Ipv6CtrlRaManagedFlag
222--            	INTEGER,
223--            swL3Ipv6CtrlRaOtherConfigFlag
224--            	INTEGER
225        }
226
227    swL3Ipv6CtrlInterfaceName OBJECT-TYPE
228        SYNTAX  DisplayString (SIZE (1..12))
229        MAX-ACCESS  read-only
230        STATUS  current
231        DESCRIPTION
232            "This object indicates the name of the IP interface."
233        ::= { swL3Ipv6CtrlEntry 1 }
234
235    swL3Ipv6CtrlMaxReassmblySize  OBJECT-TYPE
236        SYNTAX  INTEGER
237        MAX-ACCESS  read-only
238        STATUS  current
239        DESCRIPTION
240            "Maximum Reassembly Size of the IP interface."
241        ::= { swL3Ipv6CtrlEntry 2 }
242
243    swL3Ipv6CtrlNsRetransTimer  OBJECT-TYPE
244        SYNTAX  Unsigned32 (0..4294967295)
245        MAX-ACCESS  read-write
246        STATUS  current
247        DESCRIPTION
248            "Neighbor solicitation's retransmit timer.
249             The unit is set in milliseconds."
250        ::= { swL3Ipv6CtrlEntry 3 }
251
252--    swL3Ipv6CtrlRsState OBJECT-TYPE
253--        SYNTAX  INTEGER {
254--               enabled(1),
255--               disabled(2)
256--               }
257--        MAX-ACCESS  read-write
258--        STATUS  current
259--        DESCRIPTION
260--            "Router solicited state."
261--        ::= { swL3Ipv6CtrlEntry 4 }
262--
263--    swL3Ipv6CtrlRaState OBJECT-TYPE
264--        SYNTAX  INTEGER {
265--               enabled(1),
266--               disabled(2)
267--               }
268--        MAX-ACCESS  read-write
269--        STATUS  current
270--        DESCRIPTION
271--            "Neighbor solicited state."
272--        ::= { swL3Ipv6CtrlEntry 5 }
273--
274--    swL3Ipv6CtrlRaMinRtrAdvInterval  OBJECT-TYPE
275--        SYNTAX  INTEGER (3..1350)
276--        MAX-ACCESS  read-write
277--        STATUS  current
278--        DESCRIPTION
279--            "The minimum time allowed between sending unsolicited multicast Router
280--             Advertisements from the interface. The unit is set in seconds.
281--             It must be no less than 3 seconds and no greater than .75 * MaxRtrAdvInterval.
282--             Default value: 0.33 * MaxRtrAdvInterval"
283--        ::= { swL3Ipv6CtrlEntry 6 }
284--
285--    swL3Ipv6CtrlRaMaxRtrAdvInterval  OBJECT-TYPE
286--        SYNTAX  INTEGER (4..1800)
287--        MAX-ACCESS  read-write
288--        STATUS  current
289--        DESCRIPTION
290--            "The maximum time allowed between sending unsolicited multicast Router
291--            Advertisements from the interface. The unit is set in seconds."
292--        DEFVAL {600}
293--        ::= { swL3Ipv6CtrlEntry 7 }
294--
295--    swL3Ipv6CtrlRaLifeTime  OBJECT-TYPE
296--        SYNTAX  INTEGER (0..9000)
297--        MAX-ACCESS  read-write
298--        STATUS  current
299--        DESCRIPTION
300--            "Indicates the lifetime of the router as the default router."
301--        ::= { swL3Ipv6CtrlEntry 8 }
302--
303--    swL3Ipv6CtrlRaReachableTime  OBJECT-TYPE
304--        SYNTAX  INTEGER (0..3600000)
305--        MAX-ACCESS  read-write
306--        STATUS  current
307--        DESCRIPTION
308--            "Indicates the amount of time that a node can consider a neighboring
309--             node reachable after receiving a reachability confirmation."
310--        ::= { swL3Ipv6CtrlEntry 9 }
311--
312--    swL3Ipv6CtrlRaRetransTime  OBJECT-TYPE
313--        SYNTAX  Unsigned32 (0..4294967295)
314--        MAX-ACCESS  read-write
315--        STATUS  current
316--        DESCRIPTION
317--            "Indicates the amount of time between retransmissions of neighbor
318--             solicited messages.
319--             The unit is set in millisecond."
320--        ::= { swL3Ipv6CtrlEntry 10 }
321--
322--    swL3Ipv6CtrlRaHopLimit  OBJECT-TYPE
323--        SYNTAX  INTEGER (0..255)
324--        MAX-ACCESS  read-write
325--        STATUS  current
326--        DESCRIPTION
327--            "Indicates the default value of the hop limit field in the IPv6 header for
328--             packets sent by hosts that receive this RA message."
329--        ::= { swL3Ipv6CtrlEntry 11 }
330--
331--    swL3Ipv6CtrlRaManagedFlag OBJECT-TYPE
332--        SYNTAX  INTEGER {
333--               enabled(1),
334--               disabled(2)
335--               }
336--        MAX-ACCESS  read-write
337--        STATUS  current
338--        DESCRIPTION
339--            "When enabled, it indicates that hosts receiving this RA must use a
340--             stateful address configuration protocol to obtain an address in the addition
341--             to the addresses derived from the stateless address configuration."
342--        ::= { swL3Ipv6CtrlEntry 12 }
343--
344--    swL3Ipv6CtrlRaOtherConfigFlag OBJECT-TYPE
345--        SYNTAX  INTEGER {
346--               enabled(1),
347--               disabled(2)
348--               }
349--        MAX-ACCESS  read-write
350--        STATUS  current
351--        DESCRIPTION
352--            "When enabled, it indicates that hosts receiving this RA must use a stateful
353--             address configuration protocol to obtain an on-link address configuration information."
354--        ::= { swL3Ipv6CtrlEntry 13 }
355
356    swL3Ipv6AddressCtrlTable OBJECT-TYPE
357        SYNTAX  SEQUENCE OF SwL3Ipv6AddressCtrlEntry
358        MAX-ACCESS  not-accessible
359        STATUS  current
360        DESCRIPTION
361            "This table contains IPv6 address information for each IP interface."
362        ::= { swL3IpCtrlMgmt 5 }
363
364    swL3Ipv6AddressCtrlEntry OBJECT-TYPE
365        SYNTAX  SwL3Ipv6AddressCtrlEntry
366        MAX-ACCESS  not-accessible
367        STATUS  current
368        DESCRIPTION
369            "A list of information about a specific IPv6 address."
370        INDEX  { swL3Ipv6AddressCtrlInterfaceName, swL3Ipv6Address, swL3Ipv6AddressCtrlPrefixLen }
371        ::= { swL3Ipv6AddressCtrlTable 1 }
372
373    SwL3Ipv6AddressCtrlEntry ::=
374        SEQUENCE {
375            swL3Ipv6AddressCtrlInterfaceName
376            	DisplayString,
377            swL3Ipv6Address
378                Ipv6Address,
379            swL3Ipv6AddressCtrlPrefixLen
380                INTEGER,
381--            swL3Ipv6AddressCtrlPreferredLifeTime
382--                Unsigned32,
383--            swL3Ipv6AddressCtrlValidLifeTime
384--                Unsigned32,
385--            swL3Ipv6AddressCtrlOnLinkFlag
386--                INTEGER,
387--            swL3Ipv6AddressCtrlAutonomousFlag
388--                INTEGER,
389            swL3Ipv6AddressCtrlState
390                RowStatus
391            }
392
393    swL3Ipv6AddressCtrlInterfaceName OBJECT-TYPE
394        SYNTAX  DisplayString (SIZE (1..12))
395        MAX-ACCESS  read-only
396        STATUS  current
397        DESCRIPTION
398            "This object indicates the name of the IP interface. "
399        ::= { swL3Ipv6AddressCtrlEntry 1 }
400
401    swL3Ipv6Address OBJECT-TYPE
402        SYNTAX   Ipv6Address
403        MAX-ACCESS read-only
404        STATUS   current
405        DESCRIPTION
406           "Specify the IPv6 address."
407        ::= { swL3Ipv6AddressCtrlEntry 2 }
408
409    swL3Ipv6AddressCtrlPrefixLen OBJECT-TYPE
410        SYNTAX  INTEGER
411        MAX-ACCESS  read-only
412        STATUS  current
413        DESCRIPTION
414            "Indicates the prefix length of this IPv6 address."
415        ::= { swL3Ipv6AddressCtrlEntry 3 }
416
417--    swL3Ipv6AddressCtrlPreferredLifeTime  OBJECT-TYPE
418--        SYNTAX  Unsigned32 (0..4294967294)
419--        MAX-ACCESS  read-write
420--        STATUS  current
421--        DESCRIPTION
422--            "Indicates the number of seconds that an address, based on the specified prefix,
423--             using the stateless address configuration, remains in preferred state.
424--             For an infinite valid lifetime, the value can be set to 0xffffffff."
425--        ::= { swL3Ipv6AddressCtrlEntry 4 }
426--
427--    swL3Ipv6AddressCtrlValidLifeTime  OBJECT-TYPE
428--        SYNTAX  Unsigned32 (0..4294967294)
429--        MAX-ACCESS  read-write
430--        STATUS  current
431--        DESCRIPTION
432--            "Indicates the number of seconds that an address, based on the specified prefix,
433--             using the stateless address configuration, remains valid.
434--             For an infinite valid lifetime, the value can be set to 0xffffffff."
435--        ::= { swL3Ipv6AddressCtrlEntry 5 }
436--
437--    swL3Ipv6AddressCtrlOnLinkFlag OBJECT-TYPE
438--        SYNTAX  INTEGER {
439--               enabled(1),
440--               disabled(2)
441--               }
442--        MAX-ACCESS  read-write
443--        STATUS  current
444--        DESCRIPTION
445--            "When enabled, the address implied by the specified prefix is available
446--             on the link where the RA message is received."
447--        ::= { swL3Ipv6AddressCtrlEntry 6 }
448--
449--    swL3Ipv6AddressCtrlAutonomousFlag OBJECT-TYPE
450--        SYNTAX  INTEGER {
451--               enabled(1),
452--               disabled(2)
453--               }
454--        MAX-ACCESS  read-write
455--        STATUS  current
456--        DESCRIPTION
457--            "When enabled, the specified prefix will be used to create an autonomous address configuration."
458--        ::= { swL3Ipv6AddressCtrlEntry 7 }
459
460    swL3Ipv6AddressCtrlState OBJECT-TYPE
461        SYNTAX  RowStatus
462        MAX-ACCESS  read-create
463        STATUS  current
464        DESCRIPTION
465            "This variable displays the status of the entry. The status is used
466            for creating, modifying, and deleting instances of the objects
467            in this table."
468        ::= { swL3Ipv6AddressCtrlEntry 8 }
469
470     swL3IpCtrlAllIpIfState OBJECT-TYPE
471    	SYNTAX  INTEGER {
472    	   other(1),
473           enabled(2),
474           disabled(3)
475           }
476    	MAX-ACCESS  read-write
477    	STATUS  current
478    	DESCRIPTION
479        	"This object indicates all interface function state of the device."
480    	::= { swL3IpCtrlMgmt 7 }
481
482END
483