1-- -----------------------------------------------------------------------------
2-- MIB NAME : DGS-3620-52T L2MGMT mib
3-- FILE NAME: L2mgmtDgs3620-52T.mib
4-- DATE     : 2012/12/10
5-- VERSION  : 1.18
6-- PURPOSE  : To construct the MIB structure of L2MGMT
7-- -----------------------------------------------------------------------------
8-- MODIFICTION HISTORY:
9-- -----------------------------------------------------------------------------
10-- Version 1.18 2012/12/10 Rondom Ren
11-- Description:
12-- [New Object]
13-- add value list to "oam-unidirectional-link�� in swL2PortInfoErrorDisabled.
14
15-- Version 1.17
16-- 2012/11/27
17-- Request By Oran Tang for project DGS3620 R2.5
18-- [New Object]
19-- 1.Add table "swL2PortDropCounterTable" to display received error
20-- statistics information, including "Buffer Full Drop",""ACL Drop",
21-- "Multicast Drop","VLAN Ingress Drop","invalid IPv6","STP Drop",
22-- "Storm and Table Discarded", "MTU Drop" on ingress ports.
23-- 2.Add table "swL2PortStatisTable" to display the statistics information
24-- about the received and sent packets whose length are from 1519 bytes
25-- to 9216 bytes.
26-- 3.Add table "swL2PortTXDropCounterTable" to display sent error statistics
27-- information, including "HoL drop", "CoS drop", "STP drop" on egress ports.
28
29-- Version 1.16 2012/10/30 Rondom Ren
30-- Description:
31-- [Modification]
32-- Update swL2PortSfpInformationTable.
33
34-- Version 1.15 2012/09/11 Rondom Ren
35-- Description:
36-- [New Object]
37-- Add swL2PortSfpInformationTable.
38
39-- Version 1.14 2012/09/05 Wesley Wang
40-- Description:
41-- [New Object]
42-- Add swL2IGMPAccessAuthTable.
43
44-- Version 1.13, 2012/08/10 Rondom Ren
45-- Description:
46-- [New Object]
47-- add value list "power-saving(7)" in swL2PortInfoErrorDisabled
48
49-- Version 1.12, 2010/11/15, Jack Wei-- Description:
50--  [Modification]
51-- Add swL2DevCtrlCFMMaTable and swL2DevCtrlCFMMepTable to support CFM hardware mode.
52
53-- Version 1.11, 2010/10/13, Jok Long-- Description:
54--  [Modification]
55-- Update the module name
56
57-- Version 1.10, 2010/07/29, Liang Feng
58-- Description:
59--  [Modification]
60-- Delete object swVlanPrecedenceTable, swSubnetVLANTable, they are supported in SubnetVLAN.mib
61
62-- Version 1.09, 2010/07/16, Easion Tang
63-- Description:
64--  [Modification]
65-- Delete object swL2DhcpLocalRelayMgmt, it's supported in DHCPRelay.mib
66
67-- Version 1.08, 2010/03/18, Phoenix Xie
68-- Description:
69--  [Modification]
70--    1.Delete swL2MulticastFilterModePortTable, as it is no longer supported.
71
72-- Version 1.07, 2010/03/12, Phoenix Xie
73-- Description:
74--  [Modification]
75--    1.Delete swL2LimitedMulticastMgmt Nodes,which is already  supported by McastFilter.mib.
76--    2.Delete swL2IGMPMgmt Nodes, which is already supported by McastSnooping.mib.
77
78-- Version 1.06, 2010/03/12, Easion Tang
79-- Description:
80--  [Modification]
81--    Delete swL2DhcpRelayMgmt nodes, it's supported by swDHCPRelayMIB.
82
83-- Version 1.05, 2010/03/12, Robinson Yan
84-- Description:
85--  [Modification]
86--    1.Delete QOS and Traffic management nodes.
87--    2.Delete swL2DevCtrlIGMPSnooping, swL2DevCtrlIGMPSnoopingMcstRTOnly,
88--		swL2DevCtrlRmonState.
89
90-- Version 1.04, 2010/03/10, Robinson Yan
91-- Description:
92--  [Modification]
93--    Delete object swL2TrunkName.
94
95-- Version 1.03
96-- 2010/03/03, Easion Tang
97-- Add object swL2DhcpLocalRelayMgmt
98
99-- Version 1.02, 2010/02/24, Shawn Chen
100-- Description:
101--  [Modification]
102--    Delete swL2PortSecurityMgmt nodes, it's supported by swPortSecMIB.
103
104-- Version 1.01, 2010/02/23, Robinson Yan
105-- Description:
106--  [Modification]
107--    [1]Delete STP management nodes and loopback detection management nodes,
108--       these nodes are supported by MSTP.mib and LBD.mib.
109
110-- Version 1.00, 2010/02/09, jespersen cai
111-- This is the first formal version for universal MIB definition.
112-- -----------------------------------------------------------------------------
113
114DGS-3620-52T-L2MGMT-MIB	DEFINITIONS ::= BEGIN
115
116    IMPORTS
117        IpAddress , TimeTicks , Integer32, Unsigned32,
118        MODULE-IDENTITY , OBJECT-TYPE			FROM SNMPv2-SMI
119        DisplayString,RowStatus,TruthValue		FROM SNMPv2-TC
120        Counter						FROM RFC1155-SMI
121		--PortList								FROM Q-BRIDGE-MIB
122		AgentNotifyLevel						FROM DLINK-ID-REC-MIB
123       TEXTUAL-CONVENTION
124                  FROM SNMPv2-TC
125		dlink-Dgs3620Proj-Dgs3620-52T			FROM SWDGS3620PRIMGMT-MIB
126		swPortSecPortIndex						FROM PORT-SECURITY-MIB
127		dot1agCfmMdIndex, dot1agCfmMaIndex, dot1agCfmMepIdentifier  FROM IEEE8021-CFM-MIB;
128
129	  swL2MgmtMIB MODULE-IDENTITY
130	    LAST-UPDATED "1212100000Z"
131	    ORGANIZATION "D-Link Corp."
132	    CONTACT-INFO
133	        "http://support.dlink.com"
134	    DESCRIPTION
135		    "The Structure of Layer 2 Network Management Information."
136        ::= { dlink-Dgs3620Proj-Dgs3620-52T 2 }
137
138	MacAddress ::= OCTET STRING (SIZE (6))    -- a 6 octet address
139                                                  -- in the
140                                                  -- "canonical"
141                                                  -- order, copy from RFC1493
142
143		VlanId					::= INTEGER (1..4094)
144    	PortList                ::= OCTET STRING(SIZE (0..127))
145
146
147    swL2DevMgmt                 OBJECT IDENTIFIER ::= { swL2MgmtMIB 1 }
148    swL2VLANMgmt                OBJECT IDENTIFIER ::= { swL2MgmtMIB 2 }
149    swL2PortMgmt                OBJECT IDENTIFIER ::= { swL2MgmtMIB 3 }
150--	swL2DhcpRelayMgmt			OBJECT IDENTIFIER ::= { swL2MgmtMIB 8 }
151    swL2TrunkMgmt               OBJECT IDENTIFIER ::= { swL2MgmtMIB 9 }
152    swL2MirrorMgmt              OBJECT IDENTIFIER ::= { swL2MgmtMIB 10 }
153    swL2IGMPMgmt                OBJECT IDENTIFIER ::= { swL2MgmtMIB 11 }
154    swL2TrafficSegMgmt          OBJECT IDENTIFIER ::= { swL2MgmtMIB 14 }
155    swL2MulticastFilterMode	OBJECT IDENTIFIER ::= { swL2MgmtMIB 17 }
156--  swL2DhcpLocalRelayMgmt      OBJECT IDENTIFIER ::= { swL2MgmtMIB 24 }
157    swL2MgmtMIBTraps            OBJECT IDENTIFIER ::= { swL2MgmtMIB 100 }
158
159
160--
161-- ***********************************************************
162--
163-- Textual Conventions
164--
165-- ***********************************************************
166     IANAifMauAutoNegCapBits ::= TEXTUAL-CONVENTION
167       STATUS       current
168       DESCRIPTION
169         "This data type is used as the syntax of the
170        swL2PortAutoNegCapabilityBits, swL2PortAutoNegCapAdvertisedBits, and
171         swL2PortAutoNegCapReceivedBits objects in swL2PortAutoNegTable."
172       REFERENCE
173         "[IEEE802.3], Section 30.6.1.1.5"
174       SYNTAX  BITS{
175              bOther(0),          -- other or unknown
176              b10baseT(1),        -- 10BASE-T  half duplex mode
177              b10baseTFD(2),      -- 10BASE-T  full duplex mode
178              b100baseT4(3),      -- 100BASE-T4
179              b100baseTX(4),      -- 100BASE-TX half duplex mode
180              b100baseTXFD(5),    -- 100BASE-TX full duplex mode
181              b100baseT2(6),      -- 100BASE-T2 half duplex mode
182              b100baseT2FD(7),    -- 100BASE-T2 full duplex mode
183              bFdxPause(8),       -- PAUSE for full-duplex links
184              bFdxAPause(9),      -- Asymmetric PAUSE for full-duplex
185                                  --     links
186              bFdxSPause(10),     -- Symmetric PAUSE for full-duplex
187                                  --     links
188              bFdxBPause(11),     -- Asymmetric and Symmetric PAUSE for
189                                  --     full-duplex links
190              b1000baseX(12),     -- 1000BASE-X, -LX, -SX, -CX half
191                                  --     duplex mode
192              b1000baseXFD(13),   -- 1000BASE-X, -LX, -SX, -CX full
193                                  --     duplex mode
194              b1000baseT(14),     -- 1000BASE-T half duplex mode
195              b1000baseTFD(15)    -- 1000BASE-T full duplex mode
196         }
197
198
199-- -----------------------------------------------------------------------------
200--  swL2DevMgmt             OBJECT IDENTIFIER ::= { swL2MgmtMIB 1 }
201-- -----------------------------------------------------------------------------
202
203    swL2DevInfo             OBJECT IDENTIFIER ::= { swL2DevMgmt 1 }
204
205
206    swDevInfoTotalNumOfPort OBJECT-TYPE
207        SYNTAX  INTEGER (0..65535)
208        MAX-ACCESS  read-only
209        STATUS  current
210        DESCRIPTION
211            "The number of ports within this switch. This value is the sum
212             of the ports within this switch."
213        ::= { swL2DevInfo 1 }
214
215    swDevInfoNumOfPortInUse OBJECT-TYPE
216        SYNTAX  INTEGER (0..65535)
217        MAX-ACCESS  read-only
218        STATUS  current
219        DESCRIPTION
220            "The number of ports in this switch connected to the segment or
221             the end stations."
222        ::= { swL2DevInfo 2 }
223
224-- -----------------------------------------------------------------------------
225    swL2DevCtrl             OBJECT IDENTIFIER ::= { swL2DevMgmt 2 }
226
227    swL2DevCtrlSnmpTrapState OBJECT-TYPE
228    	SYNTAX	INTEGER {
229    		enabled(1),
230    		disabled(2)
231    		}
232    	MAX-ACCESS read-write
233    	STATUS	current
234    	DESCRIPTION
235    		"This object controls the SNMP trap status."
236    	::= { swL2DevCtrl 5 }
237
238    swL2DevCtrlCleanAllStatisticCounter OBJECT-TYPE
239        SYNTAX  INTEGER {
240               normal(1),
241               active(2)
242               }
243        MAX-ACCESS  read-write
244        STATUS  current
245        DESCRIPTION
246            "When the object is set to active, all statistical counters will
247             be cleared. If set to normal, no action will occur."
248        ::= { swL2DevCtrl 6 }
249
250    swL2DevCtrlVlanIdOfFDBTbl OBJECT-TYPE
251        SYNTAX      VlanId
252        MAX-ACCESS  read-write
253        STATUS      current
254        DESCRIPTION
255            "Indicates the VLAN ID to which the Dot1dTpFdbTable belongs;
256             The default value is the DEFAULT_VLAN_ID of the system."
257        ::= { swL2DevCtrl 7 }
258
259    swL2MACNotifyState OBJECT-TYPE
260        SYNTAX  INTEGER {
261               other(1),
262               disabled(2),
263               enabled(3)
264               }
265        MAX-ACCESS  read-write
266        STATUS  current
267        DESCRIPTION
268           "This object can enable or disable MAC Notification."
269        ::= { swL2DevCtrl 8 }
270
271    swL2MACNotifyHistorySize OBJECT-TYPE
272	    SYNTAX  INTEGER (1..500)
273	    MAX-ACCESS  read-write
274	    STATUS  current
275	    DESCRIPTION
276        "This object indicates the history size of MAC addresses in the MAC Address table.
277	         The default value is 1."
278    ::= { swL2DevCtrl 9 }
279
280    swL2MACNotifyInterval OBJECT-TYPE
281	    SYNTAX  INTEGER (1..2147483647)
282	    MAX-ACCESS  read-write
283	    STATUS  current
284	    DESCRIPTION
285	        "This object indicates the time interval, in seconds, that will trigger
286	         MAC notification messages."
287	    ::= { swL2DevCtrl 10 }
288
289	swL2DevCtrlAsymVlanState OBJECT-TYPE
290        SYNTAX  INTEGER {
291               other(1),
292               disabled(2),
293               enabled(3)
294               }
295        MAX-ACCESS  read-write
296        STATUS  current
297        DESCRIPTION
298            "This object enables or disables asymmetric VLANs
299             during the runtime of the system."
300        ::= { swL2DevCtrl 13 }
301
302-- -----------------------------------------------------------------------------
303    swL2DevCtrlTelnet   OBJECT IDENTIFIER ::= { swL2DevCtrl 14 }
304
305    swL2DevCtrlTelnetState OBJECT-TYPE
306        SYNTAX  INTEGER {
307               other(1),
308               disabled(2),
309               enabled(3)
310               }
311        MAX-ACCESS  read-write
312        STATUS  current
313        DESCRIPTION
314            "This object controls the Telnet status."
315        ::= { swL2DevCtrlTelnet 1 }
316
317    swL2DevCtrlTelnetTcpPort OBJECT-TYPE
318        SYNTAX  INTEGER (1..65535)
319        MAX-ACCESS  read-write
320        STATUS  current
321        DESCRIPTION
322            "This object designates TCP ports.
323             When Telnet is disabled, this object is not accessible."
324        ::= { swL2DevCtrlTelnet 2 }
325
326-- -----------------------------------------------------------------------------
327    swL2DevCtrlManagementVlanId OBJECT-TYPE
328        SYNTAX  VlanId
329        MAX-ACCESS  read-write
330        STATUS  current
331        DESCRIPTION
332            "This object controls which previously created VLANs are included
333             in the System IP Interface."
334        ::= { swL2DevCtrl 16 }
335
336-- -----------------------------------------------------------------------------
337    swL2DevCtrlWeb   OBJECT IDENTIFIER ::= { swL2DevCtrl 17 }
338
339    swL2DevCtrlWebState OBJECT-TYPE
340        SYNTAX  INTEGER {
341 	       enabled(1),
342               disabled(2)
343               }
344        MAX-ACCESS  read-write
345        STATUS  current
346        DESCRIPTION
347            "This object controls the Web status."
348        ::= { swL2DevCtrlWeb 1 }
349
350    swL2DevCtrlWebTcpPort OBJECT-TYPE
351        SYNTAX  INTEGER (1..65535)
352        MAX-ACCESS  read-write
353        STATUS  current
354        DESCRIPTION
355            "This object designates TCP ports.
356             When Web is disabled, this object is not accessible."
357        ::= { swL2DevCtrlWeb 2 }
358
359     swL2DevCtrlLLDPState OBJECT-TYPE
360        SYNTAX  INTEGER {
361               enabled(1),
362               disabled(2)
363               }
364        MAX-ACCESS  read-write
365        STATUS  current
366        DESCRIPTION
367            "Specifies the state of the LLDP function.
368             When this function is enabled, the switch can start to transmit
369             LLDP packets and receive and process the LLDP packets.
370	     The specific function of each port will depend on the per port
371	     LLDP setting.
372	     For the advertisement of LLDP packets, the switch announces the
373	     information to its neighbor through ports. For receiving
374	     LLDP packets, the switch will learn the information from the LLDP
375	     packets advertised from the neighbor in the neighbor table.
376	    "
377        ::= { swL2DevCtrl 18 }
378
379     swL2DevCtrlLLDPForwardMessageState OBJECT-TYPE
380        SYNTAX  INTEGER{
381                 enabled(1),
382                 disabled(2)
383                 }
384        MAX-ACCESS  read-write
385        STATUS   current
386        DESCRIPTION
387             "When lldp is disabled and lldp forward_message's are enabled, the
388              LLDP Data Unit packets received by the switch will be forwarded. "
389        DEFVAL  {disabled}
390       ::={swL2DevCtrl 19}
391
392     swL2DevCtrlIpAutoconfig OBJECT-TYPE
393    	SYNTAX	INTEGER {
394    		enabled(1),
395    		disabled(2)
396    	}
397    	MAX-ACCESS read-write
398    	STATUS current
399    	DESCRIPTION
400    		"This object controls the IP auto configuration state."
401    	::= { swL2DevCtrl 20 }
402
403-- -----------------------------------------------------------------------------
404     swL2DevCtrlCFM   OBJECT IDENTIFIER ::= { swL2DevCtrl 21 }
405
406     swL2DevCtrlCFMState OBJECT-TYPE
407        SYNTAX  INTEGER{
408                 enabled(1),
409                 disabled(2)
410                 }
411        MAX-ACCESS  read-write
412        STATUS   current
413        DESCRIPTION
414             "This object indicates the CFM global state."
415       ::={swL2DevCtrlCFM 1}
416
417    swL2DevCtrlCFMPortTable OBJECT-TYPE
418        SYNTAX      SEQUENCE OF SwL2DevCtrlCFMPortEntry
419        MAX-ACCESS  not-accessible
420        STATUS      current
421        DESCRIPTION
422            "A table containing the CFM state of specified ports."
423        ::= { swL2DevCtrlCFM 2 }
424
425    swL2DevCtrlCFMPortEntry OBJECT-TYPE
426        SYNTAX      SwL2DevCtrlCFMPortEntry
427        MAX-ACCESS  not-accessible
428        STATUS      current
429        DESCRIPTION
430            "The entry of the CFM state on specified ports."
431        INDEX   { swL2DevCtrlCFMPortIndex }
432        ::= { swL2DevCtrlCFMPortTable 1 }
433
434    SwL2DevCtrlCFMPortEntry ::=
435        SEQUENCE {
436            swL2DevCtrlCFMPortIndex
437                INTEGER,
438            swL2DevCtrlCFMPortState
439                INTEGER
440
441        }
442
443    swL2DevCtrlCFMPortIndex OBJECT-TYPE
444        SYNTAX      INTEGER
445        MAX-ACCESS  not-accessible
446        STATUS      current
447        DESCRIPTION
448            "This object indicates the port number."
449        ::= { swL2DevCtrlCFMPortEntry 1 }
450
451    swL2DevCtrlCFMPortState OBJECT-TYPE
452        SYNTAX  INTEGER {
453                enabled(1),
454                disabled(2)
455            }
456        MAX-ACCESS  read-write
457        STATUS  current
458        DESCRIPTION
459            "This object indicates the CFM state by port."
460        ::= { swL2DevCtrlCFMPortEntry 2 }
461
462    swL2DevCtrlCFMMaTable OBJECT-TYPE
463        SYNTAX      SEQUENCE OF SwL2DevCtrlCFMMaEntry
464        MAX-ACCESS  not-accessible
465        STATUS      current
466        DESCRIPTION
467            "A table containing the CFM mode of specified MAs."
468        ::= { swL2DevCtrlCFM 3 }
469
470    swL2DevCtrlCFMMaEntry OBJECT-TYPE
471        SYNTAX      SwL2DevCtrlCFMMaEntry
472        MAX-ACCESS  not-accessible
473        STATUS      current
474        DESCRIPTION
475            "The entry of the CFM mode on specified MAs."
476        INDEX   { dot1agCfmMdIndex, dot1agCfmMaIndex }
477        ::= { swL2DevCtrlCFMMaTable 1 }
478
479    SwL2DevCtrlCFMMaEntry ::=
480        SEQUENCE {
481            swL2DevCtrlCFMMaMode
482                INTEGER
483        }
484
485    swL2DevCtrlCFMMaMode OBJECT-TYPE
486        SYNTAX  INTEGER {
487                software(1),
488                hardware(2)
489            }
490        MAX-ACCESS  read-write
491        STATUS  current
492        DESCRIPTION
493            "This object indicates the CFM mode by MA."
494        ::= { swL2DevCtrlCFMMaEntry 1 }
495
496    swL2DevCtrlCFMMepTable OBJECT-TYPE
497        SYNTAX      SEQUENCE OF SwL2DevCtrlCFMMepEntry
498        MAX-ACCESS  not-accessible
499        STATUS      current
500        DESCRIPTION
501            "A table containing the CFM mode of specified MEPs."
502        ::= { swL2DevCtrlCFM 4 }
503
504    swL2DevCtrlCFMMepEntry OBJECT-TYPE
505        SYNTAX      SwL2DevCtrlCFMMepEntry
506        MAX-ACCESS  not-accessible
507        STATUS      current
508        DESCRIPTION
509            "The entry of the CFM mode on specified MEPs."
510        INDEX   { dot1agCfmMdIndex,
511                  dot1agCfmMaIndex,
512                  dot1agCfmMepIdentifier
513                }
514        ::= { swL2DevCtrlCFMMepTable 1 }
515
516    SwL2DevCtrlCFMMepEntry ::=
517        SEQUENCE {
518            swL2DevCtrlCFMMepMode
519                INTEGER
520        }
521
522    swL2DevCtrlCFMMepMode OBJECT-TYPE
523        SYNTAX  INTEGER {
524                software(1),
525                hardware(2)
526            }
527        MAX-ACCESS  read-only
528        STATUS  current
529        DESCRIPTION
530            "This object indicates the CFM mode by MEP."
531        ::= { swL2DevCtrlCFMMepEntry 1 }
532
533-- -----------------------------------------------------------------------------
534      swL2DevCtrlVLANTrunkState  OBJECT-TYPE
535        SYNTAX  INTEGER
536                {
537                  enabled(1),
538                  disabled(2)
539                }
540        MAX-ACCESS read-write
541        STATUS current
542        DESCRIPTION
543               "This indicates the global state of the VLAN trunking feature of the device."
544        ::={swL2DevCtrl 22}
545
546-- -----------------------------------------------------------------------------
547    swL2DevAlarm             OBJECT IDENTIFIER ::= { swL2DevMgmt 3 }
548
549    swL2DevAlarmNewRoot OBJECT-TYPE
550        SYNTAX  INTEGER {
551               other(1),
552               disabled(2),
553               enabled(3)
554               }
555        MAX-ACCESS  read-write
556        STATUS  current
557        DESCRIPTION
558            "When the device has become the new root of the Spanning Tree,
559            this object decides whether to send a new root trap."
560        ::= { swL2DevAlarm 1 }
561
562    swL2DevAlarmTopologyChange OBJECT-TYPE
563        SYNTAX  INTEGER {
564               other(1),
565               disabled(2),
566               enabled(3)
567               }
568        MAX-ACCESS  read-write
569        STATUS  current
570        DESCRIPTION
571            "This object determines whether or not to send a trap message when
572             the switch topology changes. If the object is enabled (3), the Topology Change
573             trap is sent by the device when any of its configured ports transition from
574             the Learning state to the Forwarding state, or from the Forwarding state to
575             the Blocking state. For the same port transition, the device does not send the
576             trap if this object value is disabled or in another state."
577        ::= { swL2DevAlarm 2 }
578
579    swL2DevAlarmLinkChange OBJECT-TYPE
580        SYNTAX  INTEGER {
581               other(1),
582               disabled(2),
583               enabled(3)
584               }
585        MAX-ACCESS  read-write
586        STATUS  current
587        DESCRIPTION
588            "This object determines whether or not to send a trap message when the link
589              changes. If the object is enabled (3), the Link Change trap is sent by
590             the device when any of its port links change. The device does not send the
591             trap if this object value is disabled or in another state."
592        ::= { swL2DevAlarm 3 }
593
594-- -----------------------------------------------------------------------------
595--  swL2VLANMgmt             OBJECT IDENTIFIER ::= { swL2MgmtMIB 2 }
596-- -----------------------------------------------------------------------------
597    swL2VlanStaticTable OBJECT-TYPE
598        SYNTAX      SEQUENCE OF SwL2VlanStaticEntry
599        MAX-ACCESS  not-accessible
600        STATUS      current
601        DESCRIPTION
602            "A table containing static configuration information for
603            each VLAN configured into the device by (local or
604            network) management. All entries are permanent and will
605            be restored after the device is reset."
606        ::= { swL2VLANMgmt 1 }
607
608    swL2VlanStaticEntry OBJECT-TYPE
609        SYNTAX      SwL2VlanStaticEntry
610        MAX-ACCESS  not-accessible
611        STATUS      current
612        DESCRIPTION
613            "Static information for a VLAN configured into this
614            device by (local or network) management."
615        INDEX   { swL2VlanIndex }
616        ::= { swL2VlanStaticTable 1 }
617
618    SwL2VlanStaticEntry ::=
619        SEQUENCE {
620            swL2VlanIndex
621                VlanId,
622            swL2VLANAdvertisement
623                INTEGER
624
625        }
626
627    swL2VlanIndex OBJECT-TYPE
628        SYNTAX      VlanId
629        MAX-ACCESS  not-accessible
630        STATUS      current
631        DESCRIPTION
632            "The VLAN-ID or other identifier referring to this VLAN."
633        ::= { swL2VlanStaticEntry 1 }
634
635    swL2VLANAdvertisement OBJECT-TYPE
636        SYNTAX  INTEGER {
637                enabled(1),
638                disabled(2)
639            }
640        MAX-ACCESS  read-write
641        STATUS  current
642        DESCRIPTION
643            "This object indicates if the advertisement is active or not."
644        ::= { swL2VlanStaticEntry 2 }
645
646    swL2PVIDAutoAssignmentState OBJECT-TYPE
647    	SYNTAX	INTEGER {
648    		enabled(1),
649    		disabled(2)
650    	}
651    	MAX-ACCESS read-write
652    	STATUS current
653    	DESCRIPTION
654    		"This object controls the PVID auto assignment state.
655    		 If 'Auto-assign PVID' is disabled, the PVID can only be changed
656    		 by PVID configuration (user changes explicitly). The VLAN
657    		 configuration will not automatically change the PVID.
658
659		 If 'Auto-assign PVID' is enabled, the PVID will be changed by PVID or VLAN configuration. When a user configures
660		 a port to VLAN X's untagged membership, this port's PVID
661		 will be updated with VLAN X. Using the VLAN list command,
662		 PVID is updated as the last item of the VLAN list. When a user removes
663		 a port from the untagged membership of the PVID's VLAN, the
664		 port's PVID will be assigned 'default VLAN'."
665    	::= { swL2VLANMgmt 2 }
666
667    swL2VlanPortInfoTable OBJECT-TYPE
668        SYNTAX      SEQUENCE OF SwL2VlanPortInfoEntry
669        MAX-ACCESS  not-accessible
670        STATUS      current
671        DESCRIPTION
672            "A table containing the VLAN and port role information of each port."
673        ::= { swL2VLANMgmt 3 }
674
675    swL2VlanPortInfoEntry OBJECT-TYPE
676        SYNTAX      SwL2VlanPortInfoEntry
677        MAX-ACCESS  not-accessible
678        STATUS      current
679        DESCRIPTION
680            "The table entry of VLAN port information."
681        INDEX   { swL2VlanPortInfoPortIndex,swL2VlanPortInfoVid }
682        ::= { swL2VlanPortInfoTable 1 }
683
684    SwL2VlanPortInfoEntry ::=
685        SEQUENCE {
686            swL2VlanPortInfoPortIndex
687                INTEGER,
688            swL2VlanPortInfoVid
689                 VlanId,
690            swL2VlanPortInfoPortRole
691                INTEGER
692        }
693    swL2VlanPortInfoPortIndex OBJECT-TYPE
694	    SYNTAX  INTEGER (0..65535)
695	    MAX-ACCESS  read-only
696	    STATUS  current
697	    DESCRIPTION
698	        "The port index."
699    	::= { swL2VlanPortInfoEntry 1 }
700
701    swL2VlanPortInfoVid OBJECT-TYPE
702	    SYNTAX   VlanId
703	    MAX-ACCESS  read-only
704	    STATUS  current
705	    DESCRIPTION
706	        "The VLAN ID assigned to a special port"
707    	::= { swL2VlanPortInfoEntry 2 }
708
709    swL2VlanPortInfoPortRole OBJECT-TYPE
710	    SYNTAX  INTEGER {
711	       other(1),
712               untagged(2),
713               tagged(3),
714               dynamic(4),
715               forbidden(5)
716              }
717	    MAX-ACCESS  read-only
718	    STATUS  current
719	    DESCRIPTION
720	        "The port role of a special port. When the role is 'other', it means this port does not belong to the VLAN."
721    	::= { swL2VlanPortInfoEntry 3 }
722
723	swL2NniGvrpBpduAddress OBJECT-TYPE
724	   SYNTAX  INTEGER {
725	   		dot1d(1),
726	   		dot1ad(2)
727	   		}
728	   MAX-ACCESS  read-write
729	   STATUS  current
730	   DESCRIPTION
731	"Specifies the GVRP's BPDU MAC address of the NNI port with Q-in-Q status."
732	   ::= { swL2VLANMgmt 6 }
733
734-- -----------------------------------------------------------------------------
735--  swL2PortMgmt            OBJECT IDENTIFIER ::= { swL2MgmtMIB 3 }
736-- -----------------------------------------------------------------------------
737
738    swL2PortInfoTable OBJECT-TYPE
739        SYNTAX  SEQUENCE OF SwL2PortInfoEntry
740        MAX-ACCESS  not-accessible
741        STATUS  current
742        DESCRIPTION
743            "A table that contains information about every port."
744        ::= { swL2PortMgmt 1 }
745
746    swL2PortInfoEntry OBJECT-TYPE
747        SYNTAX  SwL2PortInfoEntry
748        MAX-ACCESS  not-accessible
749        STATUS  current
750        DESCRIPTION
751            "A list of information for each port of the device."
752        INDEX   { swL2PortInfoPortIndex,swL2PortInfoMediumType }
753        ::= { swL2PortInfoTable 1 }
754
755    SwL2PortInfoEntry ::=
756        SEQUENCE {
757            swL2PortInfoPortIndex
758                INTEGER,
759            swL2PortInfoMediumType
760                INTEGER,
761            swL2PortInfoUnitID
762                INTEGER,
763            swL2PortInfoType
764                INTEGER,
765            swL2PortInfoLinkStatus
766                INTEGER,
767            swL2PortInfoNwayStatus
768                INTEGER,
769            swL2PortInfoErrorDisabled
770                INTEGER
771        }
772
773    swL2PortInfoPortIndex OBJECT-TYPE
774	    SYNTAX  INTEGER (0..65535)
775	    MAX-ACCESS  read-only
776	    STATUS  current
777	    DESCRIPTION
778	        "This object indicates the module's port number.(1..Max port
779	        number in the module)"
780    	::= { swL2PortInfoEntry 1 }
781
782    swL2PortInfoMediumType OBJECT-TYPE
783        SYNTAX INTEGER{
784        	copper(1),
785        	fiber(2)
786        }
787        MAX-ACCESS read-only
788        STATUS current
789        DESCRIPTION
790        	"Indicates the medium type of the port number."
791        ::={swL2PortInfoEntry 2}
792
793    swL2PortInfoUnitID OBJECT-TYPE
794        SYNTAX INTEGER (0..65535)
795        MAX-ACCESS  read-only
796        STATUS current
797        DESCRIPTION
798        	"Indicates the ID of the unit in the system."
799        ::= { swL2PortInfoEntry 3 }
800
801    swL2PortInfoType OBJECT-TYPE
802        SYNTAX  INTEGER {
803               portType-none(0),
804               portType-100Base-T(2),
805               portType-100Base-X(3),
806               portType-1000Base-T(4),
807               portType-1000Base-X(5),
808               portType-10GBase-R(6),
809               portType-10GBase-CX4(7),
810               portType-SIO(8),
811               portType-module-empty(9),
812               portType-user-last(10)
813              }
814        MAX-ACCESS  read-only
815        STATUS  current
816        DESCRIPTION
817            "This object indicates the connector type of this port."
818        ::= { swL2PortInfoEntry 4 }
819
820    swL2PortInfoLinkStatus OBJECT-TYPE
821        SYNTAX  INTEGER {
822               other(1),
823               link-pass(2),
824               link-fail(3)
825               }
826        MAX-ACCESS  read-only
827        STATUS  current
828        DESCRIPTION
829            "This object indicates the port link status."
830        ::= { swL2PortInfoEntry 5 }
831
832    swL2PortInfoNwayStatus OBJECT-TYPE
833        SYNTAX  INTEGER {
834               link-down(0),
835               full-10Mbps-8023x(1),
836               full-10Mbps-none(2),
837               half-10Mbps-backp(3),
838               half-10Mbps-none(4),
839               full-100Mbps-8023x(5),
840               full-100Mbps-none(6),
841               half-100Mbps-backp(7),
842               half-100Mbps-none(8),
843               full-1Gigabps-8023x(9),
844               full-1Gigabps-none(10),
845               half-1Gigabps-backp(11),
846               half-1Gigabps-none(12),
847               full-10Gigabps-8023x(13),
848               full-10Gigabps-none(14),
849               half-10Gigabps-8023x(15),
850               half-10Gigabps-none(16),
851               empty(17),
852               err-disabled(18)
853               }
854        MAX-ACCESS  read-only
855        STATUS  current
856        DESCRIPTION
857            "This object indicates the port speed and duplex mode."
858        ::= { swL2PortInfoEntry 6 }
859
860    swL2PortInfoErrorDisabled OBJECT-TYPE
861        SYNTAX  INTEGER {
862               none(0),
863               storm(1),
864               stp-lbd(2),
865               unknow(3),
866               ctp-lbd(4),
867               ddm(5),
868               bpdu-protection(6),
869               power-saving(7),
870               oam-unidirectional-link(11)
871               }
872        MAX-ACCESS  read-only
873        STATUS  current
874        DESCRIPTION
875            "This object indicates the blocking type of this port."
876        ::= { swL2PortInfoEntry 8 }
877
878-- -----------------------------------------------------------------------------
879
880    swL2PortCtrlTable OBJECT-TYPE
881        SYNTAX  SEQUENCE OF SwL2PortCtrlEntry
882        MAX-ACCESS  not-accessible
883        STATUS  current
884        DESCRIPTION
885            "A table that contains control information about every port."
886        ::= { swL2PortMgmt 2 }
887
888    swL2PortCtrlEntry OBJECT-TYPE
889        SYNTAX  SwL2PortCtrlEntry
890        MAX-ACCESS  not-accessible
891        STATUS  current
892        DESCRIPTION
893            "A list of control information for each port on the device."
894        INDEX  { swL2PortCtrlPortIndex,swL2PortCtrlMediumType}
895        ::= { swL2PortCtrlTable 1 }
896
897    SwL2PortCtrlEntry ::=
898        SEQUENCE {
899            swL2PortCtrlPortIndex
900                INTEGER,
901            swL2PortCtrlMediumType
902            	INTEGER,
903            swL2PortCtrlUnitIndex
904                INTEGER,
905            swL2PortCtrlAdminState
906                INTEGER,
907            swL2PortCtrlNwayState
908                INTEGER,
909            swL2PortCtrlFlowCtrlState
910                INTEGER,
911            swL2PortCtrlLearningState
912                INTEGER,
913            swL2PortCtrlMACNotifyState
914                INTEGER,
915--            swL2PortCtrlMulticastfilter
916--                INTEGER
917            swL2PortCtrlMDIXState
918                  INTEGER
919            }
920
921    swL2PortCtrlPortIndex OBJECT-TYPE
922        SYNTAX  INTEGER (0..65535)
923        MAX-ACCESS  read-only
924        STATUS  current
925        DESCRIPTION
926            "This object indicates the module's port number.(1..Max port
927            number in the module)"
928        ::= { swL2PortCtrlEntry 1 }
929
930    swL2PortCtrlMediumType OBJECT-TYPE
931        SYNTAX INTEGER{
932        	copper(1),
933        	fiber(2)
934        }
935        MAX-ACCESS read-only
936        STATUS current
937        DESCRIPTION
938        	"Indicates the medium type of the port number."
939        ::={ swL2PortCtrlEntry 2 }
940
941    swL2PortCtrlUnitIndex OBJECT-TYPE
942        SYNTAX  INTEGER (0..65535)
943        MAX-ACCESS  read-only
944        STATUS  current
945        DESCRIPTION
946            "Indicates the ID of the unit in the device"
947        ::= { swL2PortCtrlEntry 3 }
948
949    swL2PortCtrlAdminState OBJECT-TYPE
950        SYNTAX  INTEGER {
951               other(1),
952               disabled(2),
953               enabled(3)
954               }
955        MAX-ACCESS  read-write
956        STATUS  current
957        DESCRIPTION
958            "This object decides if the port is enabled or disabled."
959        ::= { swL2PortCtrlEntry 4 }
960
961    swL2PortCtrlNwayState OBJECT-TYPE
962        SYNTAX  INTEGER {
963               other(1),
964               nway-enabled(2),
965               nway-disabled-10Mbps-Half(3),
966               nway-disabled-10Mbps-Full(4),
967               nway-disabled-100Mbps-Half(5),
968               nway-disabled-100Mbps-Full(6),
969               nway-disabled-1Gigabps-Half(7),
970               nway-disabled-1Gigabps-Full(8),
971               nway-disabled-1Gigabps-Full-master(9),
972               nway-disabled-1Gigabps-Full-slave(10)
973               }
974        MAX-ACCESS  read-write
975        STATUS  current
976        DESCRIPTION
977            "Chose the port speed, duplex mode, and N-Way function mode."
978        ::= { swL2PortCtrlEntry 5 }
979
980    swL2PortCtrlFlowCtrlState OBJECT-TYPE
981        SYNTAX  INTEGER {
982               other(1),
983               disabled(2),
984               enabled(3)
985               }
986        MAX-ACCESS  read-write
987        STATUS  current
988        DESCRIPTION
989            "The flow control mechanism is different between full duplex
990            mode and half duplex mode. For half duplex mode, the jamming
991            signal is asserted. For full duplex mode, the IEEE 802.3x flow
992            control function sends PAUSE frames and receives PAUSE frames."
993        ::= { swL2PortCtrlEntry 6 }
994
995    swL2PortCtrlLearningState OBJECT-TYPE
996        SYNTAX  INTEGER {
997               other(1),
998               disabled(2),
999               enabled(3)
1000               }
1001        MAX-ACCESS  read-write
1002        STATUS  current
1003        DESCRIPTION
1004            "This object decides if the port is locked or not."
1005        ::= { swL2PortCtrlEntry 7 }
1006
1007    swL2PortCtrlMACNotifyState OBJECT-TYPE
1008        SYNTAX  INTEGER {
1009               other(1),
1010               disabled(2),
1011               enabled(3)
1012               }
1013        MAX-ACCESS  read-write
1014        STATUS  current
1015        DESCRIPTION
1016            "This object sets each port's MAC notification state."
1017        ::= { swL2PortCtrlEntry 8 }
1018
1019--    swL2PortCtrlMulticastfilter OBJECT-TYPE
1020--        SYNTAX  INTEGER {
1021--    		   other(0),
1022--               forward-all-groups(1),
1023--               forward-unregistered-groups(2),
1024--               filter-unregistered-groups(3)
1025
1026--              }
1027--        MAX-ACCESS  read-write
1028--        STATUS  current
1029--        DESCRIPTION
1030--            "This object controls the multicast port filtering mode for a specified port. "
1031--          ::= { swL2PortCtrlEntry 9 }
1032
1033           swL2PortCtrlMDIXState OBJECT-TYPE
1034                SYNTAX  INTEGER {
1035                        auto(1),
1036                        normal(2),
1037                        cross(3)
1038                        }
1039                MAX-ACCESS  read-write
1040                STATUS  current
1041                DESCRIPTION
1042                    "This object configures the MDIX setting of the port."
1043                ::= { swL2PortCtrlEntry 10 }
1044
1045
1046
1047    swL2PortCtrlJumboFrame OBJECT-TYPE
1048        SYNTAX  INTEGER {
1049				other(1),
1050				disabled(2),
1051				enabled(3)
1052              }
1053        MAX-ACCESS  read-write
1054        STATUS  current
1055        DESCRIPTION
1056            "This object configures the switch's jumbo frame settings."
1057        ::= { swL2PortMgmt 3 }
1058
1059    swL2PortCtrlJumboFrameMaxSize OBJECT-TYPE
1060        SYNTAX  INTEGER
1061        MAX-ACCESS  read-only
1062        STATUS  current
1063        DESCRIPTION
1064            "This object describes how many bytes the max jumbo frame is."
1065        ::= { swL2PortMgmt 4 }
1066
1067-- -----------------------------------------------------------------------------
1068-- swL2PortCounterCtrlTable
1069-- -----------------------------------------------------------------------------
1070    swL2PortCounterCtrlTable OBJECT-TYPE
1071        SYNTAX  SEQUENCE OF SwL2PortCounterCtrlEntry
1072        MAX-ACCESS  not-accessible
1073        STATUS  current
1074        DESCRIPTION
1075            "A table that is used to clear counter information about every port."
1076        ::= { swL2PortMgmt 6 }
1077
1078    swL2PortCounterCtrlEntry OBJECT-TYPE
1079        SYNTAX  SwL2PortCounterCtrlEntry
1080        MAX-ACCESS  not-accessible
1081        STATUS  current
1082        DESCRIPTION
1083            "A list of entries used to clear the counter information for each port of the device."
1084        INDEX   { swL2PortCounterCtrlPortIndex }
1085        ::= { swL2PortCounterCtrlTable 1 }
1086
1087    SwL2PortCounterCtrlEntry ::=
1088        SEQUENCE {
1089            swL2PortCounterCtrlPortIndex
1090                INTEGER,
1091            swL2PortCounterClearCtrl
1092            	INTEGER
1093        }
1094
1095    swL2PortCounterCtrlPortIndex OBJECT-TYPE
1096        SYNTAX  INTEGER (0..65535)
1097        MAX-ACCESS  read-only
1098        STATUS  current
1099        DESCRIPTION
1100        	"This object indicates the module's port number.(1..Max port
1101        	number in the module)"
1102    ::= { swL2PortCounterCtrlEntry 1 }
1103
1104    swL2PortCounterClearCtrl OBJECT-TYPE
1105        SYNTAX  INTEGER {
1106        	other(1),
1107        	start(2)
1108        	}
1109        MAX-ACCESS  read-write
1110        STATUS  current
1111        DESCRIPTION
1112        	"This object indicates whether to clear the counters for each port of the device or not."
1113    ::= { swL2PortCounterCtrlEntry 2 }
1114
1115
1116-- -----------------------------------------------------------------------------
1117-- swL2PortDropCounterTable
1118-- -----------------------------------------------------------------------------
1119    swL2PortDropCounterTable OBJECT-TYPE
1120        SYNTAX  SEQUENCE OF SwL2PortDropCounterEntry
1121        MAX-ACCESS  not-accessible
1122        STATUS  current
1123        DESCRIPTION
1124            "A table that contains received error statistic information for each port."
1125        ::= { swL2PortMgmt 9 }
1126
1127    swL2PortDropCounterEntry OBJECT-TYPE
1128        SYNTAX  SwL2PortDropCounterEntry
1129        MAX-ACCESS  not-accessible
1130        STATUS  current
1131        DESCRIPTION
1132            "A list of information for each port received drop counter."
1133        INDEX   { swL2PortDropCounterPortIndex }
1134        ::= { swL2PortDropCounterTable 1 }
1135
1136    SwL2PortDropCounterEntry ::=
1137        SEQUENCE {
1138            swL2PortDropCounterPortIndex
1139                INTEGER,
1140           swL2PortBufferFullDrops
1141	Counter,
1142           swL2PortACLDrops
1143	Counter,
1144           swL2PortMulticastDrops
1145	Counter,
1146           swL2PortVLANIngressDrops
1147	Counter,
1148           swL2PortInvalidIPv6Drops
1149	Counter,
1150           swL2PortSTPDrops
1151	Counter,
1152           swL2PortStormAndFDBDiscard
1153	Counter,
1154           swL2PortMTUDrops
1155	Counter
1156	    }
1157
1158    swL2PortDropCounterPortIndex OBJECT-TYPE
1159	    SYNTAX  INTEGER (0..65535)
1160	    MAX-ACCESS  read-only
1161	    STATUS  current
1162	    DESCRIPTION
1163	        "This object indicates the module's port number.(1..Max port
1164	        number in the module)"
1165    	::= { swL2PortDropCounterEntry 1 }
1166
1167    swL2PortBufferFullDrops OBJECT-TYPE
1168	    SYNTAX  Counter
1169	    MAX-ACCESS  read-only
1170	    STATUS  current
1171	    DESCRIPTION
1172	            "The total number of packets discarded while input buffer full."
1173    	::= { swL2PortDropCounterEntry 2 }
1174
1175    swL2PortACLDrops OBJECT-TYPE
1176	    SYNTAX  Counter
1177	    MAX-ACCESS  read-only
1178	    STATUS  current
1179	    DESCRIPTION
1180	            "The total number of received packets denied by ACLs."
1181    	::= { swL2PortDropCounterEntry 3 }
1182
1183    swL2PortMulticastDrops OBJECT-TYPE
1184	    SYNTAX  Counter
1185	    MAX-ACCESS  read-only
1186	    STATUS  current
1187	    DESCRIPTION
1188	            "The total number of received multicast packet that is discarded."
1189    	::= { swL2PortDropCounterEntry 4 }
1190
1191    swL2PortVLANIngressDrops OBJECT-TYPE
1192	    SYNTAX  Counter
1193	    MAX-ACCESS  read-only
1194	    STATUS  current
1195	    DESCRIPTION
1196	            "The total number of packets discarded by VLAN ingress checking."
1197    	::= { swL2PortDropCounterEntry 5 }
1198
1199    swL2PortInvalidIPv6Drops OBJECT-TYPE
1200	    SYNTAX  Counter
1201	    MAX-ACCESS  read-only
1202	    STATUS  current
1203	    DESCRIPTION
1204	            "The total number of packets discarded by IPv6 L3"
1205    	::= { swL2PortDropCounterEntry 7 }
1206
1207
1208    swL2PortSTPDrops OBJECT-TYPE
1209	    SYNTAX  Counter
1210	    MAX-ACCESS  read-only
1211	    STATUS  current
1212	    DESCRIPTION
1213	            "The total number of packets discarded when ingress
1214	            port is not in forwarding state."
1215    	::= { swL2PortDropCounterEntry 8 }
1216
1217
1218    swL2PortStormAndFDBDiscard OBJECT-TYPE
1219	    SYNTAX  Counter
1220	    MAX-ACCESS  read-only
1221	    STATUS  current
1222	    DESCRIPTION
1223	            "The total number of packets discarded by receiving policy
1224                     (i.e. DST_DISCARD, SRC_DISCARD,RATE_CONTROL, etc.)"
1225    	::= { swL2PortDropCounterEntry 9 }
1226
1227
1228    swL2PortMTUDrops OBJECT-TYPE
1229	    SYNTAX  Counter
1230	    MAX-ACCESS  read-only
1231	    STATUS  current
1232	    DESCRIPTION
1233	            "The total number of packets discarded by frames received, which
1234                    exceeds Maximum Frame in length and contains a valid or invalid FCS."
1235    	::= { swL2PortDropCounterEntry 10 }
1236
1237
1238-- -----------------------------------------------------------------------------
1239-- swL2PortJumboFrameCtrlTable
1240-- -----------------------------------------------------------------------------
1241        swL2PortJumboFrameCtrlTable OBJECT-TYPE
1242        SYNTAX  SEQUENCE OF SwL2PortJumboFrameCtrlEntry
1243        MAX-ACCESS  not-accessible
1244        STATUS  current
1245        DESCRIPTION
1246            "A table that contains information for each port's jumbo frame information."
1247        ::= { swL2PortMgmt 10 }
1248
1249    swL2PortJumboFrameCtrlEntry OBJECT-TYPE
1250        SYNTAX  SwL2PortJumboFrameCtrlEntry
1251        MAX-ACCESS  not-accessible
1252        STATUS  current
1253        DESCRIPTION
1254            "A list of information for each port's jumbo frame of the device."
1255        INDEX   { swL2PortJumboFrameCtrlPortIndex }
1256        ::= { swL2PortJumboFrameCtrlTable 1 }
1257
1258    SwL2PortJumboFrameCtrlEntry ::=
1259        SEQUENCE {
1260            swL2PortJumboFrameCtrlPortIndex
1261                INTEGER,
1262            swL2PortJumboFrameCtrlPortState
1263	        INTEGER
1264        }
1265
1266    swL2PortJumboFrameCtrlPortIndex OBJECT-TYPE
1267              SYNTAX  INTEGER (1..255)
1268              MAX-ACCESS  read-only
1269              STATUS  current
1270              DESCRIPTION
1271                  "This object indicates the module's port number.(1..Max port number in the module)"
1272              ::= { swL2PortJumboFrameCtrlEntry 1 }
1273
1274    swL2PortJumboFrameCtrlPortState OBJECT-TYPE
1275              SYNTAX  INTEGER {
1276                              other(1),
1277                              disabled(2),
1278                              enabled(3)
1279                              }
1280              MAX-ACCESS  read-write
1281              STATUS  current
1282              DESCRIPTION
1283                   "This object indicates if the port's jumbo frame is enabled or disabled."
1284              ::= { swL2PortJumboFrameCtrlEntry 2 }
1285
1286-- -----------------------------------------------------------------------------
1287-- swL2PortSfpInformationTable
1288-- -----------------------------------------------------------------------------
1289    swL2PortSfpInfoTable OBJECT-TYPE
1290        SYNTAX  SEQUENCE OF SwL2PortSfpInfoEntry
1291        MAX-ACCESS  not-accessible
1292        STATUS  current
1293        DESCRIPTION
1294            "A table that contains information for each sfp pluged in port."
1295        ::= { swL2PortMgmt 11 }
1296
1297    swL2PortSfpInfoEntry OBJECT-TYPE
1298        SYNTAX  SwL2PortSfpInfoEntry
1299        MAX-ACCESS  not-accessible
1300        STATUS  current
1301        DESCRIPTION
1302            "A list of information for each sfp pluged in port."
1303        INDEX   { swL2PortSfpInfoPortIndex }
1304        ::= { swL2PortSfpInfoTable 1 }
1305
1306    SwL2PortSfpInfoEntry ::=
1307        SEQUENCE {
1308            swL2PortSfpInfoPortIndex
1309                INTEGER,
1310           swL2PortSfpInfoConnectType
1311           	DisplayString,
1312           swL2PortSfpInfoVendorName
1313	        DisplayString,
1314           swL2PortSfpInfoVendorPN
1315		DisplayString,
1316           swL2PortSfpInfoVendorSN
1317		DisplayString,
1318           swL2PortSfpInfoVendorOUI
1319           	DisplayString,
1320           swL2PortSfpInfoVendorRev
1321           	DisplayString,
1322           swL2PortSfpInfoDateCode
1323           	DisplayString,
1324           swL2PortSfpInfoFiberType
1325           	DisplayString,
1326           swL2PortSfpInfoBaudRate
1327           	INTEGER,
1328           swL2PortSfpInfoWavelength
1329           	INTEGER
1330        }
1331
1332    swL2PortSfpInfoPortIndex OBJECT-TYPE
1333	    SYNTAX  INTEGER (0..65535)
1334	    MAX-ACCESS  read-only
1335	    STATUS  current
1336	    DESCRIPTION
1337	        "This object indicates the module's port number.(1..Max port
1338	        number in the module)"
1339    	::= { swL2PortSfpInfoEntry 1 }
1340
1341    swL2PortSfpInfoConnectType OBJECT-TYPE
1342	    SYNTAX  DisplayString(SIZE (1..10))
1343	    MAX-ACCESS  read-only
1344	    STATUS  current
1345	    DESCRIPTION
1346	            "The ConnectType of sfp informaiton."
1347    	::= { swL2PortSfpInfoEntry 2 }
1348    swL2PortSfpInfoVendorName OBJECT-TYPE
1349	    SYNTAX  DisplayString(SIZE (1..16))
1350	    MAX-ACCESS  read-only
1351	    STATUS  current
1352	    DESCRIPTION
1353	            "The vendor name of sfp informaiton."
1354    	::= { swL2PortSfpInfoEntry 3 }
1355
1356    swL2PortSfpInfoVendorPN OBJECT-TYPE
1357	    SYNTAX  DisplayString(SIZE (1..16))
1358	    MAX-ACCESS  read-only
1359	    STATUS  current
1360	    DESCRIPTION
1361	            "The vendor PN of sfp informaiton."
1362    	::= { swL2PortSfpInfoEntry 4 }
1363
1364    swL2PortSfpInfoVendorSN OBJECT-TYPE
1365	    SYNTAX  DisplayString(SIZE (1..16))
1366	    MAX-ACCESS  read-only
1367	    STATUS  current
1368	    DESCRIPTION
1369	            "The vendor SN of sfp informaiton."
1370    	::= { swL2PortSfpInfoEntry 5 }
1371
1372    swL2PortSfpInfoVendorOUI OBJECT-TYPE
1373	    SYNTAX  DisplayString(SIZE (1..6))
1374	    MAX-ACCESS  read-only
1375	    STATUS  current
1376	    DESCRIPTION
1377	            "The vendor OUI of sfp information."
1378    	::= { swL2PortSfpInfoEntry 6 }
1379   swL2PortSfpInfoVendorRev OBJECT-TYPE
1380	    SYNTAX  DisplayString(SIZE (1..4))
1381	    MAX-ACCESS  read-only
1382	    STATUS  current
1383	    DESCRIPTION
1384	            "The vendor Rev of sfp information."
1385    	::= { swL2PortSfpInfoEntry 7 }
1386   swL2PortSfpInfoDateCode OBJECT-TYPE
1387	    SYNTAX  DisplayString(SIZE (1..8))
1388	    MAX-ACCESS  read-only
1389	    STATUS  current
1390	    DESCRIPTION
1391	            "The date code of sfp information."
1392    	::= { swL2PortSfpInfoEntry 8 }
1393   swL2PortSfpInfoFiberType OBJECT-TYPE
1394	    SYNTAX  DisplayString(SIZE (1..25))
1395	    MAX-ACCESS  read-only
1396	    STATUS  current
1397	    DESCRIPTION
1398	            "The fiber type of sfp information."
1399    	::= { swL2PortSfpInfoEntry 9 }
1400   swL2PortSfpInfoBaudRate OBJECT-TYPE
1401	    SYNTAX  INTEGER (0..65535)
1402	    MAX-ACCESS  read-only
1403	    STATUS  current
1404	    DESCRIPTION
1405	            "The baud rate  of sfp information."
1406    	::= { swL2PortSfpInfoEntry 10 }
1407   swL2PortSfpInfoWavelength OBJECT-TYPE
1408	    SYNTAX  INTEGER (0..65535)
1409	    MAX-ACCESS  read-only
1410	    STATUS  current
1411	    DESCRIPTION
1412	            "The wavelength of sfp information."
1413    	::= { swL2PortSfpInfoEntry 11 }
1414-- -----------------------------------------------------------------------------
1415-- swL2PortStatisTable
1416-- -----------------------------------------------------------------------------
1417    swL2PortStatisTable OBJECT-TYPE
1418        SYNTAX  SEQUENCE OF SwL2PortStatisEntry
1419        MAX-ACCESS  not-accessible
1420        STATUS  current
1421        DESCRIPTION
1422            "A table that contains information for each port statis counter."
1423        ::= { swL2PortMgmt 12 }
1424
1425    swL2PortStatisEntry OBJECT-TYPE
1426        SYNTAX  SwL2PortStatisEntry
1427        MAX-ACCESS  not-accessible
1428        STATUS  current
1429        DESCRIPTION
1430            "A list of statis information for each port."
1431        INDEX   { swL2PortStatisPortIndex }
1432        ::= { swL2PortStatisTable 1 }
1433
1434    SwL2PortStatisEntry ::=
1435        SEQUENCE {
1436            swL2PortStatisPortIndex
1437                INTEGER,
1438           swL2PortStatisPkts1519to1522Octets
1439	Counter,
1440           swL2PortStatisPkts1519to2047Octets
1441	Counter,
1442           swL2PortStatisPkts2048to4095Octets
1443	Counter,
1444           swL2PortStatisPkts4096to9216Octets
1445	Counter
1446        }
1447
1448    swL2PortStatisPortIndex OBJECT-TYPE
1449	    SYNTAX  INTEGER (0..65535)
1450	    MAX-ACCESS  read-only
1451	    STATUS  current
1452	    DESCRIPTION
1453	        "This object indicates the module's port number.(1..Max port
1454	        number in the module)"
1455    	::= { swL2PortStatisEntry 1 }
1456
1457    swL2PortStatisPkts1519to1522Octets OBJECT-TYPE
1458	    SYNTAX  Counter
1459	    MAX-ACCESS  read-only
1460	    STATUS  current
1461	    DESCRIPTION
1462	            "Receive and Transmit 1519 to 1522 Byte Good VLAN Frame Counter
1463		incremented for each good VLAN(excludes FCS errors) frame received,
1464		which is 1519 to 1522 bytes in length, inclusive
1465		(excluding framing bits, but including FCS bytes)."
1466    	::= { swL2PortStatisEntry 2 }
1467
1468    swL2PortStatisPkts1519to2047Octets  OBJECT-TYPE
1469	    SYNTAX  Counter
1470	    MAX-ACCESS  read-only
1471	    STATUS  current
1472	    DESCRIPTION
1473	            "Receive and Transmit 1519 to 2047 Byte Frame Counter.
1474		Incremented for each good or bad frame
1475		(includes FCS, Symbol, and Length/Type error)."
1476    	::= { swL2PortStatisEntry 3 }
1477
1478    swL2PortStatisPkts2048to4095Octets OBJECT-TYPE
1479	    SYNTAX  Counter
1480	    MAX-ACCESS  read-only
1481	    STATUS  current
1482	    DESCRIPTION
1483	            "Receive and Transmit 2048 to 4095 Byte Frame Counter.
1484		Incremented for each good or bad frame
1485		(includes FCS, Symbol, and Length/Type error)."
1486    	::= { swL2PortStatisEntry 4 }
1487
1488    swL2PortStatisPkts4096to9216Octets OBJECT-TYPE
1489	    SYNTAX  Counter
1490	    MAX-ACCESS  read-only
1491	    STATUS  current
1492	    DESCRIPTION
1493	            "Receive and Transmit 4096 to 9216 Byte Frame Counter.
1494		Incremented for each good or bad frame
1495		(includes FCS, Symbol, and Length/Type error)."
1496    	::= { swL2PortStatisEntry 5 }
1497
1498
1499
1500-- -----------------------------------------------------------------------------
1501-- swL2PortTXDropCounterTable
1502-- -----------------------------------------------------------------------------
1503    swL2PortTXDropCounterTable OBJECT-TYPE
1504        SYNTAX  SEQUENCE OF SwL2PortTXDropCounterEntry
1505        MAX-ACCESS  not-accessible
1506        STATUS  current
1507        DESCRIPTION
1508            "A table that contains information for each port TX drop counter."
1509        ::= { swL2PortMgmt 13 }
1510
1511    swL2PortTXDropCounterEntry OBJECT-TYPE
1512        SYNTAX  SwL2PortTXDropCounterEntry
1513        MAX-ACCESS  not-accessible
1514        STATUS  current
1515        DESCRIPTION
1516            "A list of information for each port TX drop counter"
1517        INDEX   { swL2PortTXDropCounterPortIndex }
1518        ::= { swL2PortTXDropCounterTable 1 }
1519
1520    SwL2PortTXDropCounterEntry ::=
1521        SEQUENCE {
1522            swL2PortTXDropCounterPortIndex
1523                INTEGER,
1524           swL2PortTXHOLDrops
1525	Counter,
1526           swL2PortTXCOS0Drops
1527	Counter,
1528           swL2PortTXCOS1Drops
1529	Counter,
1530           swL2PortTXCOS2Drops
1531	Counter,
1532           swL2PortTXCOS3Drops
1533	Counter,
1534           swL2PortTXCOS4Drops
1535	Counter,
1536           swL2PortTXCOS5Drops
1537	Counter,
1538           swL2PortTXCOS6Drops
1539	Counter,
1540           swL2PortTXCOS7Drops
1541	Counter,
1542           swL2PortTXSTPDrops
1543	Counter
1544	    }
1545
1546    swL2PortTXDropCounterPortIndex OBJECT-TYPE
1547	    SYNTAX  INTEGER (0..65535)
1548	    MAX-ACCESS  read-only
1549	    STATUS  current
1550	    DESCRIPTION
1551	        "This object indicates the module's port number.(1..Max port
1552	        number in the module)"
1553    	::= { swL2PortTXDropCounterEntry 1 }
1554
1555    swL2PortTXHOLDrops OBJECT-TYPE
1556	    SYNTAX  Counter
1557	    MAX-ACCESS  read-only
1558	    STATUS  current
1559	    DESCRIPTION
1560	            "Incremented for each Packet drop due to Head Of Line blocking"
1561    	::= { swL2PortTXDropCounterEntry 2 }
1562
1563    swL2PortTXCOS0Drops OBJECT-TYPE
1564	    SYNTAX  Counter
1565	    MAX-ACCESS  read-only
1566	    STATUS  current
1567	    DESCRIPTION
1568	            "Incremented for each packet drop due to
1569                    Head of Line blocking of egress port COS0"
1570    	::= { swL2PortTXDropCounterEntry 3 }
1571
1572     swL2PortTXCOS1Drops OBJECT-TYPE
1573	    SYNTAX  Counter
1574	    MAX-ACCESS  read-only
1575	    STATUS  current
1576	    DESCRIPTION
1577	            "Incremented for each packet drop due to
1578                    Head of Line blocking of egress port COS1"
1579    	::= { swL2PortTXDropCounterEntry 4 }
1580
1581    swL2PortTXCOS2Drops OBJECT-TYPE
1582	    SYNTAX  Counter
1583	    MAX-ACCESS  read-only
1584	    STATUS  current
1585	    DESCRIPTION
1586	            "Incremented for each packet drop due to
1587                    Head of Line blocking of egress port COS2"
1588    	::= { swL2PortTXDropCounterEntry 5 }
1589
1590     swL2PortTXCOS3Drops OBJECT-TYPE
1591	    SYNTAX  Counter
1592	    MAX-ACCESS  read-only
1593	    STATUS  current
1594	    DESCRIPTION
1595	            "Incremented for each packet drop due to
1596                    Head of Line blocking of egress port COS3"
1597    	::= { swL2PortTXDropCounterEntry 6 }
1598
1599    swL2PortTXCOS4Drops OBJECT-TYPE
1600	    SYNTAX  Counter
1601	    MAX-ACCESS  read-only
1602	    STATUS  current
1603	    DESCRIPTION
1604	            "Incremented for each packet drop due to
1605                    Head of Line blocking of egress port COS4"
1606    	::= { swL2PortTXDropCounterEntry 7 }
1607
1608     swL2PortTXCOS5Drops OBJECT-TYPE
1609	    SYNTAX  Counter
1610	    MAX-ACCESS  read-only
1611	    STATUS  current
1612	    DESCRIPTION
1613	            "Incremented for each packet drop due to
1614                    Head of Line blocking of egress port COS5"
1615    	::= { swL2PortTXDropCounterEntry 8 }
1616
1617    swL2PortTXCOS6Drops OBJECT-TYPE
1618	    SYNTAX  Counter
1619	    MAX-ACCESS  read-only
1620	    STATUS  current
1621	    DESCRIPTION
1622	            "Incremented for each packet drop due to
1623                    Head of Line blocking of egress port COS6"
1624    	::= { swL2PortTXDropCounterEntry 9 }
1625
1626     swL2PortTXCOS7Drops OBJECT-TYPE
1627	    SYNTAX  Counter
1628	    MAX-ACCESS  read-only
1629	    STATUS  current
1630	    DESCRIPTION
1631	            "Incremented for each packet drop due to
1632                    Head of Line blocking of egress port COS7"
1633    	::= { swL2PortTXDropCounterEntry 10 }
1634
1635      swL2PortTXSTPDrops OBJECT-TYPE
1636	    SYNTAX  Counter
1637	    MAX-ACCESS  read-only
1638	    STATUS  current
1639	    DESCRIPTION
1640	            "Incremented for packets dropped when egress port is
1641                    not in forwarding state"
1642    	::= { swL2PortTXDropCounterEntry 11 }
1643
1644-- -----------------------------------------------------------------------------
1645--  swL2DhcpRelayMgmt        OBJECT IDENTIFIER ::= { swL2MgmtMIB 8 }
1646-- -----------------------------------------------------------------------------
1647--   swL2DhcpRelayState OBJECT-TYPE
1648--        SYNTAX  INTEGER {
1649--               other(1),
1650--               disabled(2),
1651--               enabled(3)
1652--               }
1653--        MAX-ACCESS  read-write
1654--        STATUS  current
1655--        DESCRIPTION
1656--            "This object indicates if the DHCP relay function is enabled or
1657--            disabled."
1658--        ::= { swL2DhcpRelayMgmt 1 }
1659--
1660--    swL2DhcpRelayHopCount OBJECT-TYPE
1661--        SYNTAX  INTEGER (1..16)
1662--        MAX-ACCESS  read-write
1663--        STATUS  current
1664--        DESCRIPTION
1665--            "This object indicates the maximum number of router hops that
1666--             DHCP packets can cross."
1667--        ::= { swL2DhcpRelayMgmt 2 }
1668--
1669--    swL2DhcpRelayTimeThreshold OBJECT-TYPE
1670--        SYNTAX  INTEGER (0..65535)
1671--        MAX-ACCESS  read-write
1672--        STATUS  current
1673--        DESCRIPTION
1674--            "This object indicates the minimum time in seconds within which
1675--            the switch must relay the DHCP request. If this time is
1676--            exceeded, the switch will drop the DHCP packet."
1677--        ::= { swL2DhcpRelayMgmt 3 }
1678--
1679--    swL2DhcpRelayOption82State OBJECT-TYPE
1680--        SYNTAX  INTEGER {
1681--               other(1),
1682--               disabled(2),
1683--               enabled(3)
1684--               }
1685--        MAX-ACCESS  read-write
1686--        STATUS  current
1687--        DESCRIPTION
1688--            "This object indicates if the DHCP relay agent information option 82
1689--            function is enabled or disabled."
1690--        ::= { swL2DhcpRelayMgmt 4 }
1691--
1692--    swL2DhcpRelayOption82Check OBJECT-TYPE
1693--        SYNTAX  INTEGER {
1694--               other(1),
1695--               disabled(2),
1696--               enabled(3)
1697--               }
1698--        MAX-ACCESS  read-write
1699--        STATUS  current
1700--        DESCRIPTION
1701--            "This object indicates if the checking mechanism of DHCP relay agent
1702--            information option 82 is enabled or disabled."
1703--        ::= { swL2DhcpRelayMgmt 5 }
1704--
1705--    swL2DhcpRelayOption82Policy OBJECT-TYPE
1706--        SYNTAX  INTEGER {
1707--               replace(1),
1708--               drop(2),
1709--               keep(3)
1710--               }
1711--        MAX-ACCESS  read-write
1712--        STATUS  current
1713--        DESCRIPTION
1714--            "This object indicates the reforwarding policy of the DHCP relay agent
1715--            information option 82.
1716--
1717--            replace (1)  - replace the exiting option 82 field in messages.
1718--            drop (2)     - discard messages with an existing option 82 field.
1719--            keep (3)     - retain the existing option 82 field messages."
1720--        ::= { swL2DhcpRelayMgmt 6 }
1721--
1722--    swL2DhcpRelayCtrlTable OBJECT-TYPE
1723--        SYNTAX  SEQUENCE OF SwL2DhcpRelayCtrlEntry
1724--        MAX-ACCESS  not-accessible
1725--        STATUS  current
1726--        DESCRIPTION
1727--            "This table specifies the IP address as a destination to forward
1728--            (relay) DHCP packets to."
1729--        ::= { swL2DhcpRelayMgmt 7 }
1730--
1731--    swL2DhcpRelayCtrlEntry OBJECT-TYPE
1732--        SYNTAX  SwL2DhcpRelayCtrlEntry
1733--        MAX-ACCESS  not-accessible
1734--        STATUS  current
1735--        DESCRIPTION
1736--            "A list of information that specifies the IP address as a destination
1737--            to forward (relay) DHCP packets to."
1738--        INDEX  { swL2DhcpRelayCtrlInterfaceName,  swL2DhcpRelayCtrlServer}
1739--        ::= { swL2DhcpRelayCtrlTable 1 }
1740--
1741--    SwL2DhcpRelayCtrlEntry ::=
1742--        SEQUENCE {
1743--            swL2DhcpRelayCtrlInterfaceName
1744--                DisplayString,
1745--            swL2DhcpRelayCtrlServer
1746--                IpAddress,
1747--            swL2DhcpRelayCtrlState
1748--                INTEGER
1749--        }
1750--
1751--    swL2DhcpRelayCtrlInterfaceName OBJECT-TYPE
1752--        SYNTAX  DisplayString (SIZE(1..12))
1753--        MAX-ACCESS  read-only
1754--        STATUS  current
1755--        DESCRIPTION
1756--            "The name of the IP interface."
1757--        ::= { swL2DhcpRelayCtrlEntry 1 }
1758--
1759--    swL2DhcpRelayCtrlServer OBJECT-TYPE
1760--        SYNTAX IpAddress
1761--        MAX-ACCESS  read-only
1762--        STATUS current
1763--        DESCRIPTION
1764--            "The DHCP server IP address."
1765--        ::= { swL2DhcpRelayCtrlEntry 2 }
1766--
1767--    swL2DhcpRelayCtrlState OBJECT-TYPE
1768--        SYNTAX  INTEGER {
1769--                    other(1),
1770--                    invalid(2),
1771--                    valid(3)
1772--                }
1773--        MAX-ACCESS  read-write
1774--        STATUS  current
1775--        DESCRIPTION
1776--            "This object indicates the status of this entry.
1777--
1778--            other (1) - This entry is currently in use but the conditions
1779--                under which it will remain so are different from each of
1780--                the following values.
1781--            invalid (2) - Writing this value to the object will remove the
1782--                corresponding entry from the table.
1783--            valid (3) - This entry resides in the table."
1784--        ::= { swL2DhcpRelayCtrlEntry 3 }
1785--
1786--
1787-- -----------------------------------------------------------------------------
1788--  swL2TrunkMgmt           OBJECT IDENTIFIER ::= { swL2MgmtMIB 9 }
1789-- -----------------------------------------------------------------------------
1790
1791    swL2TrunkMaxSupportedEntries OBJECT-TYPE
1792        SYNTAX  INTEGER (0..65535)
1793        MAX-ACCESS  read-only
1794        STATUS  current
1795        DESCRIPTION
1796            "Maximum number of entries in the trunk configuration table
1797            (swL2TrunkCtrlTable)."
1798        ::= { swL2TrunkMgmt 1 }
1799
1800    swL2TrunkCurrentNumEntries OBJECT-TYPE
1801        SYNTAX  INTEGER (0..65535)
1802        MAX-ACCESS  read-only
1803        STATUS  current
1804        DESCRIPTION
1805            "Current active number of entries in the trunk configuration
1806            table."
1807        ::= { swL2TrunkMgmt 2 }
1808
1809    swL2TrunkCtrlTable OBJECT-TYPE
1810        SYNTAX  SEQUENCE OF SwL2TrunkCtrlEntry
1811        MAX-ACCESS  not-accessible
1812        STATUS  current
1813        DESCRIPTION
1814            "This table specifies information about the logical port trunk groups."
1815        ::= { swL2TrunkMgmt 3 }
1816
1817    swL2TrunkCtrlEntry OBJECT-TYPE
1818        SYNTAX  SwL2TrunkCtrlEntry
1819        MAX-ACCESS  not-accessible
1820        STATUS  current
1821        DESCRIPTION
1822            "A list of information about each logical port trunk group."
1823        INDEX  { swL2TrunkIndex }
1824        ::= { swL2TrunkCtrlTable 1 }
1825
1826    SwL2TrunkCtrlEntry ::=
1827        SEQUENCE {
1828            swL2TrunkIndex
1829                INTEGER,
1830            swL2TrunkMasterPort
1831                INTEGER,
1832            swL2TrunkMember
1833                PortList,
1834            swL2TrunkFloodingPort
1835                INTEGER,
1836            swL2TrunkType
1837                INTEGER,
1838            swL2TrunkState
1839                RowStatus
1840        }
1841
1842    swL2TrunkIndex OBJECT-TYPE
1843        SYNTAX  INTEGER (0..65535)
1844        MAX-ACCESS  read-only
1845        STATUS  current
1846        DESCRIPTION
1847            "The index number of the logical port trunk group. The trunk group
1848             number depends on the existence of unit and module."
1849        ::= { swL2TrunkCtrlEntry 1 }
1850
1851    swL2TrunkMasterPort OBJECT-TYPE
1852        SYNTAX  INTEGER (1..65535)
1853        MAX-ACCESS  read-create
1854        STATUS  current
1855        DESCRIPTION
1856            "This object indicates the master port number of the port trunk
1857            entry. When using Port Trunking, you cannot configure the other
1858            ports of the group except the master port.
1859            Their configuration must be the same as the master port (e.g. speed,
1860            duplex, enabled/disabled, flow control, and so on)."
1861        ::= { swL2TrunkCtrlEntry 3 }
1862
1863    swL2TrunkMember OBJECT-TYPE
1864        SYNTAX  PortList
1865        MAX-ACCESS  read-create
1866        STATUS  current
1867        DESCRIPTION
1868            "Indicates the number of ports included in this Trunk group.
1869	     The trunk port number depends on the existence of the module.
1870             The maximum number of ports is 8 for one trunk group."
1871        ::= { swL2TrunkCtrlEntry 4 }
1872
1873    swL2TrunkFloodingPort OBJECT-TYPE
1874        SYNTAX  INTEGER (1..65535)
1875        MAX-ACCESS  read-only
1876        STATUS  current
1877        DESCRIPTION
1878            "The object indicates the flooding port number of the port trunk
1879            entry. The first port of the Trunk group is implicitly configured to
1880            be the flooding port."
1881        ::= { swL2TrunkCtrlEntry 5 }
1882
1883    swL2TrunkType OBJECT-TYPE
1884        SYNTAX  INTEGER {
1885                other(1),
1886                static(2),
1887                lacp(3)
1888          	  }
1889       	MAX-ACCESS  read-create
1890        STATUS  current
1891        DESCRIPTION
1892            "This object indicates the type of trunk group.
1893            static: is a static trunk group
1894            lacp: is a LACP trunk group. "
1895        ::= { swL2TrunkCtrlEntry 6 }
1896
1897    swL2TrunkState OBJECT-TYPE
1898        SYNTAX  RowStatus
1899        MAX-ACCESS  read-create
1900        STATUS  current
1901        DESCRIPTION
1902             "This object indicates the status of this entry."
1903        ::= { swL2TrunkCtrlEntry 7 }
1904
1905    swL2TrunkAlgorithm OBJECT-TYPE
1906        SYNTAX  INTEGER {
1907                other(1),
1908                mac-source(2),
1909                mac-destination(3),
1910                mac-source-dest(4),
1911                ip-source(5),
1912                ip-destination(6),
1913                ip-source-dest(7),
1914                l4-source-port(8),
1915                l4-destination-port(9),
1916                l4-source-dest-port(10)
1917            }
1918        MAX-ACCESS  read-write
1919        STATUS  current
1920        DESCRIPTION
1921            "This object configures part of the packet examined by the
1922            switch when selecting the egress port for transmitting
1923            load-sharing data."
1924        ::= { swL2TrunkMgmt 4 }
1925
1926    swL2TrunkLACPPortTable  OBJECT-TYPE
1927        SYNTAX  SEQUENCE OF SwL2TrunkLACPPortEntry
1928        MAX-ACCESS  not-accessible
1929        STATUS  current
1930        DESCRIPTION
1931            "This table specifies which ports are grouped together (this can be up to 8 ports)
1932            into a single logical link."
1933        ::= { swL2TrunkMgmt 5 }
1934
1935    swL2TrunkLACPPortEntry   OBJECT-TYPE
1936        SYNTAX  SwL2TrunkLACPPortEntry
1937        MAX-ACCESS  not-accessible
1938        STATUS  current
1939        DESCRIPTION
1940            "A list of information specifying which ports are grouped together (this can be up to 8 ports)
1941            into a single logical link."
1942        INDEX  { swL2TrunkLACPPortIndex }
1943        ::= { swL2TrunkLACPPortTable 1 }
1944
1945    SwL2TrunkLACPPortEntry ::=
1946        SEQUENCE {
1947            swL2TrunkLACPPortIndex
1948                INTEGER,
1949            swL2TrunkLACPPortState
1950                INTEGER
1951        }
1952
1953    swL2TrunkLACPPortIndex OBJECT-TYPE
1954        SYNTAX  INTEGER (0..65535)
1955        MAX-ACCESS  read-only
1956        STATUS  current
1957        DESCRIPTION
1958            "The index of logical port LACP. "
1959        ::= { swL2TrunkLACPPortEntry 1 }
1960
1961    swL2TrunkLACPPortState OBJECT-TYPE
1962        SYNTAX  INTEGER{
1963                  active(1),
1964                  passive(2)
1965                  }
1966        MAX-ACCESS  read-write
1967        STATUS  current
1968        DESCRIPTION
1969            "The state of a logical port LACP."
1970        ::= { swL2TrunkLACPPortEntry 2 }
1971
1972    swL2TrunkVLANTable  OBJECT-TYPE
1973        SYNTAX  SEQUENCE OF SwL2TrunkVLANEntry
1974        MAX-ACCESS  not-accessible
1975        STATUS  current
1976        DESCRIPTION
1977            "This table is used to manage the VLAN trunking feature of the device."
1978        ::= { swL2TrunkMgmt 6 }
1979
1980    swL2TrunkVLANEntry   OBJECT-TYPE
1981        SYNTAX  SwL2TrunkVLANEntry
1982        MAX-ACCESS  not-accessible
1983        STATUS  current
1984        DESCRIPTION
1985            "This object is used to configure the VLAN trunking settings for each port."
1986        INDEX  { swL2TrunkVLANPort }
1987        ::= { swL2TrunkVLANTable 1 }
1988
1989     SwL2TrunkVLANEntry ::=
1990        SEQUENCE {
1991            swL2TrunkVLANPort
1992                INTEGER,
1993            swL2TrunkVLANState
1994                INTEGER
1995        }
1996
1997    swL2TrunkVLANPort OBJECT-TYPE
1998        SYNTAX  INTEGER (0..65535)
1999        MAX-ACCESS  read-only
2000        STATUS  current
2001        DESCRIPTION
2002            "This object indicates the port being configured."
2003        ::= { swL2TrunkVLANEntry 1 }
2004
2005    swL2TrunkVLANState OBJECT-TYPE
2006        SYNTAX  INTEGER{
2007                  enabled(1),
2008                  disabled(2)
2009                  }
2010        MAX-ACCESS  read-write
2011        STATUS  current
2012        DESCRIPTION
2013            "The state of the logical port VLAN trunk."
2014        ::= { swL2TrunkVLANEntry 2 }
2015
2016-- -----------------------------------------------------------------------------
2017--  swPortMirrorPackage   	           OBJECT IDENTIFIER ::= { swL2MgmtMIB 10 }
2018-- -----------------------------------------------------------------------------
2019
2020	swL2MirrorLogicTargetPort OBJECT-TYPE
2021        SYNTAX  INTEGER (0..65535)
2022        MAX-ACCESS  read-write
2023        STATUS  current
2024        DESCRIPTION
2025            "This object indicates which switch port will sniff another
2026	     port. A trunk port member cannot be configured as a target
2027	     snooping port. The port number is the sequential (logical)
2028 	     number, which is also applied to the bridge MIB, etc."
2029        ::= { swL2MirrorMgmt 1 }
2030
2031    swL2MirrorPortSourceIngress OBJECT-TYPE
2032        SYNTAX  PortList
2033        MAX-ACCESS  read-write
2034        STATUS  current
2035        DESCRIPTION
2036            "This represents the port where ingress packets will be sniffed."
2037        ::= { swL2MirrorMgmt 2 }
2038
2039    swL2MirrorPortSourceEgress OBJECT-TYPE
2040        SYNTAX  PortList
2041        MAX-ACCESS  read-write
2042        STATUS  current
2043        DESCRIPTION
2044            "This represents the port where egress packets will be sniffed."
2045        ::= { swL2MirrorMgmt 3 }
2046
2047    swL2MirrorPortState OBJECT-TYPE
2048        SYNTAX  INTEGER {
2049               other(1),
2050               disabled(2),
2051               enabled(3)
2052               }
2053        MAX-ACCESS  read-write
2054        STATUS  current
2055        DESCRIPTION
2056            "This object indicates the port mirroring state.
2057
2058            other (1) - this entry is currently in use but the conditions
2059                under which it will remain so are different from each of the
2060                following values.
2061            disabled (2) - After writing this value to the object, the
2062		corresponding entry will be removed from the table.
2063            enabled (3) - This entry resides in the table."
2064        ::= { swL2MirrorMgmt 4 }
2065    swL2MirrorGroupTable OBJECT-TYPE
2066        SYNTAX  SEQUENCE OF SwL2MirrorGroupEntry
2067        MAX-ACCESS  not-accessible
2068        STATUS  current
2069        DESCRIPTION
2070            "This table specifies information about the Mirror group configuration."
2071        ::= { swL2MirrorMgmt 5 }
2072
2073    swL2MirrorGroupEntry OBJECT-TYPE
2074        SYNTAX  SwL2MirrorGroupEntry
2075        MAX-ACCESS  not-accessible
2076        STATUS  current
2077        DESCRIPTION
2078            "A list of information about each Mirror group configuration."
2079        INDEX  { swL2MirrorGroupID }
2080        ::= { swL2MirrorGroupTable 1 }
2081
2082    SwL2MirrorGroupEntry ::=
2083        SEQUENCE {
2084            swL2MirrorGroupID
2085                INTEGER,
2086            swL2MirrorGroupRowStatus
2087                RowStatus,
2088            swL2MirrorGroupState
2089                INTEGER,
2090            swL2MirrorGroupLogicTargetPort
2091                INTEGER,
2092            swL2MirrorGroupPortSourceIngress
2093                PortList,
2094            swL2MirrorGroupPortSourceEngress
2095                PortList
2096        }
2097
2098    swL2MirrorGroupID OBJECT-TYPE
2099        SYNTAX  INTEGER
2100        MAX-ACCESS  not-accessible
2101        STATUS  current
2102        DESCRIPTION
2103            "This object indicates the mirror group.
2104             The range of this object is (1..n),
2105             the value of n depends on detail project.
2106            "
2107        ::= { swL2MirrorGroupEntry 1 }
2108
2109    swL2MirrorGroupRowStatus OBJECT-TYPE
2110        SYNTAX      RowStatus
2111        MAX-ACCESS  read-create
2112        STATUS      current
2113        DESCRIPTION
2114            "This object manages this mirror group entry."
2115        ::= { swL2MirrorGroupEntry 2 }
2116
2117    swL2MirrorGroupState OBJECT-TYPE
2118        SYNTAX  INTEGER {
2119               other(1),
2120               disabled(2),
2121               enabled(3)
2122               }
2123        MAX-ACCESS  read-create
2124        STATUS  current
2125        DESCRIPTION
2126            "This object indicates the mirror group state."
2127        ::= { swL2MirrorGroupEntry 3 }
2128
2129    swL2MirrorGroupLogicTargetPort OBJECT-TYPE
2130        SYNTAX  INTEGER (0..65535)
2131        MAX-ACCESS  read-create
2132        STATUS  current
2133        DESCRIPTION
2134            "This object indicates the mirror group target port."
2135        ::= { swL2MirrorGroupEntry 4 }
2136
2137    swL2MirrorGroupPortSourceIngress OBJECT-TYPE
2138        SYNTAX  PortList
2139        MAX-ACCESS  read-create
2140        STATUS  current
2141        DESCRIPTION
2142            "This object indicates the mirror group ingress source ports."
2143        ::= { swL2MirrorGroupEntry 5 }
2144
2145    swL2MirrorGroupPortSourceEngress OBJECT-TYPE
2146        SYNTAX  PortList
2147        MAX-ACCESS  read-create
2148        STATUS  current
2149        DESCRIPTION
2150            "This object indicates the mirror group engress source ports."
2151        ::= { swL2MirrorGroupEntry 6 }
2152-- -----------------------------------------------------------------------------
2153--  swL2IGMPMgmt            OBJECT IDENTIFIER ::= { swL2MgmtMIB 11 }
2154-- -----------------------------------------------------------------------------
2155    swL2IGMPAccessAuthTable OBJECT-TYPE
2156        SYNTAX  SEQUENCE OF SwL2IGMPAccessAuthEntry
2157        MAX-ACCESS  not-accessible
2158        STATUS  current
2159        DESCRIPTION
2160            "This table is used to manage the IGMP Access Authentication
2161            configurations of the device."
2162        ::= { swL2IGMPMgmt 13 }
2163
2164    swL2IGMPAccessAuthEntry OBJECT-TYPE
2165        SYNTAX  SwL2IGMPAccessAuthEntry
2166        MAX-ACCESS  not-accessible
2167        STATUS  current
2168        DESCRIPTION
2169            "A list of manageable entities for IGMP Access Authentication.
2170            The configuration is done per port."
2171        INDEX  { swL2IGMPAccessAuthPort }
2172        ::= { swL2IGMPAccessAuthTable 1 }
2173
2174    SwL2IGMPAccessAuthEntry ::=
2175        SEQUENCE {
2176        	swL2IGMPAccessAuthPort
2177        		INTEGER,
2178        	swL2IGMPAccessAuthState
2179        		INTEGER
2180        }
2181
2182   swL2IGMPAccessAuthPort OBJECT-TYPE
2183      SYNTAX INTEGER
2184       MAX-ACCESS read-only
2185       STATUS current
2186       DESCRIPTION
2187           "The index of the swL2IGMPAccessAuthTable.
2188           This object corresponds to the port being configured."
2189       ::= { swL2IGMPAccessAuthEntry 1 }
2190
2191   swL2IGMPAccessAuthState OBJECT-TYPE
2192      SYNTAX INTEGER {
2193				enabled(1),
2194				disabled(2),
2195				auth_only(3),
2196				accounting_only(4)
2197		}
2198       MAX-ACCESS read-write
2199       STATUS current
2200       DESCRIPTION
2201           "This object denotes the status of IGMP Access Authentication of the port.
2202
2203            Note:
2204            enabled(1): Both the authentication and accounting functions are enabled,
2205            after the client is authenticated, the accounting message will be sent
2206            to Radius.
2207
2208            disabled(2): Both the authentication and accounting functions are disabled.
2209
2210            auth_only(3): Only the authentication function is enabled, after the client
2211            is authenticated, accounting message will not be sent to Radius.
2212
2213            accounting_only(4): Only the accounting function is enabled, authentication
2214            is not needed, if the client joins a group, the accounting message will be
2215            sent to Radius.
2216           "
2217       ::= { swL2IGMPAccessAuthEntry 2 }
2218-- -----------------------------------------------------------------------------
2219--  swL2TrafficSegMgmt           OBJECT IDENTIFIER ::= { swL2MgmtMIB 14 }
2220-- -----------------------------------------------------------------------------
2221	 swL2TrafficSegTable OBJECT-TYPE
2222        SYNTAX  SEQUENCE OF SwL2TrafficSegEntry
2223        MAX-ACCESS  not-accessible
2224        STATUS  current
2225        DESCRIPTION
2226            "This table specifies that the port can just forward traffic to the
2227            specific port list."
2228        ::= { swL2TrafficSegMgmt 1 }
2229
2230    swL2TrafficSegEntry OBJECT-TYPE
2231        SYNTAX  SwL2TrafficSegEntry
2232        MAX-ACCESS  not-accessible
2233        STATUS  current
2234        DESCRIPTION
2235            "A list of information which specifies the port with its traffic
2236            forwarding list."
2237        INDEX  { swL2TrafficSegPort }
2238        ::= { swL2TrafficSegTable 1 }
2239
2240    SwL2TrafficSegEntry ::=
2241        SEQUENCE {
2242            swL2TrafficSegPort
2243                INTEGER,
2244            swL2TrafficSegForwardPorts
2245                PortList
2246        }
2247
2248    swL2TrafficSegPort OBJECT-TYPE
2249        SYNTAX  INTEGER (0..65535)
2250        MAX-ACCESS  read-only
2251        STATUS  current
2252        DESCRIPTION
2253            "The port number of the logical port."
2254        ::= { swL2TrafficSegEntry 1 }
2255
2256    swL2TrafficSegForwardPorts OBJECT-TYPE
2257        SYNTAX PortList
2258        MAX-ACCESS  read-write
2259        STATUS current
2260        DESCRIPTION
2261            "The port list where a specific port can forward traffic."
2262        ::= { swL2TrafficSegEntry 2 }
2263
2264-- ----------------------------------------------------------------------------
2265--  swL2MulticastFilterMode	OBJECT IDENTIFIER ::= { swL2MgmtMIB 17 }
2266-- ----------------------------------------------------------------------------
2267     swL2MulticastFilterModeVlanTable OBJECT-TYPE
2268     	SYNTAX SEQUENCE OF SwL2MulticastFilterModeVlanEntry
2269     	MAX-ACCESS not-accessible
2270     	STATUS current
2271     	DESCRIPTION
2272		" A table that contains information about the VLAN multicast filter mode."
2273	::={swL2MulticastFilterMode 1}
2274
2275     swL2MulticastFilterModeVlanEntry OBJECT-TYPE
2276     	SYNTAX SwL2MulticastFilterModeVlanEntry
2277     	MAX-ACCESS not-accessible
2278     	STATUS current
2279     	DESCRIPTION
2280     		"A list of multicast filter mode information for each VLAN. "
2281     	INDEX {swL2MulticastFilterVid}
2282     	::={swL2MulticastFilterModeVlanTable 1}
2283
2284     SwL2MulticastFilterModeVlanEntry ::=
2285     	SEQUENCE{
2286     	swL2MulticastFilterVid
2287     		INTEGER,
2288     	swL2MulticastFilterVlanMode
2289     		INTEGER
2290     	}
2291
2292     swL2MulticastFilterVid OBJECT-TYPE
2293    	SYNTAX INTEGER(1..65535)
2294    	MAX-ACCESS read-only
2295    	STATUS current
2296    	DESCRIPTION
2297    		"Indicates the VID for each VLAN."
2298	::={swL2MulticastFilterModeVlanEntry 1}
2299
2300    swL2MulticastFilterVlanMode OBJECT-TYPE
2301    	SYNTAX INTEGER{
2302    	forward-all-groups(1),
2303    	forward-unregistered-groups(2),
2304    	filter-unregistered-groups(3)
2305    	}
2306    	MAX-ACCESS read-write
2307    	STATUS current
2308    	DESCRIPTION
2309    		"Specifies the multicast filter mode for each VLAN."
2310    	::={swL2MulticastFilterModeVlanEntry 2}
2311
2312
2313-- ------------------------------------------------------------------------
2314--  swL2DhcpLocalRelayMgmt        OBJECT IDENTIFIER ::= { swL2MgmtMIB 24 }
2315-- ------------------------------------------------------------------------
2316--  swL2DhcpLocalRelayState OBJECT-TYPE
2317--      SYNTAX  INTEGER {
2318--             other(1),
2319--             disabled(2),
2320--             enabled(3)
2321--             }
2322--      MAX-ACCESS  read-write
2323--      STATUS  current
2324--     DESCRIPTION
2325--          "This object indicates the status of the DHCP local relay
2326--          function of the switch."
2327--      ::= { swL2DhcpLocalRelayMgmt 1 }
2328--
2329--	swL2DhcpLocalRelayVLANTable OBJECT-TYPE
2330--     	SYNTAX SEQUENCE OF SwL2DhcpLocalRelayVLANEntry
2331--	    MAX-ACCESS not-accessible
2332--	    STATUS current
2333--	    DESCRIPTION
2334--	 		"This table is used to manage the DHCP local relay status
2335--	 		for each VLAN."
2336--	    ::={ swL2DhcpLocalRelayMgmt 2}
2337--
2338--	    swL2DhcpLocalRelayVLANEntry OBJECT-TYPE
2339--	    SYNTAX SwL2DhcpLocalRelayVLANEntry
2340--	    MAX-ACCESS not-accessible
2341--	    STATUS current
2342--    DESCRIPTION
2343--	    	"This object lists the current VLANs in the switch and their
2344--	    	corresponding DHCP local relay status."
2345--		INDEX { swL2DhcpLocalRelayVLANID }
2346--	    ::={ swL2DhcpLocalRelayVLANTable 1 }
2347--
2348--    SwL2DhcpLocalRelayVLANEntry ::=
2349--     SEQUENCE{
2350--	swL2DhcpLocalRelayVLANID
2351--     	    INTEGER,
2352--     	swL2DhcpLocalRelayVLANState
2353--     	    INTEGER
2354--     }
2355--
2356--  swL2DhcpLocalRelayVLANID OBJECT-TYPE
2357--      SYNTAX  INTEGER (1..4094)
2358--      MAX-ACCESS  read-only
2359--      STATUS  current
2360--      DESCRIPTION
2361--          "This object shows the VIDs of the current VLANS in the switch."
2362--      ::= { swL2DhcpLocalRelayVLANEntry 1 }
2363--
2364--  swL2DhcpLocalRelayVLANState OBJECT-TYPE
2365--      SYNTAX  INTEGER {
2366--             other(1),
2367--             disabled(2),
2368--             enabled(3)
2369--             }
2370--      MAX-ACCESS  read-write
2371--      STATUS  current
2372--      DESCRIPTION
2373--          "This object indicates the status of the DHCP relay function
2374--          of the VLAN."
2375--      ::= { swL2DhcpLocalRelayVLANEntry 2 }
2376
2377-- -----------------------------------------------------------------------------
2378--  Layer 2  Trap
2379-- -----------------------------------------------------------------------------
2380
2381
2382	swL2Notify	OBJECT IDENTIFIER ::= { swL2MgmtMIBTraps 1 }
2383
2384	swL2NotifyMgmt		OBJECT IDENTIFIER ::= { swL2Notify 1 }
2385	swL2NotifyPrefix	OBJECT IDENTIFIER ::= { swL2Notify 2 }
2386
2387	swL2NotifFirmware OBJECT IDENTIFIER ::= { swL2NotifyPrefix 0 }
2388
2389
2390
2391-- -----------------------------------------------------------------------------
2392--	swL2NotifyMgmt
2393-- -----------------------------------------------------------------------------
2394    swL2macNotificationSeverity OBJECT-TYPE
2395        SYNTAX  AgentNotifyLevel
2396        MAX-ACCESS  read-write
2397        STATUS  current
2398        DESCRIPTION
2399            "Indicates the level of macNotification detection."
2400        ::= { swL2NotifyMgmt 1 }
2401
2402    swL2PortSecurityViolationSeverity OBJECT-TYPE
2403        SYNTAX  AgentNotifyLevel
2404        MAX-ACCESS  read-write
2405        STATUS  current
2406        DESCRIPTION
2407            "Indicates the level of PortSecurityViolation detection."
2408        ::= { swL2NotifyMgmt 2 }
2409
2410
2411-- -----------------------------------------------------------------------------
2412--	swL2NotifFirmware OBJECT IDENTIFIER ::= { swL2NotifyPrefix 0 }
2413-- -----------------------------------------------------------------------------
2414    swL2macNotification NOTIFICATION-TYPE
2415        OBJECTS {
2416              		swL2macNotifyInfo
2417        		}
2418        STATUS  current
2419        DESCRIPTION
2420            " This trap indicates the MAC address variations in the address table . "
2421        ::= { swL2NotifFirmware 1 }
2422
2423    swL2PortSecurityViolationTrap NOTIFICATION-TYPE
2424        OBJECTS {
2425        			swPortSecPortIndex,
2426        		  	swL2PortSecurityViolationMac
2427                }
2428        STATUS  current
2429        DESCRIPTION
2430            "When the port_security trap is enabled, new MAC addresses that violate
2431            the pre-defined port security configuration will trigger trap messages
2432            to be sent out."
2433        ::= { swL2NotifFirmware 2 }
2434
2435-- -----------------------------------------------------------------------------
2436--	notificationBidings
2437-- -----------------------------------------------------------------------------
2438
2439
2440    swl2NotificationBidings OBJECT IDENTIFIER ::= { swL2NotifyPrefix 1 }
2441
2442    swL2macNotifyInfo   OBJECT-TYPE
2443        SYNTAX  OCTET STRING(SIZE (0..1024))
2444        MAX-ACCESS  read-only
2445        STATUS  current
2446        DESCRIPTION
2447            "This object indicates information about the last time the system rebooted."
2448        ::= { swl2NotificationBidings 1 }
2449
2450    swL2PortSecurityViolationMac OBJECT-TYPE
2451        SYNTAX  MacAddress
2452        MAX-ACCESS  accessible-for-notify
2453        STATUS  current
2454        DESCRIPTION
2455            "This object indicates the MAC address that violated the port security configuration."
2456        ::= { swl2NotificationBidings 2 }
2457
2458  END
2459