1-- -----------------------------------------------------------------------------
2-- MIB NAME : DES3528-SWL3MGMT-MIB
3-- FILE NAME: L2mgmtDES3528.mib
4-- DATE     : 2010/03/05
5-- VERSION  : 2.10
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 3.11, 2012/03/31, Jerry Qin
18-- Description:
19-- [New Object]
20-- Add swL3IpCtrlIpDhcpOption12State and swL3IpCtrlIpDhcpOption12HostName to
21-- support DHCP option 12 host name function.
22--
23-- Version 3.10, 2012/02/03, Eric Liu
24-- Description:
25-- [Modification]
26-- change "	des3528     	          	 		FROM SW3500PRIMGMT-MIB;"
27-- to    "	des3528     	          	 		FROM SWDES3528-52PRIMGMT-MIB;"
28-- Notes: Requested by Eric Liu for DES3528
29-- ------------------------------------------------------------------------------
30-- Version 2.10, 2010/03/05, Jerry
31-- Description:
32-- [New Object]
33-- 1.Add swL3LocalRouteMgmt to support local route function.
34-- Request by Jerry for DES-3500.
35-- -----------------------------------------------------------------------------
36-- Version 1.01, 2010/3/22, Lina Liu
37-- Description:
38--  [New Object]
39-- 1. add swL3IpCtrlIpv4AdminState and swL3IpCtrlIpv6AdminState in SwL3IpCtrlEntry
40-- 2. add swL3Ipv6AddressCtrlAddressType in SwL3Ipv6AddressCtrlEntry
41--  [Modification]
42-- Notes: Requested by Lina Liu for DES3528R2.60
43--
44-- -----------------------------------------------------------------------------
45DES3528-SWL3MGMT-MIB DEFINITIONS ::= BEGIN
46
47    IMPORTS
48        Counter32,MODULE-IDENTITY,OBJECT-TYPE,IpAddress,
49        NOTIFICATION-TYPE, Integer32,Unsigned32
50                                                  FROM SNMPv2-SMI
51        PhysAddress,TruthValue,DisplayString,RowStatus,MacAddress,TimeStamp
52        							              FROM SNMPv2-TC
53        des3528    	           			      FROM SWDES3528-52PRIMGMT-MIB
54        TOSType, Metric, AreaID, RouterID,UpToMaxAge,
55        HelloRange, PositiveInteger, Status, DesignatedRouterPriority
56        										  FROM OSPF-MIB
57        InterfaceIndex                   		  FROM IF-MIB;
58
59    swL3MgmtMIB MODULE-IDENTITY
60	    LAST-UPDATED "1203310000Z"
61	    ORGANIZATION " "
62	    CONTACT-INFO
63	        "http://support.dlink.com"
64	    DESCRIPTION
65		    "The Structure of Layer 3 Network Management Information for the
66		    proprietary enterprise."
67        ::= { des3528 3 }
68
69    NodeAddress             ::= OCTET STRING (SIZE(6))
70    NetAddress              ::= OCTET STRING (SIZE(4))
71
72    swL3DevMgmt             OBJECT IDENTIFIER ::= { swL3MgmtMIB 1 }
73    swL3IpMgmt              OBJECT IDENTIFIER ::= { swL3MgmtMIB 2 }
74    swL3RelayMgmt           OBJECT IDENTIFIER ::= { swL3MgmtMIB 3 }
75    swL3OspfLsdbMgmt        OBJECT IDENTIFIER ::= { swL3MgmtMIB 13 }
76    swL3VrrpOperMgmt        OBJECT IDENTIFIER ::= { swL3MgmtMIB 14 }
77    swL3LocalRouteMgmt      OBJECT IDENTIFIER ::= { swL3MgmtMIB 16 }
78
79    swL3IpCtrlMgmt          OBJECT IDENTIFIER ::= { swL3IpMgmt 1 }
80    swL3IpFdbMgmt           OBJECT IDENTIFIER ::= { swL3IpMgmt 2 }
81--    swL3IpFilterMgmt        OBJECT IDENTIFIER ::= { swL3IpMgmt 3 }
82    swL3IpMcastMgmt         OBJECT IDENTIFIER ::= { swL3IpMgmt 6 }
83
84    swL3RelayDhcpMgmt      OBJECT IDENTIFIER ::= { swL3RelayMgmt 1 }
85    swL3RelayDnsMgmt        OBJECT IDENTIFIER ::= { swL3RelayMgmt 2 }
86    swL3DHCPv6RelayMgmt    OBJECT IDENTIFIER ::= { swL3RelayMgmt 3 }
87    swL3OspfECMPMgmt      OBJECT IDENTIFIER ::= { swL3MgmtMIB 15 }
88
89-- ****************************************************************************
90-- Textual Conventions
91-- ****************************************************************************
92-- This definition may be excluded if IPv6 Supported
93Ipv6Address ::= TEXTUAL-CONVENTION
94	DISPLAY-HINT "2x:"
95	STATUS       current
96	DESCRIPTION
97		"This data type is used to model IPv6 addresses.
98		This is a binary string of 16 octets in network
99		byte-order."
100	SYNTAX       OCTET STRING (SIZE (16))
101
102 VrId ::= TEXTUAL-CONVENTION
103     STATUS       current
104     DESCRIPTION
105         "A number which, along with an interface index (ifIndex),
106         serves to uniquely identify a virtual router on a given VRRP
107         router. A set of one or more associated addresses is assigned
108         to a VRID."
109     SYNTAX      Integer32 (1..255)
110
111-- ********************************************************************
112--  swL3DevMgmt             OBJECT IDENTIFIER ::= { swL3MgmtMIB 1 }
113-- ********************************************************************
114
115    swL3DevCtrl             OBJECT IDENTIFIER ::= { swL3DevMgmt 1 }
116
117    swL3DevCtrlRIPState OBJECT-TYPE
118        SYNTAX  INTEGER {
119               other(1),
120               disabled(2),
121               enabled(3)
122               }
123        MAX-ACCESS  read-write
124        STATUS  current
125        DESCRIPTION
126            "This object indicates Routing Information Protocol (RIP)
127            version 2 function is enabled or disabled."
128        ::= { swL3DevCtrl 1 }
129
130    swL3DevCtrlOSPFState OBJECT-TYPE
131        SYNTAX  INTEGER {
132               other(1),
133               disabled(2),
134               enabled(3)
135               }
136        MAX-ACCESS  read-write
137        STATUS  current
138        DESCRIPTION
139            "This object indicates OSPF protocol is enabled or disabled."
140        ::= { swL3DevCtrl 2 }
141
142    swL3DevCtrlDVMRPState OBJECT-TYPE
143        SYNTAX  INTEGER {
144               other(1),
145               disabled(2),
146               enabled(3)
147               }
148        MAX-ACCESS  read-write
149        STATUS  current
150        DESCRIPTION
151            "This object indicates DVMRP protocol is enabled or disabled."
152        ::= { swL3DevCtrl 3 }
153
154     swL3DevCtrlVRRPState OBJECT-TYPE
155        SYNTAX  INTEGER {
156               other(1),
157               disabled(2),
158               enabled(3)
159               }
160        MAX-ACCESS  read-write
161        STATUS  current
162        DESCRIPTION
163            "This object indicates VRRP protocol is enabled or disabled."
164        ::= { swL3DevCtrl 5 }
165
166    swL3DevCtrlVrrpPingState OBJECT-TYPE
167        SYNTAX  INTEGER {
168               other(1),
169               disabled(2),
170               enabled(3)
171               }
172        MAX-ACCESS  read-write
173        STATUS  current
174        DESCRIPTION
175            "This object indicates VRRP protocol  Ping is enabled or disabled."
176        ::= { swL3DevCtrl 6 }
177
178     swL3DevCtrlDHCPAutoConfigState OBJECT-TYPE
179        SYNTAX  INTEGER {
180               other(1),
181               enabled(2),
182               disabled(3)
183               }
184        MAX-ACCESS  read-write
185        STATUS  current
186        DESCRIPTION
187            "This object indicates auto config is enabled or disabled."
188        ::= { swL3DevCtrl 7 }
189
190-- ********************************************************************
191--  swL3IpCtrlMgmt        OBJECT IDENTIFIER ::= { swL3IpMgmt 1 }
192-- ********************************************************************
193
194--    swL3IpCtrlIpv4State OBJECT-TYPE
195--        SYNTAX  INTEGER {
196--               enabled(1),
197--               disabled(2)
198--               }
199--        MAX-ACCESS  read-write
200--        STATUS  current
201--        DESCRIPTION
202--            "This object indicates the IPv4 function state of the device."
203--        ::= { swL3IpCtrlMgmt 1 }
204
205--    swL3IpCtrlIpv6State OBJECT-TYPE
206--        SYNTAX  INTEGER {
207--               enabled(1),
208--               disabled(2)
209--               }
210--        MAX-ACCESS  read-write
211--        STATUS  current
212--        DESCRIPTION
213--            "This object indicates the IPv6 function state of the device."
214--        ::= { swL3IpCtrlMgmt 2 }
215
216    swL3IpCtrlTable OBJECT-TYPE
217        SYNTAX  SEQUENCE OF SwL3IpCtrlEntry
218        MAX-ACCESS  not-accessible
219        STATUS  current
220        DESCRIPTION
221            "This table contains IP interface information."
222        ::= { swL3IpCtrlMgmt 3 }
223
224    swL3IpCtrlEntry OBJECT-TYPE
225        SYNTAX  SwL3IpCtrlEntry
226        MAX-ACCESS  not-accessible
227        STATUS  current
228        DESCRIPTION
229            "A list of information about a specific IP interface."
230        INDEX  { swL3IpCtrlInterfaceName }
231        ::= { swL3IpCtrlTable 1 }
232
233    SwL3IpCtrlEntry ::=
234        SEQUENCE {
235            swL3IpCtrlInterfaceName
236                DisplayString,
237            swL3IpCtrlIfIndex
238                INTEGER,
239	    swL3IpCtrlIpAddr
240                IpAddress,
241            swL3IpCtrlIpSubnetMask
242                IpAddress,
243            swL3IpCtrlVlanName
244                DisplayString,
245            swL3IpCtrlProxyArp
246               INTEGER,
247            swL3IpCtrlSecondary
248                TruthValue,
249            swL3IpCtrlMode
250                INTEGER,
251            swL3IpCtrlAdminState
252                 INTEGER,
253            swL3IpCtrlIpv4AdminState
254                INTEGER,
255--             swL3IpCtrlIpv4OperState
256--                INTEGER,
257            swL3IpCtrlIpv6AdminState
258                INTEGER,
259--             swL3IpCtrlIpv6OperState
260--                 INTEGER,
261            swL3IpCtrlIpv6LinkLocalAddress
262            	Ipv6Address,
263            swL3IpCtrlIpv6LinkLocalPrefixLen
264                INTEGER,
265            swL3IpCtrlState
266                RowStatus,
267            swL3IpCtrlIpv6LinkLocalAutoState
268            	INTEGER,
269              swL3IpCtrlProxyArpLocalState
270                INTEGER,
271              swL3IpCtrlIpMtu
272                INTEGER,
273             swL3IpCtrlDhcpv6ClientState
274            	INTEGER,
275            swL3IpCtrlIpDhcpOption12State
276            	INTEGER,
277            swL3IpCtrlIpDhcpOption12HostName
278            	DisplayString
279        }
280
281    swL3IpCtrlInterfaceName OBJECT-TYPE
282        SYNTAX  DisplayString (SIZE (1..12))
283        MAX-ACCESS  read-only
284        STATUS  current
285        DESCRIPTION
286            "This object indicates the name of the IP interface."
287        ::= { swL3IpCtrlEntry 1 }
288
289    swL3IpCtrlIfIndex OBJECT-TYPE
290        SYNTAX  INTEGER (0..65535)
291        MAX-ACCESS  read-only
292        STATUS  current
293        DESCRIPTION
294            "This object uniquely identifies the IP interface number in the
295            swL3IpCtrlTable."
296        ::= { swL3IpCtrlEntry 2 }
297
298    swL3IpCtrlIpAddr OBJECT-TYPE
299        SYNTAX  IpAddress
300        MAX-ACCESS  read-write
301        STATUS  current
302        DESCRIPTION
303            "The IP address of the interface. This object only can take the
304            value of the unicast IP address."
305        ::= { swL3IpCtrlEntry 3 }
306
307    swL3IpCtrlIpSubnetMask OBJECT-TYPE
308        SYNTAX  IpAddress
309        MAX-ACCESS  read-write
310        STATUS  current
311        DESCRIPTION
312            "The IP net mask for this interface."
313        ::= { swL3IpCtrlEntry 4 }
314
315    swL3IpCtrlVlanName OBJECT-TYPE
316        SYNTAX  DisplayString (SIZE (0..32))
317        MAX-ACCESS  read-write
318        STATUS  current
319        DESCRIPTION
320            "This object indicates the IP control entry's VLAN name. The
321            VLAN name in each entry must be unique in the IP Control Table."
322        ::= { swL3IpCtrlEntry 5 }
323
324    swL3IpCtrlProxyArp OBJECT-TYPE
325        SYNTAX  INTEGER {
326               enabled(1),
327               disabled(2)
328              }
329          MAX-ACCESS  read-write
330        STATUS  current
331        DESCRIPTION
332            "This object indicates enable/disable of the proxy ARP function for IPv4."
333        ::= { swL3IpCtrlEntry 6 }
334
335    swL3IpCtrlSecondary OBJECT-TYPE
336        SYNTAX  TruthValue
337        MAX-ACCESS  read-create
338        STATUS  current
339        DESCRIPTION
340            "When this is true(1), the IP address is the secondary IP.  When
341            false(2), the IP address is the primary IP."
342        ::= { swL3IpCtrlEntry 7 }
343
344    swL3IpCtrlMode OBJECT-TYPE
345        SYNTAX  INTEGER {
346                other(1),
347                bootp(3),
348                dhcp(4)
349                }
350        MAX-ACCESS  read-write
351        STATUS  current
352        DESCRIPTION
353            "This object indicates the IP operation mode.
354
355            other(1) - This entry is currently in use but the conditions under
356                which it will remain are determined by each of the following values.
357            bootp(3) -  The IP address will be set automatically from a BOOTP
358                server.
359            dhcp(4) - The IP address will be set automatically from a DHCP
360                server."
361        ::= { swL3IpCtrlEntry 8 }
362
363    swL3IpCtrlAdminState OBJECT-TYPE
364        SYNTAX  INTEGER {
365               enabled(1),
366               disabled(2)
367                }
368        MAX-ACCESS  read-write
369        STATUS  current
370        DESCRIPTION
371            "The state of the IP interface."
372        ::= { swL3IpCtrlEntry 9 }
373
374    swL3IpCtrlIpv4AdminState OBJECT-TYPE
375        SYNTAX  INTEGER {
376               enabled(1),
377               disabled(2)
378                }
379        MAX-ACCESS  read-write
380        STATUS  current
381        DESCRIPTION
382            "The IPv4 admin state of the IP interface. The default state is determined by project.
383             This state will only be effective when the swL3IpCtrlAdminState is enabled."
384        ::= { swL3IpCtrlEntry 10 }
385
386--    swL3IpCtrlIpv4OperState OBJECT-TYPE
387--        SYNTAX  INTEGER {
388--               other(1),
389--               disabled(2)
390--                }
391--        MAX-ACCESS  read-only
392--        STATUS  current
393--        DESCRIPTION
394--            "The current IPv4 operational state of the IP interface.
395--             If the swL3IpCtrlIpv4State is disabled, disabled(2) will be displayed.
396--             Otherwise, it will be set as other(1)."
397--        ::= { swL3IpCtrlEntry 11 }
398
399    swL3IpCtrlIpv6AdminState OBJECT-TYPE
400        SYNTAX  INTEGER {
401               enabled(1),
402               disabled(2)
403                }
404        MAX-ACCESS  read-write
405        STATUS  current
406        DESCRIPTION
407            "The IPv6 admin state of the IP interface. The default state is determined by project.
408             This state will only be effective when the swL3IpCtrlAdminState is enabled."
409        ::= { swL3IpCtrlEntry 12 }
410
411--    swL3IpCtrlIpv6OperState OBJECT-TYPE
412--        SYNTAX  INTEGER {
413--               other(1),
414--               disabled(2)
415--                }
416--        MAX-ACCESS  read-only
417--        STATUS  current
418--        DESCRIPTION
419--            "The current IPv6 operational state of the IP interface.
420--          If the swL3IpCtrlIpv6State is disabled, disabled(2) will be displayed.
421--          Otherwise, it will be set as other(1)."
422--     ::= { swL3IpCtrlEntry 13 }
423
424    swL3IpCtrlIpv6LinkLocalAddress  OBJECT-TYPE
425        SYNTAX  Ipv6Address
426        MAX-ACCESS  read-only
427        STATUS  current
428        DESCRIPTION
429            "The IPv6 link local address for this interface."
430        ::= { swL3IpCtrlEntry 14 }
431
432    swL3IpCtrlIpv6LinkLocalPrefixLen  OBJECT-TYPE
433        SYNTAX  INTEGER
434        MAX-ACCESS  read-only
435        STATUS  current
436        DESCRIPTION
437            "The IPv6 prefix length for this IPv6 link local address."
438        ::= { swL3IpCtrlEntry 15 }
439
440    swL3IpCtrlState OBJECT-TYPE
441        SYNTAX  RowStatus
442        MAX-ACCESS  read-create
443        STATUS  current
444        DESCRIPTION
445            "This variable displays the status of the entry. The status is used
446            for creating, modifying, and deleting instances of the objects
447            in this table."
448        ::= { swL3IpCtrlEntry 16 }
449
450    swL3IpCtrlIpv6LinkLocalAutoState OBJECT-TYPE
451        SYNTAX  INTEGER {
452               other(1),
453               enabled(2),
454               disabled(3)
455                }
456        MAX-ACCESS  read-write
457        STATUS  current
458        DESCRIPTION
459            "The state of the IPv6 link local auto."
460        ::= { swL3IpCtrlEntry 17 }
461
462     swL3IpCtrlProxyArpLocalState  OBJECT-TYPE
463        SYNTAX INTEGER {
464                 enabled(1),
465                 disabled(2)
466                 }
467        MAX-ACCESS  read-create
468        STATUS  current
469        DESCRIPTION
470             "If the state is enabled, the switch will be allowed to respond to the proxy ARP
471	     proxy ARP when the source IP and destination IP are on the same interface."
472        ::={swL3IpCtrlEntry 18}
473
474     swL3IpCtrlIpMtu  OBJECT-TYPE
475        SYNTAX INTEGER
476        UNITS  "bytes"
477        MAX-ACCESS read-create
478        STATUS  current
479        DESCRIPTION
480           "The MTU is the largest size of the IP datagram which may be transferred
481            using a specific data link connection. The MTU value is a design parameter
482            of a LAN and is a mutually agreed value (i.e. both ends of a link agree to
483            use the same specific value) for most WAN links.
484
485            The MTU range is based on the chip of the current device.
486            The suggested minimum value is 1500 bytes.
487            The suggested maximum value is the size of the jumbo frame minus 36.
488            The suggested default setting is 1500 bytes."
489        DEFVAL { 1500 }
490       ::={swL3IpCtrlEntry 19}
491
492     swL3IpCtrlDhcpv6ClientState OBJECT-TYPE
493        SYNTAX  INTEGER {
494               other(1),
495               enabled(2),
496               disabled(3)
497                }
498        MAX-ACCESS  read-write
499        STATUS  current
500        DESCRIPTION
501            "The state of the Dhcpv6 Client."
502        ::= { swL3IpCtrlEntry 20 }
503    swL3IpCtrlIpDhcpOption12State OBJECT-TYPE
504        SYNTAX  INTEGER {
505                    enabled(1),
506                    disabled(2)
507                }
508        MAX-ACCESS  read-write
509        STATUS  current
510        DESCRIPTION
511            "Enable or disable insertion of option 12 in the DHCPDISCOVER and
512             DHCPREQUEST message."
513        ::= { swL3IpCtrlEntry 22 }
514    swL3IpCtrlIpDhcpOption12HostName OBJECT-TYPE
515        SYNTAX  DisplayString (SIZE (0..63))
516        MAX-ACCESS  read-write
517        STATUS  current
518        DESCRIPTION
519            "Specify the host name to be inserted in the DHCPDISCOVER and
520             DHCPREQUEST message. The specified host name must start with a
521             letter, end with a letter or digit, and have only letters, digits,
522             and hyphen as interior characters; the maximal length is 63. By
523             default, the host name is empty.
524             When set an empty host name, means to clear the host name setting and
525             use the default value to encode option 12."
526        ::= { swL3IpCtrlEntry 23 }
527
528    swL3Ipv6CtrlTable OBJECT-TYPE
529        SYNTAX  SEQUENCE OF SwL3Ipv6CtrlEntry
530        MAX-ACCESS  not-accessible
531        STATUS  current
532        DESCRIPTION
533            "This table contains IPv6 information of an IP interface."
534        ::= { swL3IpCtrlMgmt 4 }
535
536    swL3Ipv6CtrlEntry OBJECT-TYPE
537        SYNTAX  SwL3Ipv6CtrlEntry
538        MAX-ACCESS  not-accessible
539        STATUS  current
540        DESCRIPTION
541            "A list of IPv6 information about a specific IP interface."
542        INDEX  { swL3Ipv6CtrlInterfaceName }
543        ::= { swL3Ipv6CtrlTable 1 }
544
545    SwL3Ipv6CtrlEntry ::=
546        SEQUENCE {
547            swL3Ipv6CtrlInterfaceName
548                DisplayString,
549            swL3Ipv6CtrlMaxReassmblySize
550                INTEGER,
551            swL3Ipv6CtrlNsRetransTimer
552                Unsigned32,
553--            swL3Ipv6CtrlRsState
554--                INTEGER,
555            swL3Ipv6CtrlRaState
556                INTEGER,
557            swL3Ipv6CtrlRaMinRtrAdvInterval
558            	INTEGER,
559            swL3Ipv6CtrlRaMaxRtrAdvInterval
560            	INTEGER,
561            swL3Ipv6CtrlRaLifeTime
562                INTEGER,
563            swL3Ipv6CtrlRaReachableTime
564                INTEGER,
565            swL3Ipv6CtrlRaRetransTime
566                Unsigned32,
567            swL3Ipv6CtrlRaHopLimit
568            	INTEGER,
569            swL3Ipv6CtrlRaManagedFlag
570            	INTEGER,
571            swL3Ipv6CtrlRaOtherConfigFlag
572            	INTEGER
573        }
574
575    swL3Ipv6CtrlInterfaceName OBJECT-TYPE
576        SYNTAX  DisplayString (SIZE (1..12))
577        MAX-ACCESS  read-only
578        STATUS  current
579        DESCRIPTION
580            "This object indicates the name of the IP interface."
581        ::= { swL3Ipv6CtrlEntry 1 }
582
583    swL3Ipv6CtrlMaxReassmblySize  OBJECT-TYPE
584        SYNTAX  INTEGER
585        MAX-ACCESS  read-only
586        STATUS  current
587        DESCRIPTION
588            "Maximum Reassembly Size of the IP interface."
589        ::= { swL3Ipv6CtrlEntry 2 }
590
591    swL3Ipv6CtrlNsRetransTimer  OBJECT-TYPE
592        SYNTAX  Unsigned32 (0..4294967295)
593        MAX-ACCESS  read-write
594        STATUS  current
595        DESCRIPTION
596            "Neighbor solicitation's retransmit timer.
597             The unit is set in milliseconds."
598        ::= { swL3Ipv6CtrlEntry 3 }
599
600--    swL3Ipv6CtrlRsState OBJECT-TYPE
601--        SYNTAX  INTEGER {
602--               enabled(1),
603--               disabled(2)
604--               }
605--        MAX-ACCESS  read-write
606--        STATUS  current
607--        DESCRIPTION
608--            "Router solicited state."
609--        ::= { swL3Ipv6CtrlEntry 4 }
610
611    swL3Ipv6CtrlRaState OBJECT-TYPE
612        SYNTAX  INTEGER {
613               enabled(1),
614               disabled(2)
615               }
616        MAX-ACCESS  read-write
617        STATUS  current
618        DESCRIPTION
619            "Neighbor solicited state."
620        ::= { swL3Ipv6CtrlEntry 5 }
621
622    swL3Ipv6CtrlRaMinRtrAdvInterval  OBJECT-TYPE
623        SYNTAX  INTEGER (3..1350)
624        MAX-ACCESS  read-write
625        STATUS  current
626        DESCRIPTION
627            "The minimum time allowed between sending unsolicited multicast Router
628             Advertisements from the interface. The unit is set in seconds.
629             It must be no less than 3 seconds and no greater than .75 * MaxRtrAdvInterval.
630             Default value: 0.33 * MaxRtrAdvInterval"
631        ::= { swL3Ipv6CtrlEntry 6 }
632
633    swL3Ipv6CtrlRaMaxRtrAdvInterval  OBJECT-TYPE
634        SYNTAX  INTEGER (4..1800)
635        MAX-ACCESS  read-write
636        STATUS  current
637        DESCRIPTION
638            "The maximum time allowed between sending unsolicited multicast Router
639            Advertisements from the interface. The unit is set in seconds."
640        DEFVAL {600}
641        ::= { swL3Ipv6CtrlEntry 7 }
642
643    swL3Ipv6CtrlRaLifeTime  OBJECT-TYPE
644        SYNTAX  INTEGER (0..9000)
645        MAX-ACCESS  read-write
646        STATUS  current
647        DESCRIPTION
648            "Indicates the lifetime of the router as the default router."
649        ::= { swL3Ipv6CtrlEntry 8 }
650
651    swL3Ipv6CtrlRaReachableTime  OBJECT-TYPE
652        SYNTAX  INTEGER (0..3600000)
653        MAX-ACCESS  read-write
654        STATUS  current
655        DESCRIPTION
656            "Indicates the amount of time that a node can consider a neighboring
657             node reachable after receiving a reachability confirmation."
658        ::= { swL3Ipv6CtrlEntry 9 }
659
660    swL3Ipv6CtrlRaRetransTime  OBJECT-TYPE
661        SYNTAX  Unsigned32 (0..4294967295)
662        MAX-ACCESS  read-write
663        STATUS  current
664        DESCRIPTION
665            "Indicates the amount of time between retransmissions of neighbor
666             solicited messages.
667             The unit is set in millisecond."
668        ::= { swL3Ipv6CtrlEntry 10 }
669
670    swL3Ipv6CtrlRaHopLimit  OBJECT-TYPE
671        SYNTAX  INTEGER (0..255)
672        MAX-ACCESS  read-write
673        STATUS  current
674        DESCRIPTION
675            "Indicates the default value of the hop limit field in the IPv6 header for
676             packets sent by hosts that receive this RA message."
677        ::= { swL3Ipv6CtrlEntry 11 }
678
679    swL3Ipv6CtrlRaManagedFlag OBJECT-TYPE
680        SYNTAX  INTEGER {
681               enabled(1),
682               disabled(2)
683               }
684        MAX-ACCESS  read-write
685        STATUS  current
686        DESCRIPTION
687            "When enabled, it indicates that hosts receiving this RA must use a
688             stateful address configuration protocol to obtain an address in the addition
689             to the addresses derived from the stateless address configuration."
690        ::= { swL3Ipv6CtrlEntry 12 }
691
692    swL3Ipv6CtrlRaOtherConfigFlag OBJECT-TYPE
693        SYNTAX  INTEGER {
694               enabled(1),
695               disabled(2)
696               }
697        MAX-ACCESS  read-write
698        STATUS  current
699        DESCRIPTION
700            "When enabled, it indicates that hosts receiving this RA must use a stateful
701             address configuration protocol to obtain an on-link address configuration information."
702        ::= { swL3Ipv6CtrlEntry 13 }
703
704    swL3Ipv6AddressCtrlTable OBJECT-TYPE
705        SYNTAX  SEQUENCE OF SwL3Ipv6AddressCtrlEntry
706        MAX-ACCESS  not-accessible
707        STATUS  current
708        DESCRIPTION
709            "This table contains IPv6 address information for each IP interface."
710        ::= { swL3IpCtrlMgmt 5 }
711
712    swL3Ipv6AddressCtrlEntry OBJECT-TYPE
713        SYNTAX  SwL3Ipv6AddressCtrlEntry
714        MAX-ACCESS  not-accessible
715        STATUS  current
716        DESCRIPTION
717            "A list of information about a specific IPv6 address."
718        INDEX  { swL3Ipv6AddressCtrlInterfaceName, swL3Ipv6Address, swL3Ipv6AddressCtrlPrefixLen }
719        ::= { swL3Ipv6AddressCtrlTable 1 }
720
721    SwL3Ipv6AddressCtrlEntry ::=
722        SEQUENCE {
723            swL3Ipv6AddressCtrlInterfaceName
724            	DisplayString,
725            swL3Ipv6Address
726                Ipv6Address,
727            swL3Ipv6AddressCtrlPrefixLen
728                INTEGER,
729	    swL3Ipv6AddressCtrlPreferredLifeTime
730                Unsigned32,
731            swL3Ipv6AddressCtrlValidLifeTime
732                Unsigned32,
733            swL3Ipv6AddressCtrlOnLinkFlag
734                INTEGER,
735            swL3Ipv6AddressCtrlAutonomousFlag
736                INTEGER,
737            swL3Ipv6AddressCtrlState
738                RowStatus,
739            swL3Ipv6AddressCtrlAddressType
740            	INTEGER
741            }
742
743    swL3Ipv6AddressCtrlInterfaceName OBJECT-TYPE
744        SYNTAX  DisplayString (SIZE (1..12))
745        MAX-ACCESS  read-only
746        STATUS  current
747        DESCRIPTION
748            "This object indicates the name of the IP interface. "
749        ::= { swL3Ipv6AddressCtrlEntry 1 }
750
751    swL3Ipv6Address OBJECT-TYPE
752        SYNTAX   Ipv6Address
753        MAX-ACCESS read-only
754        STATUS   current
755        DESCRIPTION
756           "Specify the IPv6 address."
757        ::= { swL3Ipv6AddressCtrlEntry 2 }
758
759    swL3Ipv6AddressCtrlPrefixLen OBJECT-TYPE
760        SYNTAX  INTEGER
761        MAX-ACCESS  read-only
762        STATUS  current
763        DESCRIPTION
764            "Indicates the prefix length of this IPv6 address."
765        ::= { swL3Ipv6AddressCtrlEntry 3 }
766
767    swL3Ipv6AddressCtrlPreferredLifeTime  OBJECT-TYPE
768        SYNTAX  Unsigned32 (0..4294967294)
769        MAX-ACCESS  read-write
770        STATUS  current
771        DESCRIPTION
772            "Indicates the number of seconds that an address, based on the specified prefix,
773             using the stateless address configuration, remains in preferred state.
774             For an infinite valid lifetime, the value can be set to 0xffffffff."
775        ::= { swL3Ipv6AddressCtrlEntry 4 }
776
777    swL3Ipv6AddressCtrlValidLifeTime  OBJECT-TYPE
778        SYNTAX  Unsigned32 (0..4294967294)
779        MAX-ACCESS  read-write
780        STATUS  current
781        DESCRIPTION
782            "Indicates the number of seconds that an address, based on the specified prefix,
783             using the stateless address configuration, remains valid.
784             For an infinite valid lifetime, the value can be set to 0xffffffff."
785        ::= { swL3Ipv6AddressCtrlEntry 5 }
786
787    swL3Ipv6AddressCtrlOnLinkFlag OBJECT-TYPE
788        SYNTAX  INTEGER {
789               enabled(1),
790               disabled(2)
791               }
792        MAX-ACCESS  read-write
793        STATUS  current
794        DESCRIPTION
795            "When enabled, the address implied by the specified prefix is available
796             on the link where the RA message is received."
797        ::= { swL3Ipv6AddressCtrlEntry 6 }
798
799    swL3Ipv6AddressCtrlAutonomousFlag OBJECT-TYPE
800        SYNTAX  INTEGER {
801               enabled(1),
802               disabled(2)
803               }
804        MAX-ACCESS  read-write
805        STATUS  current
806        DESCRIPTION
807            "When enabled, the specified prefix will be used to create an autonomous address configuration."
808        ::= { swL3Ipv6AddressCtrlEntry 7 }
809
810    swL3Ipv6AddressCtrlState OBJECT-TYPE
811        SYNTAX  RowStatus
812        MAX-ACCESS  read-create
813        STATUS  current
814        DESCRIPTION
815            "This variable displays the status of the entry. The status is used
816            for creating, modifying, and deleting instances of the objects
817            in this table."
818        ::= { swL3Ipv6AddressCtrlEntry 8 }
819      swL3Ipv6AddressCtrlAddressType OBJECT-TYPE
820        SYNTAX  INTEGER {
821			manual(1),
822			dhcpv6(2),
823			stateless(3)
824		}
825        MAX-ACCESS  read-only
826        STATUS  current
827        DESCRIPTION
828		"This object indicates the type of the IPv6 address.
829
830 		 manual(1): the IPv6 address is configured by user.
831		 dhcpv6(2): the IPv6 address is assigned by DHCPv6 server.
832		 stateless(3): the IPv6 address is assigned by router advertisement."
833        ::= { swL3Ipv6AddressCtrlEntry 9 }
834
835     swL3IpCtrlAllIpIfState OBJECT-TYPE
836    	SYNTAX  INTEGER {
837    	   other(1),
838           enabled(2),
839           disabled(3)
840           }
841    	MAX-ACCESS  read-write
842    	STATUS  current
843    	DESCRIPTION
844        	"This object indicates all interface function state of the device."
845    	::= { swL3IpCtrlMgmt 7 }
846
847-- ********************************************************************
848--  swL3IpFdbMgmt           OBJECT IDENTIFIER ::= { swL3IpMgmt 2 }
849-- ********************************************************************
850
851    swL3IpFdbInfoTable OBJECT-TYPE
852        SYNTAX  SEQUENCE OF SwL3IpFdbInfoEntry
853        MAX-ACCESS  not-accessible
854        STATUS  current
855        DESCRIPTION
856            "A table that contains forwarding and/or filtering information.
857            This information is used by the switch in determining how to
858            propagate the received IP packets."
859        ::= { swL3IpFdbMgmt 1 }
860
861    swL3IpFdbInfoEntry OBJECT-TYPE
862        SYNTAX  SwL3IpFdbInfoEntry
863        MAX-ACCESS  not-accessible
864        STATUS  current
865        DESCRIPTION
866            "Information about a specific IP address for which the bridge
867            has some forwarding and/or filtering information."
868        INDEX  { swL3IpFdbInfoIpAddr }
869        ::= { swL3IpFdbInfoTable 1 }
870
871    SwL3IpFdbInfoEntry ::=
872        SEQUENCE {
873--            swL3IpFdbInfoRdIndex
874--                INTEGER,
875            swL3IpFdbInfoIpAddr
876                IpAddress,
877            swL3IpFdbInfoIpSubnetMask
878                IpAddress,
879            swL3IpFdbInfoPort
880                INTEGER,
881            swL3IpFdbInfoType
882                INTEGER
883        }
884
885--    swL3IpFdbInfoRdIndex OBJECT-TYPE
886--        SYNTAX  INTEGER(0..65535)
887--        MAX-ACCESS  read-only
888--        STATUS  current
889--        DESCRIPTION
890--            "The object indicates the IP routing domain index, and should
891--            be associated with one of swL3IpDomainStatsIndex."
892--        ::= { swL3IpFdbInfoEntry 1 }
893
894    swL3IpFdbInfoIpAddr OBJECT-TYPE
895        SYNTAX  IpAddress
896        MAX-ACCESS  read-only
897        STATUS  current
898        DESCRIPTION
899            "A IP address for which switch has forwarding and/or filtering
900            information."
901        ::= { swL3IpFdbInfoEntry 1 }
902
903    swL3IpFdbInfoIpSubnetMask OBJECT-TYPE
904        SYNTAX  IpAddress
905        MAX-ACCESS  read-only
906        STATUS  current
907        DESCRIPTION
908            "A IP net mask for this interface for which the switch has
909            forwarding and/or filtering information."
910        ::= { swL3IpFdbInfoEntry 2 }
911
912    swL3IpFdbInfoPort OBJECT-TYPE
913        SYNTAX  INTEGER(0..65535)
914        MAX-ACCESS  read-only
915        STATUS  current
916        DESCRIPTION
917            "Either the value '0', or the port number of the port on which
918            packet having a IP address equal to the value of the
919            corresponding instance of swL3IpFdbInfoIpAddr has been seen. A
920            value of '0' indicates that the port number has not been learned
921            but that switch does have some forwarding/filtering information
922            about this address."
923        ::= { swL3IpFdbInfoEntry 3 }
924
925    swL3IpFdbInfoType OBJECT-TYPE
926        SYNTAX  INTEGER {
927                other(1),
928                static(2),
929                dynamic(3)
930                }
931        MAX-ACCESS  read-only
932        STATUS  current
933        DESCRIPTION
934            "The status of this entry."
935        ::= { swL3IpFdbInfoEntry 4 }
936
937-- ********************************************************************
938--  swL3IpFilterMgmt        OBJECT IDENTIFIER ::= { swL3IpMgmt 3 }
939-- ********************************************************************
940
941--    swL3IpFilterAddrConfig  OBJECT IDENTIFIER ::= { swL3IpFilterMgmt 1 }
942
943--    swL3IpFilterAddrMaxSupportedEntries OBJECT-TYPE
944--        SYNTAX  INTEGER(0..65535)
945--        MAX-ACCESS  read-only
946--        STATUS  current
947--        DESCRIPTION
948--            "Maximum number of entries in the IP address filtering table
949--            (swL3IpFilterAddrCtrlTable) ."
950--        ::= { swL3IpFilterAddrConfig 1 }
951
952--    swL3IpFilterAddrCurrentTotalEntries OBJECT-TYPE
953--        SYNTAX  INTEGER(0..65535)
954--        MAX-ACCESS  read-only
955--        STATUS  current
956--        DESCRIPTION
957--            "Current applied number of entries in the IP address filtering
958--            table. If the swL3IpFilterAddrCtrlState = dst-src-addr, then it
959--            means there are two entries in swL3IpFilterAddrCtrlTable."
960--        ::= { swL3IpFilterAddrConfig 2 }
961
962--    swL3IpFilterAddrCtrlTable OBJECT-TYPE
963--        SYNTAX  SEQUENCE OF SwL3IpFilterAddrCtrlEntry
964--        MAX-ACCESS  not-accessible
965--        STATUS  current
966--        DESCRIPTION
967--            "This table defines information for the device to filter packets
968--            with specific IP address (either as the DA and/or as the SA).
969--            The IP address can be an unicast address or multicast address.
970--            This table has higher priority than both static FDB table and
971--            IGMP table. It means that if an IP address appears on this table
972--            it also appears on the static FDB table, the device will use the
973--            information provided by this table to process the packet."
974--        ::= { swL3IpFilterAddrConfig 3 }
975
976--    swL3IpFilterAddrCtrlEntry OBJECT-TYPE
977--        SYNTAX  SwL3IpFilterAddrCtrlEntry
978--        MAX-ACCESS  not-accessible
979--        STATUS  current
980--        DESCRIPTION
981--            "A list of information about a specific unicast/multicast IP
982--            address for which the switch has filtering information."
983--        INDEX  { swL3IpFilterAddrIpAddr }
984--        ::= { swL3IpFilterAddrCtrlTable 1 }
985
986--    SwL3IpFilterAddrCtrlEntry ::=
987--        SEQUENCE {
988--            swL3IpFilterAddrIpAddr
989--                IpAddress,
990--            swL3IpFilterAddrIpSktGE
991--                INTEGER,
992--            swL3IpFilterAddrIpSktLE
993--                INTEGER,
994--            swL3IpFilterAddrCtrlState
995--                INTEGER
996--        }
997
998--    swL3IpFilterAddrIpAddr OBJECT-TYPE
999--        SYNTAX  IpAddress
1000--        MAX-ACCESS  read-only
1001--        STATUS  current
1002--        DESCRIPTION
1003--            "This object indicates a unicast/multicast IP address for which
1004--            the switch has filtering information. But if the
1005--            swL3IpFilterAddrCtrlState = src-addr, then the object can not be
1006--            a multicast IP address (Class D IP address)."
1007--        ::= { swL3IpFilterAddrCtrlEntry 1 }
1008
1009--    swL3IpFilterAddrIpSktGE OBJECT-TYPE
1010--        SYNTAX  INTEGER
1011--        MAX-ACCESS  read-write
1012--        STATUS  current
1013--        DESCRIPTION
1014--            "This object indicates a socket number which the used socket
1015--            number should be greater than or equal to"
1016--        ::= { swL3IpFilterAddrCtrlEntry 2 }
1017
1018--    swL3IpFilterAddrIpSktLE OBJECT-TYPE
1019--        SYNTAX  INTEGER
1020--        MAX-ACCESS  read-write
1021--        STATUS  current
1022--        DESCRIPTION
1023--            "This object indicates a socket number which the used socket
1024--            number should be less than or equal to"
1025--        ::= { swL3IpFilterAddrCtrlEntry 3 }
1026
1027--    swL3IpFilterAddrCtrlState OBJECT-TYPE
1028--        SYNTAX  INTEGER {
1029--               other(1),
1030--               dst-addr(2),
1031--               src-addr(3),
1032--               dst-src-addr(4),
1033--               invalid(5)
1034--               }
1035--        MAX-ACCESS  read-write
1036--        STATUS  current
1037--        DESCRIPTION
1038--            "This object indicates the status of this entry.
1039
1040--            other(1) - this entry is currently in use but the conditions
1041--                under which it will remain so are different from each of the
1042--                following values.
1043--            dst-addr(2) - recieved frames's destination address are
1044--                currently used to be filtered as it meets with the IP
1045--                address entry of the table.
1046--            src-addr(3) - recieved frames's source address are currently
1047--                used to be filtered as it meets with the IP address entry of
1048--                the table.
1049--            dst-src-addr(4) - recieved frames's destination address or
1050--                source address are currently used to be filtered as it meets
1051--                with the IP address entry of the table.
1052--            invalid(5) - writing this value to the object, and then the
1053--                corresponding entry will be removed from the table."
1054--        ::= { swL3IpFilterAddrCtrlEntry 2 }
1055
1056-- ********************************************************************
1057--  swL3IpArpAgingTime        OBJECT IDENTIFIER ::= { swL3IpMgmt 4 }
1058-- ********************************************************************
1059
1060    swL3IpArpAgingTime OBJECT-TYPE
1061        SYNTAX  INTEGER (0..65535)
1062        MAX-ACCESS  read-write
1063        STATUS  current
1064        DESCRIPTION
1065            "The timeout period in minutes for aging out dynamically learned
1066            ARP information."
1067        ::= { swL3IpMgmt 4 }
1068
1069
1070     swL3IpStaticRouteTable OBJECT-TYPE
1071        SYNTAX   SEQUENCE OF SwL3IpStaticRouteEntry
1072        MAX-ACCESS not-accessible
1073        STATUS   current
1074        DESCRIPTION
1075        "This entity's IP static Routing table."
1076        ::= { swL3IpMgmt 5 }
1077
1078    swL3IpStaticRouteEntry OBJECT-TYPE
1079        SYNTAX   SwL3IpStaticRouteEntry
1080        MAX-ACCESS not-accessible
1081        STATUS   current
1082        DESCRIPTION
1083           "A particular route to  a  particular  destination, under a particular policy.
1084           Once an entry is built,it shouldn't be modified.That is,it just supports
1085           create and delete actions."
1086        INDEX {
1087            swL3IpStaticRouteDest,
1088            swL3IpStaticRouteMask,
1089            swL3IpStaticRouteNextHop
1090            }
1091        ::= { swL3IpStaticRouteTable 1 }
1092
1093    SwL3IpStaticRouteEntry ::=
1094        SEQUENCE {
1095            swL3IpStaticRouteDest
1096                IpAddress,
1097            swL3IpStaticRouteMask
1098                IpAddress,
1099            swL3IpStaticRouteBkupState
1100            	INTEGER,
1101            swL3IpStaticRouteNextHop
1102                IpAddress,
1103            swL3IpStaticRouteMetric
1104                INTEGER,
1105            swL3IpStaticRouteStatus
1106                INTEGER,
1107            swL3IpStaticRouteWeight
1108                INTEGER,
1109             swL3IpStaticRouteInterfaceName
1110                DisplayString,
1111            swL3IpStaticRouteCost
1112                INTEGER
1113        }
1114
1115    swL3IpStaticRouteDest OBJECT-TYPE
1116        SYNTAX   IpAddress
1117        MAX-ACCESS read-only
1118        STATUS   current
1119        DESCRIPTION
1120           "The destination IP address of this route.
1121
1122           This object may not take a Multicast (Class  D)
1123           address value.
1124
1125           Any assignment (implicit or  otherwise)  of  an
1126           instance  of  this  object to a value x must be
1127           rejected if the bitwise logical-AND of  x  with
1128           the  value of the corresponding instance of the
1129           swL3IpStaticRouteMask object is not equal to x."
1130        ::= { swL3IpStaticRouteEntry 1 }
1131
1132    swL3IpStaticRouteMask OBJECT-TYPE
1133        SYNTAX   IpAddress
1134        MAX-ACCESS read-only
1135        STATUS   current
1136        DESCRIPTION
1137           "Indicate the mask to be logical-AND with the
1138           destination  address  before  being compared to
1139           the value  in  the  swL3IpStaticRouteDest  field.
1140           For those  systems  that  do  not support arbitrary
1141           subnet masks, an agent constructs the value  of
1142           the  swL3IpStaticRouteMask  by  reference to the IP
1143           Address Class.
1144
1145           Any assignment (implicit or  otherwise)  of  an
1146           instance  of  this  object to a value x must be
1147           rejected if the bitwise logical-AND of  x  with
1148           the  value of the corresponding instance of the
1149           swL3IpStaticRouteDest object is not equal to
1150           swL3IpStaticRouteDest."
1151        ::= { swL3IpStaticRouteEntry 2 }
1152
1153    swL3IpStaticRouteBkupState OBJECT-TYPE
1154        SYNTAX   INTEGER {
1155                    primary(1),
1156                    backup(2),
1157                    none(3)
1158                }
1159        MAX-ACCESS read-create
1160        STATUS   current
1161        DESCRIPTION
1162            "The routing state for this route.The value SHOULD be
1163            primary(1), backup(2) or none(3)."
1164        ::= { swL3IpStaticRouteEntry 3 }
1165
1166    swL3IpStaticRouteNextHop OBJECT-TYPE
1167        SYNTAX   IpAddress
1168        MAX-ACCESS read-only
1169        STATUS   current
1170        DESCRIPTION
1171           "Specifies the IP address for the next hop router.
1172            An IP address of 255.255.255.255 denotes a Null interface
1173            as the next hop."
1174        ::= { swL3IpStaticRouteEntry 4 }
1175
1176    swL3IpStaticRouteMetric OBJECT-TYPE
1177        SYNTAX   INTEGER (1..65535)
1178        MAX-ACCESS read-create
1179        STATUS   current
1180        DESCRIPTION
1181            "Specifies the routing metric for this route."
1182        ::= { swL3IpStaticRouteEntry 5 }
1183
1184    swL3IpStaticRouteStatus OBJECT-TYPE
1185        SYNTAX   INTEGER {
1186                    other(1),
1187                    invalid(2),
1188                    valid(3),
1189                    active(4),
1190                    inActive(5)
1191                }
1192        MAX-ACCESS  read-create
1193        STATUS  current
1194        DESCRIPTION
1195            "This object indicates the status of this entry.
1196
1197            other(1) - this entry is currently in use but the conditions
1198                under which it will remain so are different from each of
1199                the following values.
1200            invalid(2) - writing this value to the object, and then the
1201                corresponding entry will be removed from the table.
1202            valid(3) - this entry resides in the table.
1203            active(4) - the nextHop of this entry exists in the ARP table.
1204            inActive(5) - the next hop of this entry does not exist in the
1205            	ARP table."
1206        ::= { swL3IpStaticRouteEntry 6 }
1207
1208     swL3IpStaticRouteWeight OBJECT-TYPE
1209        SYNTAX   INTEGER (0..4)
1210        MAX-ACCESS read-create
1211        STATUS   current
1212        DESCRIPTION
1213            "Specifies the weight value. Used for the weighted multipath."
1214        ::= { swL3IpStaticRouteEntry 7 }
1215
1216     swL3IpStaticRouteInterfaceName  OBJECT-TYPE
1217         SYNTAX    DisplayString
1218         MAX-ACCESS read-only
1219         STATUS current
1220         DESCRIPTION
1221             "Specifies the name of the IP interface."
1222        ::={ swL3IpStaticRouteEntry 8}
1223
1224     swL3IpStaticRouteCost  OBJECT-TYPE
1225         SYNTAX  INTEGER
1226         MAX-ACCESS read-only
1227         STATUS  current
1228         DESCRIPTION
1229             "Specifies the cost of the Route Entry."
1230         ::={swL3IpStaticRouteEntry 9}
1231
1232-- ********************************************************************
1233--  swL3RelayDhcpMgmt      OBJECT IDENTIFIER ::= { swL3RelayMgmt 1 }
1234-- ********************************************************************
1235
1236    swL3RelayDhcpState OBJECT-TYPE
1237        SYNTAX  INTEGER {
1238               other(1),
1239               disabled(2),
1240               enabled(3)
1241               }
1242        MAX-ACCESS  read-write
1243        STATUS  current
1244        DESCRIPTION
1245            "This object indicates if the DHCP Relay function is enabled or
1246            disabled."
1247        ::= { swL3RelayDhcpMgmt 1 }
1248
1249    swL3RelayDhcpHopCount OBJECT-TYPE
1250        SYNTAX  INTEGER (1..16)
1251        MAX-ACCESS  read-write
1252        STATUS  current
1253        DESCRIPTION
1254            "This object indicates the maximum number of router hops that
1255            the BOOTP packets can cross."
1256        ::= { swL3RelayDhcpMgmt 2 }
1257
1258    swL3RelayDhcpTimeThreshold OBJECT-TYPE
1259        SYNTAX  INTEGER (0..65535)
1260        MAX-ACCESS  read-write
1261        STATUS  current
1262        DESCRIPTION
1263            "This object indicates the minimum time in seconds within which
1264            the switch must relay the DHCP request. If this time is
1265            exceeded, the switch will drop the DHCP packet."
1266        ::= { swL3RelayDhcpMgmt 3 }
1267
1268    swL3RelayDhcpCtrlTable OBJECT-TYPE
1269        SYNTAX  SEQUENCE OF SwL3RelayDhcpCtrlEntry
1270        MAX-ACCESS  not-accessible
1271        STATUS  current
1272        DESCRIPTION
1273            "This table specifies the IP address as a destination to forward
1274            (relay) DHCP packets to."
1275        ::= { swL3RelayDhcpMgmt 4 }
1276
1277    swL3RelayDhcpCtrlEntry OBJECT-TYPE
1278        SYNTAX  SwL3RelayDhcpCtrlEntry
1279        MAX-ACCESS  not-accessible
1280        STATUS  current
1281        DESCRIPTION
1282            "A list of information specifying the IP address as a destination
1283            to forward (relay) DHCP packets to."
1284        INDEX  { swL3RelayDhcpCtrlInterfaceName,  swL3RelayDhcpCtrlServer}
1285        ::= { swL3RelayDhcpCtrlTable 1 }
1286
1287    SwL3RelayDhcpCtrlEntry ::=
1288        SEQUENCE {
1289            swL3RelayDhcpCtrlInterfaceName
1290                DisplayString,
1291            swL3RelayDhcpCtrlServer
1292                IpAddress,
1293            swL3RelayDhcpCtrlState
1294                INTEGER
1295        }
1296
1297    swL3RelayDhcpCtrlInterfaceName OBJECT-TYPE
1298        SYNTAX  DisplayString (SIZE(0..12))
1299        MAX-ACCESS  read-only
1300        STATUS  current
1301        DESCRIPTION
1302            "The name of the IP interface."
1303        ::= { swL3RelayDhcpCtrlEntry 1 }
1304
1305    swL3RelayDhcpCtrlServer OBJECT-TYPE
1306        SYNTAX IpAddress
1307        MAX-ACCESS  read-only
1308        STATUS current
1309        DESCRIPTION
1310            "The DHCP server IP address."
1311        ::= { swL3RelayDhcpCtrlEntry 2 }
1312
1313    swL3RelayDhcpCtrlState OBJECT-TYPE
1314        SYNTAX  INTEGER {
1315                    other(1),
1316                    invalid(2),
1317                    valid(3)
1318                }
1319        MAX-ACCESS  read-write
1320        STATUS  current
1321        DESCRIPTION
1322            "This object indicates the status of this entry.
1323
1324            other(1) - this entry is currently in use but the conditions
1325                under which it will remain so are different from each of
1326                the following values.
1327            invalid(2) - writing this value to the object, and then the
1328                corresponding entry will be removed from the table.
1329            valid(3) - this entry is reside in the table."
1330        ::= { swL3RelayDhcpCtrlEntry 3 }
1331
1332     swL3RelayDhcpOption82State OBJECT-TYPE
1333        SYNTAX  INTEGER {
1334               disabled(0),
1335               enabled(1)
1336               }
1337        MAX-ACCESS  read-write
1338        STATUS  current
1339        DESCRIPTION
1340            "This object indicates DHCP Relay Option 82 function is enabled or
1341            disabled."
1342        ::= { swL3RelayDhcpMgmt 5 }
1343
1344     swL3RelayDhcpOption82CheckState OBJECT-TYPE
1345        SYNTAX  INTEGER {
1346               disabled(0),
1347               enabled(1)
1348               }
1349        MAX-ACCESS  read-write
1350        STATUS  current
1351        DESCRIPTION
1352            "This object indicates DHCP Relay Option 82 Check function is enabled or
1353            disabled."
1354        ::= { swL3RelayDhcpMgmt 6 }
1355
1356     swL3RelayDhcpOption82Policy OBJECT-TYPE
1357        SYNTAX  INTEGER {
1358               replace(0),
1359               drop(1),
1360               keep(2)
1361               }
1362        MAX-ACCESS  read-write
1363        STATUS  current
1364        DESCRIPTION
1365            "This object indicates DHCP Relay Option 82 Policy."
1366        ::= { swL3RelayDhcpMgmt 7 }
1367
1368
1369-- ********************************************************************
1370--  swL3RelayDnsMgmt        OBJECT IDENTIFIER ::= { swL3RelayMgmt 2 }
1371-- ********************************************************************
1372
1373    swL3RelayDnsState OBJECT-TYPE
1374        SYNTAX  INTEGER {
1375               other(1),
1376               disabled(2),
1377               enabled(3)
1378               }
1379        MAX-ACCESS  read-write
1380        STATUS  current
1381        DESCRIPTION
1382            "This object indicates if the DNS Relay function is enabled or
1383            disabled."
1384        ::= { swL3RelayDnsMgmt 1 }
1385
1386    swL3RelayDnsPrimaryServer OBJECT-TYPE
1387        SYNTAX  IpAddress
1388        MAX-ACCESS  read-write
1389        STATUS  current
1390        DESCRIPTION
1391            "This object indicates the address of the primary DNS server."
1392        ::= { swL3RelayDnsMgmt 2 }
1393
1394    swL3RelayDnsSecondaryServer OBJECT-TYPE
1395        SYNTAX  IpAddress
1396        MAX-ACCESS  read-write
1397        STATUS  current
1398        DESCRIPTION
1399            "This object indicates the address of the secondary DNS server."
1400        ::= { swL3RelayDnsMgmt 3 }
1401
1402    swL3RelayDnsCacheState OBJECT-TYPE
1403        SYNTAX  INTEGER {
1404               other(1),
1405               disabled(2),
1406               enabled(3)
1407               }
1408        MAX-ACCESS  read-write
1409        STATUS  current
1410        DESCRIPTION
1411            "This object indicates DNS Relay cache is enabled or
1412            disabled."
1413        ::= { swL3RelayDnsMgmt 4 }
1414
1415    swL3RelayDnsStaticTableState OBJECT-TYPE
1416        SYNTAX  INTEGER {
1417               other(1),
1418               disabled(2),
1419               enabled(3)
1420               }
1421        MAX-ACCESS  read-write
1422        STATUS  current
1423        DESCRIPTION
1424            "This object indicates DNS Relay static table is enabled or
1425            disabled."
1426        ::= { swL3RelayDnsMgmt 5 }
1427
1428    swL3RelayDnsCtrlTable OBJECT-TYPE
1429        SYNTAX  SEQUENCE OF SwL3RelayDnsCtrlEntry
1430        MAX-ACCESS  not-accessible
1431        STATUS  current
1432        DESCRIPTION
1433            "This table displays the current DNS relay static table."
1434        ::= { swL3RelayDnsMgmt 6 }
1435
1436    swL3RelayDnsCtrlEntry OBJECT-TYPE
1437        SYNTAX  SwL3RelayDnsCtrlEntry
1438        MAX-ACCESS  not-accessible
1439        STATUS  current
1440        DESCRIPTION
1441            "A list of information display the current DNS relay static
1442            table."
1443        INDEX  { swL3RelayDnsCtrlDomainName,  swL3RelayDnsCtrlIpAddr}
1444        ::= { swL3RelayDnsCtrlTable 1 }
1445
1446    SwL3RelayDnsCtrlEntry ::=
1447        SEQUENCE {
1448            swL3RelayDnsCtrlDomainName
1449                DisplayString,
1450            swL3RelayDnsCtrlIpAddr
1451                IpAddress,
1452            swL3RelayDnsCtrlState
1453                INTEGER
1454        }
1455
1456    swL3RelayDnsCtrlDomainName OBJECT-TYPE
1457        SYNTAX  DisplayString (SIZE(1..32))
1458        MAX-ACCESS  read-only
1459        STATUS  current
1460        DESCRIPTION
1461            "The domain name of the entry."
1462        ::= { swL3RelayDnsCtrlEntry 1 }
1463
1464    swL3RelayDnsCtrlIpAddr OBJECT-TYPE
1465        SYNTAX IpAddress
1466        MAX-ACCESS  read-only
1467        STATUS current
1468        DESCRIPTION
1469            "The IP address of the entry."
1470        ::= { swL3RelayDnsCtrlEntry 2 }
1471
1472    swL3RelayDnsCtrlState OBJECT-TYPE
1473        SYNTAX  INTEGER {
1474                    other(1),
1475                    invalid(2),
1476                    valid(3)
1477                }
1478        MAX-ACCESS  read-write
1479        STATUS  current
1480        DESCRIPTION
1481            "This object indicates the status of this entry.
1482
1483            other(1) - this entry is currently in use but the conditions
1484                under which it will remain so are different from each of
1485                the following values.
1486            invalid(2) - writing this value to the object, and then the
1487                corresponding entry will be removed from the table.
1488            valid(3) - this entry is reside in the table."
1489        ::= { swL3RelayDnsCtrlEntry 3 }
1490
1491 -- ********************************************************************
1492--  swL3DHCPv6RelayMgmt        OBJECT IDENTIFIER ::= { swL3RelayMgmt 3 }
1493-- ********************************************************************
1494     swL3Dhcpv6RelayHopCount OBJECT-TYPE
1495        SYNTAX  INTEGER (1..32)
1496        MAX-ACCESS  read-write
1497        STATUS  current
1498        DESCRIPTION
1499            "This object indicates the maximum number of router hops that
1500            the dhcpv6 packets can cross."
1501        ::= { swL3DHCPv6RelayMgmt 1 }
1502
1503     swL3Dhcpv6RelayCtrlTable OBJECT-TYPE
1504        SYNTAX  SEQUENCE OF SwL3Dhcpv6RelayCtrlEntry
1505        MAX-ACCESS  not-accessible
1506        STATUS  current
1507        DESCRIPTION
1508            "This table displays the current DHCPv6 relay static table."
1509        ::= { swL3DHCPv6RelayMgmt 2 }
1510
1511     swL3Dhcpv6RelayCtrlEntry OBJECT-TYPE
1512        SYNTAX  SwL3Dhcpv6RelayCtrlEntry
1513        MAX-ACCESS  not-accessible
1514        STATUS  current
1515        DESCRIPTION
1516            "A list of information display the current DHCPv6 relay static
1517            table."
1518
1519        INDEX {
1520            swL3Dhcpv6RelayCtrlInterfaceName
1521            }
1522        ::= { swL3Dhcpv6RelayCtrlTable 1 }
1523
1524     SwL3Dhcpv6RelayCtrlEntry ::=
1525        SEQUENCE {
1526            swL3Dhcpv6RelayCtrlInterfaceName
1527                DisplayString,
1528            swL3Dhcpv6RelayCtrlState
1529                INTEGER
1530        }
1531
1532    swL3Dhcpv6RelayCtrlInterfaceName OBJECT-TYPE
1533        SYNTAX  DisplayString (SIZE(1..32))
1534        MAX-ACCESS  read-only
1535        STATUS  current
1536        DESCRIPTION
1537            "This object indicates the name of the relay interface."
1538        ::= { swL3Dhcpv6RelayCtrlEntry 1 }
1539         swL3Dhcpv6RelayCtrlState OBJECT-TYPE
1540        SYNTAX  INTEGER {
1541               enabled(1),
1542               disabled(2)
1543                }
1544        MAX-ACCESS  read-write
1545        STATUS  current
1546        DESCRIPTION
1547            "TThis object indicates Dhcpv6 Relay function is enabled or disabled."
1548        ::= { swL3Dhcpv6RelayCtrlEntry 2 }
1549
1550     swL3Dhcpv6RelayInfoTable OBJECT-TYPE
1551        SYNTAX  SEQUENCE OF SwL3Dhcpv6RelayInfoEntry
1552        MAX-ACCESS  not-accessible
1553        STATUS  current
1554        DESCRIPTION
1555            "This table displays the current DHCPv6 relay static table."
1556        ::= { swL3DHCPv6RelayMgmt 3 }
1557
1558     swL3Dhcpv6RelayInfoEntry OBJECT-TYPE
1559        SYNTAX  SwL3Dhcpv6RelayInfoEntry
1560        MAX-ACCESS  not-accessible
1561        STATUS  current
1562        DESCRIPTION
1563            "A list of information display the current DHCPv6 relay static
1564            table."
1565
1566        INDEX {
1567            swL3Dhcpv6RelayInfoInterfaceName,
1568            swL3Dhcpv6RelayInfoServerAddress,
1569            swL3Dhcpv6RelayInfoServerInterfaceName
1570            }
1571        ::= { swL3Dhcpv6RelayInfoTable 1 }
1572
1573     SwL3Dhcpv6RelayInfoEntry ::=
1574        SEQUENCE {
1575            swL3Dhcpv6RelayInfoInterfaceName
1576                DisplayString,
1577            swL3Dhcpv6RelayInfoServerAddress
1578                Ipv6Address,
1579            swL3Dhcpv6RelayInfoServerInterfaceName
1580                DisplayString,
1581            swL3Dhcpv6RelayInfoRowStatus
1582                RowStatus
1583
1584        }
1585
1586    swL3Dhcpv6RelayInfoInterfaceName OBJECT-TYPE
1587        SYNTAX  DisplayString (SIZE(1..32))
1588        MAX-ACCESS  read-only
1589        STATUS  current
1590        DESCRIPTION
1591            "This object indicates the name of the relay interface."
1592        ::= { swL3Dhcpv6RelayInfoEntry 1 }
1593
1594    swL3Dhcpv6RelayInfoServerAddress OBJECT-TYPE
1595        SYNTAX Ipv6Address
1596        MAX-ACCESS  read-only
1597        STATUS current
1598        DESCRIPTION
1599            "Specify the IPv6 address."
1600        ::= { swL3Dhcpv6RelayInfoEntry 2 }
1601
1602     swL3Dhcpv6RelayInfoServerInterfaceName OBJECT-TYPE
1603        SYNTAX  DisplayString (SIZE(1..32))
1604        MAX-ACCESS  read-only
1605        STATUS  current
1606        DESCRIPTION
1607            "When the swL3Dhcpv6RelayInfoServerAddress is multicast address,
1608            this object indicates the name of the interface, which is connected
1609            to the DHCPv6 server."
1610        ::= { swL3Dhcpv6RelayInfoEntry 3 }
1611
1612
1613      swL3Dhcpv6RelayInfoRowStatus OBJECT-TYPE
1614        SYNTAX RowStatus
1615        MAX-ACCESS  read-create
1616        STATUS current
1617        DESCRIPTION
1618            "This object indicates the status of this entry."
1619        ::= { swL3Dhcpv6RelayInfoEntry 4 }
1620
1621
1622-- ********************************************************************
1623--  swL3Md5Table            OBJECT IDENTIFIER ::= { swL3MgmtMIB 4 }
1624-- ********************************************************************
1625
1626    swL3Md5Table OBJECT-TYPE
1627        SYNTAX  SEQUENCE OF SwL3Md5Entry
1628        MAX-ACCESS  not-accessible
1629        STATUS  current
1630        DESCRIPTION
1631            "This table displays the current MD5 key table."
1632        ::= { swL3MgmtMIB 4 }
1633
1634    swL3Md5Entry OBJECT-TYPE
1635        SYNTAX  SwL3Md5Entry
1636        MAX-ACCESS  not-accessible
1637        STATUS  current
1638        DESCRIPTION
1639            "A list of information displays the current MD5 key table."
1640        INDEX  { swL3Md5KeyId}
1641        ::= { swL3Md5Table 1 }
1642
1643    SwL3Md5Entry ::=
1644        SEQUENCE {
1645            swL3Md5KeyId
1646                INTEGER,
1647            swL3Md5Key
1648                DisplayString,
1649            swL3Md5RowStatus
1650                RowStatus
1651        }
1652
1653    swL3Md5KeyId OBJECT-TYPE
1654        SYNTAX  INTEGER (1..255)
1655        MAX-ACCESS  read-only
1656        STATUS  current
1657        DESCRIPTION
1658            "The MD5 key ID."
1659        ::= { swL3Md5Entry 1 }
1660
1661    swL3Md5Key OBJECT-TYPE
1662        SYNTAX DisplayString (SIZE(1..16))
1663        MAX-ACCESS  read-create
1664        STATUS current
1665        DESCRIPTION
1666            "An MD5 password of up to 16 bytes."
1667        ::= { swL3Md5Entry 2 }
1668
1669    swL3Md5RowStatus OBJECT-TYPE
1670        SYNTAX  RowStatus
1671        MAX-ACCESS  read-create
1672        STATUS  current
1673        DESCRIPTION
1674            "This object indicates the status of this entry."
1675        ::= { swL3Md5Entry 3 }
1676
1677
1678-- ********************************************************************
1679--  swL3RouteRedistriTable          OBJECT IDENTIFIER ::= { swL3MgmtMIB 5 }
1680-- ********************************************************************
1681
1682    swL3RouteRedistriTable OBJECT-TYPE
1683        SYNTAX  SEQUENCE OF SwL3RouteRedistriEntry
1684        MAX-ACCESS  not-accessible
1685        STATUS  current
1686        DESCRIPTION
1687            "Route redistribution allows routers on the network that are
1688            running different routing protocols to exchange routing
1689            information. This is accomplished by comparing the routes stored
1690            in the varios routers' routing tables and assigning appropriate
1691            metrics. This information is then exchanged among the various
1692            routers according to the individual routers current routing
1693            protocol."
1694        ::= { swL3MgmtMIB 5 }
1695
1696    swL3RouteRedistriEntry OBJECT-TYPE
1697        SYNTAX  SwL3RouteRedistriEntry
1698        MAX-ACCESS  not-accessible
1699        STATUS  current
1700        DESCRIPTION
1701            "A list of information displaying the route redistribution table."
1702        INDEX  { swL3RouteRedistriSrcProtocol, swL3RouteRedistriDstProtocol}
1703        ::= { swL3RouteRedistriTable 1 }
1704
1705    SwL3RouteRedistriEntry ::=
1706        SEQUENCE {
1707            swL3RouteRedistriSrcProtocol
1708                INTEGER,
1709            swL3RouteRedistriDstProtocol
1710                INTEGER,
1711            swL3RouteRedistriType
1712                INTEGER,
1713            swL3RouteRedistriMetric
1714                INTEGER,
1715            swL3RouteRedistriRowStatus
1716                RowStatus
1717        }
1718
1719    swL3RouteRedistriSrcProtocol OBJECT-TYPE
1720        SYNTAX  INTEGER {
1721                    other(1),
1722                    rip(2),
1723                    ospf(3),
1724                    static(4),
1725                    local(5)
1726                }
1727        MAX-ACCESS  read-only
1728        STATUS  current
1729        DESCRIPTION
1730            "Allows the selection of the protocol of the source device."
1731        ::= { swL3RouteRedistriEntry 1 }
1732
1733    swL3RouteRedistriDstProtocol OBJECT-TYPE
1734        SYNTAX  INTEGER {
1735                    other(1),
1736                    rip(2),
1737                    ospf(3)
1738                }
1739        MAX-ACCESS  read-only
1740        STATUS  current
1741        DESCRIPTION
1742            "Allows the selection of the protocol of the destination device."
1743        ::= { swL3RouteRedistriEntry 2 }
1744
1745    swL3RouteRedistriType OBJECT-TYPE
1746        SYNTAX  INTEGER {
1747                    other(1),
1748                    all(2),
1749                    type-1(3),
1750                    type-2(4),
1751                    internal(5),
1752                    external(6),
1753                    inter-E1(7),
1754                    inter-E2(8),
1755                    extType1(9),
1756                    extType2(10)
1757                }
1758        MAX-ACCESS  read-create
1759        STATUS  current
1760        DESCRIPTION
1761            "Allows the selection of one of the methods for calculating
1762            the metric value."
1763        ::= { swL3RouteRedistriEntry 3 }
1764
1765    swL3RouteRedistriMetric OBJECT-TYPE
1766        SYNTAX  INTEGER (0..16777214)
1767        MAX-ACCESS  read-create
1768        STATUS  current
1769        DESCRIPTION
1770            "Allows the entry of an OSPF interface cost. This is analogous
1771            to a Hop Count in the RIP routing protocol. The value '0'
1772            indicates default value."
1773        ::= { swL3RouteRedistriEntry 4 }
1774
1775    swL3RouteRedistriRowStatus OBJECT-TYPE
1776        SYNTAX  RowStatus
1777        MAX-ACCESS  read-create
1778        STATUS  current
1779        DESCRIPTION
1780            "This object indicates the status of this entry."
1781        ::= { swL3RouteRedistriEntry 5 }
1782
1783
1784-- ********************************************************************
1785--  swL3OspfHostTable          OBJECT IDENTIFIER ::= { swL3MgmtMIB 6 }
1786-- ********************************************************************
1787
1788    swL3OspfHostTable OBJECT-TYPE
1789        SYNTAX  SEQUENCE OF SwL3OspfHostEntry
1790        MAX-ACCESS  not-accessible
1791        STATUS  current
1792        DESCRIPTION
1793            "The list of Hosts, and their metrics, that the router will
1794            advertise as host routes."
1795        ::= { swL3MgmtMIB 6 }
1796
1797    swL3OspfHostEntry OBJECT-TYPE
1798        SYNTAX   SwL3OspfHostEntry
1799        MAX-ACCESS   not-accessible
1800        STATUS   current
1801        DESCRIPTION
1802            "A metric to be advertised, for a given type of service, when a
1803            given host is reachable."
1804        INDEX { swL3OspfHostIpAddress, swL3OspfHostTOS }
1805        ::= { swL3OspfHostTable 1 }
1806
1807    SwL3OspfHostEntry ::=
1808        SEQUENCE {
1809            swL3OspfHostIpAddress
1810                IpAddress,
1811            swL3OspfHostTOS
1812                TOSType,
1813            swL3OspfHostMetric
1814                Metric,
1815            swL3OspfHostAreaID
1816                AreaID,
1817            swL3OspfHostStatus
1818                RowStatus
1819        }
1820
1821    swL3OspfHostIpAddress OBJECT-TYPE
1822        SYNTAX   IpAddress
1823        MAX-ACCESS   read-only
1824        STATUS   current
1825        DESCRIPTION
1826            "The IP Address of the Host."
1827        ::= { swL3OspfHostEntry 1 }
1828
1829    swL3OspfHostTOS OBJECT-TYPE
1830        SYNTAX   TOSType
1831        MAX-ACCESS   read-only
1832        STATUS   current
1833        DESCRIPTION
1834            "The Type of Service of the route being configured."
1835        ::= { swL3OspfHostEntry 2 }
1836
1837    swL3OspfHostMetric OBJECT-TYPE
1838        SYNTAX   Metric
1839        MAX-ACCESS   read-create
1840        STATUS   current
1841        DESCRIPTION
1842           "The Metric to be advertised."
1843        ::= { swL3OspfHostEntry 3 }
1844
1845    swL3OspfHostAreaID OBJECT-TYPE
1846        SYNTAX   AreaID
1847        MAX-ACCESS   read-create
1848        STATUS   current
1849        DESCRIPTION
1850           "The Area the Host Entry is to be found within. By default, the
1851           area that a subsuming OSPF interface is in, or 0.0.0.0"
1852        ::= { swL3OspfHostEntry 4 }
1853
1854    swL3OspfHostStatus OBJECT-TYPE
1855        SYNTAX   RowStatus
1856        MAX-ACCESS   read-create
1857        STATUS   current
1858        DESCRIPTION
1859           "This variable displays the status of the entry. Setting it to
1860           'invalid' has the effect of rendering it inoperative. The internal
1861           effect (row removal) is implementation dependent."
1862        ::= { swL3OspfHostEntry 5 }
1863
1864-- ********************************************************************
1865--  swL3ospfVirtIfTable          OBJECT IDENTIFIER ::= { swL3MgmtMIB 7 }
1866-- ********************************************************************
1867--  OSPF Virtual Interface Table(from rfc1850,modify by Scott Sung)
1868
1869--      The Virtual Interface Table describes the virtual
1870--      links that the OSPF Process is configured to
1871--      carry on.
1872
1873    swL3ospfVirtIfTable OBJECT-TYPE
1874        SYNTAX   SEQUENCE OF SwL3OspfVirtIfEntry
1875        MAX-ACCESS   not-accessible
1876        STATUS   current
1877        DESCRIPTION
1878           "Information about this router's virtual inter-
1879           faces."
1880       REFERENCE
1881          "OSPF Version  2,  Appendix  C.4   Virtual  link
1882          parameters"
1883      ::= { swL3MgmtMIB 7 }
1884
1885    swL3ospfVirtIfEntry OBJECT-TYPE
1886        SYNTAX   SwL3OspfVirtIfEntry
1887        MAX-ACCESS   not-accessible
1888        STATUS   current
1889        DESCRIPTION
1890           "Information about a single Virtual Interface."
1891       INDEX { swL3ospfVirtIfAreaId, swL3ospfVirtIfNeighbor }
1892       ::= { swL3ospfVirtIfTable 1 }
1893
1894SwL3OspfVirtIfEntry ::=
1895    SEQUENCE {
1896        swL3ospfVirtIfAreaId
1897            AreaID,
1898        swL3ospfVirtIfNeighbor
1899            RouterID,
1900        swL3ospfVirtIfTransitDelay
1901            UpToMaxAge,
1902        swL3ospfVirtIfRetransInterval
1903            UpToMaxAge,
1904        swL3ospfVirtIfHelloInterval
1905            HelloRange,
1906        swL3ospfVirtIfRtrDeadInterval
1907            Integer32,
1908        swL3ospfVirtIfState
1909            INTEGER,
1910        swL3ospfVirtIfEvents
1911            Counter32,
1912        swL3ospfVirtIfAuthType
1913            INTEGER,
1914        swL3ospfVirtIfAuthKey
1915            OCTET STRING,
1916        swL3ospfVirtIfAuthKeyID
1917        	INTEGER,
1918        swL3ospfVirtIfStatus
1919            RowStatus
1920              }
1921
1922    swL3ospfVirtIfAreaId OBJECT-TYPE
1923        SYNTAX   AreaID
1924        MAX-ACCESS   read-only
1925        STATUS   current
1926        DESCRIPTION
1927           "The  Transit  Area  that  the   Virtual   Link
1928           traverses.  By definition, this is not 0.0.0.0"
1929       ::= { swL3ospfVirtIfEntry 1 }
1930
1931    swL3ospfVirtIfNeighbor OBJECT-TYPE
1932        SYNTAX   RouterID
1933        MAX-ACCESS   read-only
1934        STATUS   current
1935        DESCRIPTION
1936           "The Router ID of the Virtual Neighbor."
1937       ::= { swL3ospfVirtIfEntry 2 }
1938
1939    swL3ospfVirtIfTransitDelay OBJECT-TYPE
1940        SYNTAX   UpToMaxAge
1941        MAX-ACCESS   read-create
1942        STATUS   current
1943        DESCRIPTION
1944           "The estimated number of seconds  it  takes  to
1945           transmit  a link- state update packet over this
1946           interface."
1947       DEFVAL { 1 }
1948       ::= { swL3ospfVirtIfEntry 3 }
1949
1950    swL3ospfVirtIfRetransInterval OBJECT-TYPE
1951        SYNTAX   UpToMaxAge
1952        MAX-ACCESS   read-create
1953        STATUS   current
1954        DESCRIPTION
1955           "The number of seconds between  link-state  ad-
1956           vertisement  retransmissions,  for  adjacencies
1957           belonging to this  interface.   This  value  is
1958           also used when retransmitting database descrip-
1959           tion  and  link-state  request  packets.   This
1960           value  should  be well over the expected round-
1961           trip time."
1962       DEFVAL { 5 }
1963       ::= { swL3ospfVirtIfEntry 4 }
1964
1965    swL3ospfVirtIfHelloInterval OBJECT-TYPE
1966        SYNTAX   HelloRange
1967        MAX-ACCESS   read-create
1968        STATUS   current
1969        DESCRIPTION
1970           "The length of time, in  seconds,  between  the
1971           Hello  packets that the router sends on the in-
1972           terface.  This value must be the same  for  the
1973           virtual neighbor."
1974       DEFVAL { 10 }
1975       ::= { swL3ospfVirtIfEntry 5 }
1976
1977    swL3ospfVirtIfRtrDeadInterval OBJECT-TYPE
1978        SYNTAX   Integer32 (1..65535)
1979        MAX-ACCESS   read-create
1980        STATUS   current
1981        DESCRIPTION
1982           "The number of seconds that  a  router's  Hello
1983           packets  have  not been seen before it's neigh-
1984           bors declare the router down.  This  should  be
1985           some  multiple  of  the  Hello  interval.  This
1986           value must be the same for the  virtual  neigh-
1987           bor."
1988       DEFVAL { 60 }
1989       ::= { swL3ospfVirtIfEntry 6 }
1990
1991    swL3ospfVirtIfState OBJECT-TYPE
1992        SYNTAX   INTEGER    {
1993                    down (1),            -- these use the same encoding
1994                    pointToPoint (4)     -- as the ospfIfTable
1995                  }
1996        MAX-ACCESS   read-only
1997        STATUS   current
1998        DESCRIPTION
1999           "OSPF virtual interface states."
2000       DEFVAL   { down }
2001       ::= { swL3ospfVirtIfEntry 7 }
2002
2003    swL3ospfVirtIfEvents OBJECT-TYPE
2004        SYNTAX   Counter32
2005        MAX-ACCESS   read-only
2006        STATUS   current
2007        DESCRIPTION
2008           "The number of state changes or error events on
2009           this Virtual Link"
2010       ::= { swL3ospfVirtIfEntry 8 }
2011
2012    swL3ospfVirtIfAuthType OBJECT-TYPE
2013        SYNTAX   INTEGER (0..255)
2014                    -- none (0),
2015                    -- simplePassword (1)
2016                    -- md5 (2)
2017                    -- reserved for specification by IANA (> 2)
2018        MAX-ACCESS   read-create
2019        STATUS   current
2020        DESCRIPTION
2021           "The authentication type specified for a virtu-
2022           al  interface.  Additional authentication types
2023           may be assigned locally."
2024       REFERENCE
2025          "OSPF Version 2, Appendix E Authentication"
2026      DEFVAL { 0 }        -- no authentication, by default
2027      ::= { swL3ospfVirtIfEntry 9 }
2028
2029    swL3ospfVirtIfAuthKey OBJECT-TYPE
2030        SYNTAX   OCTET STRING (SIZE(0..256))
2031        MAX-ACCESS   read-create
2032        STATUS   current
2033        DESCRIPTION
2034           "If Authentication Type is simplePassword,  the
2035           device  will left adjust and zero fill to 8 oc-
2036           tets.
2037
2038           Note that unauthenticated  interfaces  need  no
2039           authentication key, and simple password authen-
2040           tication cannot use a key of more  than  8  oc-
2041           tets.  Larger keys are useful only with authen-
2042           tication mechanisms not specified in this docu-
2043           ment."
2044       REFERENCE
2045          "OSPF Version 2, Section 9  The  Interface  Data
2046          Structure"
2047      DEFVAL   { '0000000000000000'H }    -- 0.0.0.0.0.0.0.0
2048      ::= { swL3ospfVirtIfEntry 10 }
2049
2050    swL3ospfVirtIfAuthKeyID OBJECT-TYPE
2051        SYNTAX   INTEGER (0..255)
2052        MAX-ACCESS   read-create
2053        STATUS   current
2054        DESCRIPTION
2055           "The MD5 key ID."
2056       ::= { swL3ospfVirtIfEntry 11 }
2057
2058    swL3ospfVirtIfStatus OBJECT-TYPE
2059        SYNTAX   RowStatus
2060        MAX-ACCESS   read-create
2061        STATUS   current
2062        DESCRIPTION
2063           "This variable displays the status of  the  en-
2064           try.  Setting it to 'invalid' has the effect of
2065           rendering it inoperative.  The internal  effect
2066           (row removal) is implementation dependent."
2067       ::= { swL3ospfVirtIfEntry 12 }
2068
2069--  OSPF Interface Table
2070
2071--      The OSPF Interface Table augments the ipAddrTable
2072--             with OSPF specific information.
2073
2074    swL3ospfIfTable OBJECT-TYPE
2075        SYNTAX   SEQUENCE OF SwL3OspfIfEntry
2076        MAX-ACCESS   not-accessible
2077        STATUS   current
2078        DESCRIPTION
2079           "The OSPF Interface Table describes the  inter-
2080           faces from the viewpoint of OSPF."
2081       REFERENCE
2082          "OSPF Version 2, Appendix C.3  Router  interface
2083          parameters"
2084      ::= { swL3MgmtMIB 8 }
2085
2086    swL3ospfIfEntry OBJECT-TYPE
2087        SYNTAX   SwL3OspfIfEntry
2088        MAX-ACCESS   not-accessible
2089        STATUS   current
2090        DESCRIPTION
2091           "The OSPF Interface Entry describes one  inter-
2092           face from the viewpoint of OSPF."
2093       INDEX { swL3ospfIfIpAddress, swL3ospfAddressLessIf }
2094       ::= { swL3ospfIfTable 1 }
2095
2096SwL3OspfIfEntry ::=
2097    SEQUENCE {
2098        swL3ospfIfIpAddress
2099            IpAddress,
2100        swL3ospfAddressLessIf
2101            Integer32,
2102        swL3ospfIfAreaId
2103            AreaID,
2104        swL3ospfIfType
2105            INTEGER,
2106        swL3ospfIfAdminStat
2107            Status,
2108        swL3ospfIfRtrPriority
2109            DesignatedRouterPriority,
2110        swL3ospfIfTransitDelay
2111            UpToMaxAge,
2112        swL3ospfIfRetransInterval
2113            UpToMaxAge,
2114        swL3ospfIfHelloInterval
2115            HelloRange,
2116        swL3ospfIfRtrDeadInterval
2117            PositiveInteger,
2118        swL3ospfIfPollInterval
2119            PositiveInteger,
2120        swL3ospfIfState
2121            INTEGER,
2122        swL3ospfIfDesignatedRouter
2123            IpAddress,
2124        swL3ospfIfBackupDesignatedRouter
2125            IpAddress,
2126        swL3ospfIfEvents
2127            Counter32,
2128        swL3ospfIfMulticastForwarding
2129            INTEGER,
2130        swL3ospfIfDemand
2131            TruthValue,
2132        swL3ospfIfAuthType
2133            INTEGER,
2134        swL3ospfIfAuthKey
2135            OCTET STRING,
2136        swL3ospfIfAuthKeyID
2137        	INTEGER,
2138        swL3ospfIfPassiveMode
2139        	INTEGER,
2140--        swL3ospfIfStatus
2141--            RowStatus
2142	swL3ospfIfMetric
2143            Metric
2144              }
2145
2146    swL3ospfIfIpAddress OBJECT-TYPE
2147        SYNTAX   IpAddress
2148        MAX-ACCESS   read-only
2149        STATUS   current
2150        DESCRIPTION
2151           "The IP address of this OSPF interface."
2152       ::= { swL3ospfIfEntry 1 }
2153
2154    swL3ospfAddressLessIf OBJECT-TYPE
2155        SYNTAX   Integer32
2156        MAX-ACCESS   read-only
2157        STATUS   current
2158        DESCRIPTION
2159           "For the purpose of easing  the  instancing  of
2160           addressed   and  addressless  interfaces;  This
2161           variable takes the value 0 on  interfaces  with
2162           IP  Addresses,  and  the corresponding value of
2163           ifIndex for interfaces having no IP Address."
2164       ::= { swL3ospfIfEntry 2 }
2165
2166    swL3ospfIfAreaId OBJECT-TYPE
2167        SYNTAX   AreaID
2168        MAX-ACCESS   read-write
2169        STATUS   current
2170        DESCRIPTION
2171           "A 32-bit integer uniquely identifying the area
2172           to  which  the  interface  connects.   Area  ID
2173           0.0.0.0 is used for the OSPF backbone."
2174       DEFVAL   { '00000000'H }    -- 0.0.0.0
2175       ::= { swL3ospfIfEntry 3 }
2176
2177    swL3ospfIfType OBJECT-TYPE
2178        SYNTAX   INTEGER    {
2179                    broadcast (1),
2180                    nbma (2),
2181                    pointToPoint (3),
2182                    pointToMultipoint (5)
2183                  }
2184        MAX-ACCESS   read-write
2185        STATUS   current
2186        DESCRIPTION
2187           "The OSPF interface type.
2188
2189           By way of a default, this field may be intuited
2190           from the corresponding value of ifType.  Broad-
2191           cast LANs, such as  Ethernet  and  IEEE  802.5,
2192           take  the  value  'broadcast', X.25 and similar
2193           technologies take the value 'nbma',  and  links
2194           that  are  definitively point to point take the
2195           value 'pointToPoint'."
2196       ::= { swL3ospfIfEntry 4 }
2197
2198    swL3ospfIfAdminStat OBJECT-TYPE
2199        SYNTAX   Status
2200        MAX-ACCESS   read-write
2201        STATUS   current
2202        DESCRIPTION
2203           "The OSPF  interface's  administrative  status.
2204           The  value formed on the interface, and the in-
2205           terface will be advertised as an internal route
2206           to  some  area.   The  value 'disabled' denotes
2207           that the interface is external to OSPF."
2208       DEFVAL { enabled }
2209       ::= { swL3ospfIfEntry 5 }
2210
2211    swL3ospfIfRtrPriority OBJECT-TYPE
2212        SYNTAX   DesignatedRouterPriority
2213        MAX-ACCESS   read-write
2214        STATUS   current
2215        DESCRIPTION
2216           "The  priority  of  this  interface.   Used  in
2217           multi-access  networks,  this  field is used in
2218           the designated router election algorithm.   The
2219           value 0 signifies that the router is not eligi-
2220           ble to become the  designated  router  on  this
2221           particular  network.   In the event of a tie in
2222           this value, routers will use their Router ID as
2223           a tie breaker."
2224       DEFVAL { 1 }
2225       ::= { swL3ospfIfEntry 6 }
2226
2227    swL3ospfIfTransitDelay OBJECT-TYPE
2228        SYNTAX   UpToMaxAge
2229        MAX-ACCESS   read-write
2230        STATUS   current
2231        DESCRIPTION
2232           "The estimated number of seconds  it  takes  to
2233           transmit  a  link state update packet over this
2234           interface."
2235       DEFVAL { 1 }
2236       ::= { swL3ospfIfEntry 7 }
2237
2238    swL3ospfIfRetransInterval OBJECT-TYPE
2239        SYNTAX   UpToMaxAge
2240        MAX-ACCESS   read-write
2241        STATUS   current
2242        DESCRIPTION
2243           "The number of seconds between  link-state  ad-
2244           vertisement  retransmissions,  for  adjacencies
2245           belonging to this  interface.   This  value  is
2246           also used when retransmitting database descrip-
2247           tion and link-state request packets."
2248       DEFVAL { 5 }
2249       ::= { swL3ospfIfEntry 8 }
2250
2251    swL3ospfIfHelloInterval OBJECT-TYPE
2252        SYNTAX   HelloRange
2253        MAX-ACCESS   read-write
2254        STATUS   current
2255        DESCRIPTION
2256           "The length of time, in  seconds,  between  the
2257           Hello  packets that the router sends on the in-
2258           terface.  This value must be the same  for  all
2259           routers attached to a common network."
2260       DEFVAL { 10 }
2261       ::= { swL3ospfIfEntry 9 }
2262
2263    swL3ospfIfRtrDeadInterval OBJECT-TYPE
2264        SYNTAX   PositiveInteger
2265        MAX-ACCESS   read-write
2266        STATUS   current
2267        DESCRIPTION
2268           "The number of seconds that  a  router's  Hello
2269           packets  have  not been seen before it's neigh-
2270           bors declare the router down.  This  should  be
2271           some  multiple  of  the  Hello  interval.  This
2272           value must be the same for all routers attached
2273           to a common network."
2274       DEFVAL { 40 }
2275       ::= { swL3ospfIfEntry 10 }
2276
2277    swL3ospfIfPollInterval OBJECT-TYPE
2278        SYNTAX   PositiveInteger
2279        MAX-ACCESS   read-write
2280        STATUS   current
2281        DESCRIPTION
2282           "The larger time interval, in seconds,  between
2283           the  Hello  packets  sent  to  an inactive non-
2284           broadcast multi- access neighbor."
2285       DEFVAL { 120 }
2286       ::= { swL3ospfIfEntry 11 }
2287
2288    swL3ospfIfState OBJECT-TYPE
2289        SYNTAX   INTEGER    {
2290                    down (1),
2291                    loopback (2),
2292                    waiting (3),
2293                    pointToPoint (4),
2294                    designatedRouter (5),
2295                    backupDesignatedRouter (6),
2296                    otherDesignatedRouter (7)
2297                  }
2298        MAX-ACCESS   read-only
2299        STATUS   current
2300        DESCRIPTION
2301           "The OSPF Interface State."
2302       DEFVAL { down }
2303       ::= { swL3ospfIfEntry 12 }
2304
2305    swL3ospfIfDesignatedRouter OBJECT-TYPE
2306        SYNTAX   IpAddress
2307        MAX-ACCESS   read-only
2308        STATUS   current
2309        DESCRIPTION
2310           "The IP Address of the Designated Router."
2311       DEFVAL   { '00000000'H }    -- 0.0.0.0
2312       ::= { swL3ospfIfEntry 13 }
2313
2314    swL3ospfIfBackupDesignatedRouter OBJECT-TYPE
2315        SYNTAX   IpAddress
2316        MAX-ACCESS   read-only
2317        STATUS   current
2318        DESCRIPTION
2319           "The  IP  Address  of  the  Backup   Designated
2320           Router."
2321       DEFVAL   { '00000000'H }    -- 0.0.0.0
2322       ::= { swL3ospfIfEntry 14 }
2323
2324    swL3ospfIfEvents OBJECT-TYPE
2325        SYNTAX   Counter32
2326        MAX-ACCESS   read-only
2327        STATUS   current
2328        DESCRIPTION
2329           "The number of times this  OSPF  interface  has
2330           changed its state, or an error has occurred."
2331       ::= { swL3ospfIfEntry 15 }
2332
2333    swL3ospfIfMulticastForwarding OBJECT-TYPE
2334        SYNTAX   INTEGER    {
2335                            blocked (1),        -- no multicast forwarding
2336                            multicast (2),        -- using multicast address
2337                            unicast (3)        -- to each OSPF neighbor
2338                  }
2339        MAX-ACCESS   read-write
2340        STATUS   current
2341        DESCRIPTION
2342           "The way multicasts should  forwarded  on  this
2343           interface;  not  forwarded,  forwarded  as data
2344           link multicasts, or forwarded as data link uni-
2345           casts.   Data link multicasting is not meaning-
2346           ful on point to point and NBMA interfaces,  and
2347           setting ospfMulticastForwarding to 0 effective-
2348           ly disables all multicast forwarding."
2349       DEFVAL { blocked }
2350       ::= { swL3ospfIfEntry 16 }
2351
2352    swL3ospfIfDemand OBJECT-TYPE
2353        SYNTAX   TruthValue
2354        MAX-ACCESS   read-write
2355        STATUS   current
2356        DESCRIPTION
2357           "Indicates whether Demand OSPF procedures (hel-
2358           lo supression to FULL neighbors and setting the
2359           DoNotAge flag on proogated LSAs) should be per-
2360           formed on this interface."
2361       DEFVAL { false }
2362       ::= { swL3ospfIfEntry 17 }
2363
2364    swL3ospfIfAuthType OBJECT-TYPE
2365        SYNTAX   INTEGER (0..255)
2366                    -- none (0),
2367                    -- simplePassword (1)
2368                    -- md5 (2)
2369                    -- reserved for specification by IANA (> 2)
2370        MAX-ACCESS   read-write
2371        STATUS   current
2372        DESCRIPTION
2373           "The authentication type specified for  an  in-
2374           terface.   Additional  authentication types may
2375           be assigned locally."
2376       REFERENCE
2377          "OSPF Version 2, Appendix E Authentication"
2378      DEFVAL { 0 }        -- no authentication, by default
2379      ::= { swL3ospfIfEntry 18 }
2380
2381    swL3ospfIfAuthKey OBJECT-TYPE
2382        SYNTAX   OCTET STRING (SIZE (0..256))
2383        MAX-ACCESS   read-write
2384        STATUS   current
2385        DESCRIPTION
2386           "The Authentication Key.  If the Area's Author-
2387           ization  Type  is  simplePassword,  and the key
2388           length is shorter than 8 octets, the agent will
2389           left adjust and zero fill to 8 octets.
2390
2391           Note that unauthenticated  interfaces  need  no
2392           authentication key, and simple password authen-
2393           tication cannot use a key of more  than  8  oc-
2394           tets.  Larger keys are useful only with authen-
2395           tication mechanisms not specified in this docu-
2396           ment.
2397
2398           When read, ospfIfAuthKey always returns an  Oc-
2399           tet String of length zero."
2400       REFERENCE
2401          "OSPF Version 2, Section 9  The  Interface  Data
2402          Structure"
2403      DEFVAL   { '0000000000000000'H }    -- 0.0.0.0.0.0.0.0
2404      ::= { swL3ospfIfEntry 19 }
2405
2406    swL3ospfIfAuthKeyID OBJECT-TYPE
2407        SYNTAX   INTEGER (0..255)
2408        MAX-ACCESS   read-write
2409        STATUS   current
2410        DESCRIPTION
2411           "The MD5 key ID."
2412       ::= { swL3ospfIfEntry 20 }
2413
2414    swL3ospfIfPassiveMode OBJECT-TYPE
2415        SYNTAX   INTEGER{
2416        	other(1),
2417        	disabled(2),
2418        	enabled(3)
2419        	}
2420        MAX-ACCESS   read-write
2421        STATUS   current
2422        DESCRIPTION
2423           "Assign the designated entry to be a passive interface."
2424       ::= { swL3ospfIfEntry 21 }
2425
2426
2427--    swL3ospfIfStatus OBJECT-TYPE
2428--        SYNTAX   RowStatus
2429--        MAX-ACCESS   read-write
2430--        STATUS   current
2431--        DESCRIPTION
2432--           "This variable displays the status of  the  en-
2433--           try.  Setting it to 'invalid' has the effect of
2434--           rendering it inoperative.  The internal  effect
2435--           (row removal) is implementation dependent."
2436--       ::= { swL3ospfIfEntry 22 }
2437
2438    swL3ospfIfMetric OBJECT-TYPE
2439        SYNTAX   Metric
2440        MAX-ACCESS   read-write
2441        STATUS   current
2442        DESCRIPTION
2443           "The Metric to be advertised."
2444        ::= { swL3ospfIfEntry 23 }
2445
2446-- ****************************************************************************
2447swL3RoutePreference	OBJECT IDENTIFIER ::= { swL3MgmtMIB 9 }
2448
2449	swL3RoutePreferenceRIP OBJECT-TYPE
2450        SYNTAX  INTEGER (1..999)
2451        MAX-ACCESS  read-write
2452        STATUS  current
2453        DESCRIPTION
2454            "Used to configure the route preference of RIP."
2455        ::= { swL3RoutePreference 1 }
2456
2457	swL3RoutePreferenceOSPFIntra OBJECT-TYPE
2458        SYNTAX  INTEGER (1..999)
2459        MAX-ACCESS  read-write
2460        STATUS  current
2461        DESCRIPTION
2462            "Used to configure the route preference of OSPF Intra."
2463        ::= { swL3RoutePreference 2 }
2464
2465	swL3RoutePreferenceStatic OBJECT-TYPE
2466        SYNTAX  INTEGER (1..999)
2467        MAX-ACCESS  read-write
2468        STATUS  current
2469        DESCRIPTION
2470            "Used to configure the route preference of Static."
2471        ::= { swL3RoutePreference 3 }
2472
2473    swL3RoutePreferenceLocal OBJECT-TYPE
2474        SYNTAX  INTEGER (0..999)
2475        MAX-ACCESS  read-only
2476        STATUS  current
2477        DESCRIPTION
2478            "Used to read the route preference of Local."
2479        ::= { swL3RoutePreference 4 }
2480
2481	swL3RoutePreferenceOSPFInter OBJECT-TYPE
2482        SYNTAX  INTEGER (1..999)
2483        MAX-ACCESS  read-write
2484        STATUS  current
2485        DESCRIPTION
2486            "Used to configure the route preference of OSPF Inter."
2487        ::= { swL3RoutePreference 5 }
2488
2489    swL3RoutePreferenceOSPFExtT1 OBJECT-TYPE
2490        SYNTAX  INTEGER (1..999)
2491        MAX-ACCESS  read-write
2492        STATUS  current
2493        DESCRIPTION
2494            "Used to configure the route preference of OSPFExtT1."
2495        ::= { swL3RoutePreference 6 }
2496
2497    swL3RoutePreferenceOSPFExtT2 OBJECT-TYPE
2498        SYNTAX  INTEGER (1..999)
2499        MAX-ACCESS  read-write
2500        STATUS  current
2501        DESCRIPTION
2502            "Used to configure the route preference of OSPF ExtT2."
2503        ::= { swL3RoutePreference 7 }
2504
2505-- ****************************************************************************
2506--      The OSPF Area Data Structure contains information
2507--      regarding the various areas. The interfaces and
2508--      virtual links are configured as part of these areas.
2509--      Area 0.0.0.0, by definition, is the Backbone Area
2510-- ****************************************************************************
2511
2512    swL3ospfAreaTable OBJECT-TYPE
2513        SYNTAX   SEQUENCE OF SwL3ospfAreaEntry
2514        MAX-ACCESS   not-accessible
2515        STATUS   current
2516        DESCRIPTION
2517           "Information describing the configured  parame-
2518           ters  and cumulative statistics of the router's
2519           attached areas."
2520       REFERENCE
2521          "OSPF Version 2, Section 6  The Area Data Struc-
2522          ture"
2523      ::= { swL3MgmtMIB 10 }
2524
2525    swL3ospfAreaEntry OBJECT-TYPE
2526        SYNTAX   SwL3ospfAreaEntry
2527        MAX-ACCESS   not-accessible
2528        STATUS   current
2529        DESCRIPTION
2530           "Information describing the configured  parame-
2531           ters  and  cumulative  statistics of one of the
2532           router's attached areas."
2533       INDEX { swL3ospfAreaId }
2534       ::= { swL3ospfAreaTable 1 }
2535
2536SwL3ospfAreaEntry ::=
2537    SEQUENCE {
2538        swL3ospfAreaId
2539            AreaID,
2540        swL3ospfAreaType
2541            INTEGER,
2542        swL3ospfAreaSummaryState
2543            INTEGER,
2544        swL3ospfAreaMetric
2545            Integer32,
2546        swL3ospfAreaTranslateState
2547            INTEGER,
2548        swL3ospfAreaStatus
2549            RowStatus
2550              }
2551
2552    swL3ospfAreaId OBJECT-TYPE
2553        SYNTAX   AreaID
2554        MAX-ACCESS   read-only
2555        STATUS   current
2556        DESCRIPTION
2557           "A 32-bit integer uniquely identifying an area.
2558           Area ID 0.0.0.0 is used for the OSPF backbone."
2559      ::= { swL3ospfAreaEntry 1 }
2560
2561    swL3ospfAreaType OBJECT-TYPE
2562        SYNTAX   INTEGER{
2563        	normal(1),
2564        	stub(2),
2565        	nssa(3)
2566        	}
2567        MAX-ACCESS   read-create
2568        STATUS   obsolete
2569        DESCRIPTION
2570           "The type specified for an area."
2571      ::= { swL3ospfAreaEntry 2 }
2572
2573    swL3ospfAreaSummaryState OBJECT-TYPE
2574        SYNTAX   INTEGER    {
2575                    none(1),
2576                    disabled(2),
2577                    enabled(3)
2578                  }
2579        MAX-ACCESS   read-create
2580        STATUS   current
2581        DESCRIPTION
2582           "Whether the summary LSA is effective for this area."
2583      ::= { swL3ospfAreaEntry 3 }
2584
2585    swL3ospfAreaMetric OBJECT-TYPE
2586        SYNTAX   Integer32(0..65535)
2587        MAX-ACCESS   read-write
2588        STATUS   current
2589        DESCRIPTION
2590           "Enter the metric (1 - 65535; 0 for auto cost) of this area."
2591       ::= { swL3ospfAreaEntry 4 }
2592
2593    swL3ospfAreaTranslateState OBJECT-TYPE
2594        SYNTAX   INTEGER    {
2595                    none(1),
2596                    disabled(2),
2597                    enabled(3)
2598                  }
2599        MAX-ACCESS   read-create
2600        STATUS   current
2601        DESCRIPTION
2602           "."
2603       ::= { swL3ospfAreaEntry 5 }
2604
2605   swL3ospfAreaStatus OBJECT-TYPE
2606        SYNTAX   RowStatus
2607        MAX-ACCESS   read-create
2608        STATUS   current
2609        DESCRIPTION
2610           "This variable displays the status of  the  en-
2611           try.  Setting it to 'invalid' has the effect of
2612           rendering it inoperative.  The internal  effect
2613           (row removal) is implementation dependent."
2614       ::= { swL3ospfAreaEntry 6 }
2615
2616--***************************
2617-- The DVMRP Interface Table
2618--***************************
2619swL3dvmrpInterfaceTable OBJECT-TYPE
2620    SYNTAX     SEQUENCE OF SwL3dvmrpInterfaceEntry
2621    MAX-ACCESS not-accessible
2622    STATUS     current
2623    DESCRIPTION
2624            "The (conceptual) table listing the router's multicast-
2625            capable interfaces."
2626    ::= { swL3MgmtMIB 12 }
2627
2628swL3dvmrpInterfaceEntry OBJECT-TYPE
2629    SYNTAX     SwL3dvmrpInterfaceEntry
2630    MAX-ACCESS not-accessible
2631    STATUS     current
2632    DESCRIPTION
2633            "An entry (conceptual row) in the dvmrpInterfaceTable.  This
2634            row augments ipMRouteInterfaceEntry in the IP Multicast MIB,
2635            where the threshold object resides."
2636
2637    INDEX      { swL3dvmrpInterfaceIfIndex }
2638    ::= { swL3dvmrpInterfaceTable 1 }
2639
2640SwL3dvmrpInterfaceEntry ::= SEQUENCE {
2641    swL3dvmrpInterfaceIfIndex            Integer32,
2642    swL3dvmrpInterfaceLocalAddress       IpAddress,
2643    swL3dvmrpInterfaceMetric             Integer32,
2644    swL3dvmrpInterfaceProbe              Integer32,
2645    swL3dvmrpInterfaceNbrTimeout         Integer32,
2646    swL3dvmrpInterfaceStatus             RowStatus,
2647    swL3dvmrpInterfaceRcvBadPkts         Counter32,
2648    swL3dvmrpInterfaceRcvBadRoutes       Counter32
2649}
2650
2651swL3dvmrpInterfaceIfIndex OBJECT-TYPE
2652    SYNTAX     Integer32
2653    MAX-ACCESS not-accessible
2654    STATUS     current
2655    DESCRIPTION
2656            "The ifIndex value of the interface for which DVMRP is
2657            enabled."
2658    ::= { swL3dvmrpInterfaceEntry 1 }
2659
2660swL3dvmrpInterfaceLocalAddress OBJECT-TYPE
2661    SYNTAX     IpAddress
2662    MAX-ACCESS read-create
2663    STATUS     current
2664    DESCRIPTION
2665            "The IP address this system will use as a source address on
2666            this interface.  On unnumbered interfaces, it must be the
2667            same value as dvmrpInterfaceLocalAddress for some interface
2668            on the system."
2669    ::= { swL3dvmrpInterfaceEntry 2 }
2670
2671swL3dvmrpInterfaceMetric OBJECT-TYPE
2672    SYNTAX     Integer32 (1..31)
2673    MAX-ACCESS read-create
2674    STATUS     current
2675    DESCRIPTION
2676            "The distance metric for this interface which is used to
2677            calculate distance vectors."
2678    DEFVAL     { 1 }
2679    ::= { swL3dvmrpInterfaceEntry 3 }
2680
2681swL3dvmrpInterfaceProbe OBJECT-TYPE
2682    SYNTAX     Integer32 (1..65535)
2683    MAX-ACCESS read-create
2684    STATUS     current
2685    DESCRIPTION
2686            "Probe distribution interval."
2687    DEFVAL     { 10 }
2688    ::= { swL3dvmrpInterfaceEntry 4 }
2689
2690swL3dvmrpInterfaceNbrTimeout OBJECT-TYPE
2691    SYNTAX     Integer32 (1..65535)
2692    MAX-ACCESS read-create
2693    STATUS     current
2694    DESCRIPTION
2695            "Used to set the timer before neighbors are timed out."
2696    DEFVAL     { 35 }
2697    ::= { swL3dvmrpInterfaceEntry 5 }
2698
2699swL3dvmrpInterfaceStatus OBJECT-TYPE
2700    SYNTAX     RowStatus
2701    MAX-ACCESS read-create
2702    STATUS     current
2703    DESCRIPTION
2704            "The status of this entry.  Creating the entry enables DVMRP
2705            on the virtual interface; destroying the entry or setting it
2706            to notInService disables DVMRP on the virtual interface."
2707    ::= { swL3dvmrpInterfaceEntry 6}
2708
2709swL3dvmrpInterfaceRcvBadPkts OBJECT-TYPE
2710    SYNTAX     Counter32
2711    MAX-ACCESS read-only
2712    STATUS     current
2713    DESCRIPTION
2714            "The number of DVMRP packets received on the interface by
2715            the DVMRP process which were subsequently discarded as
2716            invalid (e.g. invalid packet format, or a route report from
2717            an unknown neighbor)."
2718    ::= { swL3dvmrpInterfaceEntry 7 }
2719
2720swL3dvmrpInterfaceRcvBadRoutes OBJECT-TYPE
2721    SYNTAX     Counter32
2722    MAX-ACCESS read-only
2723    STATUS     current
2724    DESCRIPTION
2725            "The number of routes, in valid DVMRP packets, which were
2726            ignored because the entry was invalid."
2727    ::= { swL3dvmrpInterfaceEntry 8 }
2728
2729
2730--********************************************************************
2731--swL3OspfLsdbMgmt            OBJECT IDENTIFIER ::= { swL3MgmtMIB 13 }
2732--********************************************************************
2733
2734--  OSPF Link State Database
2735
2736--      The Link State Database contains the Link State
2737--      Advertisements from throughout the areas that the
2738--      device is attached to.
2739
2740    swL3OspfInternalLsdbTable OBJECT-TYPE
2741        SYNTAX   SEQUENCE OF SwL3OspfInternalLsdbEntry
2742        MAX-ACCESS   not-accessible
2743        STATUS   current
2744        DESCRIPTION
2745           "The OSPF Process's Link State Database."
2746       REFERENCE
2747          "OSPF Version 2, Section 12  Link  State  Adver-
2748          tisements"
2749      ::= { swL3OspfLsdbMgmt 1 }
2750
2751    swL3OspfInternalLsdbEntry OBJECT-TYPE
2752        SYNTAX   SwL3OspfInternalLsdbEntry
2753        MAX-ACCESS   not-accessible
2754        STATUS   current
2755        DESCRIPTION
2756           "A single Link State Advertisement."
2757       INDEX { swL3OspfInternalLsdbAreaId, swL3OspfInternalLsdbType,
2758               swL3OspfInternalLsdbLsid, swL3OspfInternalLsdbRouterId }
2759       ::= { swL3OspfInternalLsdbTable 1 }
2760
2761SwL3OspfInternalLsdbEntry ::=
2762    SEQUENCE {
2763        swL3OspfInternalLsdbAreaId
2764            AreaID,
2765        swL3OspfInternalLsdbType
2766            INTEGER,
2767        swL3OspfInternalLsdbLsid
2768            IpAddress,
2769        swL3OspfInternalLsdbRouterId
2770            RouterID,
2771        swL3OspfInternalLsdbMetric
2772            Integer32,
2773        swL3OspfInternalLsdbSequenceNo
2774            OCTET STRING,
2775        swL3OspfInternalLsdbAge
2776            Unsigned32,
2777        swL3OspfInternalLsdbChecksum
2778            Integer32
2779              }
2780
2781    swL3OspfInternalLsdbAreaId OBJECT-TYPE
2782        SYNTAX   AreaID
2783        MAX-ACCESS   read-only
2784        STATUS   current
2785        DESCRIPTION
2786           "The 32 bit identifier of the Area  from  which
2787           the LSA was received."
2788      ::= { swL3OspfInternalLsdbEntry 1 }
2789
2790-- External Link State Advertisements are permitted
2791-- for backward compatibility, but should be displayed in
2792-- the ospfExtLsdbTable rather than here.
2793
2794    swL3OspfInternalLsdbType OBJECT-TYPE
2795        SYNTAX   INTEGER    {
2796                    routerLink (1),
2797                    networkLink (2),
2798                    summaryLink (3),
2799                    asSummaryLink (4),
2800                    asExternalLink (5), -- but see ospfExtLsdbTable
2801                    multicastLink (6),
2802                    nssaExternalLink (7)
2803                  }
2804        MAX-ACCESS   read-only
2805        STATUS   current
2806        DESCRIPTION
2807           "The type  of  the  link  state  advertisement.
2808           Each  link state type has a separate advertise-
2809           ment format."
2810      ::= { swL3OspfInternalLsdbEntry 2 }
2811
2812    swL3OspfInternalLsdbLsid OBJECT-TYPE
2813        SYNTAX   IpAddress
2814        MAX-ACCESS   read-only
2815        STATUS   current
2816        DESCRIPTION
2817           "The Link State ID is an LS Type Specific field
2818           containing either a Router ID or an IP Address;
2819           it identifies the piece of the  routing  domain
2820           that is being described by the advertisement."
2821      ::= { swL3OspfInternalLsdbEntry 3 }
2822
2823    swL3OspfInternalLsdbRouterId OBJECT-TYPE
2824        SYNTAX   RouterID
2825        MAX-ACCESS   read-only
2826        STATUS   current
2827        DESCRIPTION
2828           "The 32 bit number that uniquely identifies the
2829           originating router in the Autonomous System."
2830      ::= { swL3OspfInternalLsdbEntry 4 }
2831
2832    swL3OspfInternalLsdbMetric OBJECT-TYPE
2833        SYNTAX   Integer32(0..65535)
2834        MAX-ACCESS   read-only
2835        STATUS   current
2836        DESCRIPTION
2837           "Enter the metric (1 - 65535; 0 for auto cost) of this area."
2838       ::= { swL3OspfInternalLsdbEntry 5 }
2839
2840    swL3OspfInternalLsdbSequenceNo OBJECT-TYPE
2841        SYNTAX   OCTET STRING (SIZE(4))
2842        MAX-ACCESS   read-only
2843        STATUS   current
2844        DESCRIPTION
2845           "The sequence number field is a  signed  32-bit
2846           integer.   It  is used to detect old and dupli-
2847           cate link state advertisements.  The  space  of
2848           sequence  numbers  is  linearly  ordered.   The
2849           larger the sequence number the more recent  the
2850           advertisement."
2851      ::= { swL3OspfInternalLsdbEntry 6 }
2852
2853    swL3OspfInternalLsdbAge OBJECT-TYPE
2854        SYNTAX   Unsigned32    -- Should be 0..MaxAge
2855        MAX-ACCESS   read-only
2856        STATUS   current
2857        DESCRIPTION
2858           "This field is the age of the link state adver-
2859           tisement in seconds."
2860      ::= { swL3OspfInternalLsdbEntry 7 }
2861
2862    swL3OspfInternalLsdbChecksum OBJECT-TYPE
2863        SYNTAX   Integer32
2864        MAX-ACCESS   read-only
2865        STATUS   current
2866        DESCRIPTION
2867           "This field is the  checksum  of  the  complete
2868           contents  of  the  advertisement, excepting the
2869           age field.  The age field is excepted  so  that
2870           an   advertisement's  age  can  be  incremented
2871           without updating the  checksum.   The  checksum
2872           used  is  the same that is used for ISO connec-
2873           tionless datagrams; it is commonly referred  to
2874           as the Fletcher checksum."
2875      ::= { swL3OspfInternalLsdbEntry 8 }
2876
2877--  OSPF Link State Database, External
2878
2879--      The Link State Database contains the Link State
2880--      Advertisements from throughout the areas that the
2881--      device is attached to.
2882
2883--             This table is identical to the OSPF LSDB Table in
2884--      format, but contains only External Link State
2885--             Advertisements.  The purpose is to allow external
2886--      LSAs to be displayed once for the router rather
2887--      than once in each non-stub area.
2888
2889    swL3OspfExternalLsdbTable OBJECT-TYPE
2890        SYNTAX   SEQUENCE OF SwL3OspfExternalLsdbEntry
2891        MAX-ACCESS   not-accessible
2892        STATUS   current
2893        DESCRIPTION
2894           "The OSPF Process's Links State Database."
2895      ::= { swL3OspfLsdbMgmt 2 }
2896
2897    swL3OspfExternalLsdbEntry OBJECT-TYPE
2898        SYNTAX   SwL3OspfExternalLsdbEntry
2899        MAX-ACCESS   not-accessible
2900        STATUS   current
2901        DESCRIPTION
2902           "A single Link State Advertisement."
2903       INDEX { swL3OspfExternalLsdbType, swL3OspfExternalLsdbLsid, swL3OspfExternalLsdbRouterId }
2904       ::= { swL3OspfExternalLsdbTable 1 }
2905
2906SwL3OspfExternalLsdbEntry ::=
2907    SEQUENCE {
2908        swL3OspfExternalLsdbType
2909            INTEGER,
2910        swL3OspfExternalLsdbLsid
2911            IpAddress,
2912        swL3OspfExternalLsdbRouterId
2913            RouterID,
2914        swL3OspfExternalLsdbMetric
2915            Integer32,
2916        swL3OspfExternalLsdbMetricType
2917            INTEGER,
2918        swL3OspfExternalLsdbSequenceNo
2919            OCTET STRING,
2920        swL3OspfExternalLsdbAge
2921            Unsigned32,
2922        swL3OspfExternalLsdbChecksum
2923            Integer32,
2924        swL3OspfExternalLsdbForwardingAddress
2925            IpAddress,
2926        swL3OspfExternalLsdbRouteTag
2927            OCTET STRING
2928              }
2929
2930    swL3OspfExternalLsdbType OBJECT-TYPE
2931        SYNTAX   INTEGER    {
2932                    asExternalLink (5),
2933                    nssaExternalLink (7)
2934                  }
2935        MAX-ACCESS   read-only
2936        STATUS   current
2937        DESCRIPTION
2938           "The type  of  the  link  state  advertisement.
2939           Each  link state type has a separate advertise-
2940           ment format."
2941      ::= { swL3OspfExternalLsdbEntry 1 }
2942
2943    swL3OspfExternalLsdbLsid OBJECT-TYPE
2944        SYNTAX   IpAddress
2945        MAX-ACCESS   read-only
2946        STATUS   current
2947        DESCRIPTION
2948           "The Link State ID is an LS Type Specific field
2949           containing either a Router ID or an IP Address;
2950           it identifies the piece of the  routing  domain
2951           that is being described by the advertisement."
2952      ::= { swL3OspfExternalLsdbEntry 2 }
2953
2954    swL3OspfExternalLsdbRouterId OBJECT-TYPE
2955        SYNTAX   RouterID
2956        MAX-ACCESS   read-only
2957        STATUS   current
2958        DESCRIPTION
2959           "The 32 bit number that uniquely identifies the
2960           originating router in the Autonomous System."
2961      ::= { swL3OspfExternalLsdbEntry 3 }
2962
2963    swL3OspfExternalLsdbMetric OBJECT-TYPE
2964        SYNTAX   Integer32(0..65535)
2965        MAX-ACCESS   read-only
2966        STATUS   current
2967        DESCRIPTION
2968           "Enter the metric (1 - 65535; 0 for auto cost) of this area."
2969       ::= { swL3OspfExternalLsdbEntry 4 }
2970
2971    swL3OspfExternalLsdbMetricType OBJECT-TYPE
2972        SYNTAX   INTEGER {
2973        		unrecognized(0),
2974        		type-1(1),
2975        		type-2(2)
2976        		}
2977        MAX-ACCESS   read-only
2978        STATUS   current
2979        DESCRIPTION
2980           "Enter the metric type of this area."
2981       ::= { swL3OspfExternalLsdbEntry 5 }
2982
2983    swL3OspfExternalLsdbSequenceNo OBJECT-TYPE
2984        SYNTAX   OCTET STRING (SIZE(4))
2985        MAX-ACCESS   read-only
2986        STATUS   current
2987        DESCRIPTION
2988           "The sequence number field is a  signed  32-bit
2989           integer.   It  is used to detect old and dupli-
2990           cate link state advertisements.  The  space  of
2991           sequence  numbers  is  linearly  ordered.   The
2992           larger the sequence number the more recent  the
2993           advertisement."
2994      ::= { swL3OspfExternalLsdbEntry 6 }
2995
2996    swL3OspfExternalLsdbAge OBJECT-TYPE
2997        SYNTAX   Unsigned32    -- Should be 0..MaxAge
2998        MAX-ACCESS   read-only
2999        STATUS   current
3000        DESCRIPTION
3001           "This field is the age of the link state adver-
3002           tisement in seconds."
3003      ::= { swL3OspfExternalLsdbEntry 7 }
3004
3005    swL3OspfExternalLsdbChecksum OBJECT-TYPE
3006        SYNTAX   Integer32
3007        MAX-ACCESS   read-only
3008        STATUS   current
3009        DESCRIPTION
3010           "This field is the  checksum  of  the  complete
3011           contents  of  the  advertisement, except the
3012           age field.  The age field is the exception so that
3013           an   advertisement's  age  can  be  incremented
3014           without updating the  checksum.   The  checksum
3015           used  is  the same that is used for ISO connec-
3016           tionless datagrams; it is commonly referred  to
3017           as the Fletcher checksum."
3018      ::= { swL3OspfExternalLsdbEntry 8 }
3019
3020    swL3OspfExternalLsdbForwardingAddress OBJECT-TYPE
3021        SYNTAX   IpAddress
3022        MAX-ACCESS   read-only
3023        STATUS   current
3024        DESCRIPTION
3025           "This field is the forwarding address."
3026      ::= { swL3OspfExternalLsdbEntry 9 }
3027
3028    swL3OspfExternalLsdbRouteTag OBJECT-TYPE
3029        SYNTAX   OCTET STRING
3030        MAX-ACCESS   read-only
3031        STATUS   current
3032        DESCRIPTION
3033           "This field is the route tag."
3034      ::= { swL3OspfExternalLsdbEntry 10 }
3035
3036--*****************************************************************
3037-- swL3VrrpOperMgmt        OBJECT IDENTIFIER ::= { swL3MgmtMIB 14 }
3038--*****************************************************************
3039-- *******************************************************************
3040--  L3 VRRP Operations Table
3041-- *******************************************************************
3042
3043 swL3VrrpOperTable OBJECT-TYPE
3044     SYNTAX       SEQUENCE OF SwL3VrrpOperEntry
3045     MAX-ACCESS   not-accessible
3046     STATUS       current
3047     DESCRIPTION
3048         "Operations table for a VRRP router which consists of a
3049          sequence (i.e., one or more conceptual rows) of
3050          'swL3vrrpOperEntry' items."
3051     ::= { swL3VrrpOperMgmt 1 }
3052
3053 swL3VrrpOperEntry OBJECT-TYPE
3054     SYNTAX       SwL3VrrpOperEntry
3055     MAX-ACCESS   not-accessible
3056     STATUS       current
3057     DESCRIPTION
3058         "An entry in the vrrpOperTable containing the operational
3059          characteristics of a virtual router. On a VRRP router,
3060          a given virtual router is identified by a combination
3061          of the IF index and VRID.
3062
3063          Rows in the table cannot be modified unless the value
3064          of `swL3VrrpOperAdminState' is `disabled' and the
3065          `swL3VrrpOperState' has transitioned to `initialize'."
3066
3067     INDEX    { swL3VrrpOperIfIndex, swL3VrrpOperVrId }
3068     ::= { swL3VrrpOperTable 1 }
3069
3070 SwL3VrrpOperEntry ::=
3071     SEQUENCE {
3072     	 swL3VrrpOperIfIndex
3073     	     Integer32,
3074         swL3VrrpOperVrId
3075             VrId,
3076         swL3VrrpOperVirtualMacAddr
3077             MacAddress,
3078         swL3VrrpOperState
3079             INTEGER,
3080         swL3VrrpOperAdminState
3081             INTEGER,
3082         swL3VrrpOperPriority
3083             Integer32,
3084         swL3VrrpOperMasterIpAddr
3085             IpAddress,
3086         swL3VrrpOperCriticalIpAddr
3087             IpAddress,
3088         swL3VrrpOperCheckCriticalIpState
3089             INTEGER,
3090         swL3VrrpOperAuthType
3091             INTEGER,
3092         swL3VrrpOperAuthKey
3093             OCTET STRING,
3094         swL3VrrpOperAdvertisementInterval
3095             Integer32,
3096         swL3VrrpOperPreemptMode
3097             TruthValue,
3098         swL3VrrpOperVirtualRouterUpTime
3099             TimeStamp,
3100         swL3VrrpOperVirtualIpAddr
3101             IpAddress,
3102         swL3VrrpOperRowStatus
3103             RowStatus
3104 }
3105
3106 swL3VrrpOperIfIndex OBJECT-TYPE
3107    SYNTAX     Integer32
3108    MAX-ACCESS read-only
3109    STATUS     current
3110    DESCRIPTION
3111            "The ifIndex value of the interface for which VRRP is
3112            enabled."
3113    ::= { swL3VrrpOperEntry 1 }
3114
3115 swL3VrrpOperVrId OBJECT-TYPE
3116     SYNTAX       VrId
3117     MAX-ACCESS   read-only
3118     STATUS       current
3119     DESCRIPTION
3120         "This object contains the Virtual Router Identifier (VRID)."
3121     ::= { swL3VrrpOperEntry 2 }
3122
3123 swL3VrrpOperVirtualMacAddr OBJECT-TYPE
3124     SYNTAX       MacAddress
3125     MAX-ACCESS   read-only
3126     STATUS       current
3127     DESCRIPTION
3128         "The virtual MAC address of the virtual router. Although this
3129         object can be derived from the 'swL3VrrpOperVrId' object, it is
3130         defined so that it is easily obtainable by a management
3131         application and can be included in VRRP-related SNMP traps."
3132     ::= { swL3VrrpOperEntry 3 }
3133
3134 swL3VrrpOperState OBJECT-TYPE
3135     SYNTAX       INTEGER {
3136         initialize(1),
3137         backup(2),
3138         master(3)
3139     }
3140     MAX-ACCESS   read-only
3141     STATUS       current
3142
3143     DESCRIPTION
3144         "The current state of the virtual router. This object has
3145         three defined values:
3146
3147           - `initialize', which indicates that all the
3148             virtual router is waiting for a startup event.
3149
3150           - `backup', which indicates the virtual router is
3151             monitoring the availability of the master router.
3152
3153           - `master', which indicates that the virtual router
3154             is forwarding packets for IP addresses that are
3155             associated with this router.
3156
3157         Setting the `swL3VrrpOperAdminState' object (below) initiates
3158
3159
3160         transitions in the value of this object."
3161     ::= { swL3VrrpOperEntry 4 }
3162
3163 swL3VrrpOperAdminState OBJECT-TYPE
3164     SYNTAX       INTEGER {
3165         up(1),
3166         down(2)
3167     }
3168     MAX-ACCESS   read-create
3169     STATUS       current
3170     DESCRIPTION
3171         "This object will enable/disable the virtual router
3172         function. Setting the value to `up', will transition
3173         the state of the virtual router from `initialize' to `backup'
3174         or `master', depending on the value of `swL3VrrpOperPriority'.
3175         Setting the value to `down', will transition  the
3176         router from `master' or `backup' to `initialize'. State
3177         transitions may not be immediate; they sometimes depend on
3178         other factors, such as the interface (IF) state.
3179
3180         The `swL3VrrpOperAdminState' object must be set to `down' prior
3181         to modifying the other read-create objects in the conceptual
3182         row. The value of the `swL3VrrpOperRowStatus' object (below)
3183         must be `active', signifying that the conceptual row
3184         is valid (i.e., the objects are correctly set),
3185         in order for this object to be set to `up'."
3186     DEFVAL    { down }
3187     ::= { swL3VrrpOperEntry 5 }
3188
3189 swL3VrrpOperPriority OBJECT-TYPE
3190     SYNTAX       Integer32 (0..255)
3191     MAX-ACCESS   read-create
3192     STATUS       current
3193     DESCRIPTION
3194         "This object specifies the priority to be used for the
3195         virtual router master election process. Higher values imply
3196         higher priority.
3197
3198         A priority of '0', although not settable, is sent by
3199         the master router to indicate that this router has ceased
3200         to participate in VRRP and a backup virtual router should
3201         transition  to become a new master.
3202
3203         A priority of 255 is used for the router that owns the
3204         associated IP address(es)."
3205     DEFVAL       { 100 }
3206     ::= { swL3VrrpOperEntry 6 }
3207
3208 swL3VrrpOperMasterIpAddr OBJECT-TYPE
3209     SYNTAX       IpAddress
3210     MAX-ACCESS   read-only
3211     STATUS       current
3212     DESCRIPTION
3213         "The master router's real (primary) IP address. This is
3214         the IP address listed as the source in VRRP advertisement
3215         last received by this virtual router."
3216     ::= { swL3VrrpOperEntry 7 }
3217
3218 swL3VrrpOperCriticalIpAddr OBJECT-TYPE
3219     SYNTAX       IpAddress
3220     MAX-ACCESS   read-create
3221     STATUS       current
3222     DESCRIPTION
3223         "In the case where there is more than one IP address for
3224         a given `ifIndex', this object is used to specify the IP
3225         address that will become the `swL3VrrpOperMasterIpAddr', should
3226         the virtual router transition from backup to master. If
3227         this object is set to 0.0.0.0, the IP address which is
3228         numerically lowest will be selected."
3229     DEFVAL       { '00000000'H } -- 0.0.0.0
3230     ::= { swL3VrrpOperEntry 8 }
3231
3232 swL3VrrpOperCheckCriticalIpState OBJECT-TYPE
3233     SYNTAX       INTEGER{
3234     			other(0),
3235     			disabled(1),
3236     			enabled(2)
3237     			}
3238     MAX-ACCESS   read-create
3239     STATUS       current
3240     DESCRIPTION
3241         "Critical IP state."
3242     ::= { swL3VrrpOperEntry 9 }
3243
3244 swL3VrrpOperAuthType OBJECT-TYPE
3245     SYNTAX       INTEGER {
3246         noAuthentication(1),       -- VRRP protocol exchanges are not
3247                                    -- authenticated.
3248         simpleTextPassword(2),     -- Exchanges are authenticated by a
3249                                    -- clear text password.
3250         ipAuthenticationHeader(3)  -- Exchanges are authenticated using
3251                                    -- the IP authentication header.
3252     }
3253     MAX-ACCESS   read-create
3254     STATUS       current
3255     DESCRIPTION
3256         "Authentication type used for VRRP protocol exchanges between
3257         virtual routers. This value of this object is the same for a
3258         given ifIndex.
3259
3260         New enumerations to this list can only be added via a new
3261         RFC on the standards track."
3262     DEFVAL       { noAuthentication }
3263     ::= { swL3VrrpOperEntry 10 }
3264
3265 swL3VrrpOperAuthKey OBJECT-TYPE
3266     SYNTAX       OCTET STRING (SIZE (0..16))
3267     MAX-ACCESS   read-create
3268     STATUS       current
3269     DESCRIPTION
3270         "The Authentication Key. This object is set according to
3271         the value of the 'swL3VrrpOperAuthType' object
3272         ('simpleTextPassword' or 'ipAuthenticationHeader'). If the
3273         length of the value is less than 16 octets, the agent will
3274         left adjust and zero fill to 16 octets. The value of this
3275         object is the same for a given ifIndex.
3276
3277         When read, swL3VrrpOperAuthKey always returns an Octet String
3278         of length zero."
3279     ::= { swL3VrrpOperEntry 11 }
3280
3281 swL3VrrpOperAdvertisementInterval OBJECT-TYPE
3282     SYNTAX       Integer32 (1..255)
3283     UNITS        "seconds"
3284     MAX-ACCESS   read-create
3285     STATUS       current
3286     DESCRIPTION
3287         "The time interval, in seconds, between sending
3288         advertisement messages. Only the master router sends
3289         VRRP advertisements."
3290     DEFVAL       { 1 }
3291     ::= { swL3VrrpOperEntry 12 }
3292
3293 swL3VrrpOperPreemptMode OBJECT-TYPE
3294     SYNTAX       TruthValue
3295     MAX-ACCESS   read-create
3296     STATUS       current
3297     DESCRIPTION
3298         "Controls whether a higher priority virtual router will
3299         preempt a lower priority master."
3300     DEFVAL       { true }
3301     ::= { swL3VrrpOperEntry 13 }
3302
3303 swL3VrrpOperVirtualRouterUpTime OBJECT-TYPE
3304     SYNTAX       TimeStamp
3305     MAX-ACCESS   read-only
3306     STATUS       current
3307     DESCRIPTION
3308         "This is the value of the `sysUpTime' object when this
3309         virtual router (i.e., the `swL3VrrpOperState') transitioned
3310         out of `initialized'."
3311     ::= { swL3VrrpOperEntry 14 }
3312
3313 swL3VrrpOperVirtualIpAddr OBJECT-TYPE
3314         SYNTAX       IpAddress
3315         MAX-ACCESS   read-create
3316         STATUS       current
3317         DESCRIPTION
3318           "The assigned IP addresses that a virtual router is
3319            responsible for backing up."
3320     ::= { swL3VrrpOperEntry 15 }
3321
3322 swL3VrrpOperRowStatus OBJECT-TYPE
3323     SYNTAX       RowStatus
3324     MAX-ACCESS   read-create
3325     STATUS       current
3326     DESCRIPTION
3327         "The row status variable, used in accordance to installation
3328         and removal conventions for conceptual rows. The rowstatus of
3329         a currently active row in the vrrpOperTable is constrained
3330         by the operational state of the corresponding virtual router.
3331         When `vrrpOperRowStatus' is set to active(1), no other
3332         objects in the conceptual row, with the exception of
3333         `swL3VrrpOperAdminState', can be modified. Prior to setting the
3334         `swL3VrrpOperRowStatus' object from `active' to a different value,
3335         the `swL3VrrpOperAdminState' object must be set to `down' and the
3336         `vrrpOperState' object be transitioned to `initialize'.
3337
3338         To create a row in this table, a manager sets this object
3339         to either createAndGo(4) or createAndWait(5). Until instances
3340         of all corresponding columns are appropriately configured,
3341         the value of the corresponding instance of the `vrrpOperRowStatus'
3342         column will be read as notReady(3).
3343
3344
3345         In particular, a newly created row cannot be made active(1)
3346         until (minimally) the corresponding instance of
3347         `swL3VrrpOperVrId' has been set and there is at least one active
3348         row in the `swL3VrrpAssoIpAddrTable' defining an associated
3349         IP address for the virtual router."
3350     ::= { swL3VrrpOperEntry 16 }
3351
3352  -- -----------------------------------------------------------------------------
3353--  swL3IpMcastMgmt     OBJECT IDENTIFIER ::= { swL3IpMgmt 4 }
3354-- -----------------------------------------------------------------------------
3355  swL3IpMcastStaticRouteTable OBJECT-TYPE
3356        SYNTAX  SEQUENCE OF SwL3IpMcastStaticRouteEntry
3357        MAX-ACCESS  not-accessible
3358        STATUS  current
3359        DESCRIPTION
3360            "IP multicast static routing allows you to have multicast paths diverge from the unicast paths. "
3361        ::= { swL3IpMcastMgmt 1 }
3362
3363    swL3IpMcastStaticRouteEntry OBJECT-TYPE
3364        SYNTAX  SwL3IpMcastStaticRouteEntry
3365        MAX-ACCESS  not-accessible
3366        STATUS  current
3367        DESCRIPTION
3368            "A list of information about IP multicast static routes."
3369        INDEX  { swL3IpMcastStaticRouteIpmrouteAddr,swL3IpMcastStaticRouteIpmrouteMask }
3370        ::= { swL3IpMcastStaticRouteTable 1 }
3371
3372    SwL3IpMcastStaticRouteEntry ::=
3373        SEQUENCE {
3374            swL3IpMcastStaticRouteIpmrouteAddr
3375           	IpAddress,
3376       	     swL3IpMcastStaticRouteIpmrouteMask
3377       	        IpAddress,
3378            swL3IpMcastStaticRouteRpfAddr
3379                IpAddress,
3380            swL3IpMcastStaticRouteRowStatus
3381                RowStatus
3382            }
3383
3384    swL3IpMcastStaticRouteIpmrouteAddr OBJECT-TYPE
3385         SYNTAX IpAddress
3386         MAX-ACCESS  read-only
3387         STATUS current
3388         DESCRIPTION
3389           "If the source IP address of the received IP multicast packet matches
3390           this Ipmrouteaddress, the RPF network is used to do an RPF check."
3391        ::={swL3IpMcastStaticRouteEntry 1}
3392
3393      swL3IpMcastStaticRouteIpmrouteMask OBJECT-TYPE
3394        SYNTAX IpAddress
3395        MAX-ACCESS read-only
3396        STATUS  current
3397        DESCRIPTION
3398            "This specifies an IP net Mask for this interface."
3399        ::={swL3IpMcastStaticRouteEntry 2}
3400
3401    swL3IpMcastStaticRouteRpfAddr OBJECT-TYPE
3402        SYNTAX IpAddress
3403        MAX-ACCESS read-create
3404        STATUS current
3405        DESCRIPTION
3406           "If the source IP address of the received IP multicast packet matches
3407            the Ipmrouteaddress, the Rpfaddress will be used to check whether the packet
3408            received is from a legal interface.
3409            If it is set to null, it means that if the source IP address in the
3410            received IP multicast packet matches the Ipmrouteaddress, the RPF check will
3411            fail."
3412        ::={swL3IpMcastStaticRouteEntry 3}
3413
3414   swL3IpMcastStaticRouteRowStatus OBJECT-TYPE
3415      SYNTAX RowStatus
3416      MAX-ACCESS read-create
3417      STATUS  current
3418      DESCRIPTION
3419          "This object indicates the status of this entry."
3420      ::={swL3IpMcastStaticRouteEntry 4}
3421
3422 swL3OspfECMPIpDestination   OBJECT-TYPE
3423     SYNTAX        INTEGER {
3424                      enabled(1),
3425                      disabled(2)
3426                   }
3427      MAX-ACCESS    read-write
3428      STATUS       current
3429      DESCRIPTION
3430          "If set to 'enabled (1)', the ECMP algorithm will include the destination IP."
3431      DEFVAL {enabled}
3432      ::={swL3OspfECMPMgmt 1}
3433
3434 swL3OspfECMPIpSource   OBJECT-TYPE
3435     SYNTAX        INTEGER {
3436                      enabled(1),
3437                      disabled(2)
3438                   }
3439      MAX-ACCESS    read-write
3440      STATUS       current
3441      DESCRIPTION
3442          "If set to 'enabled (1)', the ECMP algorithm will include the lower 5 bits of the source IP.
3443          This attribution is mutually exclusive with crc_low and crc_high.
3444          If set to 'enabled (1)', crc_low and crc_high will be excluded."
3445      DEFVAL {disabled}
3446      ::={swL3OspfECMPMgmt 2}
3447
3448 swL3OspfECMPCrcLow   OBJECT-TYPE
3449     SYNTAX        INTEGER {
3450                      enabled(1),
3451                      disabled(2)
3452                   }
3453      MAX-ACCESS    read-write
3454      STATUS       current
3455      DESCRIPTION
3456            "If set to 'enabled (1)', the ECMP algorithm will include the lower 5 bits of the CRC. This
3457            attribution is mutually exclusive with crc_high and ip_source.
3458            If set to 'enabled (1)', crc_high and ip_source will be excluded."
3459      DEFVAL {enabled}
3460      ::={swL3OspfECMPMgmt 3}
3461
3462swL3OspfECMPCrcHigh   OBJECT-TYPE
3463     SYNTAX        INTEGER {
3464                      enabled(1),
3465                      disabled(2)
3466                   }
3467      MAX-ACCESS    read-write
3468      STATUS       current
3469      DESCRIPTION
3470           "If set to 'enabled (1)', the ECMP algorithm will include the upper 5 bits of the CRC.
3471           This attribution is mutually exclusive with ip_source and crc_low.
3472           If set to 'enabled (1)', crc_low and ip_source will be excluded."
3473      DEFVAL {disabled}
3474      ::={swL3OspfECMPMgmt 4}
3475
3476swL3OspfECMPTCPorUDPport   OBJECT-TYPE
3477     SYNTAX        INTEGER {
3478                      enabled(1),
3479                      disabled(2)
3480                   }
3481      MAX-ACCESS    read-write
3482      STATUS       current
3483      DESCRIPTION
3484           "If set to 'enabled (1)', the ECMP algorithm will include the TCP or UDP port."
3485      DEFVAL {disabled}
3486      ::={swL3OspfECMPMgmt 5}
3487
3488swL3OspfECMPState      OBJECT-TYPE
3489        SYNTAX  INTEGER {
3490                         enabled(1),
3491                         disabled(2)
3492                        }
3493        MAX-ACCESS  read-write
3494        STATUS  current
3495        DESCRIPTION
3496            "This object indicates the state of the OSPF ECMP function."
3497       ::={swL3OspfECMPMgmt 6}
3498
3499-- -----------------------------------------------------------------------------
3500--  swL3LocalRouteMgmt     OBJECT IDENTIFIER ::= { swL3MgmtMIB 16 }
3501-- -----------------------------------------------------------------------------
3502	swL3LocalRouteIPv4GlobalState OBJECT-TYPE
3503	    SYNTAX  INTEGER {
3504	    		    	enabled(1),
3505	                    disabled(2)
3506	                    }
3507	    MAX-ACCESS  read-write
3508	    STATUS  current
3509	    DESCRIPTION
3510	          "This object indicates the IPv4 local route state of the device."
3511	    DEFVAL { enabled }
3512	    ::= { swL3LocalRouteMgmt 1 }
3513
3514	swL3LocalRouteIPv6GlobalState OBJECT-TYPE
3515	    SYNTAX  INTEGER {
3516	    		    	enabled(1),
3517	                    disabled(2)
3518	                    }
3519	    MAX-ACCESS  read-write
3520	    STATUS  current
3521	    DESCRIPTION
3522	          "This object indicates the IPv6 local route state of the device."
3523	    DEFVAL { disabled }
3524	    ::= { swL3LocalRouteMgmt 2 }
3525
3526-- -----------------------------------------------------------------------------
3527
3528END
3529
3530