1-- -----------------------------------------------------------------------------
2-- MIB NAME : L2 Management MIB
3-- FILE NAME: L2mgmtDes3200.mib
4-- DATE     : 2009/12/16
5-- VERSION  : 2.33
6-- PURPOSE  : To construct the MIB structure for L2 Management of the switch
7--            for proprietary enterprise
8-- -----------------------------------------------------------------------------
9-- MODIFICATION HISTORY:
10-- -----------------------------------------------------------------------------
11-- Version, Date, Author
12-- Description:
13--  [New Object]
14--  [Modification]
15-- Notes: (Requested by who and which project)
16-- -----------------------------------------------------------------------------
17-- Version 2.33, 2009/12/16,Eli Lin
18-- Description:
19--  [New Object]
20-- Add swL2DevCtrlWeb and swL2DevCtrlWebState
21-- -----------------------------------------------------------------------------
22-- Version 2.32, 2009/09/22,Eli Lin
23-- Description:
24--  [New Object]
25--  Add swL2DevCtrlCFM, swL2DevCtrlCFMState swL2DevCtrlCFMPortTable
26--  swL2DevCtrlCFMPortIndex, swL2DevCtrlCFMPortState for supporting 802.1ag
27-- -----------------------------------------------------------------------------
28-- Version 2.31, 2009/07/19,Eli Lin
29-- Description:
30--  [New Object]
31--  Add swL2PortLoopOccurred, swL2PortLoopRestart, swL2VlanLoopOccurred
32--  swL2VlanLoopRestart, swL2LoopDetectMode, swL2LoopDetectTrapMode,
33--  swL2LoopDetectPortLoopVLAN and swL2VlanLoopDetectVID for loop back
34--  detection VLAN base
35--  [Modification]
36--  Modify swL2LoopDetectPortLoopStatus for loop back detection VLAN base
37--  Revise swl2NotificationBidings to swl2NotificationBindings
38--  Revise swl2PortSecurityBidings to swl2PortSecurityBindings
39-- -----------------------------------------------------------------------------
40-- Version 2.30, 2009/05/20,Eli Lin
41-- Move swIGMPSnoopingGroupTable to McastSnooping.mib
42-- -----------------------------------------------------------------------------
43-- Version 2.29, 2009/04/23,Eli Lin
44-- Remove swL2IGMPInfoTable,swIGMPSnoopingGroupTable has enough information.
45-- -----------------------------------------------------------------------------
46-- Version 2.28, 2009/04/16,Eli Lin
47-- Add swL2DevAlarmLinkChange for enable/disable link trap
48-- -----------------------------------------------------------------------------
49-- Version 2.27, 2009/04/15,Eli Lin
50-- Add swL2PVIDAutoAssignmentState for PVID auto assign
51-- -----------------------------------------------------------------------------
52-- Version 2.26, 2009/04/12,Eli Lin
53-- modify  swL2PortErrPortReason for the loopdetect feature.
54-- -----------------------------------------------------------------------------
55-- Version 2.25, 2009/04/13,Eli Lin
56-- Add swL2DevPasswordEncryptionState for the password encryption function.
57-- Support swIGMPSnoopingHostTable for show "igmp igmp_snooping host"
58-- Add the new objects which are swL2IGMPMulticastVlanUntagSourcePort,
59-- swL2IGMPMulticastVlanRemapPriority and wL2IGMPMulticastVlanReplacePriority for
60-- the multicast enhancement.
61-- -----------------------------------------------------------------------------
62-- Version 2.24, 2009/04/12,Eli Lin
63-- Remove swL2CosMacBasePRITable because this chip does not support this function
64-- -----------------------------------------------------------------------------
65-- Version 2.23, 2009/04/12,Eli Lin
66-- Remove swL2IGMPv3Table and  swL2IGMPDynIPMultVlanState, because we do not support
67-- this features.
68-- -----------------------------------------------------------------------------
69-- Version 2.22, 2009/04/11,Eli Lin
70-- Support swL2PortCtrlJumboFrame and swL2PortCtrlJumboFrameMaxSize for the jumbo frame
71-- -----------------------------------------------------------------------------
72-- Version 2.21, 2009/04/10,Marco Visaya
73-- add swL2DevArpAgingTime
74-- -----------------------------------------------------------------------------
75-- Version 2.20, 2009/04/08,Eli Lin
76-- remove swL2IGMPHostTimeout, swL2IGMPRouterTimeout and swL2IGMPLeaveTimer
77-- -----------------------------------------------------------------------------
78-- Version 2.19, 2009/01/14,Peter Hsieh
79-- remove swL2CosPriorityPortPRI and swL2CosPortPRITable
80-- -----------------------------------------------------------------------------
81-- Version 2.18, 2009/01/13,Eli Lin
82-- modify name of swL2IGMPRouterTimeout
83-- modify STATUS of swL2DhcpRelayCtrlServer
84-- add swL2PortSecurityEntryClearCtrl
85-- -----------------------------------------------------------------------------
86-- Version 2.17, 2009/01/09,Eli Lin
87-- added swL2PortInfoFlowCtrlOperStatus
88-- -----------------------------------------------------------------------------
89-- Version 2.16, 2008/12/15,Pete Hsieh
90-- modify bandwidth rate unit of swL2QOSBandwidthRxRate and swL2QOSBandwidthTxRate
91-- -----------------------------------------------------------------------------
92-- Version 2.14, 2008/11/03,Marco Visaya
93-- modify range of swL2PortSecurityMaxLernAddr
94-- -----------------------------------------------------------------------------
95-- Version 2.13, 2008/10/29,Hunk Li
96-- Add swL2McastFilterPortAccess,swL2McastFilterPortInfoAccess
97-- Modify swL2McastFilterPortInfoProfileName to swL2McastFilterPortInfoProfileID
98-- (line 4646 and 4660)
99-- -----------------------------------------------------------------------------
100-- Version 2.12, 2008/10/27, Marco Visaya
101-- added description swL2QOSSchedulingMaxWeight
102-- deactivated half-1Gigabps option in swL2PortInfoNwayStatus
103-- changed access of swL2PortInfoMediumType to read-only
104-- -----------------------------------------------------------------------------
105-- Version 2.11, 2008/10/20, Marco Visaya
106-- change description of swL2DevInfoFrontPanelLedStatus
107-- -----------------------------------------------------------------------------
108-- Version 2.10, 2008/10/14, Marco Visaya
109-- added 'other' option to swL2PortCtrlMDIXState
110-- -----------------------------------------------------------------------------
111-- Version 2.09, 2008/09/26, Marco Visaya
112-- added swL2QOS8021pRadiusPriority
113-- -----------------------------------------------------------------------------
114-- Version 2.08, 2008/09/12, Marco Visaya
115-- added swL2QOSBandwidthRadiusRxRate
116-- added swL2QOSBandwidthRadiusTxRate
117-- swL2DhcpRelayMgmt made obsolete (use DHCP-RELAY-MGMT-MIB)
118-- -----------------------------------------------------------------------------
119-- Version 2.07, 2008/08/12, Marco Visaya
120-- modified index of swL2IGMPAccessAuthTable
121-- -----------------------------------------------------------------------------
122-- Version 2.06, 2008/07/07, Marco Visaya
123-- added swL2IGMPDynIPMultVlanState
124-- added swL2IGMPDynIPMultVlanAge
125-- added swIGMPSnoopingGroupReportCount
126-- added swIGMPSnoopingGroupUpTime
127-- added swIGMPSnoopingGroupExpiryTime
128-- added swIGMPSnoopingGroupRouterPorts
129-- added swL2IGMPDynIpMultMgmt
130-- -----------------------------------------------------------------------------
131-- Version 2.05, 2008/05/30, Marco Visaya
132-- added swL2TrunkVLANTable
133-- added swL2DevCtrlVLANTrunkState
134-- -----------------------------------------------------------------------------
135-- Version 2.04, 2008/05/29, Marco Visaya
136-- added swL2IGMPSnoopingMulticastVlanState
137-- added swL2IGMPMulticastVlanTable
138-- added swL2IGMPMulticastVlanGroupTable
139-- added swL2IGMPv3Table
140-- added swIGMPSnoopingGroupTable
141-- -----------------------------------------------------------------------------
142-- Version 2.03, 2008/05/22, Marco Visaya
143-- add swL2IGMPAccessAuthTable
144-- -----------------------------------------------------------------------------
145-- Version 2.02, 2008/03/25, Marco Visaya
146-- add swL2DhcpLocalRelayMgmt
147-------------------------------------------------------------------------------
148-- Version 2.01, 2008/03/07, Marco Visaya
149-- add swL2IGMPRouterPortForbiddenPortList
150-------------------------------------------------------------------------------
151-- Version 2.00, 2008/01/22, Marco Visaya
152-- add swL2PortCtrlMDIXState for new feature request
153-- configure MDIX setting of port
154-------------------------------------------------------------------------------
155-- Version 1.06, 2007/2/22, Marco Visaya
156-- Add swL2DevCtrlAsymVlanState
157-------------------------------------------------------------------------------
158-- Version 1.05, 2007/1/28,Marco Visaya
159-- Add s2L2VlanMultiply*
160-------------------------------------------------------------------------------
161-- Version 1.04, 2007/1/23,Grace Liu
162-- Add swL2DevCtrlLLDPState
163-------------------------------------------------------------------------------
164-- Version 1.03, 2007/12/01, Peter Hsieh
165-- Add swL2VlanAdvertisementTable swL2LoopDetectMgmt, swL2MultiFilter
166-------------------------------------------------------------------------------
167-- Version 1.02, 2005/4/8, Scott Slong
168-- Add swL2DevCtrlManagementVlanId
169-------------------------------------------------------------------------------
170-- Version 1.01, 2004/9/21, Karen Huang
171-- Add swL2PortCableDiagnosisTable
172-------------------------------------------------------------------------------
173-- Version 1.00
174-- Remove swDevInfoSystemUptime, swDevInfoConsoleInuse,swL2DevCtrlUpDownloadState,swDevInfoSaveCfg
175-- Remove swL2DevCtrlUpDownloadImageFileName ,swL2DevCtrlUpDownloadImageSourceAddr
176-- Remove swL2DevCtrlUpDownloadImage , swL2DevCtrlSaveCfg
177
178-------------------------------------------------------------------------------
179-- Version 0.02, 2002/07/30, Tommy Wang
180-- Renamed to DXxxxxx-MIB
181-- Add swL2TrafficMgmt
182-- Modified swL2DevCtrl
183-- Removed swL2PortStTable
184-- Removed swL2PortCtrlEntry->swL2PortCtrlBackPressState and
185-- swL2PortCtrlBMStromthreshold
186-- Modified swL2MirrorMgmt
187-- Removed swL2FilterAddrVid
188-- Modified swL2IGMPCtrlTable
189-- Removed swL2PriorityMgmt
190-- Modified swL2TrunkMasterPortIndex MAX-ACCESS read-only to read-write
191-- Add swL2IGMPCtrState for invalid(4)
192-- Modified swL2PortInfoType
193-- Removed swDevInfoFrontPanelLedStatus about RPS and modified its SIZE
194-- Removed swL2TrafficMgmt
195-------------------------------------------------------------------------------
196-- Version 0.01, 2000/07/03,Chrissy Chen
197-- Removed swL2PortTxPrioQueueCtrlTable
198-- Modified swL2PortCtrlBMStromPercentage to swL2PortCtrlBMStromthreshold
199--
200-------------------------------------------------------------------------------
201
202DES3200ME-28-L2MGMT-MIB DEFINITIONS ::= BEGIN
203  IMPORTS
204	TEXTUAL-CONVENTION			FROM SNMPv2-TC
205	MODULE-IDENTITY,OBJECT-TYPE,
206	Unsigned32,Integer32,TimeTicks			FROM SNMPv2-SMI
207	IpAddress				FROM RFC1155-SMI
208	RowStatus,TruthValue			FROM SNMPv2-TC
209	SnmpAdminString         		FROM SNMP-FRAMEWORK-MIB
210	DisplayString				FROM RFC1213-MIB
211	des3200me-28				FROM SWPRIMGMT-DES3200-MIB;
212
213	swL2MgmtMIB MODULE-IDENTITY
214		LAST-UPDATED "0912160000Z"
215	  	ORGANIZATION "D-Link, Inc."
216	  	CONTACT-INFO
217	   		"http://support.dlink.com"
218	  	DESCRIPTION
219	    		"The Structure of Layer 2 Network Management Information for enterprise."
220	  	::= {des3200me-28 2}
221
222	VlanId		::= INTEGER (1..4094)
223	PortList		::= OCTET STRING(SIZE (0..127))
224	MacAddress	::= OCTET STRING(SIZE(6))  -- A 6 octet address
225						   -- in the "canonical"
226						   -- order, copy from RFC1493
227-- Textual Convention for PortList
228-- Define the PortList, comes from RFC2674
229
230swL2DevMgmt		OBJECT IDENTIFIER ::= { swL2MgmtMIB 1 }
231swL2PortMgmt		OBJECT IDENTIFIER ::= { swL2MgmtMIB 2 }
232swL2QOSMgmt		OBJECT IDENTIFIER ::= { swL2MgmtMIB 3 }
233swL2TrunkMgmt		OBJECT IDENTIFIER ::= { swL2MgmtMIB 4 }
234-- lagMIBObjects	OBJECT IDENTIFIER ::= { swL2MgmtMIB 5 }
235swPortMirrorPackage	OBJECT IDENTIFIER ::= { swL2MgmtMIB 6 }
236swIGMPPackage		OBJECT IDENTIFIER ::= { swL2MgmtMIB 7 }
237-- swPortRatePackage	OBJECT IDENTIFIER ::= { swL2MgmtMIB 8 }
238-- swPortBindingPackage	OBJECT IDENTIFIER ::= { swL2MgmtMIB 9 }
239-- swPortBaseVlanMgmt	OBJECT IDENTIFIER ::= { swL2MgmtMIB 10 }
240--swL2TrafficMgmt		OBJECT IDENTIFIER ::= { swL2MgmtMIB 11 }
241swL2TrafficSegMgmt	OBJECT IDENTIFIER ::= { swL2MgmtMIB 12 }
242-- swPriToTrafficMgmt	OBJECT IDENTIFIER ::= { swL2MgmtMIB 13 }
243-- loadPortSegmentation OBJECT IDENTIFIER ::= { swL2MgmtMIB 14 }
244swL2PortSecurityMgmt	OBJECT IDENTIFIER ::= { swL2MgmtMIB 15 }
245--swL2StpMgmt		OBJECT IDENTIFIER ::= { swL2MgmtMIB 16 }
246swL2CosMgmt		OBJECT IDENTIFIER ::= { swL2MgmtMIB 17 }
247swL2DhcpRelayMgmt       	OBJECT IDENTIFIER ::= { swL2MgmtMIB 18 }
248--swL2LimitedMulticastMgmt	OBJECT IDENTIFIER ::= { swL2MgmtMIB 19 }
249swL2MgmtMIBTraps	OBJECT IDENTIFIER ::= { swL2MgmtMIB 20 }
250swL2LoopDetectMgmt          OBJECT IDENTIFIER ::= { swL2MgmtMIB 21 }
251swL2MultiFilter             OBJECT IDENTIFIER ::= { swL2MgmtMIB 22 }
252swL2VlanMgmt                OBJECT IDENTIFIER ::= { swL2MgmtMIB 23 }
253swL2DhcpLocalRelayMgmt       	OBJECT IDENTIFIER ::= { swL2MgmtMIB 24 }
254
255--*****************************
256-- add by ynot for lag
257-- dot3adAggrPortMgmt	OBJECT IDENTIFIER ::= { lagMIBObjects 1 }
258-- add for load traffic
259--******************************
260
261-- ********************************************************************
262--        swL2DevMgmt               OBJECT IDENTIFIER ::= { swL2MgmtMIB 5 }
263-- ********************************************************************
264
265swL2DevInfo             OBJECT IDENTIFIER ::= { swL2DevMgmt 1 }
266
267--swL2DevInfoSystemUpTime OBJECT-TYPE
268--    SYNTAX  TimeTicks
269--    MAX-ACCESS  read-only
270--    STATUS  current
271--    DESCRIPTION
272--        "The value of sysUpTime at the time the switch entered its
273--        current operational state. If the current state was entered
274--        prior to the last re-initialization, then this object contains
275--        a zero value. This value is in units of seconds."
276--    ::= { swL2DevInfo 1 }
277
278-- swL2DevInfoTotalNumOfPort OBJECT-TYPE
279--     SYNTAX  INTEGER (0..255)
280--     MAX-ACCESS  read-only
281--     STATUS  current
282--     DESCRIPTION
283--         "The number of ports within this switch. This value is the sum
284--         of the ports within this switch."
285--    ::= { swL2DevInfo 2 }
286
287-- swL2DevInfoNumOfPortInUse OBJECT-TYPE
288--     SYNTAX  INTEGER (0..255)
289--     MAX-ACCESS  read-only
290--     STATUS  current
291--     DESCRIPTION
292--          "The number of ports in this switch connected to the segment or
293--           the end stations."
294--      ::= { swL2DevInfo 3 }
295
296--  swL2DevInfoConsoleInUse   OBJECT-TYPE
297--     SYNTAX  INTEGER {
298--            other(1),
299--            in-use(2),
300--            not-in-use(3)
301--            }
302--     MAX-ACCESS  read-only
303--     STATUS  current
304--     DESCRIPTION
305--        "This usage indication of console system."
306--     ::= { swL2DevInfo 4 }
307
308swL2DevInfoFrontPanelLedStatus OBJECT-TYPE
309       SYNTAX  OCTET STRING (SIZE (0..127))
310       MAX-ACCESS  read-only
311       STATUS  current
312       DESCRIPTION
313         "This object is a set of system LED indicators.
314
315     The first two octets are defined as the system LED. The first indicator is
316     the power LED. The second indicator is the console LED.
317
318     The other octets are defined as follow:
319
320     Starting on the third octet indicates the logical port LED (following
321     dot1dBasePort ordering). Every two bytes are presented to a port. The first
322     byte is presented to the Link/Activity LED. The second byte is presented to
323     the Speed LED.
324
325     Link/Activity LED:
326
327	 The most significant bit is used for blink/solid:
328	 8 = The LED blinks.
329
330	 The second significant bit is used for link status:
331
332	 1 = link fail.
333
334	 2 = link pass.
335
336	 Speed LED:
337
338	 01 = 10Mbps.
339
340	 02 = 100Mbps.
341
342	 03 = 1000Mbps.
343
344	 The four remaining bits are currently unused and must be 0."
345       ::= { swL2DevInfo 5 }
346--swL2Module-1-Type OBJECT-TYPE
347--       SYNTAX  INTEGER {
348--       	                  none(0),
349--                                moduleType-DEM-301T(1),
350--                                moduleType-DEM-201F(2),
351--                                moduleType-DEM-301G(3),
352--                                moduleType-COMBA(4),
353--        	        	    moduleType-DEM-201FL(5)
354--                       }
355--       MAX-ACCESS  read-only
356--       STATUS  current
357--       DESCRIPTION
358--         	"This object indicates the module type."
359--       ::= { swL2DevInfo 6 }
360--
361--swL2Module-2-Type OBJECT-TYPE
362--       SYNTAX  INTEGER {
363--                                none(0),
364--                                moduleType-DEM-301T(1),
365--                                moduleType-DEM-201F(2),
366--                                moduleType-DEM-301G(3),
367--                                moduleType-COMBA(4),
368--        	        	    moduleType-DEM-201FL(5)
369--                       }
370--       MAX-ACCESS  read-only
371--       STATUS  current
372--       DESCRIPTION
373--         	"This object indicates the module type."
374--       ::= { swL2DevInfo 7 }
375--
376--***************************************************************************************************************
377--swL2CPUutilization          OBJECT IDENTIFIER ::= { swL2DevMgmt 3 }
378--        swL2CPUutilizationIn5sec OBJECT-TYPE
379--                SYNTAX  Integer32
380--               MAX-ACCESS  read-only
381--                STATUS  current
382--                DESCRIPTION
383--                "The time scale is 5 seconds. The value will be between 0% (idle) and 100%
384--                (very busy)."
385--                ::= { swL2CPUutilization 1 }
386--
387--        swL2CPUutilizationIn1min OBJECT-TYPE
388--                SYNTAX  Integer32
389--
390--                MAX-ACCESS  read-only
391--                STATUS  current
392--                DESCRIPTION
393--                "The time scale is 1 minute. The value will be between 0% (idle) and 100%
394--                (very busy)."
395--                ::= { swL2CPUutilization 2 }
396--
397--        swL2CPUutilizationIn5min OBJECT-TYPE
398--                SYNTAX  Integer32
399--                MAX-ACCESS  read-only
400--                STATUS  current
401--                DESCRIPTION
402--                "The time scale is 5 minutes. The value will be between 0% (idle) and 100%
403--                (very busy)."
404--                ::= { swL2CPUutilization 3 }
405
406
407    -- *******************************************************
408
409          swL2DevCtrl             OBJECT IDENTIFIER ::= { swL2DevMgmt 2 }
410
411          swL2DevCtrlSystemReboot OBJECT-TYPE
412              SYNTAX  INTEGER {
413                          other(1),
414                          reboot(2),
415                          save-config-and-reboot(3),
416                          reboot-and-load-factory-default-config(4)
417                         -- reboot-and-load-factory-default-config-except-ip-address(5)
418                      }
419              MAX-ACCESS  read-write
420              STATUS  current
421              DESCRIPTION
422                  "This object indicates the agent system reboot state. The agent always
423                  returns other(1) when this object is read."
424              ::= { swL2DevCtrl 1 }
425
426          swL2DevCtrlSystemIP OBJECT-TYPE
427              SYNTAX  IpAddress
428              MAX-ACCESS  read-write
429              STATUS  current
430              DESCRIPTION
431                  "This object indicates system IP."
432              ::= { swL2DevCtrl 2 }
433
434          swL2DevCtrlSubnetMask OBJECT-TYPE
435              SYNTAX  IpAddress
436              MAX-ACCESS  read-write
437              STATUS  current
438              DESCRIPTION
439                  "This object indicates system subnet mask."
440              ::= { swL2DevCtrl 3 }
441
442          swL2DevCtrlDefaultGateway OBJECT-TYPE
443              SYNTAX  IpAddress
444              MAX-ACCESS  read-write
445              STATUS  current
446              DESCRIPTION
447                  "This object indicates system default gateway."
448              ::= { swL2DevCtrl 4 }
449
450          swL2DevCtrlManagementVlanId OBJECT-TYPE
451              SYNTAX  VlanId
452              MAX-ACCESS  read-write
453              STATUS  current
454              DESCRIPTION
455                  "This object controls the VLAN, including system IP. The VLAN
456                  should have been created."
457              ::= { swL2DevCtrl 5 }
458
459--          swL2DevCtrlStpState OBJECT-TYPE
460--              SYNTAX  INTEGER {
461--                     other(1),
462--                     disabled(2),
463--                     enabled(3)
464--                     }
465--              MAX-ACCESS  read-write
466--              STATUS  current
467--              DESCRIPTION
468--                  "This object can be enabled or disabled spanning tree algorithm
469--                   during runtime of the system."
470--              ::= { swL2DevCtrl 6 }
471
472          swL2DevCtrlIGMPSnooping OBJECT-TYPE
473              SYNTAX  INTEGER {
474                     other(1),
475                     disabled(2),
476                     enabled(3)
477                     }
478              MAX-ACCESS  read-write
479              STATUS  current
480              DESCRIPTION
481                  "This object indicates layer 2 Internet Group Management Protocol
482                  (IGMP) capture function is enabled or disabled ."
483              ::= { swL2DevCtrl 7 }
484
485--          swL2DevCtrlBcastStormCtrl OBJECT-TYPE
486--              SYNTAX  INTEGER {
487--                     other(1),
488--                     disabled(2),
489--                     enabled(3)
490--                     }
491--              MAX-ACCESS  read-write
492--              STATUS  current
493--              DESCRIPTION
494--                 "This object indicates broadcast storm control function is enabled or
495--                 disabled. The swL2PortCtrlBMDStormLimit object will descript the
496--                 detail about the storm control ."
497--              ::= { swL2DevCtrl 8 }
498
499--swL2DevCtrlMcastStormCtrl OBJECT-TYPE
500--    SYNTAX  INTEGER {
501--          other(1),
502--          disabled(2),
503--          enabled(3)
504--          }
505--   MAX-ACCESS  read-write
506--   STATUS  current
507--   DESCRIPTION
508--      "This object indicates multicast storm control function is enabled or
509--      disabled. The swL2PortCtrlBMDStormLimit object will descript the
510--      detail about the storm control ."
511--   ::= { swL2DevCtrl 9 }
512
513--swL2DevCtrlDestLookupFailureCtrl OBJECT-TYPE
514--    SYNTAX  INTEGER {
515--           other(1),
516--          disabled(2),
517--           enabled(3)
518--           }
519--    MAX-ACCESS  read-write
520--    STATUS  current
521--    DESCRIPTION
522--      "This object indicates destination lookup failure rate control function
523--      is enabled or disabled. The swL2PortCtrlBMDStormLimit object will
524--      descript the detail about the storm control ."
525--    ::= { swL2DevCtrl 10 }
526
527-- swL2DevCtrlBMDStormLimit OBJECT-TYPE
528--   SYNTAX  INTEGER (0..262143)
529--   MAX-ACCESS  read-write
530--  STATUS  current
531--  DESCRIPTION
532--      "This object to decide how many broadcast/multicast (depend on
533--      swL2DevCtrlBcastStormCtrl, swL2DevCtrlMcastStormCtrl or
534--      swL2DevCtrlDestLookupFailureCtrlobjects whether is enabled) packets per second
535--      will pass thru. Beyond the limit, the device will start dropping
536--      that type of packet until the second interval has expired . Once the time
537--      interval has expired , the device will start forwarding that type of packet."
538--  ::= { swL2DevCtrl 11 }
539
540swL2DevCtrlCleanAllStatisticCounter OBJECT-TYPE
541              SYNTAX  INTEGER {
542                     normal(1),
543                     active(2)
544                     }
545              MAX-ACCESS  read-write
546              STATUS  current
547              DESCRIPTION
548                  "As the object is set to active, all the statistic counters will be cleared.
549                  If set to normal, do nothing."
550              ::= { swL2DevCtrl 12 }
551
552swL2DevCtrlSnmpEnableAuthenTraps OBJECT-TYPE
553              SYNTAX      INTEGER { enabled(1), disabled(2) }
554              MAX-ACCESS  read-write
555              STATUS      current
556              DESCRIPTION
557                      "Indicates whether the SNMP entity is permitted to generate
558                      authenticationFailure traps.  The value of this object
559                      overrides any configuration information; as such, it
560                      provides a means whereby all authenticationFailure traps may
561                      be disabled.
562
563                      Note that it is strongly recommended that this object be
564                      stored in non-volatile memory so that it remains constant
565                      across re-initializations of the network management system."
566              ::= { swL2DevCtrl 13 }
567
568        -- swL2DevCtrlFilterEAPOLPDU OBJECT-TYPE
569         --     SYNTAX      INTEGER { yes(1), no(2) }
570         --     MAX-ACCESS  read-write
571          --    STATUS      current
572           --   DESCRIPTION
573           --           "Indicates whether to filter the EAPOL PDU. If the administrative
574           --           state for Port Access Control in a System is enabled, this object
575            --          is meaningless. Otherwise, when this object is yes(1), the EAPOL
576            --          packets will be dropped. When this object is no(2), the EAPOL
577            --          packets will pass."
578           --   ::= { swL2DevCtrl 14 }
579
580          --swL2DevCtrlTrafficSegmentation OBJECT-TYPE
581           --   SYNTAX      INTEGER { enabled(1), disabled(2) }
582           --   MAX-ACCESS  read-write
583           --   STATUS      current
584           --   DESCRIPTION
585           --           "If this object is disabled(2), then no traffic segmentation.
586
587          --            When we set it to enabled(1), there are three conditions for the
588          --            traffic segmentation.
589          --            (1) If without plugging in option module, port 1 is the server port.
590          --            (2) If plugging in one-port module, the port on the module is the
591          --                server port.
592          --            (3) If plugging in two-port module, these two ports on the module are
593          --                the server ports.
594
595          --            Under this situation, other ports(Client ports) can only communicate
596          --            with the server port. Client ports can't communicate with each other."
597          --    ::= { swL2DevCtrl 15 }
598
599        swL2DevCtrlRmonState OBJECT-TYPE
600        SYNTAX  INTEGER {
601               other(1),
602               disabled(2),
603               enabled(3)
604               }
605        MAX-ACCESS  read-write
606        STATUS  current
607        DESCRIPTION
608            "This object can be enabled or disabled RMON."
609        ::= { swL2DevCtrl 16 }
610
611        swL2DevCtrlIpAutoConfig OBJECT-TYPE
612	    SYNTAX  INTEGER {
613               other(1),
614               disabled(2),
615               enabled(3)
616               }
617        MAX-ACCESS  read-write
618        STATUS  current
619        DESCRIPTION
620            "Indicates  the status of automatically getting configuration from TFTP server on device"
621        ::= { swL2DevCtrl 17 }
622
623--     swL2PortCtrlMulticastfilter OBJECT-TYPE
624--        SYNTAX  INTEGER {
625--    		   other(0),
626--               forward-all-groups(1),
627--               forward-unregistered-groups(2),
628--               filter-unregistered-groups(3)
629--               }
630--        MAX-ACCESS  read-write
631--        STATUS  current
632--        DESCRIPTION
633--            "This object decide the multicast packets filtering mode on all port . "
634--          ::= { swL2DevCtrl 18 }
635
636    swL2MACNotifyState OBJECT-TYPE
637        SYNTAX  INTEGER {
638               other(1),
639               disabled(2),
640               enabled(3)
641               }
642        MAX-ACCESS  read-write
643        STATUS  current
644        DESCRIPTION
645           "This object can enabled or disabled MAC Notification."
646        ::= { swL2DevCtrl 19 }
647
648    swL2MACNotifyHistorySize OBJECT-TYPE
649	    SYNTAX  INTEGER (1..500)
650	    MAX-ACCESS  read-write
651	    STATUS  current
652	    DESCRIPTION
653        "This object indicates the history size of variation MAC in address table.
654	         The default value is 1 ."
655    ::= { swL2DevCtrl 20 }
656
657    swL2MACNotifyInterval OBJECT-TYPE
658	    SYNTAX  INTEGER (1..2147483647)
659	    MAX-ACCESS  read-write
660	    STATUS  current
661	    DESCRIPTION
662	        "This object indicates the time interval in second for trigger the MAC notify message. "
663	    ::= { swL2DevCtrl 21 }
664
665    swL2DevCtrlLLDPState OBJECT-TYPE
666        SYNTAX  INTEGER {
667               enabled(1),
668               disabled(2)
669               }
670        MAX-ACCESS  read-write
671        STATUS  current
672        DESCRIPTION
673            "Specifies the state of the LLDP function.
674             When this function is enabled, the switch can start to transmit
675             LLDP packets and receive and process the LLDP packets.
676	     The specific function of each port will depend on the per port
677	     LLDP setting.
678	     For the advertisement of LLDP packets, the switch announces the
679	     information to its neighbor through ports. For the receiving of
680	     LLDP packets, the switch will learn the information from the LLDP
681	     packets advertised from the neighbor in the neighbor table.
682	    "
683        ::= { swL2DevCtrl 22 }
684     swL2DevCtrlLLDPForwardMessageState OBJECT-TYPE
685        SYNTAX  INTEGER{
686                 enabled(1),
687                 disabled(2)
688                 }
689        MAX-ACCESS  read-write
690        STATUS   current
691        DESCRIPTION
692             "When lldp is disabled and lldp forward_message  is enabled, the received
693              LLDP Data Units packet will be forwarded. "
694        DEFVAL  {disabled}
695       ::={swL2DevCtrl 23}
696
697	swL2DevCtrlAsymVlanState OBJECT-TYPE
698        SYNTAX  INTEGER {
699               other(1),
700               disabled(2),
701               enabled(3)
702               }
703        MAX-ACCESS  read-write
704        STATUS  current
705        DESCRIPTION
706            "This object enables or disables the asymmetric VLAN feature of the device."
707        ::= { swL2DevCtrl 24 }
708
709      swL2IGMPSnoopingMulticastVlanState  OBJECT-TYPE
710        SYNTAX  INTEGER
711                {
712                  enabled(1),
713                  disabled(2)
714                }
715        MAX-ACCESS read-write
716        STATUS current
717        DESCRIPTION
718               "This indicates the global state of the igmp_snoop multicast_vlan."
719        ::={swL2DevCtrl 25}
720
721      swL2DevCtrlVLANTrunkState  OBJECT-TYPE
722        SYNTAX  INTEGER
723                {
724                  enabled(1),
725                  disabled(2)
726                }
727        MAX-ACCESS read-write
728        STATUS current
729        DESCRIPTION
730               "This indicates the global state of the VLAN trunking feature of the device."
731        ::={swL2DevCtrl 26}
732
733    swL2DevArpAgingTime OBJECT-TYPE
734        SYNTAX  INTEGER (0..65535)
735        MAX-ACCESS  read-write
736        STATUS  current
737        DESCRIPTION
738            "The timeout period in minutes for aging out dynamically learned
739            ARP information."
740        ::= { swL2DevCtrl 27 }
741
742    swL2DevPasswordEncryptionState OBJECT-TYPE
743        SYNTAX  INTEGER
744                {
745                  enabled(1),
746                  disabled(2)
747                }
748        MAX-ACCESS  read-write
749        STATUS  current
750        DESCRIPTION
751            "If the password encryption is enabled, the password will be in
752             encrypted form."
753        ::= { swL2DevCtrl 28 }
754
755     swL2DevCtrlCFM   OBJECT IDENTIFIER ::= { swL2DevCtrl 29 }
756
757     swL2DevCtrlCFMState OBJECT-TYPE
758        SYNTAX  INTEGER{
759                 enabled(1),
760                 disabled(2)
761                 }
762        MAX-ACCESS  read-write
763        STATUS   current
764        DESCRIPTION
765             "This object indicates the CFM global state."
766       ::={swL2DevCtrlCFM 1}
767
768    swL2DevCtrlCFMPortTable OBJECT-TYPE
769        SYNTAX      SEQUENCE OF SwL2DevCtrlCFMPortEntry
770        MAX-ACCESS  not-accessible
771        STATUS      current
772        DESCRIPTION
773            "A table containing the CFM state of specified ports."
774        ::= { swL2DevCtrlCFM 2 }
775
776    swL2DevCtrlCFMPortEntry OBJECT-TYPE
777        SYNTAX      SwL2DevCtrlCFMPortEntry
778        MAX-ACCESS  not-accessible
779        STATUS      current
780        DESCRIPTION
781            "The entry of the CFM state on specified ports."
782        INDEX   { swL2DevCtrlCFMPortIndex }
783        ::= { swL2DevCtrlCFMPortTable 1 }
784
785    SwL2DevCtrlCFMPortEntry ::=
786        SEQUENCE {
787            swL2DevCtrlCFMPortIndex
788                INTEGER,
789            swL2DevCtrlCFMPortState
790                INTEGER
791        }
792
793    swL2DevCtrlCFMPortIndex OBJECT-TYPE
794        SYNTAX      INTEGER
795        MAX-ACCESS  not-accessible
796        STATUS      current
797        DESCRIPTION
798            "This object indicates the port number."
799        ::= { swL2DevCtrlCFMPortEntry 1 }
800
801    swL2DevCtrlCFMPortState OBJECT-TYPE
802        SYNTAX  INTEGER {
803                enabled(1),
804                disabled(2)
805            }
806        MAX-ACCESS  read-write
807        STATUS  current
808        DESCRIPTION
809            "This object indicates the CFM state by port."
810        ::= { swL2DevCtrlCFMPortEntry 2 }
811
812    swL2DevCtrlWeb   OBJECT IDENTIFIER ::= { swL2DevCtrl 30 }
813
814    swL2DevCtrlWebState OBJECT-TYPE
815        SYNTAX  INTEGER {
816               other(1),
817               disabled(2),
818               enabled(3)
819               }
820        MAX-ACCESS  read-write
821        STATUS  current
822        DESCRIPTION
823            "This object controls Web status."
824        ::= { swL2DevCtrlWeb 1 }
825
826-- -----------------------------------------------------------------------------
827swL2DevAlarm             OBJECT IDENTIFIER ::= { swL2DevMgmt 3 }
828-- -----------------------------------------------------------------------------
829
830    swL2DevAlarmLinkChange OBJECT-TYPE
831        SYNTAX  INTEGER {
832               other(1),
833               disabled(2),
834               enabled(3)
835               }
836        MAX-ACCESS  read-write
837        STATUS  current
838        DESCRIPTION
839            "This object determines whether or not to send a trap message when the link
840              changes. If the object is enabled (3), the Link Change trap is sent by
841             the device when any of its port links change. The device does not send the
842             trap if this object value is disabled or in another state."
843        ::= { swL2DevAlarm 3 }
844
845-- ********************************************************************
846--  swL2PortMgmt            OBJECT IDENTIFIER ::= { swL2MgmtMIB 6 }
847-- ********************************************************************
848
849          swL2PortInfoTable OBJECT-TYPE
850              SYNTAX  SEQUENCE OF SwL2PortInfoEntry
851              MAX-ACCESS  not-accessible
852              STATUS  current
853              DESCRIPTION
854                  "A table that contains information about every port."
855              ::= { swL2PortMgmt 1 }
856
857          swL2PortInfoEntry OBJECT-TYPE
858              SYNTAX  SwL2PortInfoEntry
859              MAX-ACCESS  not-accessible
860              STATUS  current
861              DESCRIPTION
862                  "A list of information for each port of the device."
863              INDEX   { swL2PortInfoPortIndex,swL2PortInfoMediumType }
864              ::= { swL2PortInfoTable 1 }
865
866          SwL2PortInfoEntry ::=
867              SEQUENCE {
868                  swL2PortInfoPortIndex
869                      INTEGER,
870                  swL2PortInfoMediumType
871                  	INTEGER,
872                  --swL2PortInfoType
873                   --   INTEGER,
874                 -- swL2PortInfoDescr
875                 --     DisplayString,
876                  swL2PortInfoLinkStatus
877                      INTEGER,
878                  swL2PortInfoNwayStatus
879                      INTEGER,
880                  swL2PortInfoFlowCtrlOperStatus
881                      INTEGER
882              }
883
884          swL2PortInfoPortIndex OBJECT-TYPE
885              SYNTAX  INTEGER (1..255)
886              MAX-ACCESS  read-only
887              STATUS  current
888              DESCRIPTION
889                  "This object indicates the module's port number.(1..Max port number in
890                   the module)"
891              ::= { swL2PortInfoEntry 1 }
892
893	  swL2PortInfoMediumType OBJECT-TYPE
894	  	SYNTAX	INTEGER{
895	  		copper(100),
896	  		fiber(101)
897	  		}
898	  	MAX-ACCESS read-only
899	      	STATUS	current
900	      	DESCRIPTION
901	          	"This object indicates the port type: fiber or copper."
902	      	::= { swL2PortInfoEntry 2 }
903
904          --swL2PortInfoType OBJECT-TYPE
905          --    SYNTAX  INTEGER {
906          --           other(1),
907          --           portType-UTP(2),
908          --           portType-AUI(3),
909           --          portType-Fiber-MTRJ(4),
910           --          portType-Fiber-SC(5),
911           --          portType-Fiber-GBIC(6),
912           --          portType-BNC(7)
913           --          }
914           --   MAX-ACCESS  read-only
915           --   STATUS  current
916           --   DESCRIPTION
917            --      "This object indicates the connector type of this port."
918            --  ::= { swL2PortInfoEntry 2 }
919
920          --swL2PortInfoDescr OBJECT-TYPE
921           --   SYNTAX DisplayString (SIZE(0..64))
922           --   MAX-ACCESS  read-only
923           --   STATUS  current
924           --   DESCRIPTION
925           --       "This object provides port type information in displayed string format."
926           --   ::= { swL2PortInfoEntry 3 }
927
928          swL2PortInfoLinkStatus OBJECT-TYPE
929              SYNTAX  INTEGER {
930                     other(1),
931                     link-pass(2),
932                     link-fail(3)
933                     }
934              MAX-ACCESS  read-only
935              STATUS  current
936              DESCRIPTION
937                  "This object indicates the port link status."
938              ::= { swL2PortInfoEntry 4 }
939
940          swL2PortInfoNwayStatus OBJECT-TYPE
941              SYNTAX  INTEGER {
942                     --other(1),
943                     --half-10Mbps(2),
944                     --full-10Mbps(3),
945                     --half-100Mbps(4),
946                     --full-100Mbps(5),
947                     --half-1Gigabps(6),
948                     --full-1Gigabps(7)
949                     auto(1),
950                     half-10Mbps(2),
951                     full-10Mbps(3),
952                     half-100Mbps(4),
953                     full-100Mbps(5),
954--                     half-1Gigabps(6),
955                     full-1Gigabps(7)
956                     }
957              MAX-ACCESS  read-only
958              STATUS  current
959              DESCRIPTION
960                  "This object indicates the port speed and duplex mode."
961              ::= { swL2PortInfoEntry 5 }
962
963          swL2PortInfoFlowCtrlOperStatus OBJECT-TYPE
964              SYNTAX  INTEGER {
965                     none(1),
966                     ieee8023x(2),
967                     backPressure(3)
968                     }
969              MAX-ACCESS  read-only
970              STATUS  current
971              DESCRIPTION
972                  "The current operational state of flow control. The none (1) state
973                   indicates that no flow control is performed. The flow control
974                   mechanism is different between full duplex mode and half duplex
975                   mode. For full duplex mode, the IEEE 802.3x (2) flow control function
976                   sends PAUSE frames and receives PAUSE frames. For half duplex mode,
977                   backpressure (3) is performed."
978              ::= { swL2PortInfoEntry 10 }
979
980    -- *******************************************************
981
982          swL2PortCtrlTable OBJECT-TYPE
983              SYNTAX  SEQUENCE OF SwL2PortCtrlEntry
984              MAX-ACCESS  not-accessible
985              STATUS  current
986              DESCRIPTION
987                  "A table that contains control information about every port."
988              ::= { swL2PortMgmt 2 }
989
990          swL2PortCtrlEntry OBJECT-TYPE
991              SYNTAX  SwL2PortCtrlEntry
992              MAX-ACCESS  not-accessible
993              STATUS  current
994              DESCRIPTION
995                  "A list of control information for each port of the device."
996              INDEX  { swL2PortCtrlPortIndex,swL2PortCtrlPortMediumType }
997              ::= { swL2PortCtrlTable 1 }
998
999          SwL2PortCtrlEntry ::=
1000              SEQUENCE {
1001                  swL2PortCtrlPortIndex
1002                      INTEGER,
1003                  swL2PortCtrlPortMediumType
1004                      INTEGER,
1005                  swL2PortCtrlAdminState
1006                      INTEGER,
1007                  swL2PortCtrlNwayState
1008                      INTEGER,
1009                  swL2PortCtrlFlowCtrlState
1010                      INTEGER,
1011                  swL2PortCtrlDescription
1012		      DisplayString,
1013		  swL2PortCtrlAddressLearning
1014		      INTEGER,
1015		  swL2PortCtrlMACNotifyState
1016                      INTEGER,
1017                  swL2PortCtrlMulticastfilter
1018                      INTEGER,
1019				  swL2PortCtrlMDIXState
1020				  	  INTEGER
1021                  --swL2PortCtrlCleanStatCounter
1022                  --    INTEGER
1023              }
1024
1025          swL2PortCtrlPortIndex OBJECT-TYPE
1026              SYNTAX  INTEGER (1..255)
1027              MAX-ACCESS  read-only
1028              STATUS  current
1029              DESCRIPTION
1030                  "This object indicates the module's port number.(1..Max port number in
1031                   the module)"
1032              ::= { swL2PortCtrlEntry 1 }
1033
1034	  swL2PortCtrlPortMediumType	OBJECT-TYPE
1035	      SYNTAX  INTEGER {
1036	      		copper(100),
1037	      		fiber(101)
1038	      		}
1039	      MAX-ACCESS read-only
1040	      STATUS	current
1041	      DESCRIPTION
1042	          "This object indicates the port type: fiber or copper."
1043	      ::= { swL2PortCtrlEntry 2 }
1044
1045          swL2PortCtrlAdminState OBJECT-TYPE
1046              SYNTAX  INTEGER {
1047                     other(1),
1048                     disabled(2),
1049                     enabled(3)
1050                     }
1051              MAX-ACCESS  read-write
1052              STATUS  current
1053              DESCRIPTION
1054                  "This object decides whether the port is enabled or disabled."
1055              ::= { swL2PortCtrlEntry 3 }
1056
1057          swL2PortCtrlNwayState OBJECT-TYPE
1058              SYNTAX  INTEGER {
1059--                     other(1),
1060--                     nway-enabled(2),
1061--                     nway-disabled-10Mbps-Half(3),
1062--                     nway-disabled-10Mbps-Full(4),
1063--                     nway-disabled-100Mbps-Half(5),
1064--                     nway-disabled-100Mbps-Full(6),
1065--                     nway-disabled-1Gigabps-Half(7),
1066--                     nway-disabled-1Gigabps-Full(8)
1067                     nway-auto(1),
1068                     nway-disabled-10Mbps-Half(2),
1069                     nway-disabled-10Mbps-Full(3),
1070                     nway-disabled-100Mbps-Half(4),
1071                     nway-disabled-100Mbps-Full(5),
1072--                     nway-disabled-1Gigabps-Half(6),
1073                     nway-disabled-1Gigabps-Full(7),
1074                     nway-disabled-1Gigabps-Full-Master(8),
1075                     nway-disabled-1Gigabps-Full-Slave(9)
1076                     }
1077              MAX-ACCESS  read-write
1078              STATUS  current
1079              DESCRIPTION
1080                  "Choose the port speed, duplex mode, and N-Way function mode."
1081              ::= { swL2PortCtrlEntry 4 }
1082
1083          swL2PortCtrlFlowCtrlState OBJECT-TYPE
1084              SYNTAX  INTEGER {
1085                     other(1),
1086                     disabled(2),
1087                     enabled(3)
1088                     }
1089              MAX-ACCESS  read-write
1090              STATUS  current
1091              DESCRIPTION
1092                  "Set the flow control function as enabled or disabled."
1093              ::= { swL2PortCtrlEntry 5 }
1094
1095            swL2PortCtrlDescription OBJECT-TYPE
1096		SYNTAX DisplayString(SIZE(0..32))
1097		MAX-ACCESS read-write
1098		STATUS current
1099		DESCRIPTION
1100			"The object describes the ports in text."
1101		::= { swL2PortCtrlEntry 6 }
1102
1103	    swL2PortCtrlAddressLearning OBJECT-TYPE
1104              SYNTAX  INTEGER {
1105                     other(1),
1106                     disabled(2),
1107                     enabled(3)
1108                     }
1109              MAX-ACCESS  read-write
1110              STATUS  current
1111              DESCRIPTION
1112                  "This object decides whether the address learning is enabled or disabled."
1113              ::= { swL2PortCtrlEntry 7 }
1114
1115    swL2PortCtrlMACNotifyState OBJECT-TYPE
1116        SYNTAX  INTEGER {
1117               other(1),
1118               disabled(2),
1119               enabled(3)
1120               }
1121        MAX-ACCESS  read-write
1122        STATUS  current
1123        DESCRIPTION
1124            "This object sets each port's MAC notification state."
1125        ::= { swL2PortCtrlEntry 8 }
1126
1127
1128        swL2PortCtrlMulticastfilter OBJECT-TYPE
1129        SYNTAX  INTEGER {
1130--    		   other(0),
1131--               forward-all-groups(1),
1132               forward-unregistered-groups(2),
1133               filter-unregistered-groups(3)
1134
1135              }
1136        MAX-ACCESS  read-write
1137        STATUS  current
1138        DESCRIPTION
1139            "This object decides the multicast packet filtering mode on this port. "
1140          ::= { swL2PortCtrlEntry 9 }
1141
1142		swL2PortCtrlMDIXState OBJECT-TYPE
1143		        SYNTAX  INTEGER {
1144		               auto(1),
1145		               normal(2),
1146		               cross(3),
1147		               other(4)
1148		               }
1149		        MAX-ACCESS  read-write
1150		        STATUS  current
1151		        DESCRIPTION
1152		            "This object configures the MDIX setting of the port.
1153		            The value 'other' is for those entries in which MDIX is not applicable."
1154		        ::= { swL2PortCtrlEntry 10 }
1155
1156 --         swL2PortCtrlCleanStatCounter OBJECT-TYPE
1157 --             SYNTAX  INTEGER {
1158 --                    normal(1),
1159  --                   active(2)
1160  --                   }
1161 --             MAX-ACCESS  read-write
1162  --            STATUS  current
1163  --            DESCRIPTION
1164  --                "As the object is set to active, the statistic counters of this port will be
1165  --                cleared. If set to normal, do nothing."
1166  --            ::= { swL2PortCtrlEntry 5 }
1167
1168          swL2PortErrTable OBJECT-TYPE
1169              SYNTAX  SEQUENCE OF SwL2PortErrEntry
1170              MAX-ACCESS  not-accessible
1171              STATUS  current
1172              DESCRIPTION
1173                  "A table that contains information about the Err port."
1174              ::= { swL2PortMgmt 3 }
1175
1176          swL2PortErrEntry OBJECT-TYPE
1177              SYNTAX  SwL2PortErrEntry
1178              MAX-ACCESS  not-accessible
1179              STATUS  current
1180              DESCRIPTION
1181                  "A list of information for the err port of the device."
1182              INDEX   { swL2PortErrPortIndex }
1183              ::= { swL2PortErrTable 1 }
1184
1185          SwL2PortErrEntry ::=
1186              SEQUENCE {
1187                  swL2PortErrPortIndex
1188                      INTEGER,
1189                  swL2PortErrPortState
1190                      INTEGER,
1191                  swL2PortErrPortStatus
1192                      INTEGER,
1193                  swL2PortErrPortReason
1194                      INTEGER,
1195                  swL2PortErrDescription
1196		      DisplayString
1197
1198              }
1199
1200          swL2PortErrPortIndex OBJECT-TYPE
1201              SYNTAX  INTEGER (1..255)
1202              MAX-ACCESS  read-only
1203              STATUS  current
1204              DESCRIPTION
1205                  "This object indicates the module's port number.(1..Max port number in
1206                   the module)"
1207              ::= { swL2PortErrEntry 1 }
1208
1209	  swL2PortErrPortState OBJECT-TYPE
1210              SYNTAX  INTEGER {
1211                     disabled(1),
1212                     enabled(2)
1213                     }
1214              MAX-ACCESS  read-only
1215              STATUS  current
1216              DESCRIPTION
1217                  "This object decides whether the port state is enabled or disabled."
1218              ::= { swL2PortErrEntry 2 }
1219
1220	  swL2PortErrPortStatus OBJECT-TYPE
1221              SYNTAX  INTEGER {
1222                     other(1),
1223                     err-disabled(2)
1224                     }
1225              MAX-ACCESS  read-only
1226              STATUS  current
1227              DESCRIPTION
1228                  "This object decides whether the PortStatus is err-disabled."
1229              ::= { swL2PortErrEntry 3 }
1230
1231	  swL2PortErrPortReason OBJECT-TYPE
1232              SYNTAX  INTEGER {
1233                     none(0),
1234                     stp-lbd(1),
1235                     storm-control(2),
1236                     storm-control-lbd(3),
1237                     loopdetect(4)
1238                     }
1239              MAX-ACCESS  read-only
1240              STATUS  current
1241              DESCRIPTION
1242                  "This object decides whether the PortStatus STP is LBD or Storm control."
1243              ::= { swL2PortErrEntry 4 }
1244
1245          swL2PortErrDescription OBJECT-TYPE
1246		SYNTAX DisplayString(SIZE(0..32))
1247		MAX-ACCESS read-only
1248		STATUS current
1249		DESCRIPTION
1250			"The object describes the ports in text."
1251		::= { swL2PortErrEntry 5 }
1252
1253    swL2PortCtrlJumboFrame OBJECT-TYPE
1254        SYNTAX  INTEGER {
1255                  enabled(1),
1256                  disabled(2)
1257              }
1258        MAX-ACCESS  read-write
1259        STATUS  current
1260        DESCRIPTION
1261            "This object configures the switch's jumbo frame settings."
1262        ::= { swL2PortMgmt 4 }
1263
1264    swL2PortCtrlJumboFrameMaxSize OBJECT-TYPE
1265        SYNTAX  INTEGER
1266        MAX-ACCESS  read-only
1267        STATUS  current
1268        DESCRIPTION
1269            "This object describes how many bytes the max jumbo frame is."
1270        ::= { swL2PortMgmt 5 }
1271
1272
1273  -- ********************************************************************
1274--        swL2QOSMgmt               OBJECT IDENTIFIER ::= { swL2MgmtMIB 6 }
1275-- ********************************************************************
1276
1277	swL2QOSBandwidthControlTable OBJECT-TYPE
1278		SYNTAX  SEQUENCE OF SwL2QOSBandwidthControlEntry
1279		MAX-ACCESS  not-accessible
1280		STATUS  current
1281		DESCRIPTION
1282		      "."
1283		::= { swL2QOSMgmt 1 }
1284
1285	swL2QOSBandwidthControlEntry OBJECT-TYPE
1286		SYNTAX  SwL2QOSBandwidthControlEntry
1287		MAX-ACCESS  not-accessible
1288		STATUS  current
1289		DESCRIPTION
1290		      "A list of information contained in swL2QOSBandwidthControlTable."
1291		INDEX   { swL2QOSBandwidthPortIndex }
1292		::= { swL2QOSBandwidthControlTable 1 }
1293
1294	SwL2QOSBandwidthControlEntry ::=
1295		SEQUENCE {
1296		  swL2QOSBandwidthPortIndex
1297		      INTEGER,
1298		  swL2QOSBandwidthRxRate
1299		      INTEGER,
1300		  swL2QOSBandwidthTxRate
1301		      INTEGER,
1302		  swL2QOSBandwidthRadiusRxRate
1303	          INTEGER,
1304		  swL2QOSBandwidthRadiusTxRate
1305	          INTEGER
1306		}
1307
1308	swL2QOSBandwidthPortIndex OBJECT-TYPE
1309		SYNTAX  INTEGER (1..650)
1310		MAX-ACCESS  read-only
1311		STATUS  current
1312		DESCRIPTION
1313		      "Indicates the port."
1314		::= { swL2QOSBandwidthControlEntry 1 }
1315
1316	swL2QOSBandwidthRxRate OBJECT-TYPE
1317		SYNTAX  INTEGER (64..1024000)
1318		MAX-ACCESS  read-write
1319		STATUS  current
1320		DESCRIPTION
1321              "Indicates the RX Rate(Kbit/sec) of the specified port. A value of 1024000 means no limit."
1322		::= { swL2QOSBandwidthControlEntry 2 }
1323
1324	swL2QOSBandwidthTxRate OBJECT-TYPE
1325		SYNTAX  INTEGER (64..1024000)
1326		MAX-ACCESS  read-write
1327		STATUS  current
1328		DESCRIPTION
1329              "Indicates the TX Rate(Kbit/sec) of the specified port. A value of 1024000 means no limit. "
1330		::= { swL2QOSBandwidthControlEntry 3 }
1331
1332	swL2QOSBandwidthRadiusRxRate OBJECT-TYPE
1333		SYNTAX  INTEGER
1334	    MAX-ACCESS  read-only
1335	    STATUS  current
1336	    DESCRIPTION
1337		      "The Rx Rate value comes from the RADIUS server,
1338		       If an 802.1X port is authenticated, this value
1339		       will overwrite the locally configured Rx Rate. "
1340	    ::= { swL2QOSBandwidthControlEntry 4 }
1341
1342	  swL2QOSBandwidthRadiusTxRate OBJECT-TYPE
1343		SYNTAX  INTEGER
1344	    MAX-ACCESS  read-only
1345	    STATUS  current
1346	    DESCRIPTION
1347		      "The Tx Rate value comes from the RADIUS server,
1348		       If an 802.1X port is authenticated, this value
1349		       will overwrite the locally configured Tx Rate. "
1350	    ::= { swL2QOSBandwidthControlEntry 5 }
1351
1352
1353	-- *******************************************************
1354
1355	swL2QOSSchedulingTable OBJECT-TYPE
1356		SYNTAX  SEQUENCE OF SwL2QOSSchedulingEntry
1357		MAX-ACCESS  not-accessible
1358		STATUS  current
1359		DESCRIPTION
1360		      "."
1361		::= { swL2QOSMgmt 2 }
1362
1363	swL2QOSSchedulingEntry OBJECT-TYPE
1364		SYNTAX  SwL2QOSSchedulingEntry
1365		MAX-ACCESS  not-accessible
1366		STATUS  current
1367		DESCRIPTION
1368		      "A list of information contained in the swL2QOSSchedulingTable."
1369		INDEX   { swL2QOSSchedulingClassIndex }
1370		::= { swL2QOSSchedulingTable 1 }
1371
1372	SwL2QOSSchedulingEntry ::=
1373		SEQUENCE {
1374		  swL2QOSSchedulingClassIndex
1375		      INTEGER,
1376--		  swL2QOSSchedulingMaxPkts
1377--		      INTEGER,
1378--		  swL2QOSSchedulingMaxLatency
1379--		      INTEGER,
1380                  swL2QOSSchedulingMaxWeight
1381		      INTEGER,
1382		  swL2QOSSchedulingMechanism
1383		      INTEGER
1384		}
1385
1386	swL2QOSSchedulingClassIndex OBJECT-TYPE
1387		SYNTAX  INTEGER (0..3)
1388		MAX-ACCESS  read-only
1389		STATUS  current
1390		DESCRIPTION
1391		      "Indicates the hardware queue number."
1392		::= { swL2QOSSchedulingEntry 1 }
1393
1394--	swL2QOSSchedulingMaxPkts OBJECT-TYPE
1395--		SYNTAX  INTEGER (0..255)
1396--		MAX-ACCESS  read-write
1397--		STATUS  current
1398--		DESCRIPTION
1399--		      "Indicates the maximum number of packets the hardware priority queue will be allowed
1400--		      to transmit before allowing the next lowest priority queue  to transmit its packets.
1401--		      a value between 0 and 255 can be specified."
1402--		::= { swL2QOSSchedulingEntry 2 }
1403--
1404--	swL2QOSSchedulingMaxLatency OBJECT-TYPE
1405--		SYNTAX  INTEGER (0..255)
1406--		MAX-ACCESS  read-write
1407--		STATUS  current
1408--		DESCRIPTION
1409--		      "Indicates the maximum amount of time the hardware priority queue will be allowed
1410--		       to transmit packets before allowing the next lowest priority queue to begin transmit
1411--		       its packets. A value between 0 and 255 can be specified- with this value multiplied
1412--		       by 16 ms to arrive at the total allowed time for queue to transmit packets.
1413--		       For example, a value of 3 specifies 3*16=48 ms. The queue will continue transmitting
1414--		       the last packet until it is finished when the max_latency timer expires. "
1415--		::= { swL2QOSSchedulingEntry 3 }
1416
1417        swL2QOSSchedulingMaxWeight OBJECT-TYPE
1418		SYNTAX  INTEGER (1..55)
1419		MAX-ACCESS  read-write
1420		STATUS  current
1421		DESCRIPTION
1422  		      "Indicates the maximum number of packets the above specified hardware
1423          	   priority queue will be allowed to transmit before allowing
1424          	   the next lowest priority queue to transmit its packets."
1425		::= { swL2QOSSchedulingEntry 4 }
1426
1427	swL2QOSSchedulingMechanism OBJECT-TYPE
1428		SYNTAX  INTEGER {
1429               		strict(1),
1430               		roundrobin(2),
1431               		weightfair(3)
1432               		}
1433		MAX-ACCESS  read-only
1434		STATUS  current
1435		DESCRIPTION
1436		      "Indicates the mechanism of QOS scheduling."
1437		::= { swL2QOSSchedulingEntry 5 }
1438
1439	swL2QOSSchedulingMechanismCtrl OBJECT-TYPE
1440		SYNTAX	INTEGER {
1441                 strict(1),
1442--                   roundrobin(2),
1443                 weightfair(2),
1444			   none(3)
1445                 }
1446		MAX-ACCESS  read-write
1447		STATUS  current
1448		DESCRIPTION
1449		      "This object can control QOS scheduling Mechanism."
1450		::= { swL2QOSMgmt 5 }
1451
1452      -- *******************************************************
1453
1454	swL2QOS8021pUserPriorityTable OBJECT-TYPE
1455		SYNTAX  SEQUENCE OF SwL2QOS8021pUserPriorityEntry
1456		MAX-ACCESS  not-accessible
1457		STATUS  current
1458		DESCRIPTION
1459		      "."
1460		::= { swL2QOSMgmt 3 }
1461
1462	swL2QOS8021pUserPriorityEntry OBJECT-TYPE
1463		SYNTAX  SwL2QOS8021pUserPriorityEntry
1464		MAX-ACCESS  not-accessible
1465		STATUS  current
1466		DESCRIPTION
1467		      "A list of information contained in the swL2QOS8021pUserPriorityTable."
1468		INDEX   { swL2QOS8021pUserPriorityIndex }
1469		::= { swL2QOS8021pUserPriorityTable 1 }
1470
1471	SwL2QOS8021pUserPriorityEntry ::=
1472		SEQUENCE {
1473		  swL2QOS8021pUserPriorityIndex
1474		      INTEGER,
1475		  swL2QOS8021pUserPriorityClass
1476		      INTEGER
1477		}
1478
1479	swL2QOS8021pUserPriorityIndex OBJECT-TYPE
1480		SYNTAX  INTEGER (0..7)
1481		MAX-ACCESS  read-only
1482		STATUS  current
1483		DESCRIPTION
1484		      "The 802.1p user priority."
1485		::= { swL2QOS8021pUserPriorityEntry 1 }
1486
1487	swL2QOS8021pUserPriorityClass OBJECT-TYPE
1488		SYNTAX  INTEGER (0..3)
1489		MAX-ACCESS  read-write
1490		STATUS  current
1491		DESCRIPTION
1492		      "The number of the switch's hardware priority queue. The switch has four hardware
1493		       priority queues available. They are numbered between 0 (the lowest priority)
1494		        and 3 (the highest priority)."
1495		::= { swL2QOS8021pUserPriorityEntry 2 }
1496
1497      -- ******************************************************
1498
1499	swL2QOS8021pDefaultPriorityTable OBJECT-TYPE
1500		SYNTAX  SEQUENCE OF SwL2QOS8021pDefaultPriorityEntry
1501		MAX-ACCESS  not-accessible
1502		STATUS  current
1503		DESCRIPTION
1504		      "."
1505		::= { swL2QOSMgmt 4 }
1506
1507	swL2QOS8021pDefaultPriorityEntry OBJECT-TYPE
1508		SYNTAX  SwL2QOS8021pDefaultPriorityEntry
1509		MAX-ACCESS  not-accessible
1510		STATUS  current
1511		DESCRIPTION
1512		      "A list of information contained in the swL2QOS8021pDefaultPriorityTable."
1513		INDEX   { swL2QOS8021pDefaultPriorityIndex }
1514		::= { swL2QOS8021pDefaultPriorityTable 1 }
1515
1516	SwL2QOS8021pDefaultPriorityEntry ::=
1517		SEQUENCE {
1518		  swL2QOS8021pDefaultPriorityIndex
1519		      INTEGER,
1520		  swL2QOS8021pDefaultPriority
1521		      INTEGER,
1522	      swL2QOS8021pRadiusPriority
1523	          INTEGER
1524		}
1525
1526	swL2QOS8021pDefaultPriorityIndex OBJECT-TYPE
1527		SYNTAX  INTEGER (1..650)
1528		MAX-ACCESS  read-only
1529		STATUS  current
1530		DESCRIPTION
1531		      "Indicates the port number."
1532		::= { swL2QOS8021pDefaultPriorityEntry 1 }
1533
1534	swL2QOS8021pDefaultPriority OBJECT-TYPE
1535		SYNTAX  INTEGER (0..7)
1536		MAX-ACCESS  read-write
1537		STATUS  current
1538		DESCRIPTION
1539		      "The priority value to assign to untagged packets received by the
1540		       switch ports on the switch."
1541		::= { swL2QOS8021pDefaultPriorityEntry 2 }
1542
1543   swL2QOS8021pRadiusPriority OBJECT-TYPE
1544	SYNTAX  INTEGER
1545    MAX-ACCESS  read-only
1546    STATUS  current
1547    DESCRIPTION
1548	      "Indicates the value of 802.1p comes from RADIUS server.
1549	       If an 802.1X port is authenticated,
1550           this value will overwrite the local configured value."
1551    ::= { swL2QOS8021pDefaultPriorityEntry 3 }
1552
1553--	swL2QOSDscpMappingTable OBJECT-TYPE
1554--		SYNTAX SEQUENCE OF SwL2QOSDscpMappingEntry
1555--		MAX-ACCESS not-accessible
1556--		STATUS	current
1557--		DESCRIPTION
1558--			""
1559--		::= { swL2QOSMgmt 6 }
1560--
1561--	swL2QOSDscpMappingEntry OBJECT-TYPE
1562--		SYNTAX SwL2QOSDscpMappingEntry
1563--		MAX-ACCESS not-accessible
1564--		STATUS current
1565--		DESCRIPTION
1566--			""
1567--		INDEX { swL2QOSDscpIndex }
1568--		::= { swL2QOSDscpMappingTable 1 }
1569--
1570--	SwL2QOSDscpMappingEntry ::=
1571--		SEQUENCE {
1572--		  swL2QOSDscpIndex
1573--		      INTEGER,
1574--		  swL2QOSDscpClass
1575--		      INTEGER
1576--		}
1577--
1578--	swL2QOSDscpIndex OBJECT-TYPE
1579--		SYNTAX  INTEGER (0..63)
1580--		MAX-ACCESS  read-only
1581--		STATUS  current
1582--		DESCRIPTION
1583--		      ""
1584--		::= { swL2QOSDscpMappingEntry 1 }
1585  --
1586	--swL2QOSDscpClass OBJECT-TYPE
1587	--	SYNTAX  INTEGER (0..3)
1588	--	MAX-ACCESS  read-write
1589	--	STATUS  current
1590	--	DESCRIPTION
1591	--	      ""
1592	--	::= { swL2QOSDscpMappingEntry 2 }
1593    --
1594	--swL2QOSPortDscpTable OBJECT-TYPE
1595	--	SYNTAX SEQUENCE OF SwL2QOSPortDscpEntry
1596	--	MAX-ACCESS not-accessible
1597	--	STATUS	current
1598	--	DESCRIPTION
1599	--		""
1600	--	::= { swL2QOSMgmt 7 }
1601    --
1602	--swL2QOSPortDscpEntry OBJECT-TYPE
1603	--	SYNTAX SwL2QOSPortDscpEntry
1604	--	MAX-ACCESS not-accessible
1605	--	STATUS current
1606	--	DESCRIPTION
1607	--		""
1608	--	INDEX { swL2QOSPortDscpIndex }
1609	--	::= { swL2QOSPortDscpTable 1 }
1610    --
1611	--SwL2QOSPortDscpEntry ::=
1612	--	SEQUENCE {
1613	--	  swL2QOSPortDscpIndex
1614	--	      INTEGER,
1615	--	  swL2QOSPortDscpStatus
1616	--	      INTEGER
1617	--	}
1618	--
1619	--swL2QOSPortDscpIndex OBJECT-TYPE
1620	--	SYNTAX  INTEGER (1..10)
1621	--	MAX-ACCESS  read-only
1622	--	STATUS  current
1623	--	DESCRIPTION
1624	--	      ""
1625	--	::= { swL2QOSPortDscpEntry 1 }
1626    --
1627	--swL2QOSPortDscpStatus OBJECT-TYPE
1628	--	SYNTAX  INTEGER {
1629	--				other(1),
1630	--				disable(2),
1631	--				enable(3)
1632	--				}
1633	--	MAX-ACCESS  read-write
1634	--	STATUS  current
1635	--	DESCRIPTION
1636	--	      ""
1637	--	::= { swL2QOSPortDscpEntry 2 }
1638    --
1639    --
1640
1641
1642-- ************************************************************************
1643--  swPortTrunkTable
1644-- ************************************************************************
1645	swPortTrunkMaxEntries OBJECT-TYPE
1646		SYNTAX Integer32
1647		MAX-ACCESS read-only
1648		STATUS	current
1649		DESCRIPTION
1650			"The max entries of the swPortTrunkTable"
1651		::= { swL2TrunkMgmt 1}
1652
1653	swPortTrunkMaxPortMembers OBJECT-TYPE
1654		SYNTAX Integer32
1655		MAX-ACCESS read-only
1656		STATUS	current
1657		DESCRIPTION
1658			"The max number of ports allowed in a trunk."
1659		::= { swL2TrunkMgmt 2}
1660
1661    swPortTrunkTable OBJECT-TYPE
1662        SYNTAX SEQUENCE OF SwPortTrunkEntry
1663        MAX-ACCESS not-accessible
1664        STATUS current
1665        DESCRIPTION
1666            "This table specifies the port membership for each logical link."
1667        ::= { swL2TrunkMgmt 3 }
1668
1669
1670    swPortTrunkEntry OBJECT-TYPE
1671        SYNTAX SwPortTrunkEntry
1672        MAX-ACCESS not-accessible
1673        STATUS current
1674        DESCRIPTION
1675            "A list of information that specifies which port group forms
1676             a single logical link."
1677        INDEX  { swPortTrunkIndex }
1678        ::= { swPortTrunkTable 1 }
1679
1680    SwPortTrunkEntry ::=
1681        SEQUENCE {
1682            swPortTrunkIndex
1683                Integer32,
1684            swPortTrunkMasterPort
1685                Integer32,
1686            swPortTrunkPortList
1687                PortList,
1688            swPortTrunkType
1689                INTEGER,
1690			swPortTrunkActivePort
1691				PortList,
1692            swPortTrunkState
1693                RowStatus,
1694            swPortTrunkFloodingPort
1695            	   Integer32
1696        }
1697
1698    swPortTrunkIndex OBJECT-TYPE
1699        SYNTAX Integer32 (1..3)
1700        MAX-ACCESS read-only
1701        STATUS current
1702        DESCRIPTION
1703            "The index of logical port trunk."
1704        ::= { swPortTrunkEntry 1 }
1705
1706
1707
1708    swPortTrunkMasterPort OBJECT-TYPE
1709        SYNTAX Integer32
1710        MAX-ACCESS read-create
1711        STATUS current
1712        DESCRIPTION
1713            "The object indicates the master port number of the port trunk entry. The
1714            first port of the trunk is implicitly configured to be the master logical
1715            port. When using a Port Trunk, you can not configure the other ports of
1716            the group except the master port. Their configuration must be the same as the
1717            master port (e.g. speed, duplex, enabled/disabled, flow control, and so on)."
1718        ::= { swPortTrunkEntry 2 }
1719
1720    swPortTrunkPortList OBJECT-TYPE
1721        SYNTAX PortList
1722        MAX-ACCESS read-create
1723        STATUS current
1724        DESCRIPTION
1725            "Indicate member ports of a logical trunk."
1726        ::= { swPortTrunkEntry 3 }
1727
1728        --add
1729     swPortTrunkType OBJECT-TYPE
1730        SYNTAX INTEGER{
1731               static(1),
1732               lacp(2)
1733               }
1734        MAX-ACCESS read-create
1735        STATUS current
1736        DESCRIPTION
1737            "This object indicates the type of this entry."
1738        ::= { swPortTrunkEntry 4 }
1739
1740	swPortTrunkActivePort OBJECT-TYPE
1741        SYNTAX PortList
1742        MAX-ACCESS read-only
1743        STATUS current
1744        DESCRIPTION
1745            "This object indicates the active ports of this entry."
1746        ::= { swPortTrunkEntry 5 }
1747
1748    swPortTrunkState OBJECT-TYPE
1749        SYNTAX RowStatus
1750        MAX-ACCESS read-create
1751        STATUS current
1752        DESCRIPTION
1753            "This object indicates the status of this entry.
1754            when the state is CreatAndGo (4),the type of trunk is static (1);
1755            when the state is CreatAndWait (5), the type of trunk is lacp(2).
1756            "
1757        ::= { swPortTrunkEntry 6 }
1758
1759    swPortTrunkFloodingPort OBJECT-TYPE
1760        SYNTAX Integer32
1761        MAX-ACCESS read-only
1762        STATUS current
1763        DESCRIPTION
1764            "The flooding port of every trunk."
1765        ::= { swPortTrunkEntry 7 }
1766
1767
1768    swL2TrunkAlgorithm OBJECT-TYPE
1769        SYNTAX  INTEGER {
1770                other(1),
1771                mac-source(2),
1772                mac-destination(3),
1773                mac-source-dest(4),
1774                ip-source(5),
1775                ip-destination(6),
1776                ip-source-dest(7)
1777            }
1778        MAX-ACCESS  read-write
1779        STATUS  current
1780        DESCRIPTION
1781            "This object configures part of the packet to be examined by the
1782            switch when selecting the egress port for transmitting
1783            load-sharing data."
1784        ::= { swL2TrunkMgmt 4 }
1785
1786
1787    swL2TrunkLACPPortTable  OBJECT-TYPE
1788        SYNTAX  SEQUENCE OF SwL2TrunkLACPPortEntry
1789        MAX-ACCESS  not-accessible
1790        STATUS  current
1791        DESCRIPTION
1792            "This table specifies which port group a set of ports (up to 8)
1793            is formed into a single logical link."
1794        ::= { swL2TrunkMgmt 5 }
1795
1796    swL2TrunkLACPPortEntry   OBJECT-TYPE
1797        SYNTAX  SwL2TrunkLACPPortEntry
1798        MAX-ACCESS  not-accessible
1799        STATUS  current
1800        DESCRIPTION
1801            "A list of information specifies which port group a set of
1802            ports (up to 8) is formed into a single logical link."
1803        INDEX  { swL2TrunkLACPPortIndex }
1804        ::= { swL2TrunkLACPPortTable 1 }
1805
1806    SwL2TrunkLACPPortEntry ::=
1807        SEQUENCE {
1808            swL2TrunkLACPPortIndex
1809                INTEGER,
1810            swL2TrunkLACPPortState
1811                INTEGER
1812        }
1813
1814    swL2TrunkLACPPortIndex OBJECT-TYPE
1815        SYNTAX  INTEGER (0..65535)
1816        MAX-ACCESS  read-only
1817        STATUS  current
1818        DESCRIPTION
1819            "The index of the logical port LACP. "
1820        ::= { swL2TrunkLACPPortEntry 1 }
1821
1822    swL2TrunkLACPPortState OBJECT-TYPE
1823        SYNTAX  INTEGER{
1824                  active(1),
1825                  passive(2)
1826--                  stacking-port(3)
1827                  }
1828        MAX-ACCESS  read-write
1829        STATUS  current
1830        DESCRIPTION
1831            "The state of the logical port LACP."
1832        ::= { swL2TrunkLACPPortEntry 2 }
1833
1834    swL2TrunkVLANTable  OBJECT-TYPE
1835        SYNTAX  SEQUENCE OF SwL2TrunkVLANEntry
1836        MAX-ACCESS  not-accessible
1837        STATUS  current
1838        DESCRIPTION
1839            "This table is used to manage the VLAN trunking feature of the device."
1840        ::= { swL2TrunkMgmt 6 }
1841
1842    swL2TrunkVLANEntry   OBJECT-TYPE
1843        SYNTAX  SwL2TrunkVLANEntry
1844        MAX-ACCESS  not-accessible
1845        STATUS  current
1846        DESCRIPTION
1847            "This object is used to configure the VLAN trunking settings for each port."
1848        INDEX  { swL2TrunkVLANPort }
1849        ::= { swL2TrunkVLANTable 1 }
1850
1851     SwL2TrunkVLANEntry ::=
1852        SEQUENCE {
1853            swL2TrunkVLANPort
1854                INTEGER,
1855            swL2TrunkVLANState
1856                INTEGER
1857        }
1858
1859    swL2TrunkVLANPort OBJECT-TYPE
1860        SYNTAX  INTEGER (0..65535)
1861        MAX-ACCESS  read-only
1862        STATUS  current
1863        DESCRIPTION
1864            "This object indicates the port being configured."
1865        ::= { swL2TrunkVLANEntry 1 }
1866
1867    swL2TrunkVLANState OBJECT-TYPE
1868        SYNTAX  INTEGER{
1869                  enabled(1),
1870                  disabled(2)
1871                  }
1872        MAX-ACCESS  read-write
1873        STATUS  current
1874        DESCRIPTION
1875            "The state of the logical port LACP."
1876        ::= { swL2TrunkVLANEntry 2 }
1877
1878-- **************************************************************************
1879--  swPortMirrorPackage
1880-- **************************************************************************
1881--	swPortMirrorMaxEntries OBJECT-TYPE
1882--		SYNTAX Integer32
1883--		MAX-ACCESS read-only
1884--		STATUS	current
1885--		DESCRIPTION
1886--			"The max entries of this swPortMirrorCtrlTable."
1887--		::= { swPortMirrorPackage 1}
1888
1889--    swPortMirrorCtrlTable OBJECT-TYPE
1890--        SYNTAX SEQUENCE OF SwPortMirrorCtrlEntry
1891--        MAX-ACCESS not-accessible
1892--        STATUS current
1893--        DESCRIPTION
1894--            "A list of port snooping entries. Port mirroring function provides an easy
1895--            way to monitor traffic on any port. In this way any good packet appears
1896--            on the source mirror port also shows up on the target mirror port and
1897 --           doesn't reconstruct the LAN."
1898 --       ::= { swPortMirrorPackage 2 }
1899
1900--    swPortMirrorCtrlEntry OBJECT-TYPE
1901--        SYNTAX SwPortMirrorCtrlEntry
1902--        MAX-ACCESS not-accessible
1903--        STATUS current
1904--        DESCRIPTION
1905--            "A list of information to provide an easy way to monitor traffic on any port.
1906--            It can be used to attach a fancy network monitor to any target mirror
1907--            port and set the port to be monitored as source mirror port. "
1908 --       INDEX  { swPortMirrorIndex }
1909 --       ::= { swPortMirrorCtrlTable 1 }
1910
1911 --   SwPortMirrorCtrlEntry ::=
1912 --       SEQUENCE {
1913 --        swPortMirrorIndex
1914 --               Integer32,
1915 --        swPortMirrorSourcePort
1916           --    Integer32,
1917--            swPortMirrorRxPortList
1918--                PortList,
1919--	      swPortMirrorTxPortList
1920--                PortList,
1921--            swPortMirrorTargetPort
1922--                Integer32,
1923 --           swPortMirrorDirection
1924 --           	   INTEGER,
1925--            swPortMirrorState
1926 --               RowStatus
1927 --       }
1928
1929 --   swPortMirrorIndex OBJECT-TYPE
1930  --      SYNTAX Integer32
1931  --      MAX-ACCESS read-only
1932  --      STATUS current
1933  --      DESCRIPTION
1934  --          "This object indicates the port snooping entry number. There is just only
1935  --          one now."
1936  --      ::= { swPortMirrorCtrlEntry 1 }
1937
1938    swPortMirrorRxPortList OBJECT-TYPE
1939        SYNTAX PortList
1940        MAX-ACCESS read-write
1941        STATUS current
1942        DESCRIPTION
1943            "This object indicates the Rx port list of ports to be sniffed."
1944        ::= { swPortMirrorPackage 2 }
1945
1946    swPortMirrorTxPortList OBJECT-TYPE
1947        SYNTAX PortList
1948        MAX-ACCESS read-write
1949        STATUS current
1950        DESCRIPTION
1951            "This object indicates the Tx port list of ports to be sniffed."
1952        ::= { swPortMirrorPackage 3 }
1953
1954    swPortMirrorTargetPort OBJECT-TYPE
1955        SYNTAX Integer32
1956        MAX-ACCESS read-write
1957        STATUS current
1958        DESCRIPTION
1959            "This object indicates the switch whose port will sniff another port.
1960            A trunk port member cannot be configured as a target Snooping port.
1961            The port number is the sequential (logical) number which is also
1962            applied to the bridge MIB, etc. "
1963        ::= { swPortMirrorPackage 4 }
1964
1965--	swPortMirrorDirection OBJECT-TYPE
1966--		SYNTAX INTEGER {
1967				--gavin for eds2626 2003 28th May
1968--				other(1),
1969--				ingress(2),
1970--				egress(3),
1971--				both(4)
1972--				}
1973--		MAX-ACCESS	read-create
1974--		STATUS		current
1975--		DESCRIPTION
1976--			"This object is used to set up the packets that will be mirrored."
1977--		::= { swPortMirrorCtrlEntry 4}
1978
1979    swPortMirrorState OBJECT-TYPE
1980	 SYNTAX INTEGER {
1981				other(1),
1982				disabled(2),
1983				enabled(3)
1984		}
1985        MAX-ACCESS read-write
1986        STATUS current
1987        DESCRIPTION
1988            "This object indicates the status of this entry."
1989        ::= { swPortMirrorPackage 5 }
1990
1991-- ********************************************************************
1992--  swL2IGMPMgmt            OBJECT IDENTIFIER ::= { swL2MgmtMIB 3 }
1993-- ********************************************************************
1994
1995    swL2IGMPMaxSupportedVlans OBJECT-TYPE
1996        SYNTAX  INTEGER (0..65535)
1997        MAX-ACCESS  read-only
1998        STATUS  current
1999        DESCRIPTION
2000            "The maximum number of VLANs in the layer 2 IGMP control table
2001            (swL2IGMPCtrlTable)."
2002        ::= { swIGMPPackage 1 }
2003
2004    swL2IGMPMaxIpGroupNumPerVlan OBJECT-TYPE
2005        SYNTAX  INTEGER (0..65535)
2006        MAX-ACCESS  read-only
2007        STATUS  current
2008        DESCRIPTION
2009            "The maximum number of multicast IP groups per VLAN in the layer 2
2010            IGMP information table (swL2IGMPQueryInfoTable)."
2011        ::= { swIGMPPackage 2 }
2012
2013--    swL2IGMPLastQueryIPAddr OBJECT-TYPE
2014--        SYNTAX  IpAddress
2015--        MAX-ACCESS  read-only
2016--        STATUS  current
2017--        DESCRIPTION
2018--            "This object indicates the IP address of the last sent IGMP query
2019--            packet."
2020--        ::= { swL2IGMPMgmt 3 }
2021
2022--------------------------------------------------
2023-- IGMP Ctrl Table
2024--------------------------------------------------
2025    swL2IGMPCtrlTable OBJECT-TYPE
2026        SYNTAX  SEQUENCE OF SwL2IGMPCtrlEntry
2027        MAX-ACCESS  not-accessible
2028        STATUS  current
2029        DESCRIPTION
2030            "The table controls the VLAN's IGMP function. Its scale depends
2031            on the current VLAN state (swL2VlanInfoStatus). If the VLAN mode is disabled, there is only one entry in the table, with index 1. If
2032            VLAN is in Port-Based or 802.1q mode, the number of entries can
2033            be up to 12, with an index range from 1 to 12."
2034        ::= { swIGMPPackage 3 }
2035
2036    swL2IGMPCtrlEntry OBJECT-TYPE
2037        SYNTAX  SwL2IGMPCtrlEntry
2038        MAX-ACCESS  not-accessible
2039        STATUS  current
2040        DESCRIPTION
2041            "An entry in IGMP control table (swL2IGMPCtrlTable). The entry
2042            is effective only when IGMP captures the switch
2043            (swL2DevCtrlIGMPSnooping) is enabled."
2044        INDEX  { swL2IGMPCtrlVid }
2045        ::= { swL2IGMPCtrlTable 1 }
2046
2047    SwL2IGMPCtrlEntry ::=
2048        SEQUENCE {
2049--            swL2IGMPCtrlIndex
2050--                INTEGER,
2051            swL2IGMPCtrlVid
2052                INTEGER,
2053            swL2IGMPQueryInterval
2054                INTEGER,
2055            swL2IGMPMaxResponseTime
2056                INTEGER,
2057            swL2IGMPRobustness
2058                INTEGER,
2059            swL2IGMPLastMemberQueryInterval
2060                INTEGER,
2061            swL2IGMPQueryState
2062                INTEGER,
2063            swL2IGMPCurrentState
2064                INTEGER,
2065            swL2IGMPCtrlState
2066                INTEGER,
2067            swL2IGMPFastLeave
2068                INTEGER,
2069--            swL2IGMPDynIPMultVlanState
2070--            	INTEGER,
2071            swL2IGMPDynIPMultVlanAge
2072            	INTEGER
2073        }
2074
2075--    swL2IGMPCtrlIndex OBJECT-TYPE
2076--        SYNTAX  INTEGER (1..12)
2077--        MAX-ACCESS  read-only
2078--        STATUS  current
2079--        DESCRIPTION
2080--            "This object indicates the IGMP control entry number. Its scale
2081--            depends on the current VLAN state (swL2VlanInfoStatus). If VLAN is
2082--            disabled, there is only one entry in the table, with index 1.
2083--            If VLAN is in Port-Based or 802.1q mode, the number of entries
2084--            is 12, with an index range from 1 to 12."
2085--        ::= { swL2IGMPCtrlEntry 1 }
2086
2087    swL2IGMPCtrlVid OBJECT-TYPE
2088        SYNTAX  INTEGER (0..65535)
2089        MAX-ACCESS  read-only
2090        STATUS  current
2091        DESCRIPTION
2092            "This object indicates the IGMP control entry's VLAN ID. If VLAN
2093            is disabled, the VID is always 0 and cannot be changed by
2094            management users. If VLAN is in Port-Based mode, the VID is
2095            arranged from 1 to 12, fixed form. If VLAN is in 802.1q mode,
2096            the VID setting can vary from 1 to 4094 by management user, and
2097            the VID in each entry must be unique in the IGMP Control Table."
2098        ::= { swL2IGMPCtrlEntry 1 }
2099
2100    swL2IGMPQueryInterval OBJECT-TYPE
2101        SYNTAX INTEGER (1..65535)
2102        MAX-ACCESS read-write
2103        STATUS current
2104        DESCRIPTION
2105            "The frequency at which IGMP Host-Query packets are
2106             transmitted on this switch."
2107        DEFVAL      { 125 }
2108        ::= { swL2IGMPCtrlEntry 2 }
2109
2110    swL2IGMPMaxResponseTime OBJECT-TYPE
2111        SYNTAX INTEGER (1..25)
2112        MAX-ACCESS read-write
2113        STATUS current
2114        DESCRIPTION
2115            "The maximum query response time on this switch."
2116        DEFVAL      { 10 }
2117        ::= { swL2IGMPCtrlEntry 3 }
2118
2119    swL2IGMPRobustness OBJECT-TYPE
2120        SYNTAX INTEGER (1..255)
2121        MAX-ACCESS read-write
2122        STATUS current
2123        DESCRIPTION
2124            "The Robustness Variable allows tuning for the expected
2125             packet loss on a subnet. If a subnet is expected to be
2126             lossy, the Robustness Variable may be increased. IGMP is
2127             robust to (Robustness Variable-1) packet losses."
2128        DEFVAL      { 2 }
2129        ::= { swL2IGMPCtrlEntry 4 }
2130
2131    swL2IGMPLastMemberQueryInterval OBJECT-TYPE
2132        SYNTAX INTEGER (1..25)
2133        MAX-ACCESS read-write
2134        STATUS current
2135        DESCRIPTION
2136            "The Last Member Query Interval is the Max Response Time
2137            inserted into Group-Specific Queries sent in response to
2138            Leave Group messages, and is also the amount of time between
2139            Group-Specific Query messages."
2140        DEFVAL      { 1 }
2141        ::= { swL2IGMPCtrlEntry 5 }
2142
2143    swL2IGMPQueryState OBJECT-TYPE
2144        SYNTAX INTEGER {
2145               other(1),
2146               disabled(2),
2147               enabled(3)
2148               }
2149        MAX-ACCESS read-write
2150        STATUS current
2151        DESCRIPTION
2152            "This object decides if the IGMP query is enabled or disabled."
2153        ::= { swL2IGMPCtrlEntry 9 }
2154
2155    swL2IGMPCurrentState OBJECT-TYPE
2156        SYNTAX INTEGER {
2157               other(1),
2158               querier(2),
2159               non-querier(3)
2160               }
2161        MAX-ACCESS read-only
2162        STATUS current
2163        DESCRIPTION
2164            "This object indicates the current IGMP query state."
2165        ::= { swL2IGMPCtrlEntry 10 }
2166
2167    swL2IGMPCtrlState OBJECT-TYPE
2168        SYNTAX  INTEGER {
2169               other(1),
2170               disable(2),
2171               enable(3)
2172               }
2173        MAX-ACCESS  read-write
2174        STATUS  current
2175        DESCRIPTION
2176            "This object indicates the status of this entry.
2177
2178            other (1) - This entry is currently in use but the conditions under
2179                which it will remain so are different from each of the following
2180                values.
2181            disable (2) - IGMP function is disabled for this entry.
2182            enable (3) -  IGMP function is enabled for this entry."
2183        ::= { swL2IGMPCtrlEntry 11 }
2184
2185     swL2IGMPFastLeave OBJECT-TYPE
2186        SYNTAX  INTEGER {
2187               other(1),
2188               disable(2),
2189               enable(3)
2190               }
2191        MAX-ACCESS  read-write
2192        STATUS  current
2193        DESCRIPTION
2194            "  "
2195        ::= { swL2IGMPCtrlEntry 12 }
2196
2197--   swL2IGMPDynIPMultVlanState OBJECT-TYPE
2198--        SYNTAX  INTEGER{
2199--               enabled(1),
2200--               disabled(2)
2201--               }
2202--        MAX-ACCESS  read-write
2203--        STATUS  current
2204--        DESCRIPTION
2205--            "This object is used to disable or enable the dynamic IP multicast feature in this VLAN."
2206--        ::= { swL2IGMPCtrlEntry 13 }
2207
2208     swL2IGMPDynIPMultVlanAge OBJECT-TYPE
2209        SYNTAX  INTEGER{
2210               enabled(1),
2211               disabled(2)
2212               }
2213        MAX-ACCESS  read-write
2214        STATUS  current
2215        DESCRIPTION
2216            "This object is used to enable or disable aging on the dynamic IP multicast entry in this VLAN."
2217        ::= { swL2IGMPCtrlEntry 14 }
2218
2219--------------------------------------------------
2220-- IGMP Query Info Table
2221--------------------------------------------------
2222    swL2IGMPQueryInfoTable OBJECT-TYPE
2223        SYNTAX  SEQUENCE OF SwL2IGMPQueryInfoEntry
2224        MAX-ACCESS  not-accessible
2225        STATUS  current
2226        DESCRIPTION
2227            "The table contains the number of current IGMP query packets which
2228            are captured by this device, as well as the IGMP query packets
2229            sent by the device."
2230        ::= { swIGMPPackage 4 }
2231
2232    swL2IGMPQueryInfoEntry OBJECT-TYPE
2233        SYNTAX  SwL2IGMPQueryInfoEntry
2234        MAX-ACCESS  not-accessible
2235        STATUS  current
2236        DESCRIPTION
2237            "Information about current IGMP query information, provided that
2238            swL2DevCtrlIGMPSnooping and swL2IGMPCtrState of associated VLAN
2239            entry are all enabled."
2240        INDEX  { swL2IGMPInfoVid }
2241        ::= { swL2IGMPQueryInfoTable 1 }
2242
2243    SwL2IGMPQueryInfoEntry ::=
2244        SEQUENCE {
2245--            swL2IGMPInfoIndex
2246--                INTEGER,
2247            swL2IGMPInfoVid
2248                INTEGER,
2249            swL2IGMPInfoQueryCount
2250                INTEGER,
2251            swL2IGMPInfoTxQueryCount
2252                INTEGER
2253        }
2254
2255--    swL2IGMPInfoIndex OBJECT-TYPE
2256--        SYNTAX  INTEGER (1..12)
2257--        MAX-ACCESS  read-only
2258--        STATUS  current
2259--        DESCRIPTION
2260--            "This object indicates the IGMP query information entry
2261--            number. It could be up to 12 entries, depending on the current
2262--            number of VLAN entries."
2263--        ::= { swL2IGMPQueryInfoEntry 1 }
2264
2265    swL2IGMPInfoVid OBJECT-TYPE
2266        SYNTAX  INTEGER (0..65535)
2267        MAX-ACCESS  read-only
2268        STATUS  current
2269        DESCRIPTION
2270            "This object indicates the VID of the associated IGMP info table
2271            entry. It follows swL2IGMPCtrlVid in the associated entry of
2272            IGMP control table (swL2IGMPCtrlTable)."
2273        ::= { swL2IGMPQueryInfoEntry 1 }
2274
2275    swL2IGMPInfoQueryCount OBJECT-TYPE
2276        SYNTAX  INTEGER (0..65535)
2277        MAX-ACCESS  read-only
2278        STATUS  current
2279        DESCRIPTION
2280            "This object indicates the number of query packets received
2281            since the IGMP function enabled, on a per-VLAN basis."
2282        ::= { swL2IGMPQueryInfoEntry 2 }
2283
2284    swL2IGMPInfoTxQueryCount OBJECT-TYPE
2285        SYNTAX  INTEGER (0..65535)
2286        MAX-ACCESS  read-only
2287        STATUS  current
2288        DESCRIPTION
2289            "This object indicates the send count of IGMP query messages, on
2290            a per-VLAN basis. In case of the IGMP timer expiring, the switch
2291            sends IGMP query packets to related VLAN member ports and
2292            increment this object by 1."
2293        ::= { swL2IGMPQueryInfoEntry 3 }
2294
2295--------------------------------------------------
2296-- IGMP Info Table
2297--------------------------------------------------
2298--      swL2IGMPInfoTable OBJECT-TYPE
2299--         SYNTAX  SEQUENCE OF SwL2IGMPInfoEntry
2300--         MAX-ACCESS  not-accessible
2301--         STATUS  current
2302--          DESCRIPTION
2303--              "The table containing current IGMP information which was captured by
2304--              this device, provided that swL2DevCtrlIGMPSnooping and
2305--              swL2IGMPCtrlState of associated VLAN entry are all enabled. Note
2306--              that the priority of IGMP table entries is lower than Filtering
2307--              Table, i.e. if there is a table hash collision between the
2308--              entries of IGMP Table and Filtering Table inside the switch H/W
2309--              address table, then Filtering Table entry overwrite the
2310--             colliding entry of IGMP Table. Also see swL2FilterMgmt description."
2311--         ::= { swIGMPPackage 5 }
2312--
2313--     swL2IGMPInfoEntry OBJECT-TYPE
2314--         SYNTAX  SwL2IGMPInfoEntry
2315--         MAX-ACCESS  not-accessible
2316--         STATUS  current
2317--         DESCRIPTION
2318--             "Information about current IGMP information which was captured by
2319--             this device, provided that swL2DevCtrlIGMPSnooping and
2320--             swL2IGMPCtrlState of associated VLAN entry are all enabled."
2321--         INDEX  { swL2IGMPVid , swL2IGMPGroupIpAddr }
2322--         ::= { swL2IGMPInfoTable 1 }
2323--
2324--     SwL2IGMPInfoEntry ::=
2325--         SEQUENCE {
2326--             swL2IGMPVid
2327--                 INTEGER,
2328--             swL2IGMPGroupIpAddr
2329--                 IpAddress,
2330--             swL2IGMPMacAddr
2331--                 MacAddress,
2332--             swL2IGMPPortMap
2333--                 PortList,
2334--             swL2IGMPIpGroupReportCount
2335--                 INTEGER
2336--         }
2337--
2338--     swL2IGMPVid OBJECT-TYPE
2339--         SYNTAX  INTEGER (0..65535)
2340--         MAX-ACCESS  read-only
2341--         STATUS  current
2342--         DESCRIPTION
2343--             "This object indicates the VID of an individual IGMP table entry.
2344--             It shows the VID of IGMP report information captured on the
2345--             network."
2346--        ::= { swL2IGMPInfoEntry 1 }
2347--
2348--     swL2IGMPGroupIpAddr OBJECT-TYPE
2349--         SYNTAX  IpAddress
2350--         MAX-ACCESS  read-only
2351--         STATUS  current
2352--         DESCRIPTION
2353--             "This object is the identify group IP address which is captured from
2354--             IGMP packet, on a per-VLAN basis."
2355--         ::= { swL2IGMPInfoEntry 2 }
2356--
2357--     swL2IGMPMacAddr OBJECT-TYPE
2358--         SYNTAX  MacAddress
2359--         MAX-ACCESS  read-only
2360--         STATUS  current
2361--         DESCRIPTION
2362--             "This object identifies the MAC address which is corresponding
2363--             to swL2IGMPGroupIpAddr, on a per-VLAN basis."
2364--         ::= { swL2IGMPInfoEntry 3 }
2365--
2366--     swL2IGMPPortMap OBJECT-TYPE
2367--         SYNTAX  PortList
2368--         MAX-ACCESS  read-only
2369--         STATUS  current
2370--         DESCRIPTION
2371--             "This object indicates which ports belong to the same
2372--             multicast group, on a per-VLAN basis. Each multicast group has an
2373--             octet string to indicate the port map. The most significant
2374--             bit represents the lowest numbered port, and the least
2375--             significant bit represents the highest numbered port. Thus, each
2376--             port of the switch is represented by a single bit within the
2377--             value of this object. If that bit has a value of '1' then that
2378--             port is included in the set of ports; the port is not included
2379--             if its bit has a value of '0' (Note that the setting of the bit
2380--             corresponding to the port from which a frame is received is
2381--             irrelevant). The 4 octets represent one unit port according
2382--             to its logic port. If the unit is less than 32 ports, the other port will just fill this value with zeros."
2383--         ::= { swL2IGMPInfoEntry 4 }
2384--
2385--     swL2IGMPIpGroupReportCount OBJECT-TYPE
2386--         SYNTAX  INTEGER (0..65535)
2387--         MAX-ACCESS  read-only
2388--         STATUS  current
2389--         DESCRIPTION
2390--             "This object indicates how many report packets were received by our
2391--             device corresponding with this entry that has the IGMP function enabled,
2392--             on a per-VLAN basis."
2393--         ::= { swL2IGMPInfoEntry 5 }
2394
2395--------------------------------------------------
2396-- IGMP Router Port Table
2397--------------------------------------------------
2398    swL2IGMPRouterPortTable OBJECT-TYPE
2399        SYNTAX  SEQUENCE OF SwL2IGMPRouterPortEntry
2400        MAX-ACCESS  not-accessible
2401        STATUS  current
2402        DESCRIPTION
2403            "The information of the router port table."
2404        ::= { swIGMPPackage 6 }
2405
2406    swL2IGMPRouterPortEntry OBJECT-TYPE
2407        SYNTAX  SwL2IGMPRouterPortEntry
2408        MAX-ACCESS  not-accessible
2409        STATUS  current
2410        DESCRIPTION
2411            "The entry of the swL2IGMPRouterPortTable."
2412        INDEX  { swL2IGMPRouterPortVlanid }
2413        ::= { swL2IGMPRouterPortTable 1 }
2414
2415    SwL2IGMPRouterPortEntry ::=
2416        SEQUENCE {
2417            swL2IGMPRouterPortVlanid
2418                INTEGER,
2419            swL2IGMPRouterPortVlanName
2420                SnmpAdminString,
2421            swL2IGMPRouterPortStaticPortList
2422                PortList,
2423            swL2IGMPRouterPortDynamicPortList
2424                PortList,
2425            swL2IGMPRouterPortForbiddenPortList
2426                PortList
2427        }
2428
2429    swL2IGMPRouterPortVlanid OBJECT-TYPE
2430        SYNTAX  INTEGER (1..4094)
2431        MAX-ACCESS  read-only
2432        STATUS  current
2433        DESCRIPTION
2434            "This object indicates the VLAN ID of the router port entry."
2435        ::= { swL2IGMPRouterPortEntry 1 }
2436
2437    swL2IGMPRouterPortVlanName OBJECT-TYPE
2438        SYNTAX  SnmpAdminString (SIZE (0..32))
2439        MAX-ACCESS  read-only
2440        STATUS  current
2441        DESCRIPTION
2442            "This object indicates the VLAN name of the router port entry."
2443        ::= { swL2IGMPRouterPortEntry 2 }
2444
2445    swL2IGMPRouterPortStaticPortList OBJECT-TYPE
2446        SYNTAX  PortList
2447        MAX-ACCESS  read-write
2448        STATUS  current
2449        DESCRIPTION
2450            "This object indicates the static portlist of the router port entry."
2451        ::= { swL2IGMPRouterPortEntry 3 }
2452
2453    swL2IGMPRouterPortDynamicPortList OBJECT-TYPE
2454        SYNTAX  PortList
2455        MAX-ACCESS  read-only
2456        STATUS  current
2457        DESCRIPTION
2458            "This object indicates the dynamic portlist of the router port entry."
2459        ::= { swL2IGMPRouterPortEntry 4 }
2460
2461
2462    swL2IGMPRouterPortForbiddenPortList OBJECT-TYPE
2463        SYNTAX  PortList
2464        MAX-ACCESS  read-write
2465        STATUS  current
2466        DESCRIPTION
2467            "This object indicates the forbidden portlist of the router port entry."
2468        ::= { swL2IGMPRouterPortEntry 5 }
2469
2470--------------------------------------------------
2471-- IGMP Access Authentication Table
2472--------------------------------------------------
2473    swL2IGMPAccessAuthTable OBJECT-TYPE
2474        SYNTAX  SEQUENCE OF SwL2IGMPAccessAuthEntry
2475        MAX-ACCESS  not-accessible
2476        STATUS  current
2477        DESCRIPTION
2478            "This table is used to manage the IGMP Access Authentication
2479            configurations of the device."
2480        ::= { swIGMPPackage 7 }
2481
2482    swL2IGMPAccessAuthEntry OBJECT-TYPE
2483        SYNTAX  SwL2IGMPAccessAuthEntry
2484        MAX-ACCESS  not-accessible
2485        STATUS  current
2486        DESCRIPTION
2487            "A list of manageable entities for IGMP Access Authentication.
2488            The configuration is done per port."
2489        INDEX  { swL2IGMPAccessAuthPort }
2490        ::= { swL2IGMPAccessAuthTable 1 }
2491
2492    SwL2IGMPAccessAuthEntry ::=
2493        SEQUENCE {
2494        	swL2IGMPAccessAuthPort
2495        		INTEGER,
2496        	swL2IGMPAccessAuthState
2497        		INTEGER
2498        }
2499
2500   swL2IGMPAccessAuthPort OBJECT-TYPE
2501      SYNTAX INTEGER
2502       MAX-ACCESS read-only
2503       STATUS current
2504       DESCRIPTION
2505           "The index of the swL2IGMPAccessAuthTable.
2506           This object corresponds to the port being configured."
2507       ::= { swL2IGMPAccessAuthEntry 1 }
2508
2509   swL2IGMPAccessAuthState OBJECT-TYPE
2510      SYNTAX INTEGER {
2511				disabled(1),
2512				enabled(2)
2513		}
2514       MAX-ACCESS read-write
2515       STATUS current
2516       DESCRIPTION
2517           "This object denotes the status of IGMP Access Authentication of the port."
2518       ::= { swL2IGMPAccessAuthEntry 2 }
2519-- -----------------------------------------------------------------------------
2520--  swL2IGMPMulticastVlanTable	OBJECT IDENTIFIER ::= { swL2IGMPMgmt 8 }
2521-- -----------------------------------------------------------------------------
2522    swL2IGMPMulticastVlanTable OBJECT-TYPE
2523        SYNTAX  SEQUENCE OF SwL2IGMPMulticastVlanEntry
2524        MAX-ACCESS  not-accessible
2525        STATUS  current
2526        DESCRIPTION
2527            "Information about the IGMP snooping multicast VLAN table."
2528        ::= { swIGMPPackage 8 }
2529
2530    swL2IGMPMulticastVlanEntry OBJECT-TYPE
2531        SYNTAX  SwL2IGMPMulticastVlanEntry
2532        MAX-ACCESS  not-accessible
2533        STATUS  current
2534        DESCRIPTION
2535            "The entry of swL2IGMPMulticastVlanTable."
2536        INDEX  { swL2IGMPMulticastVlanid}
2537        ::= { swL2IGMPMulticastVlanTable 1 }
2538
2539    SwL2IGMPMulticastVlanEntry ::=
2540        SEQUENCE {
2541            swL2IGMPMulticastVlanid
2542                INTEGER,
2543            swL2IGMPMulticastVlanName
2544                DisplayString,
2545            swL2IGMPMulticastVlanSourcePort
2546                PortList,
2547            swL2IGMPMulticastVlanMemberPort
2548                PortList,
2549            swL2IGMPMulticastVlanTagMemberPort
2550            	PortList,
2551            swL2IGMPMulticastVlanState
2552            	INTEGER,
2553            swL2IGMPMulticastVlanReplaceSourceIp
2554            	IpAddress,
2555            swL2IGMPMulticastVlanRowStatus
2556                RowStatus,
2557            swL2IGMPMulticastVlanUntagSourcePort
2558       	        PortList,
2559            swL2IGMPMulticastVlanRemapPriority
2560       	        INTEGER,
2561            swL2IGMPMulticastVlanReplacePriority
2562       	        INTEGER
2563        }
2564
2565    swL2IGMPMulticastVlanid OBJECT-TYPE
2566        SYNTAX  INTEGER (2..4094)
2567        MAX-ACCESS  read-only
2568        STATUS  current
2569        DESCRIPTION
2570            "This object indicates the VLAN ID of the IGMP snooping multicast
2571             VLAN entry."
2572        ::= { swL2IGMPMulticastVlanEntry 1 }
2573
2574    swL2IGMPMulticastVlanName OBJECT-TYPE
2575        SYNTAX  DisplayString (SIZE (0..32))
2576        MAX-ACCESS  read-create
2577        STATUS  current
2578        DESCRIPTION
2579            "This object indicates the VLAN name of the IGMP snooping multicast
2580             VLAN entry."
2581        ::= { swL2IGMPMulticastVlanEntry 2 }
2582
2583    swL2IGMPMulticastVlanSourcePort OBJECT-TYPE
2584        SYNTAX  PortList
2585        MAX-ACCESS  read-write
2586        STATUS  current
2587        DESCRIPTION
2588            "This object indicates the port list of the source ports of the IGMP
2589             snooping multicast VLAN. The source ports will be set as tag ports
2590             of the VLAN entry and the IGMP control messages received from the
2591             member ports will be forwarded to the source ports."
2592        ::= { swL2IGMPMulticastVlanEntry 3 }
2593
2594    swL2IGMPMulticastVlanMemberPort OBJECT-TYPE
2595        SYNTAX  PortList
2596        MAX-ACCESS  read-write
2597        STATUS  current
2598        DESCRIPTION
2599            "This object indicates the port list of the member ports of the IGMP
2600             snooping multicast VLAN. The member ports will be set as untagged ports
2601             of the VLAN entry and the IGMP control messages received from the
2602             member ports will be forwarded to the source ports."
2603        ::= { swL2IGMPMulticastVlanEntry 4 }
2604
2605    swL2IGMPMulticastVlanTagMemberPort OBJECT-TYPE
2606        SYNTAX  PortList
2607        MAX-ACCESS  read-write
2608        STATUS  current
2609        DESCRIPTION
2610            "This object indicates the port list of the tag member ports of the IGMP
2611             snooping multicast VLAN."
2612        ::= { swL2IGMPMulticastVlanEntry 5 }
2613
2614    swL2IGMPMulticastVlanState OBJECT-TYPE
2615        SYNTAX  INTEGER{
2616        	enabled(1),
2617        	disabled(2)
2618        	}
2619        MAX-ACCESS  read-write
2620        STATUS  current
2621        DESCRIPTION
2622            "This object can be used to enable or disable the IGMP snooping multicast VLAN."
2623        ::= { swL2IGMPMulticastVlanEntry 6 }
2624
2625    swL2IGMPMulticastVlanReplaceSourceIp OBJECT-TYPE
2626    	SYNTAX  IpAddress
2627        MAX-ACCESS  read-write
2628        STATUS  current
2629        DESCRIPTION
2630            "The replacement source IP of this multicast VLAN."
2631        ::= { swL2IGMPMulticastVlanEntry 7 }
2632
2633    swL2IGMPMulticastVlanRowStatus OBJECT-TYPE
2634        SYNTAX  RowStatus
2635        MAX-ACCESS  read-create
2636        STATUS  current
2637        DESCRIPTION
2638            "This object indicates the status of this entry."
2639        ::= { swL2IGMPMulticastVlanEntry 8 }
2640
2641    swL2IGMPMulticastVlanUntagSourcePort   OBJECT-TYPE
2642        SYNTAX PortList
2643        MAX-ACCESS read-create
2644        STATUS current
2645        DESCRIPTION
2646            "This object indicates the port list of the untag source ports of the IGMP
2647             snooping multicast VLAN."
2648        ::={ swL2IGMPMulticastVlanEntry 9}
2649
2650    swL2IGMPMulticastVlanRemapPriority   OBJECT-TYPE
2651        SYNTAX INTEGER (-1|0..7)
2652        MAX-ACCESS read-create
2653        STATUS current
2654        DESCRIPTION
2655            "This is the priority value (0 to 7) to be associated with the data traffic
2656            to be forwarded on the multicast VLAN.
2657            When set to -1, the packet's original priority will be used."
2658        DEFVAL {-1}
2659        ::={ swL2IGMPMulticastVlanEntry 10}
2660
2661    swL2IGMPMulticastVlanReplacePriority  OBJECT-TYPE
2662        SYNTAX INTEGER {
2663                   enabled(1),
2664                   disabled(2)
2665                   }
2666        MAX-ACCESS read-create
2667        STATUS current
2668        DESCRIPTION
2669            "This specifies that a packet's priority will be changed by the switch
2670            based on the remap priority. This flag will only take effect
2671            when remap priority is set."
2672        ::={ swL2IGMPMulticastVlanEntry 11}
2673
2674-- -----------------------------------------------------------------------------
2675--  swL2IGMPMulticastVlanGroupTable	OBJECT IDENTIFIER ::= { swL2IGMPMgmt 9 }
2676-- -----------------------------------------------------------------------------
2677    swL2IGMPMulticastVlanGroupTable OBJECT-TYPE
2678        SYNTAX  SEQUENCE OF SwL2IGMPMulticastVlanGroupEntry
2679        MAX-ACCESS  not-accessible
2680        STATUS  current
2681        DESCRIPTION
2682            "The table containing the IGMP snooping multicast VLAN group information"
2683        ::= { swIGMPPackage 9 }
2684
2685    swL2IGMPMulticastVlanGroupEntry OBJECT-TYPE
2686        SYNTAX  SwL2IGMPMulticastVlanGroupEntry
2687        MAX-ACCESS  not-accessible
2688        STATUS  current
2689        DESCRIPTION
2690            "Information about the current IGMP snooping multicast VLAN group."
2691        INDEX  { swL2IGMPMulticastVlanGroupVid,swL2IGMPMulticastVlanGroupFromIp,swL2IGMPMulticastVlanGroupToIp }
2692        ::= { swL2IGMPMulticastVlanGroupTable 1 }
2693
2694    SwL2IGMPMulticastVlanGroupEntry ::=
2695        SEQUENCE {
2696            swL2IGMPMulticastVlanGroupVid
2697                INTEGER,
2698            swL2IGMPMulticastVlanGroupFromIp
2699                IpAddress,
2700            swL2IGMPMulticastVlanGroupToIp
2701                IpAddress,
2702            swL2IGMPMulticastVlanGroupStatus
2703                RowStatus
2704        }
2705
2706    swL2IGMPMulticastVlanGroupVid	OBJECT-TYPE
2707	SYNTAX  INTEGER (1..4094)
2708        MAX-ACCESS  read-only
2709        STATUS  current
2710        DESCRIPTION
2711            "This object indicates the VID of the IGMP snooping multicast VLAN group."
2712        ::= { swL2IGMPMulticastVlanGroupEntry 1 }
2713
2714    swL2IGMPMulticastVlanGroupFromIp	OBJECT-TYPE
2715    	SYNTAX      IpAddress
2716    	MAX-ACCESS  read-only
2717    	STATUS      current
2718    	DESCRIPTION
2719       		"Specifies the multicast address list for this VLAN."
2720    	::= { swL2IGMPMulticastVlanGroupEntry 2  }
2721
2722    swL2IGMPMulticastVlanGroupToIp	OBJECT-TYPE
2723    	SYNTAX      IpAddress
2724    	MAX-ACCESS  read-only
2725    	STATUS      current
2726    	DESCRIPTION
2727       		"Specifies the multicast address list for this VLAN."
2728    	::= { swL2IGMPMulticastVlanGroupEntry 3  }
2729
2730    swL2IGMPMulticastVlanGroupStatus	OBJECT-TYPE
2731        SYNTAX   RowStatus
2732        MAX-ACCESS read-create
2733        STATUS   current
2734        DESCRIPTION
2735        	"This object indicates the status of this entry."
2736        ::= { swL2IGMPMulticastVlanGroupEntry 4 }
2737
2738-- -----------------------------------------------------------------------------
2739--  swL2IGMPv3Table	     OBJECT IDENTIFIER ::= { swL2IGMPMgmt 10 }
2740-- -----------------------------------------------------------------------------
2741
2742--    swL2IGMPv3Table OBJECT-TYPE
2743--        SYNTAX  SEQUENCE OF SwL2IGMPv3Entry
2744--        MAX-ACCESS  not-accessible
2745--        STATUS  current
2746--        DESCRIPTION
2747--            "This table contains the IGMP snooping V3 information."
2748--        ::= { swIGMPPackage 10 }
2749
2750--    swL2IGMPv3Entry OBJECT-TYPE
2751--        SYNTAX  SwL2IGMPv3Entry
2752--        MAX-ACCESS  not-accessible
2753--        STATUS  current
2754--        DESCRIPTION
2755--            "Information about the current IGMP snooping V3."
2756--        INDEX  { swL2IGMPVid , swL2IGMPGroupIpAddr , swL2IGMPv3SourceIPAddr }
2757--        ::= { swL2IGMPv3Table 1 }
2758
2759--    SwL2IGMPv3Entry ::=
2760--        SEQUENCE {
2761--            swL2IGMPv3SourceIPAddr
2762--                IpAddress,
2763--            swL2IGMPv3Forwarding
2764--                INTEGER,
2765--            swL2IGMPv3ExpireTimer
2766--                INTEGER
2767--        }
2768
2769--    swL2IGMPv3SourceIPAddr OBJECT-TYPE
2770--        SYNTAX  IpAddress
2771--        MAX-ACCESS  read-only
2772--        STATUS  current
2773--        DESCRIPTION
2774--            "This object identifies the source IP addresses from the group where they were captured from.
2775--             IGMP packets, on a per-VLAN basis."
2776--        ::= { swL2IGMPv3Entry 1 }
2777
2778--    swL2IGMPv3Forwarding OBJECT-TYPE
2779--        SYNTAX  INTEGER {
2780--        	enabled(1),
2781--        	disabled(2)
2782--        	}
2783--        MAX-ACCESS  read-only
2784--        STATUS  current
2785--        DESCRIPTION
2786--            "This object identifies if the packets from the source IP addresses are forwarding or not."
2787--        ::= { swL2IGMPv3Entry 2 }
2788
2789--    swL2IGMPv3ExpireTimer OBJECT-TYPE
2790--        SYNTAX  INTEGER
2791--        MAX-ACCESS  read-only
2792--        STATUS  current
2793--        DESCRIPTION
2794--            "This object identifies the leaving times of the source time."
2795--        ::= { swL2IGMPv3Entry 3 }
2796-- -----------------------------------------------------------------------------
2797-- swIGMPSnoopingGroupTable          OBJECT IDENTIFIER ::= { swL2IGMPMgmt 11 }
2798-- -----------------------------------------------------------------------------
2799--     swIGMPSnoopingGroupTable OBJECT-TYPE
2800--         SYNTAX  SEQUENCE OF SwIGMPSnoopingGroupEntry
2801--         MAX-ACCESS  not-accessible
2802--         STATUS  current
2803--         DESCRIPTION
2804--             "The table contains the current IGMP snooping group information captured by
2805--             the device."
2806--         ::= { swIGMPPackage 11 }
2807--
2808--     swIGMPSnoopingGroupEntry OBJECT-TYPE
2809--         SYNTAX  SwIGMPSnoopingGroupEntry
2810--         MAX-ACCESS  not-accessible
2811--         STATUS  current
2812--         DESCRIPTION
2813--             "Information about the current IGMP snooping group information which has been captured by
2814--             the device."
2815--         INDEX  { swIGMPSnoopingGroupVid , swIGMPSnoopingGroupGroupAddr , swIGMPSnoopingGroupSourceAddr}
2816--         ::= { swIGMPSnoopingGroupTable 1 }
2817--
2818--     SwIGMPSnoopingGroupEntry ::=
2819--         SEQUENCE {
2820--             swIGMPSnoopingGroupVid
2821--                 INTEGER,
2822--             swIGMPSnoopingGroupGroupAddr
2823--                 IpAddress,
2824--             swIGMPSnoopingGroupSourceAddr
2825--                 IpAddress,
2826--             swIGMPSnoopingGroupIncludePortMap
2827--                 PortList,
2828--             swIGMPSnoopingGroupExcludePortMap
2829--                 PortList,
2830--             swIGMPSnoopingGroupReportCount
2831--             	INTEGER,
2832--             swIGMPSnoopingGroupUpTime
2833--             	TimeTicks,
2834--             swIGMPSnoopingGroupExpiryTime
2835--             	TimeTicks,
2836--             swIGMPSnoopingGroupRouterPorts
2837--             	PortList
2838--         }
2839--
2840--     swIGMPSnoopingGroupVid OBJECT-TYPE
2841--         SYNTAX  INTEGER (1..4094)
2842--         MAX-ACCESS  read-only
2843--         STATUS  current
2844--         DESCRIPTION
2845--             "This object indicates the VID of the individual IGMP snooping group table entry."
2846--         ::= { swIGMPSnoopingGroupEntry 1 }
2847--
2848--     swIGMPSnoopingGroupGroupAddr OBJECT-TYPE
2849--         SYNTAX  IpAddress
2850--         MAX-ACCESS  read-only
2851--         STATUS  current
2852--         DESCRIPTION
2853--             "This object identifies the group IP address which has been captured from
2854--             the IGMP packet, on a per-VLAN basis."
2855--         ::= { swIGMPSnoopingGroupEntry 2 }
2856--
2857--     swIGMPSnoopingGroupSourceAddr OBJECT-TYPE
2858--         SYNTAX  IpAddress
2859--         MAX-ACCESS  read-only
2860--         STATUS  current
2861--         DESCRIPTION
2862--             "This object identifies the source addresses."
2863--         ::= { swIGMPSnoopingGroupEntry 3 }
2864--
2865--     swIGMPSnoopingGroupIncludePortMap OBJECT-TYPE
2866--         SYNTAX  PortList
2867--         MAX-ACCESS  read-only
2868--         STATUS  current
2869--         DESCRIPTION
2870--             "This object indicates the port list under INCLUDE mode."
2871--         ::= { swIGMPSnoopingGroupEntry 4 }
2872--
2873--     swIGMPSnoopingGroupExcludePortMap OBJECT-TYPE
2874--         SYNTAX  PortList
2875--         MAX-ACCESS  read-only
2876--         STATUS  current
2877--         DESCRIPTION
2878--             "This object indicates the port list under EXCLUDE mode."
2879--         ::= { swIGMPSnoopingGroupEntry 5 }
2880--
2881--    	swIGMPSnoopingGroupReportCount OBJECT-TYPE
2882--         SYNTAX  INTEGER
2883--         MAX-ACCESS  read-only
2884--         STATUS  current
2885--         DESCRIPTION
2886--             "This object indicates how many report packets were received by our
2887--  		device corresponding with this entry that has the IGMP function enabled,
2888--  		on a per-group basis."
2889--         ::= { swIGMPSnoopingGroupEntry 6 }
2890--
2891--     swIGMPSnoopingGroupUpTime OBJECT-TYPE
2892--         SYNTAX  TimeTicks
2893--         MAX-ACCESS  read-only
2894--         STATUS  current
2895--         DESCRIPTION
2896--             "This object indicates how long since the group was detected."
2897--         ::= { swIGMPSnoopingGroupEntry 7 }
2898--
2899-- 	   swIGMPSnoopingGroupExpiryTime OBJECT-TYPE
2900--         SYNTAX  TimeTicks
2901--         MAX-ACCESS  read-only
2902--         STATUS  current
2903--         DESCRIPTION
2904--             "This object indicates the time left before this group will be aged out."
2905--         ::= { swIGMPSnoopingGroupEntry 8 }
2906--
2907-- 		swIGMPSnoopingGroupRouterPorts OBJECT-TYPE
2908--          SYNTAX  PortList
2909--          MAX-ACCESS  read-only
2910--          STATUS  current
2911--          DESCRIPTION
2912--              "This object indicates the port number of the router ports."
2913--          ::= { swIGMPSnoopingGroupEntry 9 }
2914
2915-- ********************************************************************
2916--  swL2IGMPDynIpMultMgmt    OBJECT IDENTIFIER ::= { swIGMPPackage 12 }
2917-- ********************************************************************
2918swL2IGMPDynIpMultMgmt    OBJECT IDENTIFIER ::= { swIGMPPackage 12 }
2919
2920	swL2IGMPDynIPMultMaxEntry OBJECT-TYPE
2921        SYNTAX  INTEGER
2922        MAX-ACCESS  read-write
2923        STATUS  current
2924        DESCRIPTION
2925            "This object specifies the maximum number of entries which can be learned by dynamic IP multicast."
2926        ::= { swL2IGMPDynIpMultMgmt 1 }
2927
2928swL2IGMPSnoopingClearDynIpMult    OBJECT IDENTIFIER ::= { swL2IGMPDynIpMultMgmt 2 }
2929
2930	swL2IGMPSnoopingClearDynIpMultVID OBJECT-TYPE
2931        SYNTAX  VlanId
2932        MAX-ACCESS  read-write
2933        STATUS  current
2934        DESCRIPTION
2935            "This object indicates the VLAN identifier where the data driven
2936        entries will be removed from."
2937        ::= { swL2IGMPSnoopingClearDynIpMult 1 }
2938
2939	swL2IGMPSnoopingClearDynIpMultIP OBJECT-TYPE
2940        SYNTAX  IpAddress
2941        MAX-ACCESS  read-write
2942        STATUS  current
2943        DESCRIPTION
2944            "This object indicates the IP address of the IGMP snooping group from which
2945        the data driven entries will be removed."
2946        ::= { swL2IGMPSnoopingClearDynIpMult 2 }
2947
2948
2949	swL2IGMPSnoopingClearDynIpMultAction OBJECT-TYPE
2950        SYNTAX  INTEGER{
2951        		all(1),
2952        		vlan(2),
2953        		group(3),
2954        		other(4)
2955        	}
2956        MAX-ACCESS  read-write
2957        STATUS  current
2958        DESCRIPTION
2959            "Setting this object will clear the data driven entries.
2960            	all - Remove all learned data driven groups.
2961            	VLAN - Clear all data driven entries in the VLAN specified in
2962            			swIGMPSnoopingClearDynIpMultVID.
2963            	group - Clear the group with the address specified in swL2IGMPSnoopingClearDynIpMultIP
2964            		    in the VLAN specified in swIGMPSnoopingClearDynIpMultVID.
2965            "
2966        ::= { swL2IGMPSnoopingClearDynIpMult 3 }
2967
2968-- -----------------------------------------------------------------------------
2969-- swIGMPSnoopingHostTable          OBJECT IDENTIFIER ::= { swIGMPPackage 13 }
2970-- -----------------------------------------------------------------------------
2971    swIGMPSnoopingHostTable OBJECT-TYPE
2972        SYNTAX  SEQUENCE OF SwIGMPSnoopingHostEntry
2973        MAX-ACCESS  not-accessible
2974        STATUS  current
2975        DESCRIPTION
2976            "The table contains the IGMP hosts that have joined the groups."
2977        ::= { swIGMPPackage 13 }
2978
2979    swIGMPSnoopingHostEntry OBJECT-TYPE
2980        SYNTAX  SwIGMPSnoopingHostEntry
2981        MAX-ACCESS  not-accessible
2982        STATUS  current
2983        DESCRIPTION
2984            "The entry contains the IGMP host that has joined the group."
2985        INDEX  { swIGMPSnoopingHostVid , swIGMPSnoopingHostGroup , swIGMPSnoopingHostPort, swIGMPSnoopingHostIp}
2986        ::= { swIGMPSnoopingHostTable 1 }
2987
2988    SwIGMPSnoopingHostEntry ::=
2989        SEQUENCE {
2990            swIGMPSnoopingHostVid
2991                VlanId,
2992            swIGMPSnoopingHostGroup
2993                IpAddress,
2994            swIGMPSnoopingHostPort
2995                INTEGER,
2996            swIGMPSnoopingHostIp
2997                IpAddress
2998        }
2999
3000    swIGMPSnoopingHostVid OBJECT-TYPE
3001        SYNTAX  VlanId
3002        MAX-ACCESS  read-only
3003        STATUS  current
3004        DESCRIPTION
3005            "This object indicates the VID of the individual IGMP snooping host
3006             table entry."
3007        ::= { swIGMPSnoopingHostEntry 1 }
3008
3009    swIGMPSnoopingHostGroup OBJECT-TYPE
3010        SYNTAX  IpAddress
3011        MAX-ACCESS  read-only
3012        STATUS  current
3013        DESCRIPTION
3014            "This object indicates the group address of the individual IGMP
3015             snooping host table entry."
3016        ::= { swIGMPSnoopingHostEntry 2 }
3017
3018    swIGMPSnoopingHostPort OBJECT-TYPE
3019        SYNTAX  INTEGER
3020        MAX-ACCESS  read-only
3021        STATUS  current
3022        DESCRIPTION
3023            "This object indicates the port number of the individual IGMP
3024             snooping host table entry."
3025        ::= { swIGMPSnoopingHostEntry 3 }
3026
3027    swIGMPSnoopingHostIp OBJECT-TYPE
3028        SYNTAX  IpAddress
3029        MAX-ACCESS  read-only
3030        STATUS  current
3031        DESCRIPTION
3032            "This object indicates the host IP address of the individual IGMP
3033             snooping host table entry."
3034        ::= { swIGMPSnoopingHostEntry 4 }
3035
3036
3037-- ************************************************************************
3038--  swPortRateTable
3039-- ************************************************************************
3040
3041--    swPortRateTable OBJECT-TYPE
3042--        SYNTAX SEQUENCE OF SwPortRateEntry
3043--        MAX-ACCESS not-accessible
3044--        STATUS current
3045--        DESCRIPTION
3046--           "This table specifies the port membership for each logical link."
3047--        ::= { swPortRatePackage 1 }
3048--
3049--
3050--    swPortRateEntry OBJECT-TYPE
3051--        SYNTAX SwPortRateEntry
3052--        MAX-ACCESS not-accessible
3053--        STATUS current
3054--        DESCRIPTION
3055--            "A list of information specifies which port groups form
3056--             a single logical link."
3057--        INDEX  { swPortRateIndex }
3058--        ::= { swPortRateTable 1 }
3059--
3060--    SwPortRateEntry ::=
3061--        SEQUENCE {
3062--            swPortRateIndex
3063--                Integer32,
3064--            swPortRateIngressRate
3065--                Integer32,
3066--            swPortRateEgressRate
3067--                Integer32
3068--        }
3069--
3070--    swPortRateIndex OBJECT-TYPE
3071--       SYNTAX Integer32
3072--        MAX-ACCESS read-only
3073--        STATUS current
3074--        DESCRIPTION
3075--            "The index of the swPortRateTable"
3076--        ::= { swPortRateEntry 1 }
3077--
3078--    swPortRateIngressRate OBJECT-TYPE
3079--        SYNTAX Integer32
3080--        MAX-ACCESS read-write
3081--        STATUS current
3082--        DESCRIPTION
3083--            "RX Rate"
3084--        ::= { swPortRateEntry 2 }
3085--
3086--    swPortRateEgressRate OBJECT-TYPE
3087--        SYNTAX Integer32
3088--        MAX-ACCESS read-write
3089--        STATUS current
3090--        DESCRIPTION
3091--            "TX Rate"
3092--        ::= { swPortRateEntry 3 }
3093
3094-- ************************************************************************
3095--  swPortBindingPackage
3096-- ************************************************************************
3097--	swPortBindingStatus OBJECT-TYPE
3098--		SYNTAX INTEGER {
3099--				other(1),
3100--				disabled(2),
3101--				enabled(3)
3102--		}
3103--		MAX-ACCESS read-write
3104--		STATUS current
3105--		DESCRIPTION
3106--			"Enable the Port Binding"
3107--		::= { swPortBindingPackage 1 }
3108--
3109--    swPortBindingCtrlTable OBJECT-TYPE
3110--        SYNTAX SEQUENCE OF SwPortBindingCtrlEntry
3111--        MAX-ACCESS not-accessible
3112--        STATUS current
3113--        DESCRIPTION
3114--            ""
3115--        ::= { swPortBindingPackage 2 }
3116--
3117--
3118--    swPortBindingCtrlEntry OBJECT-TYPE
3119--        SYNTAX SwPortBindingCtrlEntry
3120--        MAX-ACCESS not-accessible
3121--        STATUS current
3122--        DESCRIPTION
3123--            "A list of information."
3124--        INDEX  { swPortBindingCtrlIndex }
3125--        ::= { swPortBindingCtrlTable 1 }
3126--
3127--    SwPortBindingCtrlEntry ::=
3128--        SEQUENCE {
3129--            swPortBindingCtrlIndex
3130--                Integer32,
3131--            swPortBindingCtrlStatus
3132--                INTEGER
3133--      }
3134--
3135--    swPortBindingCtrlIndex OBJECT-TYPE
3136--        SYNTAX Integer32
3137--        MAX-ACCESS read-only
3138--        STATUS current
3139--        DESCRIPTION
3140--            ""
3141--        ::= { swPortBindingCtrlEntry 1 }
3142--
3143--   swPortBindingCtrlStatus OBJECT-TYPE
3144--		SYNTAX INTEGER {
3145--				other(1),
3146--				disabled(2),
3147--				enabled(3)
3148--		}
3149--		MAX-ACCESS read-write
3150--		STATUS current
3151--		DESCRIPTION
3152--			"Enable the Port Binding Control"
3153--        ::= { swPortBindingCtrlEntry 2 }
3154
3155--
3156--  The PortBinding Information Table
3157--
3158
3159--	swPortBindingInfoMaxEntries OBJECT-TYPE
3160--		SYNTAX Integer32
3161--		MAX-ACCESS read-only
3162--		STATUS	current
3163--		DESCRIPTION
3164--			"The max entries of this swPortBindingInfoTable"
3165--		::= { swPortBindingPackage 3}
3166--
3167--    swPortBindingInfoTable OBJECT-TYPE
3168--        SYNTAX SEQUENCE OF SwPortBindingInfoEntry
3169--        MAX-ACCESS not-accessible
3170--        STATUS current
3171--        DESCRIPTION
3172--            "The table contains the number current PortBinding packets which
3173--             are captured by this device, as well as the PortBinding packets
3174--             sent by the device."
3175--        ::= { swPortBindingPackage 4 }
3176--
3177--    swPortBindingInfoEntry OBJECT-TYPE
3178--        SYNTAX SwPortBindingInfoEntry
3179--        MAX-ACCESS not-accessible
3180--        STATUS current
3181--        DESCRIPTION
3182--            ""
3183--        INDEX  {swPortBindingPortNum, swPortBindingInfoIndex }
3184--        ::= { swPortBindingInfoTable 1 }
3185--
3186--    SwPortBindingInfoEntry ::=
3187--        SEQUENCE {
3188--            swPortBindingPortNum
3189--                Integer32,
3190--            swPortBindingInfoIndex
3191--                Integer32,
3192--            swPortBindingInfoMacAddr
3193--                MacAddress,
3194--            swPortBindingInfoStatus
3195--                RowStatus
3196--        }
3197--
3198--    swPortBindingPortNum OBJECT-TYPE
3199--        SYNTAX Integer32
3200--        MAX-ACCESS read-only
3201--        STATUS current
3202--        DESCRIPTION
3203--            ""
3204--        ::= { swPortBindingInfoEntry 1 }
3205--
3206--    swPortBindingInfoIndex OBJECT-TYPE
3207--        SYNTAX Integer32
3208--        MAX-ACCESS read-only
3209--        STATUS current
3210--        DESCRIPTION
3211--            ""
3212--        ::= { swPortBindingInfoEntry 2 }
3213--
3214--    swPortBindingInfoMacAddr OBJECT-TYPE
3215--        SYNTAX MacAddress
3216--        MAX-ACCESS read-create
3217--        STATUS current
3218--        DESCRIPTION
3219--            "This object is to identify the MAC address."
3220--        ::= { swPortBindingInfoEntry 3 }
3221--
3222--    swPortBindingInfoStatus OBJECT-TYPE
3223--		SYNTAX RowStatus
3224--		MAX-ACCESS read-create
3225--		STATUS current
3226--		DESCRIPTION
3227--		"Enables the Port Binding Info."
3228--        ::= { swPortBindingInfoEntry 4}
3229
3230-- ******************************************************************************
3231--  swPortBaseVlanMgmt                  OBJECT IDENTIFIER ::= { swDlinkL2Mgmt 6 }
3232-- ******************************************************************************
3233
3234--    swPortBaseVlanTable OBJECT-TYPE
3235--        SYNTAX SEQUENCE OF SwPortBaseVlanEntry
3236--        MAX-ACCESS not-accessible
3237--        STATUS current
3238--        DESCRIPTION
3239--            "This table specifies the port membership for each logical link."
3240--        ::= { swPortBaseVlanMgmt 1 }
3241
3242--
3243--    swPortBaseVlanEntry OBJECT-TYPE
3244--        SYNTAX SwPortBaseVlanEntry
3245--        MAX-ACCESS not-accessible
3246--        STATUS current
3247--        DESCRIPTION
3248--            "A list of information specifies which port groups form
3249--             a single logical link."
3250--        INDEX  { swPortBaseVlanIndex }
3251--        ::= { swPortBaseVlanTable 1 }
3252--
3253--    SwPortBaseVlanEntry ::=
3254--        SEQUENCE {
3255--            swPortBaseVlanIndex
3256--                INTEGER,
3257--            swPortBaseVlanName
3258--            	DisplayString,
3259--            swPortBaseVlanPortList
3260--                PortList,
3261--            swPortBaseVlanCtrlStatus
3262--                RowStatus
3263--        }
3264--
3265--    swPortBaseVlanIndex OBJECT-TYPE
3266--        SYNTAX INTEGER
3267--        MAX-ACCESS read-only
3268--		STATUS current
3269--		DESCRIPTION
3270--			""
3271--        ::= { swPortBaseVlanEntry 1}
3272--
3273--    swPortBaseVlanName OBJECT-TYPE
3274--        SYNTAX DisplayString
3275--        MAX-ACCESS read-create
3276--        STATUS current
3277--        DESCRIPTION
3278--            ""
3279--        ::= { swPortBaseVlanEntry 2 }
3280--
3281--    swPortBaseVlanPortList OBJECT-TYPE
3282--        SYNTAX PortList
3283--        MAX-ACCESS read-create
3284--        STATUS current
3285--        DESCRIPTION
3286--            "Indicates the member ports of a Port Based VLAN."
3287--        ::= { swPortBaseVlanEntry 3 }
3288--
3289--    swPortBaseVlanCtrlStatus OBJECT-TYPE
3290--        SYNTAX RowStatus
3291--		MAX-ACCESS read-create
3292--		STATUS current
3293--		DESCRIPTION
3294--			"Enables Port Based VLAN Info."
3295--      ::= { swPortBaseVlanEntry 4}
3296
3297--    swVlanModeSwitch OBJECT-TYPE
3298--        SYNTAX  INTEGER {
3299--				qvlan(1),
3300--				portvlan(2)
3301--		}
3302--        MAX-ACCESS  read-write
3303--        STATUS  current
3304--        DESCRIPTION
3305--            "The network management protocol(s) supported by this agent."
3306--        ::= { swPortBaseVlanMgmt 2 }
3307
3308--    swPriToTrafficTable OBJECT-TYPE
3309--        SYNTAX SEQUENCE OF SwPriToTrafficEntry
3310--        MAX-ACCESS not-accessible
3311--        STATUS current
3312--        DESCRIPTION
3313--            "This table specifies the map relationship from priority to traffic class."
3314--        ::= { swPriToTrafficMgmt 1 }
3315
3316
3317--    swPriToTrafficEntry OBJECT-TYPE
3318--        SYNTAX SwPriToTrafficEntry
3319--        MAX-ACCESS not-accessible
3320--        STATUS current
3321--        DESCRIPTION
3322--            "A list of information specifies the map relationship from priority to traffic class."
3323--        INDEX  { swPriority }
3324--        ::= { swPriToTrafficTable 1 }
3325
3326--    SwPriToTrafficEntry ::=
3327--        SEQUENCE {
3328--            swPriority
3329--                INTEGER,
3330--            swTrafficClassMapTo
3331--                INTEGER
3332--        }
3333
3334--    swPriority OBJECT-TYPE
3335--        SYNTAX INTEGER (0..7)
3336--        MAX-ACCESS read-only
3337--        STATUS current
3338--        DESCRIPTION
3339--            "The priority from 0 to 7."
3340--        ::= { swPriToTrafficEntry 1 }
3341
3342--    swTrafficClassMapTo OBJECT-TYPE
3343--        SYNTAX INTEGER (0..1)
3344--        MAX-ACCESS read-write
3345--        STATUS current
3346--        DESCRIPTION
3347--            "The traffic class each priority should map to."
3348--        ::= { swPriToTrafficEntry 2 }
3349
3350
3351    --new
3352    -- ********************************************************************
3353	--  dot3adAggrPortMgmt             OBJECT IDENTIFIER ::= { lagMIBObjects 1 }
3354	-- ********************************************************************
3355
3356-- dot3adAggPortTable OBJECT-TYPE
3357--    SYNTAX SEQUENCE OF Dot3adAggPortEntry
3358--    MAX-ACCESS not-accessible
3359--  STATUS current
3360--    DESCRIPTION
3361--        "A table that contains Link Aggregation Control
3362--        configuration information about every
3363--        Aggregation Port associated with this device.
3364--        A row appears in this table for each physical port."
3365--    REFERENCE
3366--        "IEEE 802.3 Section 30.7.2"
3367--    ::= { dot3adAggrPortMgmt 1 }
3368--
3369-- dot3adAggPortEntry OBJECT-TYPE
3370--    SYNTAX Dot3adAggPortEntry
3371--    MAX-ACCESS not-accessible
3372--    STATUS current
3373--    DESCRIPTION
3374--        "A list of Link Aggregation Control configuration
3375--        parameters for each Aggregation Port on this device."
3376--    INDEX { dot3adAggPortIndex }
3377--    ::= { dot3adAggPortTable 1 }
3378
3379-- Dot3adAggPortEntry ::=
3380--    SEQUENCE {
3381--        dot3adAggPortIndex
3382--          INTEGER,
3383--       dot3adAggPortMode
3384--          INTEGER
3385--          }
3386--
3387-- dot3adAggPortIndex  OBJECT-TYPE
3388--    SYNTAX INTEGER(0..65535)
3389--    MAX-ACCESS read-only
3390--    STATUS current
3391--    DESCRIPTION
3392--        "The ifIndex of the port."
3393--    REFERENCE
3394--        "IEEE 802.3 Section 30.7.2.1.1"
3395--    ::= { dot3adAggPortEntry 1 }
3396
3397-- dot3adAggPortMode OBJECT-TYPE
3398--    SYNTAX INTEGER{
3399--       other(1),
3400--       active(2),
3401--       passive(3)
3402--    }
3403--    MAX-ACCESS read-write
3404--    STATUS current
3405--    DESCRIPTION
3406--    	" The aggregrate mode of the port."
3407--    ::= { dot3adAggPortEntry 2 }
3408--
3409 -- ****************
3410 -- add by ynot 2004-1-6
3411 -- ********
3412--    loadPortSeg OBJECT-TYPE
3413--        SYNTAX  INTEGER{
3414--        	other(1),
3415--        	load(2)
3416--        	}
3417--        MAX-ACCESS  read-write
3418--        STATUS  current
3419--        DESCRIPTION
3420--            "After loading port segmentation, the switch must reboot."
3421--        ::= {  loadPortSegmentation 1 }
3422
3423    -- ********************************************************************
3424--  swL2TrafficMgmt           OBJECT IDENTIFIER ::= { swL2MgmtMIB 12 }
3425-- ********************************************************************
3426
3427--    swL2TrafficCtrlTable OBJECT-TYPE
3428--       SYNTAX  SEQUENCE OF SwL2TrafficCtrlEntry
3429--        MAX-ACCESS  not-accessible
3430--        STATUS  current
3431--        DESCRIPTION
3432--            "This table specifies the storm traffic control configuration."
3433--        ::= { swL2TrafficMgmt 1 }
3434--
3435--    swL2TrafficCtrlEntry OBJECT-TYPE
3436--        SYNTAX  SwL2TrafficCtrlEntry
3437--        MAX-ACCESS  not-accessible
3438--        STATUS  current
3439--        DESCRIPTION
3440--            "A list of information specifies the storm traffic control
3441--            configuration."
3442--        INDEX  { swL2TrafficCtrlGroupIndex }
3443--        ::= { swL2TrafficCtrlTable 1 }
3444--
3445--    SwL2TrafficCtrlEntry ::=
3446--        SEQUENCE {
3447--            swL2TrafficCtrlGroupIndex
3448--                INTEGER,
3449--            swL2TrafficCtrlUnitIndex
3450--                INTEGER,
3451--            swL2TrafficCtrlBMStromthreshold
3452--                INTEGER,
3453--            swL2TrafficCtrlBcastStromCtrl
3454--                INTEGER,
3455--            swL2TrafficCtrlMcastStromCtrl
3456--                INTEGER,
3457--            swL2TrafficCtrlDlfStromCtrl
3458--                INTEGER
3459--        }
3460--
3461--    swL2TrafficCtrlGroupIndex OBJECT-TYPE
3462--        SYNTAX  INTEGER (0..65535)
3463--        MAX-ACCESS  read-only
3464--        STATUS  current
3465--        DESCRIPTION
3466--            "The index of the logical port trunk. The trunk group number depends
3467--            on the existence of a unit and module."
3468--        ::= { swL2TrafficCtrlEntry 1 }
3469--
3470--    swL2TrafficCtrlUnitIndex OBJECT-TYPE
3471--        SYNTAX INTEGER (0..65535)
3472--        MAX-ACCESS  read-only
3473--        STATUS current
3474--        DESCRIPTION
3475--            "Indicates the ID of the unit in the device."
3476--        ::= { swL2TrafficCtrlEntry 2 }
3477--
3478--    swL2TrafficCtrlBMStromthreshold OBJECT-TYPE
3479--        SYNTAX  INTEGER (64..1024000)
3480--        MAX-ACCESS  read-write
3481--        STATUS  current
3482--        DESCRIPTION
3483--            "This object decides how many thousand packets per second
3484--            broadcast/multicast (depend on swL2TrafficCtrlBcastStromCtrl,
3485--            swL2TrafficCtrlMcastStromCtrl or swL2TrafficCtrlDlfStromCtrl
3486--            objects whether is enabled) will activate storm control. Whenever
3487--            a port reaches its configured amount of packets in the one
3488--            second time interval, the device will start dropping that type
3489--            of packet, until the time interval has expired. Once the time
3490--            interval has expired, the device will start forwarding that type
3491--            of packet."
3492--        ::= { swL2TrafficCtrlEntry 3 }
3493--
3494--
3495--    swL2TrafficCtrlBcastStromCtrl OBJECT-TYPE
3496--        SYNTAX  INTEGER {
3497--               other(1),
3498--               disabled(2),
3499--               enabled(3)
3500--               }
3501--       MAX-ACCESS  read-write
3502--       STATUS  current
3503--       DESCRIPTION
3504--           "This object indicates whether the broadcast storm control function is
3505--           enabled or disabled."
3506--        ::= { swL2TrafficCtrlEntry 4 }
3507--
3508--    swL2TrafficCtrlMcastStromCtrl OBJECT-TYPE
3509--        SYNTAX  INTEGER {
3510--               other(1),
3511--               disabled(2),
3512--               enabled(3)
3513--               }
3514--       MAX-ACCESS  read-write
3515--       STATUS  current
3516--       DESCRIPTION
3517--           "This object indicates whether the multicast storm control function is
3518--           enabled or disabled."
3519--        ::= { swL2TrafficCtrlEntry 5 }
3520--
3521--    swL2TrafficCtrlDlfStromCtrl OBJECT-TYPE
3522--        SYNTAX  INTEGER {
3523--               other(1),
3524--               disabled(2),
3525--               enabled(3)
3526--               }
3527--       MAX-ACCESS  read-write
3528--       STATUS  current
3529--       DESCRIPTION
3530--           "This object indicates whether the destination lookup fail function is
3531--           enabled or disabled."
3532--        ::= { swL2TrafficCtrlEntry 6 }
3533
3534
3535--   ********************************************************************
3536--    swL2TrafficSegMgmt           OBJECT IDENTIFIER ::= { swL2MgmtMIB 13 }
3537--   ********************************************************************
3538
3539    swL2TrafficSegTable OBJECT-TYPE
3540        SYNTAX  SEQUENCE OF SwL2TrafficSegEntry
3541        MAX-ACCESS  not-accessible
3542        STATUS  current
3543        DESCRIPTION
3544            "This table specifies the port just can forward traffic to the
3545            specific port list."
3546        ::= { swL2TrafficSegMgmt 1 }
3547
3548    swL2TrafficSegEntry OBJECT-TYPE
3549        SYNTAX  SwL2TrafficSegEntry
3550        MAX-ACCESS  not-accessible
3551        STATUS  current
3552        DESCRIPTION
3553            "A list of information specifies the port with its traffic
3554            forward list."
3555        INDEX  { swL2TrafficSegPort }
3556        ::= { swL2TrafficSegTable 1 }
3557
3558    SwL2TrafficSegEntry ::=
3559        SEQUENCE {
3560            swL2TrafficSegPort
3561                INTEGER,
3562            swL2TrafficSegForwardPorts
3563                PortList
3564        }
3565
3566    swL2TrafficSegPort OBJECT-TYPE
3567        SYNTAX  INTEGER (0..65535)
3568        MAX-ACCESS  read-only
3569        STATUS  current
3570        DESCRIPTION
3571            "The port number of the logical port."
3572        ::= { swL2TrafficSegEntry 1 }
3573
3574    swL2TrafficSegForwardPorts OBJECT-TYPE
3575        SYNTAX PortList
3576        MAX-ACCESS  read-write
3577        STATUS current
3578        DESCRIPTION
3579            "The port list that the specific port can forward traffic."
3580        ::= { swL2TrafficSegEntry 2 }
3581
3582-- ********************************************************************
3583--  swL2PortSecurityMgmt           OBJECT IDENTIFIER ::= { swL2MgmtMIB 15 }
3584-- ********************************************************************
3585
3586    swL2PortSecurityControlTable OBJECT-TYPE
3587        SYNTAX  SEQUENCE OF SwL2PortSecurityControlEntry
3588        MAX-ACCESS  not-accessible
3589        STATUS  current
3590        DESCRIPTION
3591                "The port security feature controls the address leaning capability and the
3592                traffic forwarding decision. Each port can have this function enabled or disabled.
3593                When it is enabled and a number is given said N, which allows N addresses to be
3594                learned at this port, the first N learned addresses are locked at this port as
3595                a static entry. When the learned address number reaches N, any incoming packet without
3596learned source addresses are discarded (e.g. dropped) and no more new addresses
3597                can be learned at this port."
3598        ::= { swL2PortSecurityMgmt 1 }
3599
3600    swL2PortSecurityControlEntry OBJECT-TYPE
3601        SYNTAX  SwL2PortSecurityControlEntry
3602        MAX-ACCESS  not-accessible
3603        STATUS  current
3604        DESCRIPTION
3605                "A list of information contained in the swL2PortSecurityControlTable."
3606        INDEX   { swL2PortSecurityPortIndex }
3607        ::= { swL2PortSecurityControlTable 1 }
3608
3609    SwL2PortSecurityControlEntry ::=
3610        SEQUENCE {
3611            swL2PortSecurityPortIndex
3612                INTEGER,
3613            swL2PortSecurityMaxLernAddr
3614                INTEGER,
3615            swL2PortSecurityMode
3616                INTEGER,
3617            swL2PortSecurityAdmState
3618                INTEGER,
3619            swL2PortSecurityEntryClearCtrl
3620                INTEGER
3621        }
3622
3623    swL2PortSecurityPortIndex OBJECT-TYPE
3624        SYNTAX  INTEGER (1..255)
3625        MAX-ACCESS  read-only
3626        STATUS  current
3627        DESCRIPTION
3628                "Indicates a secured port to lock address learning."
3629        ::= { swL2PortSecurityControlEntry 1 }
3630
3631    swL2PortSecurityMaxLernAddr OBJECT-TYPE
3632        SYNTAX  INTEGER (0..64)
3633        MAX-ACCESS  read-write
3634        STATUS  current
3635        DESCRIPTION
3636                "Indicates the allowable number of addresses to be learned at this port."
3637        ::= { swL2PortSecurityControlEntry 2 }
3638
3639    swL2PortSecurityMode OBJECT-TYPE
3640        SYNTAX  INTEGER {
3641                    other(1),
3642                    permanent(2),
3643                    deleteOnTimeout(3),
3644                    deleteOnReset(4)
3645                }
3646        MAX-ACCESS  read-write
3647        STATUS  current
3648        DESCRIPTION
3649                "Indicates the mode of locking address.
3650                In deleteOnTimeout (3) mode - the locked addresses can be aged out after the aging timer
3651                expires. In this mode, when the locked address is aged
3652                out, the number of addresses that can be learned has to be
3653                increased by one.
3654                In deleteOnReset (4) mode - never age out the locked addresses unless restarting
3655                the system to prevent port movement or intrusion."
3656        ::= { swL2PortSecurityControlEntry 3 }
3657
3658    swL2PortSecurityAdmState OBJECT-TYPE
3659        SYNTAX  INTEGER {
3660                    other(1),
3661                    enable(2),
3662                    disable(3)
3663                }
3664        MAX-ACCESS  read-write
3665        STATUS  current
3666        DESCRIPTION
3667                "Indicates an administration state of locking address."
3668        ::= { swL2PortSecurityControlEntry 4 }
3669
3670    swL2PortSecurityEntryClearCtrl  OBJECT-TYPE
3671		SYNTAX INTEGER  {
3672			other(1),
3673			start(2)
3674        		}
3675		MAX-ACCESS  read-write
3676		STATUS      current
3677		DESCRIPTION
3678			"Used to clear port security entries by port.
3679			 Setting this value to 'start' will execute the clear action,
3680			 Once cleared, the value returns to 'other'."
3681        	::= { swL2PortSecurityControlEntry 5 }
3682
3683-- ********************************************************************
3684    swL2PortSecurityTrapLogState OBJECT-TYPE
3685        	SYNTAX  INTEGER {
3686                    other(1),
3687                    enable(2),
3688                    disable(3)
3689                }
3690        	MAX-ACCESS  read-write
3691        	STATUS  current
3692        	DESCRIPTION
3693                "When enabled (2), whenever there's a new MAC that violates the pre-defined
3694                  port security configuration, a trap will be sent out and the relevant information
3695                  will be logged in the system."
3696        ::= { swL2PortSecurityMgmt 2 }
3697
3698-- ******************************************************
3699-- Port Security Del Ctrl Table
3700-- ******************************************************
3701    swL2PortSecurityDelCtrl OBJECT IDENTIFIER ::= { swL2PortSecurityMgmt 3 }
3702
3703    swL2PortSecurityDelVlanName OBJECT-TYPE
3704    	SYNTAX	DisplayString (SIZE(0..32))
3705    	MAX-ACCESS	read-write
3706    	STATUS	current
3707    	DESCRIPTION
3708    		"Indicates the VLAN name."
3709    	::= { swL2PortSecurityDelCtrl 1 }
3710
3711    swL2PortSecurityDelPort OBJECT-TYPE
3712    	SYNTAX	INTEGER (0..768)
3713    	MAX-ACCESS	read-write
3714    	STATUS	current
3715    	DESCRIPTION
3716    		"Indicates the port. 0 means the function dose not work now."
3717    	::= { swL2PortSecurityDelCtrl 2 }
3718
3719    swL2PortSecurityDelMacAddress OBJECT-TYPE
3720    	SYNTAX	MacAddress
3721    	MAX-ACCESS	read-write
3722    	STATUS	current
3723    	DESCRIPTION
3724    		"Specifies the MAC address."
3725    	::= { swL2PortSecurityDelCtrl 3 }
3726
3727    swL2PortSecurityDelActivity OBJECT-TYPE
3728    	SYNTAX	INTEGER {
3729    		none(1),
3730    		start(2)
3731    		}
3732    	MAX-ACCESS	read-write
3733    	STATUS	current
3734    	DESCRIPTION
3735    		""
3736    	::= { swL2PortSecurityDelCtrl 4 }
3737
3738
3739 -- ********************************************************************
3740--  swL2StpMgmt                 OBJECT IDENTIFIER ::= { swL2MgmtMIB  16 }
3741-- ********************************************************************
3742
3743--   swMSTPGblCtrl    OBJECT IDENTIFIER ::= { swL2StpMgmt  1 }
3744--
3745--    swL2STPStpForwardBPDU OBJECT-TYPE
3746--	    SYNTAX  INTEGER {
3747--               other(1),
3748--               disabled(2),
3749--               enabled(3)
3750--               }
3751--        MAX-ACCESS  read-write
3752--        STATUS  current
3753--        DESCRIPTION
3754--            "The enabled/disabled status is used to forward BPDU to
3755--             non STP port."
3756--        ::= { swMSTPGblCtrl 1 }
3757--
3758--      swL2STPStpLBD OBJECT-TYPE
3759--      	SYNTAX  INTEGER {
3760--               other(1),
3761--               disabled(2),
3762--               enabled(3)
3763--               }
3764--        MAX-ACCESS  read-write
3765--        STATUS  current
3766--        DESCRIPTION
3767--            "The enabled/disabled status is used for Loop-back prevention."
3768--        ::= { swMSTPGblCtrl 2 }
3769--
3770--
3771--   swL2STPPortCtrl               OBJECT IDENTIFIER ::= { swL2StpMgmt  2 }
3772--    swL2STPPortTable OBJECT-TYPE
3773--	swL2STPPortTable OBJECT-TYPE
3774--		SYNTAX  SEQUENCE OF SwL2STPPortEntry
3775--		MAX-ACCESS  not-accessible
3776--		STATUS  current
3777--		DESCRIPTION
3778--		      "A table that contains port-specific information
3779--		      for the Spanning Tree Protocol."
3780--		::= { swL2STPPortCtrl 4 }
3781--
3782--	swL2STPPortEntry OBJECT-TYPE
3783--		SYNTAX  SwL2STPPortEntry
3784--		MAX-ACCESS  not-accessible
3785--		STATUS  current
3786--		DESCRIPTION
3787--		      "A list of information maintained by every port
3788--		      about the Spanning Tree Protocol state for that
3789--		      port."
3790--		INDEX   { swL2STPPort }
3791--		::= { swL2STPPortTable 1 }
3792--
3793--	SwL2STPPortEntry ::=	SEQUENCE {
3794--		swL2STPPort
3795--		  INTEGER,
3796--                swL2STPPortLBD
3797--                  INTEGER,
3798--                swL2STPPortState
3799--                  INTEGER
3800--		}
3801--
3802--	swL2STPPort OBJECT-TYPE
3803--		SYNTAX  INTEGER (1..65535)
3804--		MAX-ACCESS  read-only
3805--		STATUS  current
3806--		DESCRIPTION
3807--		      "The port number of the port for this entry."
3808--		::= { swL2STPPortEntry 1}
3809--
3810--	swL2STPPortLBD OBJECT-TYPE
3811--      	SYNTAX  INTEGER {
3812--               other(1),
3813--               disabled(2),
3814--               enabled(3)
3815--               }
3816--        MAX-ACCESS  read-write
3817--        STATUS  current
3818--        DESCRIPTION
3819--            "The enabled/disabled status is used for Loop-back prevention attached
3820--            to this port."
3821--        ::= { swL2STPPortEntry 2 }
3822--
3823--        swL2STPPortState OBJECT-TYPE
3824--      	SYNTAX  INTEGER {
3825--               other(1),
3826--               disabled(2),
3827--               enabled(3)
3828--               }
3829--        MAX-ACCESS  read-write
3830--        STATUS  current
3831--        DESCRIPTION
3832--            "The enabled/disabled status is used for Loop-back prevention attached
3833--            to this port."
3834--        ::= { swL2STPPortEntry 3 }
3835
3836
3837--    swL2StpForwardBPDU OBJECT-TYPE
3838--	    SYNTAX  INTEGER {
3839--               other(1),
3840--               disabled(2),
3841--               enabled(3)
3842--               }
3843--        MAX-ACCESS  read-write
3844--        STATUS  current
3845--        DESCRIPTION
3846--            "Indicates whether to flood BPDU packets when STP is disabled on the device."
3847--        ::= { swL2StpMgmt 1 }
3848--
3849--      swL2StpLbd OBJECT-TYPE
3850--      	SYNTAX  INTEGER {
3851--               other(1),
3852--               disabled(2),
3853--               enabled(3)
3854--               }
3855--        MAX-ACCESS  read-write
3856--        STATUS  current
3857--        DESCRIPTION
3858--            "Indicates whether STP loop-back prevention on the device is turned on."
3859--        ::= { swL2StpMgmt 2 }
3860--
3861--
3862--      swL2StpLbdRecoverTime OBJECT-TYPE
3863--      	SYNTAX  INTEGER (0..1000000)
3864--          MAX-ACCESS  read-write
3865--          STATUS  current
3866--          DESCRIPTION
3867--            "The period of time the STP module keeps checking the BPDU loop status,
3868--	  to configure swL2StpLbdRecoverTime as 0 disables automatically recover."
3869--        ::= { swL2StpMgmt 3 }
3870--
3871--
3872--	swL2StpPortTable	OBJECT-TYPE
3873--			SYNTAX			SEQUENCE OF SwL2StpPortEntry
3874--			MAX-ACCESS	not-accessible
3875--			STATUS			current
3876--			DESCRIPTION
3877--		      "A table that contains port-specific information
3878--		      for the Spanning Tree Protocol."
3879--		::= { swL2StpMgmt 4 }
3880--
3881--	swL2StpPortEntry OBJECT-TYPE
3882--		SYNTAX  SwL2StpPortEntry
3883--		MAX-ACCESS  not-accessible
3884--		STATUS  current
3885--		DESCRIPTION
3886--			"A list of information maintained by every port
3887--			 about the Spanning Tree Protocol state for that
3888--			 port."
3889--		INDEX   { swL2StpPort }
3890--		::= { swL2StpPortTable 1 }
3891--
3892--	SwL2StpPortEntry ::=	SEQUENCE {
3893--               	swL2StpPort
3894--		INTEGER,
3895--		swL2StpPortLbd
3896--		INTEGER,
3897--		swL2StpPortStatus
3898--		INTEGER,
3899--                swL2StpPortRole
3900--                INTEGER,
3901--                swL2StpPortFBPDU
3902--                INTEGER,
3903--                swL2StpPortLinkState
3904--                INTEGER,
3905--                swL2StpPortProtocolMigration
3906--            	TruthValue,
3907--        	swL2StpPortAdminEdgePort
3908--            	TruthValue,
3909--        	swL2StpPortOperEdgePort
3910--            	TruthValue,
3911--        	swL2StpPortAdminPointToPoint
3912--            	INTEGER,
3913--        	swL2StpPortOperPointToPoint
3914--            	TruthValue,
3915--                swL2StpPortAdminPathCost
3916--            	Unsigned32,
3917--                swL2StpPortPriority
3918--                INTEGER,
3919--                swL2STPPortState
3920--                INTEGER
3921--                }
3922--
3923--	swL2StpPort OBJECT-TYPE
3924--			SYNTAX  INTEGER (1..65535)
3925--			MAX-ACCESS  read-only
3926--			STATUS  current
3927--			DESCRIPTION
3928--					"The port number of the port for this entry."
3929--			::= { swL2StpPortEntry 1}
3930--
3931--	swL2StpPortLbd OBJECT-TYPE
3932--			SYNTAX  INTEGER {
3933--						other(1),
3934--						disabled(2),
3935--						enabled(3)
3936--			}
3937--			MAX-ACCESS  read-write
3938--			STATUS  current
3939--			DESCRIPTION
3940--					"The enabled/disabled status is used for Loop-back prevention attached
3941--						to this port."
3942--			::= { swL2StpPortEntry 2 }
3943--
3944--	swL2StpPortStatus OBJECT-TYPE
3945--		SYNTAX  INTEGER {
3946--	               other(1),
3947--	               disabled(2),
3948--	               discarding(3),
3949--	               learning(4),
3950--	               forwarding(5),
3951--	               broken(6),
3952--	               no-stp-enabled(7),
3953--	               err-disabled(8)
3954--	               }
3955--	        MAX-ACCESS  read-only
3956--	        STATUS  current
3957--	        DESCRIPTION
3958--	            "When the port Enable state is enabled, the port's current
3959--	            state as defined by application of the Spanning Tree Protocol.
3960--	            If the PortEnable is disabled, the port status will be
3961--	            no-STP-enabled (7).
3962--		  If the port is in error disabled status, the port status will be err-disabled (8)"
3963--	        ::= { swL2StpPortEntry 3 }
3964--
3965--	swL2StpPortRole OBJECT-TYPE
3966--		SYNTAX  INTEGER {
3967--			     disabled(1),
3968--			     alternate(2),
3969--			     backup(3),
3970--			     root(4),
3971--			     designated(5),
3972--			     nonStp(6),
3973--			     loopback(7)
3974--			}
3975--	        MAX-ACCESS  read-only
3976--	        STATUS  current
3977--	        DESCRIPTION
3978--			    "When the port Enable state is enabled, the port's current
3979--		            port role as defined by application of the Spanning Tree Protocol.
3980--		            If the Port Enable state is disabled, the port role will be
3981--		            nonstp (7). If the port is in loop-back status, the port role will
3982--		            be loopback (8)"
3983--	        ::= { swL2StpPortEntry 4 }
3984--
3985--	swL2StpPortFBPDU OBJECT-TYPE
3986--      	SYNTAX  INTEGER {
3987--               other(1),
3988--               disabled(2),
3989--               enabled(3)
3990--               }
3991--        MAX-ACCESS  read-write
3992--        STATUS  current
3993--        DESCRIPTION
3994--            "The enabled/disabled status is used for BPDU Filtering attached
3995--            to this port."
3996--        ::= { swL2StpPortEntry 5 }
3997--
3998--	swL2StpPortLinkState OBJECT-TYPE
3999--              SYNTAX  INTEGER {
4000--                     link-down(1),
4001--                     half-10Mbps-none(2),
4002--                     half-10Mbps-backp(3),
4003--                     full-10Mbps-none(4),
4004--                     full-10Mbps-8023x(5),
4005--                     half-100Mbps-none(6),
4006--                     half-100Mbps-backp(7),
4007--                     full-100Mbps-none(8),
4008--                     full-100Mbps-8023x(9),
4009--                     half-1000Mbps-none(10),
4010--                     full-1000Mbps-backp(11),
4011--                     full-1000Mbps-none(12),
4012--                     full-1000Mbps-8023x(13)
4013--                     }
4014--              MAX-ACCESS  read-only
4015--              STATUS  current
4016--              DESCRIPTION
4017--                  "This object indicates the STP port speed and duplex mode."
4018--              ::= { swL2StpPortEntry 6 }
4019--
4020--	swL2StpPortProtocolMigration OBJECT-TYPE
4021--    SYNTAX      TruthValue
4022--    MAX-ACCESS  read-write
4023--    STATUS      current
4024--    DESCRIPTION
4025--        "When operating in RSTP (version 2) mode, writing TRUE (1)
4026--         for this object forces this port to transmit RSTP BPDUs.
4027--         Any other operation on this object has no effect and
4028--         it always returns FALSE (2) when read."
4029--    REFERENCE
4030--        "IEEE 802.1w clause 14.8.2.4, 17.18.10, 17.26"
4031--    ::= { swL2StpPortEntry 7 }
4032--
4033--	swL2StpPortAdminEdgePort OBJECT-TYPE
4034--    SYNTAX      TruthValue
4035--    MAX-ACCESS  read-write
4036--    STATUS      current
4037--    DESCRIPTION
4038--        "The administrative value of the Edge Port parameter.  A
4039--         value of TRUE (1) indicates that this port should be
4040--         assumed as an edge-port and a value of FALSE (2) indicates
4041--         that this port should be assumed as a non-edge-port."
4042--    REFERENCE
4043--        "IEEE 802.1t clause 14.8.2, 18.3.3"
4044--    ::= { swL2StpPortEntry 8 }
4045--
4046--   swL2StpPortOperEdgePort OBJECT-TYPE
4047--    SYNTAX      TruthValue
4048--    MAX-ACCESS  read-only
4049--    STATUS      current
4050--    DESCRIPTION
4051--        "The operational value of the Edge Port parameter.  The
4052--         object is initialized to the value of
4053--         swL2StpPortAdminEdgePort and is set FALSE on reception of
4054--         a BPDU."
4055--    REFERENCE
4056--        "IEEE 802.1t clause 14.8.2, 18.3.4"
4057--    ::= { swL2StpPortEntry 9 }
4058--
4059--	swL2StpPortAdminPointToPoint OBJECT-TYPE
4060--    SYNTAX      INTEGER {
4061--                    forceTrue(0),
4062--                    forceFalse(1),
4063--                    auto(2)
4064--                }
4065--    MAX-ACCESS  read-write
4066--    STATUS      current
4067--    DESCRIPTION
4068--        "The administrative point-to-point status of the LAN segment
4069--         attached to this port.  A value of forceTrue (0) indicates that
4070--         this port should always be treated as if it is connected to
4071--         a point-to-point link.  A value of forceFalse (1) indicates
4072--         that this port should be treated as having a shared media
4073--         connection.  A value of auto (2) indicates that this port is
4074--         considered to have a point-to-point link if it is an Aggregator
4075--         and all of its members are aggregatable, or if the MAC entity
4076--         is configured for full duplex operation, either through
4077--         auto-negotiation or by management means."
4078--   REFERENCE
4079--       "IEEE 802.1w clause 6.4.3, 6.5, 14.8.2"
4080--   ::= { swL2StpPortEntry 10 }
4081--
4082--	swL2StpPortOperPointToPoint OBJECT-TYPE
4083--    SYNTAX      TruthValue
4084--    MAX-ACCESS  read-only
4085--    STATUS      current
4086--    DESCRIPTION
4087--        "The operational point-to-point status of the LAN segment
4088--         attached to this port.  It indicates whether a port is
4089--         considered to have a point-to-point connection or not.
4090--         The value is determined by management or by auto-detection,
4091--         as described in the swL2StpPortAdminPointToPoint object."
4092--    REFERENCE
4093--        "IEEE 802.1w clause 6.4.3, 6.5, 14.8.2"
4094--    ::= { swL2StpPortEntry 11}
4095--
4096--	swL2StpPortAdminPathCost OBJECT-TYPE
4097--    SYNTAX      Unsigned32(0..200000000)
4098--    MAX-ACCESS  read-write
4099--    STATUS      current
4100--    DESCRIPTION
4101--        "The administratively assigned value for the contribution
4102--         of this port to the path cost of paths towards the spanning
4103--         tree root.
4104--
4105--         Writing a value of '0' assigns the automatically calculated
4106--         default Path Cost value to the port.  If the default Path
4107--         Cost is being used, this object returns '0' when read.
4108--
4109--         This complements the object swL2StpPortPathCost, which
4110--         returns the operational value of the path cost.
4111--
4112--	Issue No.: 3250R2-077
4113--    As USE_RSTP is 1:enabled, swL2StpPortPathCost is forced to be read-only.
4114--    configuration via swL2StpPortAdminPathCost.
4115--    According 802.1w, value range of swL2StpPortAdminPathCost would be expanded.
4116--    the former value range is (0..65535), the new is (0..200000000). "
4117--
4118--    REFERENCE
4119--        "IEEE 802.1D-1998: Section 8.5.5.3"
4120--    ::= { swL2StpPortEntry 12}
4121--
4122--         swL2StpPortPriority OBJECT-TYPE
4123--              SYNTAX  INTEGER (0..240)
4124--              MAX-ACCESS  read-write
4125--              STATUS  current
4126--              DESCRIPTION
4127--                      "The value of the priority field which is
4128--                      contained in the first (in network byte order)
4129--                      octet of the (2 octet long) Port ID.  The other
4130--                      octet of the Port ID is given by the value of
4131--                      swL2StpPort."
4132--              REFERENCE
4133--                      "IEEE 802.1D-1990: Section 4.5.5.1"
4134--              ::= { swL2StpPortEntry 13 }
4135--
4136--          swL2STPPortState OBJECT-TYPE
4137--	     	SYNTAX  INTEGER {
4138--	              other(1),
4139--	              disabled(2),
4140--	              enabled(3)
4141--	              }
4142--	       MAX-ACCESS  read-write
4143--	       STATUS  current
4144--	       DESCRIPTION
4145--	           "The enabled/disabled status is used by loop-back prevention attached
4146--	           to this port."
4147--	       ::= { swL2StpPortEntry 14 }
4148--
4149-- ********************************************************************
4150--        swL2CosMgmt               OBJECT IDENTIFIER ::= { swL2MgmtMIB 17 }
4151-- ********************************************************************
4152	swL2CosPriorityCtrl	  OBJECT IDENTIFIER ::= { swL2CosMgmt 3 }
4153
4154	  swL2CosPriorityTable OBJECT-TYPE
4155              SYNTAX  SEQUENCE OF SwL2CosPriorityEntry
4156              MAX-ACCESS  not-accessible
4157              STATUS  current
4158              DESCRIPTION
4159                      "Used to show and configure per port priority-based QoS features on the switch."
4160              ::= { swL2CosPriorityCtrl 1 }
4161
4162          swL2CosPriorityEntry OBJECT-TYPE
4163              SYNTAX  SwL2CosPriorityEntry
4164              MAX-ACCESS  not-accessible
4165              STATUS  current
4166              DESCRIPTION
4167                      "A list of information contained in the swL2CosPriorityTable."
4168              INDEX   { swL2CosPriorityPort }
4169              ::= { swL2CosPriorityTable 1 }
4170
4171          SwL2CosPriorityEntry ::=
4172              SEQUENCE {
4173                  swL2CosPriorityPort
4174                      INTEGER,
4175--                  swL2CosPriorityPortPRI
4176--                      INTEGER,
4177                  swL2CosPriorityEtherPRI
4178                      INTEGER,
4179                  swL2CosPriorityIpPRI
4180                      INTEGER,
4181                  swL2CosPriorityNone
4182                      INTEGER
4183              }
4184
4185          swL2CosPriorityPort OBJECT-TYPE
4186              SYNTAX  INTEGER (1..65535)
4187              MAX-ACCESS  read-only
4188              STATUS  current
4189              DESCRIPTION
4190                      "The port number of CoS Priority."
4191              ::= { swL2CosPriorityEntry 1 }
4192
4193--          swL2CosPriorityPortPRI OBJECT-TYPE
4194--              SYNTAX  INTEGER {
4195--                          other(1),
4196--                          disable(2),
4197--                          enable(3)
4198--                      }
4199--              MAX-ACCESS  read-write
4200--              STATUS  current
4201--              DESCRIPTION
4202--                      "Indicates the port_priority state for CoS."
4203--              ::= { swL2CosPriorityEntry 2 }
4204
4205          swL2CosPriorityEtherPRI OBJECT-TYPE
4206              SYNTAX  INTEGER {
4207                          disable(1),
4208                          ether8021p(2),
4209                          macBase(3)
4210                      }
4211              MAX-ACCESS  read-write
4212              STATUS  current
4213              DESCRIPTION
4214                      "Enable Ethernet frame based priority.
4215                      When set ether8021p (2), enable 802.1p QoS; When set macBase (3), enable MAC-based QoS;
4216                      When set disable (1), disable Ethernet frame based priority."
4217              ::= { swL2CosPriorityEntry 3 }
4218
4219          swL2CosPriorityIpPRI OBJECT-TYPE
4220              SYNTAX  INTEGER {
4221                          disable(1),
4222                          tos(2),
4223                          dscp(3)
4224                      }
4225              MAX-ACCESS  read-write
4226              STATUS  current
4227              DESCRIPTION
4228                      "Enable IP priority QoS.
4229                      When set tos (2), enable TOS based QoS; When set dscp (3), enable DSCP based QoS;
4230                      When set disable (1), disable IP priority QoS."
4231              ::= { swL2CosPriorityEntry 4 }
4232
4233          swL2CosPriorityNone OBJECT-TYPE
4234              SYNTAX  INTEGER {
4235                          valid(1),
4236                          invalid(2)
4237                      }
4238              MAX-ACCESS  read-write
4239              STATUS  current
4240              DESCRIPTION
4241                      "When read, it always returns invalid (2);
4242                      when write valid  (1), it disables all priority in this table."
4243              ::= { swL2CosPriorityEntry 5 }
4244
4245--	  swL2CosPortPRITable OBJECT-TYPE
4246--              SYNTAX  SEQUENCE OF SwL2CosPortPRIEntry
4247--              MAX-ACCESS  not-accessible
4248--              STATUS  current
4249--              DESCRIPTION
4250--                      "Used to show port-to-class mappings and
4251--                      map specific port to one of the hardware queues available on the switch."
4252--              ::= { swL2CosPriorityCtrl 2 }
4253--
4254--          swL2CosPortPRIEntry OBJECT-TYPE
4255--              SYNTAX  SwL2CosPortPRIEntry
4256--              MAX-ACCESS  not-accessible
4257--              STATUS  current
4258--              DESCRIPTION
4259--                      "A list of information contained in the swL2CosPortPRITable."
4260--              INDEX   { swL2CosPortPRIIndex }
4261--              ::= { swL2CosPortPRITable 1 }
4262--
4263--          SwL2CosPortPRIEntry ::=
4264--              SEQUENCE {
4265--                  swL2CosPortPRIIndex
4266--                      INTEGER,
4267--                  swL2CosPortPRIClass
4268--                      INTEGER
4269--              }
4270--
4271--          swL2CosPortPRIIndex OBJECT-TYPE
4272--              SYNTAX  INTEGER (1..65535)
4273--              MAX-ACCESS  read-only
4274--              STATUS  current
4275--              DESCRIPTION
4276--                      "Indicates the CoS Priority PortPRI."
4277--              ::= { swL2CosPortPRIEntry 1 }
4278--
4279--          swL2CosPortPRIClass OBJECT-TYPE
4280--              SYNTAX  INTEGER (0..3)
4281--              MAX-ACCESS  read-write
4282--              STATUS  current
4283--              DESCRIPTION
4284--                      "The number of the switch's hardware priority queue. The switch has 4 hardware priority queues available.
4285--                      They are numbered between 0 (the lowest priority queue) and 3 (the highest priority queue).
4286--                      If you want to set one, you must have administrator privileges.
4287--                      And you can set a value of 0 or 3 only, you can't set a value 1 or 2."
4288--              ::= { swL2CosPortPRIEntry 2 }
4289
4290--	  swL2CosMacBasePRITable OBJECT-TYPE
4291--              SYNTAX  SEQUENCE OF SwL2CosMacBasePRIEntry
4292--              MAX-ACCESS  not-accessible
4293--              STATUS  current
4294--              DESCRIPTION
4295--                      "Used to show MAC priority map to traffic class and
4296--                      map the destination MAC address in incoming packet to one of the hardware queues available on the switch."
4297--              ::= { swL2CosPriorityCtrl 3 }
4298
4299--          swL2CosMacBasePRIEntry OBJECT-TYPE
4300--              SYNTAX  SwL2CosMacBasePRIEntry
4301--              MAX-ACCESS  not-accessible
4302--              STATUS  current
4303--              DESCRIPTION
4304--                      "A list of information contained in the swL2CosMacBasePRITable."
4305--              INDEX   { swL2CosMacBasePRIIndex }
4306--              ::= { swL2CosMacBasePRITable 1 }
4307
4308--          SwL2CosMacBasePRIEntry ::=
4309--              SEQUENCE {
4310--                  swL2CosMacBasePRIIndex
4311--                      MacAddress,
4312--                  swL2CosMacBasePRIClass
4313--                      INTEGER
4314--              }
4315
4316
4317--	  swL2CosMacBasePRIIndex OBJECT-TYPE
4318--      		SYNTAX  MacAddress
4319--      		MAX-ACCESS  read-only
4320--     		STATUS  current
4321--      		DESCRIPTION
4322--          		"Indicates the CoS Priority MacBasePRI."
4323--      		::= { swL2CosMacBasePRIEntry 1 }
4324
4325
4326--          swL2CosMacBasePRIClass OBJECT-TYPE
4327--              SYNTAX  INTEGER (0..3)
4328--              MAX-ACCESS  read-write
4329--              STATUS  current
4330--              DESCRIPTION
4331--                      "The number of the switch's hardware priority queue. The switch has 4 hardware priority queues available.
4332--                      They are numbered between 0 (the lowest priority queue) and 3 (the highest priority queue).
4333--                      If you want to set one, you must have administrator privileges."
4334--              ::= { swL2CosMacBasePRIEntry 2 }
4335
4336	  swL2CosTosPRITable OBJECT-TYPE
4337              SYNTAX  SEQUENCE OF SwL2CosTosPRIEntry
4338              MAX-ACCESS  not-accessible
4339              STATUS  current
4340              DESCRIPTION
4341                      "Used to show TOS value to traffic class mapping and
4342                       map the TOS value in the IP header of incoming packet to one of the four hardware queues available on the switch."
4343              ::= { swL2CosPriorityCtrl 4 }
4344
4345          swL2CosTosPRIEntry OBJECT-TYPE
4346              SYNTAX  SwL2CosTosPRIEntry
4347              MAX-ACCESS  not-accessible
4348              STATUS  current
4349              DESCRIPTION
4350                      "A list of information contained in the swL2CosTosPRITable."
4351              INDEX   { swL2CosTosPRIIndex }
4352              ::= { swL2CosTosPRITable 1 }
4353
4354          SwL2CosTosPRIEntry ::=
4355              SEQUENCE {
4356                  swL2CosTosPRIIndex
4357                      INTEGER,
4358                  swL2CosTosPRIClass
4359                      INTEGER
4360              }
4361
4362          swL2CosTosPRIIndex OBJECT-TYPE
4363              SYNTAX  INTEGER (0..7)
4364              MAX-ACCESS  read-only
4365              STATUS  current
4366              DESCRIPTION
4367                      "Indicates the CoS Priority TosPRI."
4368              ::= { swL2CosTosPRIEntry 1 }
4369
4370          swL2CosTosPRIClass OBJECT-TYPE
4371              SYNTAX  INTEGER (0..3)
4372              MAX-ACCESS  read-write
4373              STATUS  current
4374              DESCRIPTION
4375                      "The number of the switch's hardware priority queue. The switch has 4 hardware priority queues available.
4376                      They are numbered between 0 (the lowest priority queue) and 3 (the highest priority queue).
4377                      If you want to set one, you must have administrator privileges."
4378              ::= { swL2CosTosPRIEntry 2 }
4379
4380	  swL2CosDscpPRITable OBJECT-TYPE
4381              SYNTAX  SEQUENCE OF SwL2CosDscpPRIEntry
4382              MAX-ACCESS  not-accessible
4383              STATUS  current
4384              DESCRIPTION
4385                      "Used to show DSCP value to traffic class mapping and
4386                      map the DSCP value in the IP header of incoming packet to one of the hardware queues available on the switch."
4387              ::= { swL2CosPriorityCtrl 5 }
4388
4389          swL2CosDscpPRIEntry OBJECT-TYPE
4390              SYNTAX  SwL2CosDscpPRIEntry
4391              MAX-ACCESS  not-accessible
4392              STATUS  current
4393              DESCRIPTION
4394                      "A list of information contained in the swL2CosDscpPRITable."
4395              INDEX   { swL2CosDscpPRIIndex }
4396              ::= { swL2CosDscpPRITable 1 }
4397
4398          SwL2CosDscpPRIEntry ::=
4399              SEQUENCE {
4400                  swL2CosDscpPRIIndex
4401                      INTEGER,
4402                  swL2CosDscpPRIClass
4403                      INTEGER
4404              }
4405
4406          swL2CosDscpPRIIndex OBJECT-TYPE
4407              SYNTAX  INTEGER (0..63)
4408              MAX-ACCESS  read-only
4409              STATUS  current
4410              DESCRIPTION
4411                      "Indicates the CoS Priority DscpPRI."
4412              ::= { swL2CosDscpPRIEntry 1 }
4413
4414          swL2CosDscpPRIClass OBJECT-TYPE
4415              SYNTAX  INTEGER (0..3)
4416              MAX-ACCESS  read-write
4417              STATUS  current
4418              DESCRIPTION
4419                      "The number of the switch's hardware priority queue. The switch has 4 hardware priority queues available.
4420                      They are numbered between 0 (the lowest priority queue) and 3 (the highest priority queue).
4421                      If you want to set one, you must have administrator privileges."
4422              ::= { swL2CosDscpPRIEntry 2 }
4423
4424    -- ********************************************************************
4425--  swL2DhcpRelayMgmt        OBJECT IDENTIFIER ::= { swL2MgmtMIB 11 }
4426-- ********************************************************************
4427    swL2DhcpRelayState OBJECT-TYPE
4428        SYNTAX  INTEGER {
4429               other(1),
4430               disabled(2),
4431               enabled(3)
4432               }
4433        MAX-ACCESS  read-write
4434        STATUS  obsolete
4435        DESCRIPTION
4436            "This object indicates whether the DHCP relay function is enabled or
4437            disabled."
4438        ::= { swL2DhcpRelayMgmt 1 }
4439
4440    swL2DhcpRelayHopCount OBJECT-TYPE
4441        SYNTAX  INTEGER (1..16)
4442        MAX-ACCESS  read-write
4443        STATUS  obsolete
4444        DESCRIPTION
4445            "This object indicates the maximum number of router hops that
4446            the DHCP packets can cross."
4447        ::= { swL2DhcpRelayMgmt 2 }
4448
4449    swL2DhcpRelayTimeThreshold OBJECT-TYPE
4450        SYNTAX  INTEGER (0..65535)
4451        MAX-ACCESS  read-write
4452        STATUS  obsolete
4453        DESCRIPTION
4454            "This object indicates the minimum time in seconds within which
4455            the switch must relay the DHCP request. If this time is
4456            exceeded, the switch will drop the DHCP packet."
4457        ::= { swL2DhcpRelayMgmt 3 }
4458
4459    swL2DhcpRelayOption82State OBJECT-TYPE
4460        SYNTAX  INTEGER {
4461               other(1),
4462               disabled(2),
4463               enabled(3)
4464               }
4465        MAX-ACCESS  read-write
4466        STATUS  obsolete
4467        DESCRIPTION
4468            "This object indicates DHCP relay agent information option 82
4469            function is enabled or disabled."
4470        ::= { swL2DhcpRelayMgmt 4 }
4471
4472    swL2DhcpRelayOption82Check OBJECT-TYPE
4473        SYNTAX  INTEGER {
4474               other(1),
4475               disabled(2),
4476               enabled(3)
4477               }
4478        MAX-ACCESS  read-write
4479        STATUS  obsolete
4480        DESCRIPTION
4481            "This object indicates the checking mechanism of DHCP relay agent
4482            information option 82 is enabled or disabled."
4483        ::= { swL2DhcpRelayMgmt 5 }
4484
4485    swL2DhcpRelayOption82Policy OBJECT-TYPE
4486        SYNTAX  INTEGER {
4487               replace(1),
4488               drop(2),
4489               keep(3)
4490               }
4491        MAX-ACCESS  read-write
4492        STATUS  obsolete
4493        DESCRIPTION
4494            "This object indicates the reforwarding policy of DHCP relay agent
4495            information option 82.
4496
4497            replace (1) - Replace the exiting option 82 field in messages.
4498            drop (2)  - Discard messages with existing option 82 field.
4499            keep (3)  - Retain the existing option 82 field in messages."
4500        ::= { swL2DhcpRelayMgmt 6 }
4501
4502    swL2DhcpRelayCtrlTable OBJECT-TYPE
4503        SYNTAX  SEQUENCE OF SwL2DhcpRelayCtrlEntry
4504        MAX-ACCESS  not-accessible
4505        STATUS  obsolete
4506        DESCRIPTION
4507            "This table specifies the IP address as a destination to forward
4508            (relay) DHCP packets to."
4509        ::= { swL2DhcpRelayMgmt 7 }
4510
4511    swL2DhcpRelayCtrlEntry OBJECT-TYPE
4512        SYNTAX  SwL2DhcpRelayCtrlEntry
4513        MAX-ACCESS  not-accessible
4514        STATUS  obsolete
4515        DESCRIPTION
4516            "A list of information specifies the IP address as a destination
4517            to forward (relay) DHCP packets to."
4518        INDEX  { swL2DhcpRelayCtrlInterfaceName,  swL2DhcpRelayCtrlServer}
4519        ::= { swL2DhcpRelayCtrlTable 1 }
4520
4521    SwL2DhcpRelayCtrlEntry ::=
4522        SEQUENCE {
4523            swL2DhcpRelayCtrlInterfaceName
4524                DisplayString,
4525            swL2DhcpRelayCtrlServer
4526                IpAddress,
4527            swL2DhcpRelayCtrlState
4528                INTEGER
4529        }
4530
4531    swL2DhcpRelayCtrlInterfaceName OBJECT-TYPE
4532        SYNTAX  DisplayString (SIZE(1..12))
4533        MAX-ACCESS  read-only
4534        STATUS  obsolete
4535        DESCRIPTION
4536            "The name of the IP interface."
4537        ::= { swL2DhcpRelayCtrlEntry 1 }
4538
4539    swL2DhcpRelayCtrlServer OBJECT-TYPE
4540        SYNTAX IpAddress
4541        MAX-ACCESS  read-only
4542        STATUS obsolete
4543        DESCRIPTION
4544            "The DHCP server IP address."
4545        ::= { swL2DhcpRelayCtrlEntry 2 }
4546
4547    swL2DhcpRelayCtrlState OBJECT-TYPE
4548        SYNTAX  INTEGER {
4549                    other(1),
4550                    invalid(2),
4551                    valid(3)
4552                }
4553        MAX-ACCESS  read-write
4554        STATUS  obsolete
4555        DESCRIPTION
4556            "This object indicates the status of this entry.
4557
4558            other (1) - This entry is currently in use but the conditions
4559                under which it will remain so are different from each of
4560                the following values.
4561            invalid (2) - Writing this value to the object, and then the
4562                corresponding entry will be removed from the table.
4563            valid (3) - This entry resides in the table."
4564        ::= { swL2DhcpRelayCtrlEntry 3 }
4565
4566-- ********************************************************************
4567--        swL2LimitedMulticastMgmt  OBJECT IDENTIFIER ::= { swL2MgmtMIB 5 }
4568-- ********************************************************************
4569--    swL2LimitedMulticastTable OBJECT-TYPE
4570--    	SYNTAX  SEQUENCE OF SwL2LimitedMulticastEntry
4571--    	MAX-ACCESS  not-accessible
4572--    	STATUS  current
4573--    	DESCRIPTION
4574--		"."
4575--    	::= { swL2LimitedMulticastMgmt 1 }
4576--
4577--    swL2LimitedMulticastEntry OBJECT-TYPE
4578--    	SYNTAX  SwL2LimitedMulticastEntry
4579--    	MAX-ACCESS  not-accessible
4580--    	STATUS  current
4581--    	DESCRIPTION
4582--          	"A list of information contained in the swL2LimitedMulticastTable."
4583--    	INDEX   { swL2LimitedMulticastPortIndex }
4584--    	::= { swL2LimitedMulticastTable 1 }
4585--
4586--    SwL2LimitedMulticastEntry ::=
4587--    	SEQUENCE {
4588--      	swL2LimitedMulticastPortIndex
4589--          INTEGER,
4590--      	swL2LimitedMulticastFromIp
4591--          IpAddress,
4592--      	swL2LimitedMulticastToIp
4593--          IpAddress,
4594--      	swL2LimitedMulticastAccess
4595--          INTEGER,
4596--      	swL2LimitedMulticastState
4597--          INTEGER
4598--    	}
4599--
4600--    swL2LimitedMulticastPortIndex OBJECT-TYPE
4601--    	SYNTAX  INTEGER (1..65535)
4602--    	MAX-ACCESS  read-only
4603--    	STATUS  current
4604--    	DESCRIPTION
4605--          	"Indicates the port ."
4606--    	::= { swL2LimitedMulticastEntry 1 }
4607--
4608--    swL2LimitedMulticastFromIp OBJECT-TYPE
4609--    	SYNTAX    IpAddress
4610--    	MAX-ACCESS  read-write
4611--    	STATUS    current
4612--    	DESCRIPTION
4613--      		""
4614--    	::= { swL2LimitedMulticastEntry 2 }
4615--
4616--    swL2LimitedMulticastToIp OBJECT-TYPE
4617--    	SYNTAX    IpAddress
4618--    	MAX-ACCESS  read-write
4619--    	STATUS    current
4620--    	DESCRIPTION
4621--      		""
4622--    	::= { swL2LimitedMulticastEntry 3 }
4623--
4624--    swL2LimitedMulticastAccess OBJECT-TYPE
4625--    	SYNTAX    INTEGER{
4626--            none(1),
4627--            permit(2),
4628--            deny(3)
4629--            }
4630--    	MAX-ACCESS  read-write
4631--    	STATUS    current
4632--    	DESCRIPTION
4633--      		""
4634--    	::= { swL2LimitedMulticastEntry 4 }
4635--
4636--    swL2LimitedMulticastState OBJECT-TYPE
4637--        SYNTAX  INTEGER {
4638--               other(1),
4639--               disabled(2),
4640--               enabled(3)
4641--               }
4642--    	MAX-ACCESS  read-write
4643--    	STATUS    current
4644--    	DESCRIPTION
4645--      		""
4646--    	::= { swL2LimitedMulticastEntry 5 }
4647--
4648--    swL2LimitedMulticastResetPort OBJECT-TYPE
4649--    	SYNTAX  PortList
4650--    	MAX-ACCESS  read-write
4651--    	STATUS  current
4652--    	DESCRIPTION
4653--          	"This object resets the Limited Multicast address on the specified port.
4654--           	It always returns null."
4655--    	::= { swL2LimitedMulticastMgmt 2 }
4656
4657-- ********************************************************************
4658--  Layer 2  Trap
4659-- ********************************************************************
4660    swL2MgmtMIBTrapPrefix   OBJECT IDENTIFIER ::= { swL2MgmtMIBTraps 0 }
4661
4662    swL2PortSecurityViolationTrap NOTIFICATION-TYPE
4663        OBJECTS         { swL2PortSecurityPortIndex,
4664        		  						swL2PortSecurityViolationMac
4665                        }
4666        STATUS  current
4667        DESCRIPTION
4668            "When the port_security trap is enabled, if there's a new MAC that violates the pre-defined
4669            port security configuration, a trap will be sent out."
4670        ::= { swL2MgmtMIBTrapPrefix 1 }
4671
4672    swL2macNotification NOTIFICATION-TYPE
4673        OBJECTS {
4674              swL2macNotifyInfo
4675        		}
4676        STATUS  current
4677        DESCRIPTION
4678            " This trap indicates the MAC address variations in the address table. "
4679
4680		::= { swL2MgmtMIBTrapPrefix 2 }
4681
4682    swL2PortLoopOccurred  NOTIFICATION-TYPE
4683        OBJECTS
4684             {
4685                swL2LoopDetectPortIndex
4686             }
4687        STATUS current
4688        DESCRIPTION
4689               "The trap is sent when a Port loop occurs."
4690        ::={swL2MgmtMIBTrapPrefix 3}
4691
4692    swL2PortLoopRestart  NOTIFICATION-TYPE
4693        OBJECTS
4694             {
4695                swL2LoopDetectPortIndex
4696             }
4697        STATUS current
4698        DESCRIPTION
4699              "The trap is sent when a Port loop restarts after the interval time."
4700        ::={swL2MgmtMIBTrapPrefix 4}
4701
4702    swL2VlanLoopOccurred  NOTIFICATION-TYPE
4703        OBJECTS
4704             {
4705                swL2LoopDetectPortIndex,
4706                swL2VlanLoopDetectVID
4707             }
4708        STATUS current
4709        DESCRIPTION
4710               "The trap is sent when a Port with a VID loop occurs."
4711        ::={swL2MgmtMIBTrapPrefix 5}
4712
4713    swL2VlanLoopRestart NOTIFICATION-TYPE
4714        OBJECTS
4715             {
4716                swL2LoopDetectPortIndex,
4717                swL2VlanLoopDetectVID
4718             }
4719        STATUS current
4720        DESCRIPTION
4721               "The trap is sent when a Port with a VID loop restarts after the interval time."
4722        ::={swL2MgmtMIBTrapPrefix 6}
4723
4724    swl2PortSecurityBindings OBJECT IDENTIFIER ::= { swL2MgmtMIBTraps 1 }
4725
4726    swL2PortSecurityViolationMac OBJECT-TYPE
4727        SYNTAX  MacAddress
4728        MAX-ACCESS  accessible-for-notify
4729        STATUS  current
4730        DESCRIPTION
4731            "This object indicates the MAC address that violates the port security configuration."
4732        ::= { swl2PortSecurityBindings 1 }
4733
4734   swl2NotificationBindings OBJECT IDENTIFIER ::= { swL2MgmtMIBTraps 2 }
4735
4736   swL2macNotifyInfo   OBJECT-TYPE
4737        SYNTAX  OCTET STRING(SIZE (0..1024))
4738        MAX-ACCESS  read-only
4739        STATUS  current
4740        DESCRIPTION
4741            "This object indicates the last time reboot information.
4742            "
4743        ::= { swl2NotificationBindings 1 }
4744
4745    swL2VlanLoopDetectVID OBJECT-TYPE
4746        SYNTAX INTEGER
4747        MAX-ACCESS  accessible-for-notify
4748        STATUS current
4749        DESCRIPTION
4750             "This object indicates the VID that detected a loopback."
4751        ::= { swl2NotificationBindings 2 }
4752
4753-- ********************************************************************
4754--  swL2LoopDetectMgmt           OBJECT IDENTIFIER ::= { swL2MgmtMIB 21 }
4755-- ********************************************************************
4756
4757    swL2LoopDetectCtrl           OBJECT IDENTIFIER ::= { swL2LoopDetectMgmt 1 }
4758
4759    swL2LoopDetectAdminState OBJECT-TYPE
4760        SYNTAX      INTEGER {
4761                       enabled(1),
4762                       disabled(2)
4763                    }
4764        MAX-ACCESS  read-write
4765        STATUS      current
4766        DESCRIPTION
4767            "This object indicates the loopback detection status for the system."
4768        ::= { swL2LoopDetectCtrl 1 }
4769
4770    swL2LoopDetectInterval OBJECT-TYPE
4771        SYNTAX      INTEGER (1..32767)
4772        MAX-ACCESS  read-write
4773        STATUS      current
4774        DESCRIPTION
4775            "This object indicates the interval value, the range is from 1 to 32767 seconds."
4776        ::= { swL2LoopDetectCtrl 2 }
4777
4778    swL2LoopDetectRecoverTime OBJECT-TYPE
4779        SYNTAX      INTEGER (0..1000000)
4780        MAX-ACCESS  read-write
4781        STATUS      current
4782        DESCRIPTION
4783            "This object indicates the recover time, the range is from 60 to 1000000.
4784             The value of 0 disables the recover function."
4785        ::= { swL2LoopDetectCtrl 3 }
4786
4787    swL2LoopDetectMode OBJECT-TYPE
4788        SYNTAX      INTEGER {
4789                       vlan-based(1),
4790                       port-based(2)
4791                    }
4792        MAX-ACCESS  read-write
4793        STATUS      current
4794        DESCRIPTION
4795            "This object indicates the loopback detection mode for the system."
4796        ::= { swL2LoopDetectCtrl 4 }
4797
4798    swL2LoopDetectTrapMode OBJECT-TYPE
4799        SYNTAX      INTEGER {
4800                       none(1),
4801                       loop-detected(2),
4802                       loop-cleared(3),
4803                       both(4)
4804                    }
4805        MAX-ACCESS  read-write
4806        STATUS      current
4807        DESCRIPTION
4808            "This object indicates the loopback detection trap mode for the system."
4809        ::= { swL2LoopDetectCtrl 5 }
4810
4811-- ----------------------------------------------------------------------------
4812    swL2LoopDetectPortMgmt       OBJECT IDENTIFIER ::= { swL2LoopDetectMgmt 2 }
4813
4814    swL2LoopDetectPortTable OBJECT-TYPE
4815        SYNTAX      SEQUENCE OF SwL2LoopDetectPortEntry
4816        MAX-ACCESS  not-accessible
4817        STATUS      current
4818        DESCRIPTION
4819            "The table specifies the loopback detection function specified by port."
4820        ::= { swL2LoopDetectPortMgmt 1 }
4821
4822    swL2LoopDetectPortEntry OBJECT-TYPE
4823        SYNTAX      SwL2LoopDetectPortEntry
4824        MAX-ACCESS  not-accessible
4825        STATUS      current
4826        DESCRIPTION
4827            "The table specifies the loopback detection function specified by port."
4828        INDEX  { swL2LoopDetectPortIndex }
4829        ::= { swL2LoopDetectPortTable 1 }
4830
4831    SwL2LoopDetectPortEntry ::=
4832        SEQUENCE {
4833            swL2LoopDetectPortIndex
4834                INTEGER,
4835            swL2LoopDetectPortState
4836                INTEGER,
4837            swL2LoopDetectPortLoopVLAN
4838                DisplayString,
4839            swL2LoopDetectPortLoopStatus
4840                INTEGER
4841        }
4842
4843    swL2LoopDetectPortIndex OBJECT-TYPE
4844        SYNTAX      INTEGER (1..65535)
4845        MAX-ACCESS  read-only
4846        STATUS      current
4847        DESCRIPTION
4848            "This object indicates the module's port number. The range is from 1 to
4849             the maximum port number specified in the module"
4850        ::= { swL2LoopDetectPortEntry 1 }
4851
4852    swL2LoopDetectPortState OBJECT-TYPE
4853        SYNTAX      INTEGER {
4854                       enabled(1),
4855                       disabled(2)
4856                    }
4857        MAX-ACCESS  read-write
4858        STATUS      current
4859        DESCRIPTION
4860            "This object indicates the loopback detection function state on the port."
4861        ::= { swL2LoopDetectPortEntry 2 }
4862
4863    swL2LoopDetectPortLoopVLAN OBJECT-TYPE
4864        SYNTAX      DisplayString
4865        MAX-ACCESS  read-only
4866        STATUS      current
4867        DESCRIPTION
4868            "This object indicates the VLAN list that has detected a loopback."
4869        ::= { swL2LoopDetectPortEntry 3 }
4870
4871    swL2LoopDetectPortLoopStatus OBJECT-TYPE
4872        SYNTAX      INTEGER {
4873                       normal(1),
4874                       loop(2),
4875                       error(3),
4876                       none(4)
4877                    }
4878        MAX-ACCESS  read-only
4879        STATUS      current
4880        DESCRIPTION
4881            "This object indicates the port status."
4882        ::= { swL2LoopDetectPortEntry 4 }
4883
4884-- ********************************************************************
4885--  swL2MultiFilter            OBJECT IDENTIFIER ::= { swL2MgmtMIB 2 }
4886-- ********************************************************************
4887   swL2McastFilterTable OBJECT-TYPE
4888     SYNTAX SEQUENCE OF SwL2McastFilterEntry
4889     MAX-ACCESS not-accessible
4890     STATUS current
4891     DESCRIPTION
4892 	" A table that contains information about the multicast filter address."
4893     ::={swL2MultiFilter 2}
4894
4895     swL2McastFilterEntry OBJECT-TYPE
4896     SYNTAX SwL2McastFilterEntry
4897     MAX-ACCESS not-accessible
4898     STATUS current
4899     DESCRIPTION
4900     	"A list of multicast filter mode information for each profile ID. "
4901	INDEX {swL2McastFilterProfileIndex}
4902     ::={swL2McastFilterTable 1}
4903
4904     SwL2McastFilterEntry ::=
4905     SEQUENCE{
4906	swL2McastFilterProfileIndex
4907     		INTEGER,
4908     	swL2McastFilterProfileName
4909     		DisplayString,
4910     	swL2McastFilterAddOrDelState
4911     		INTEGER,
4912     	swL2McastFilterGroupList
4913     		DisplayString,
4914     	swL2McastFilterStatus
4915     	        RowStatus
4916     }
4917
4918    swL2McastFilterProfileIndex OBJECT-TYPE
4919    	SYNTAX INTEGER(1..24)
4920    	MAX-ACCESS read-only
4921    	STATUS current
4922    	DESCRIPTION
4923		" index for each profile"
4924	::={swL2McastFilterEntry 1}
4925
4926    swL2McastFilterProfileName OBJECT-TYPE
4927    	SYNTAX DisplayString(SIZE(1..32))
4928    	MAX-ACCESS read-write
4929    	STATUS current
4930    	DESCRIPTION
4931		"The multicast filter description."
4932    	::={swL2McastFilterEntry 2}
4933
4934    swL2McastFilterAddOrDelState OBJECT-TYPE
4935    	SYNTAX INTEGER{
4936    		none(1),
4937    		add(2),
4938    		delete(3)
4939    	        }
4940    	MAX-ACCESS read-write
4941    	STATUS current
4942    	DESCRIPTION
4943		"The control multicast filter address."
4944	::={swL2McastFilterEntry 3}
4945
4946    swL2McastFilterGroupList OBJECT-TYPE
4947    	SYNTAX DisplayString
4948    	MAX-ACCESS read-write
4949    	STATUS current
4950    	DESCRIPTION
4951		"The multicast filter address group list."
4952    	::={swL2McastFilterEntry 4}
4953
4954   swL2McastFilterStatus OBJECT-TYPE
4955        SYNTAX  RowStatus
4956        MAX-ACCESS  read-create
4957        STATUS  current
4958        DESCRIPTION
4959             "This object indicates the status of this entry."
4960        ::= { swL2McastFilterEntry 5 }
4961
4962
4963
4964--*********************************************************************************
4965   swL2McastFilterPortTable  OBJECT-TYPE
4966     SYNTAX SEQUENCE OF SwL2McastFilterPortEntry
4967     MAX-ACCESS not-accessible
4968     STATUS current
4969     DESCRIPTION
4970 	" A table that is used to bind port to profile ID."
4971     ::={swL2MultiFilter 3}
4972
4973   swL2McastFilterPortEntry OBJECT-TYPE
4974     SYNTAX SwL2McastFilterPortEntry
4975     MAX-ACCESS not-accessible
4976     STATUS current
4977     DESCRIPTION
4978     	"A list of information that is used to bind port to profile ID. "
4979	INDEX {swL2McastFilterPortGroupPortIndex}
4980     ::={swL2McastFilterPortTable 1}
4981
4982     SwL2McastFilterPortEntry ::=
4983     SEQUENCE{
4984	swL2McastFilterPortGroupPortIndex
4985     		INTEGER,
4986     	swL2McastFilterPortProfileAddOrDelState
4987     		 INTEGER,
4988        swL2McastFilterPortProfileID
4989                 INTEGER,
4990  	swL2McastFilterPortAccess
4991  		 INTEGER
4992     }
4993
4994    swL2McastFilterPortGroupPortIndex OBJECT-TYPE
4995    	SYNTAX INTEGER
4996    	MAX-ACCESS read-only
4997    	STATUS current
4998    	DESCRIPTION
4999		"The port index."
5000	::={swL2McastFilterPortEntry 1}
5001
5002    swL2McastFilterPortProfileAddOrDelState OBJECT-TYPE
5003    	SYNTAX INTEGER{
5004    		none(1),
5005    		add(2),
5006    		delete(3)
5007    	        }
5008    	MAX-ACCESS read-write
5009    	STATUS current
5010    	DESCRIPTION
5011		"The control multicast filter profile."
5012	::={swL2McastFilterPortEntry 2}
5013
5014    swL2McastFilterPortProfileID OBJECT-TYPE
5015    	SYNTAX INTEGER(0..24)
5016    	MAX-ACCESS read-write
5017    	STATUS current
5018    	DESCRIPTION
5019		"This object indicates the profile ID of this entry.
5020		  When read, it is always 0.
5021		  When set, 0 can not be set."
5022	::={swL2McastFilterPortEntry 3}
5023    swL2McastFilterPortAccess OBJECT-TYPE
5024    	SYNTAX INTEGER{
5025    				none(0),
5026            permit(1),
5027            deny(2)
5028            }
5029    	MAX-ACCESS read-write
5030    	STATUS current
5031    	DESCRIPTION
5032     "This object indicates the access status for each port.
5033      When read, it is always none.
5034      When set, none can not be set."
5035    	::= {swL2McastFilterPortEntry 4}
5036
5037--*********************************************************************************
5038   swL2McastFilterPortMaxGroupTable OBJECT-TYPE
5039     SYNTAX SEQUENCE OF SwL2McastFilterPortMaxGroupEntry
5040     MAX-ACCESS not-accessible
5041     STATUS current
5042     DESCRIPTION
5043 	" A table that contains information about the max group number based on port."
5044     ::={swL2MultiFilter 4}
5045
5046     swL2McastFilterPortMaxGroupEntry OBJECT-TYPE
5047     SYNTAX SwL2McastFilterPortMaxGroupEntry
5048     MAX-ACCESS not-accessible
5049     STATUS current
5050     DESCRIPTION
5051     	"A list of max group number information for each port."
5052	INDEX {swL2McastFilterPortMaxGroupPortIndex}
5053     ::={swL2McastFilterPortMaxGroupTable 1}
5054
5055     SwL2McastFilterPortMaxGroupEntry ::=
5056     SEQUENCE{
5057	swL2McastFilterPortMaxGroupPortIndex
5058     		INTEGER,
5059     	swL2McastFilterPortMaxGroup
5060     	        INTEGER
5061     }
5062
5063    swL2McastFilterPortMaxGroupPortIndex OBJECT-TYPE
5064    	SYNTAX INTEGER
5065    	MAX-ACCESS read-only
5066    	STATUS current
5067    	DESCRIPTION
5068		"The port index."
5069	::={swL2McastFilterPortMaxGroupEntry 1}
5070
5071   swL2McastFilterPortMaxGroup OBJECT-TYPE
5072        SYNTAX  INTEGER(1..1024)
5073        MAX-ACCESS  read-write
5074        STATUS  current
5075        DESCRIPTION
5076             "The max group numbers. The default is 256."
5077        ::= { swL2McastFilterPortMaxGroupEntry 2 }
5078
5079   swL2McastFilterPortInfoTable  OBJECT-TYPE
5080     SYNTAX SEQUENCE OF SwL2McastFilterPortInfoEntry
5081     MAX-ACCESS not-accessible
5082     STATUS current
5083     DESCRIPTION
5084 	" A table that contains information about all of the multicast groups for the ports."
5085     ::={swL2MultiFilter 5}
5086
5087   swL2McastFilterPortInfoEntry OBJECT-TYPE
5088     SYNTAX SwL2McastFilterPortInfoEntry
5089     MAX-ACCESS not-accessible
5090     STATUS current
5091     DESCRIPTION
5092     	"A list of information about all of the multicast groups for each port."
5093	INDEX {swL2McastFilterPortInfoPortIndex}
5094     ::={swL2McastFilterPortInfoTable 1}
5095
5096     SwL2McastFilterPortInfoEntry ::=
5097     SEQUENCE{
5098	swL2McastFilterPortInfoPortIndex
5099     		INTEGER,
5100     	swL2McastFilterPortInfoProfileID
5101     	        DisplayString,
5102     	swL2McastFilterPortInfoAccess
5103     					INTEGER
5104     }
5105
5106    swL2McastFilterPortInfoPortIndex OBJECT-TYPE
5107    	SYNTAX INTEGER
5108    	MAX-ACCESS read-only
5109    	STATUS current
5110    	DESCRIPTION
5111		"The port index."
5112	::={swL2McastFilterPortInfoEntry 1}
5113
5114     swL2McastFilterPortInfoProfileID OBJECT-TYPE
5115    	SYNTAX DisplayString
5116    	MAX-ACCESS read-only
5117    	STATUS current
5118    	DESCRIPTION
5119		"The multicast filter address profile ID."
5120    	::={swL2McastFilterPortInfoEntry 2}
5121
5122	swL2McastFilterPortInfoAccess OBJECT-TYPE
5123    	SYNTAX INTEGER{
5124            permit(1),
5125            deny(2)
5126            }
5127    	MAX-ACCESS read-only
5128    	STATUS current
5129    	DESCRIPTION
5130     "This object indicates the access status for each port."
5131    	::= {swL2McastFilterPortInfoEntry 3}
5132-- ********************************************************************
5133--  swL2VlanMgmt            OBJECT IDENTIFIER ::= { swL2MgmtMIB 3 }
5134-- ********************************************************************
5135
5136    swL2VlanAdvertisementTable OBJECT-TYPE
5137        SYNTAX  SEQUENCE OF SwL2VlanAdvertisementEntry
5138        MAX-ACCESS  not-accessible
5139        STATUS  current
5140        DESCRIPTION
5141            "A table containing the advertisement state for each
5142             VLAN configured into the device by (local or
5143             network) management."
5144        ::= { swL2VlanMgmt 1 }
5145
5146    swL2VlanAdvertisementEntry OBJECT-TYPE
5147        SYNTAX  SwL2VlanAdvertisementEntry
5148        MAX-ACCESS  not-accessible
5149        STATUS  current
5150        DESCRIPTION
5151            "The advertisement state for each VLAN configured
5152             into the device."
5153        INDEX  { swL2VlanIndex }
5154        ::= { swL2VlanAdvertisementTable 1 }
5155
5156    SwL2VlanAdvertisementEntry ::=
5157        SEQUENCE {
5158            swL2VlanIndex
5159                INTEGER,
5160            swL2VlanName
5161                DisplayString,
5162            swL2VlanAdvertiseState
5163                INTEGER
5164        }
5165
5166    swL2VlanIndex OBJECT-TYPE
5167        SYNTAX      INTEGER (1..4094)
5168        MAX-ACCESS  read-only
5169        STATUS      current
5170        DESCRIPTION
5171            "The VLAN-ID or other identifier referring to this VLAN."
5172        ::= { swL2VlanAdvertisementEntry 1 }
5173
5174    swL2VlanName OBJECT-TYPE
5175        SYNTAX      DisplayString (SIZE (0..32))
5176        MAX-ACCESS  read-only
5177        STATUS      current
5178        DESCRIPTION
5179            "An administratively assigned string, which may be used
5180             to identify the VLAN."
5181        ::= { swL2VlanAdvertisementEntry 2 }
5182
5183    swL2VlanAdvertiseState OBJECT-TYPE
5184        SYNTAX      INTEGER {
5185                      other(1),
5186                      disabled(2),
5187                      enabled(3)
5188                    }
5189        MAX-ACCESS  read-write
5190        STATUS      current
5191        DESCRIPTION
5192            "This object indicates the advertise status of this VLAN entry."
5193        ::= { swL2VlanAdvertisementEntry 3 }
5194
5195    swL2VlanMultiplyMgmt             OBJECT IDENTIFIER ::= { swL2VlanMgmt 2 }
5196
5197    swL2VlanMultiplyVlanList OBJECT-TYPE
5198        SYNTAX      DisplayString (SIZE (0..255))
5199        MAX-ACCESS  read-write
5200        STATUS      current
5201        DESCRIPTION
5202            "This object specifies the VLAN ID List."
5203        ::= { swL2VlanMultiplyMgmt 1 }
5204
5205    swL2VlanMultiplyAdvertisement OBJECT-TYPE
5206        SYNTAX  INTEGER {
5207        	other(1),
5208                enabled(2),
5209                disabled(3)
5210            }
5211        MAX-ACCESS  read-write
5212        STATUS  current
5213        DESCRIPTION
5214            "This object specifies the advertisement state."
5215        ::= { swL2VlanMultiplyMgmt 2 }
5216
5217    swL2VlanMultiplyPortList OBJECT-TYPE
5218        SYNTAX      PortList
5219        MAX-ACCESS  read-write
5220        STATUS      current
5221        DESCRIPTION
5222            "Specifies the port list."
5223        ::= { swL2VlanMultiplyMgmt 3 }
5224
5225    swL2VlanMultiplyPortListAction OBJECT-TYPE
5226         SYNTAX  INTEGER {
5227        	other(1),
5228                add-tagged(2),
5229                add-untagged(3),
5230                add-forbidden(4),
5231                delete(5)
5232            }
5233        MAX-ACCESS  read-write
5234        STATUS      current
5235        DESCRIPTION
5236            "Specifies the action for the port list which specified
5237             by swL2VlanMultiplyPortList."
5238        ::= { swL2VlanMultiplyMgmt 4 }
5239
5240    swL2VlanMultiplyAction OBJECT-TYPE
5241         SYNTAX  INTEGER {
5242        	other(1),
5243                create(2),
5244                configure(3),
5245                delete(4)
5246            }
5247        MAX-ACCESS  read-write
5248        STATUS      current
5249        DESCRIPTION
5250            "Specifies the action for VLANs.
5251             other:     no action.
5252             create:    the VLANs specified by swL2VlanMultiplyVlanList
5253                        would be created at a time.
5254             configure: the VLANs specified by swL2VlanMultiplyVlanList
5255                        would be configured at a time.
5256             delete:    the VLANs specified by swL2VlanMultiplyVlanList
5257                        would be deleted at a time.
5258           "
5259        ::= { swL2VlanMultiplyMgmt 5 }
5260
5261 swL2PVIDAutoAssignmentState OBJECT-TYPE
5262    	SYNTAX	INTEGER {
5263    		enabled(1),
5264    		disabled(2)
5265    	}
5266    	MAX-ACCESS read-write
5267    	STATUS current
5268    	DESCRIPTION
5269    		"This object controls the PVID auto assigment state.
5270    		 If 'Auto-assign PVID' is disabled, PVID only be changed
5271    		 by PVID configuration (user changes explicitly). The VLAN
5272    		 configuration will not automatically change PVID.
5273
5274		 If 'Auto-assign PVID' is enabled, PVID will be possibly
5275		 changed by PVID or VLAN configuration. When user configures
5276		 a port to VLAN X's untagged membership, this port's PVID
5277		 will be updated with VLAN X. In the form of VLAN list command,
5278		 PVID is updated with last item of VLAN list. When user removes
5279		 a port from the untagged membership of the PVID's VLAN, the
5280		 port's PVID will be assigned with 'default VLAN'."
5281    	::= {  swL2VlanMgmt 3}
5282
5283-- ********************************************************************
5284--  swL2DhcpLocalRelayMgmt        OBJECT IDENTIFIER ::= { swL2MgmtMIB 24 }
5285-- ********************************************************************
5286    swL2DhcpLocalRelayState OBJECT-TYPE
5287        SYNTAX  INTEGER {
5288               other(1),
5289               disabled(2),
5290               enabled(3)
5291               }
5292        MAX-ACCESS  read-write
5293        STATUS  current
5294        DESCRIPTION
5295            "This object indicates the status of the DHCP local relay
5296            function of the switch."
5297        ::= { swL2DhcpLocalRelayMgmt 1 }
5298
5299
5300	swL2DhcpLocalRelayVLANTable OBJECT-TYPE
5301     	SYNTAX SEQUENCE OF SwL2DhcpLocalRelayVLANEntry
5302	    MAX-ACCESS not-accessible
5303	    STATUS current
5304	    DESCRIPTION
5305	 		"This table is used to manage the DHCP local relay status
5306	 		for each VLAN."
5307	    ::={ swL2DhcpLocalRelayMgmt 2}
5308
5309	    swL2DhcpLocalRelayVLANEntry OBJECT-TYPE
5310	    SYNTAX SwL2DhcpLocalRelayVLANEntry
5311	    MAX-ACCESS not-accessible
5312	    STATUS current
5313	    DESCRIPTION
5314	    	"This object lists the current VLANs in the switch and their
5315	    	corresponding DHCP local relay status."
5316		INDEX { swL2DhcpLocalRelayVLANID }
5317	    ::={ swL2DhcpLocalRelayVLANTable 1 }
5318
5319     SwL2DhcpLocalRelayVLANEntry ::=
5320     SEQUENCE{
5321		swL2DhcpLocalRelayVLANID
5322     		INTEGER,
5323     	swL2DhcpLocalRelayVLANState
5324     	    INTEGER
5325     }
5326
5327    swL2DhcpLocalRelayVLANID OBJECT-TYPE
5328        SYNTAX  INTEGER (1..4094)
5329        MAX-ACCESS  read-only
5330        STATUS  current
5331        DESCRIPTION
5332            "This object shows the VIDs of the current VLANS in the switch."
5333        ::= { swL2DhcpLocalRelayVLANEntry 1 }
5334
5335    swL2DhcpLocalRelayVLANState OBJECT-TYPE
5336        SYNTAX  INTEGER {
5337               other(1),
5338               disabled(2),
5339               enabled(3)
5340               }
5341        MAX-ACCESS  read-write
5342        STATUS  current
5343        DESCRIPTION
5344            "This object indicates the status of the DHCP relay function
5345            of the VLAN."
5346        ::= { swL2DhcpLocalRelayVLANEntry 2 }
5347
5348END
5349
5350