Initial commit
This commit is contained in:
		
							
								
								
									
										617
									
								
								MIBS/ruijie/MY-ENTITY-MIB
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										617
									
								
								MIBS/ruijie/MY-ENTITY-MIB
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,617 @@
 | 
			
		||||
-- *****************************************************************
 | 
			
		||||
-- MY-ENTITY-MIB.mib:  My Entity MIB file
 | 
			
		||||
--
 | 
			
		||||
-- $Copyright$
 | 
			
		||||
-- 
 | 
			
		||||
-- *****************************************************************
 | 
			
		||||
--
 | 
			
		||||
 | 
			
		||||
MY-ENTITY-MIB DEFINITIONS ::= BEGIN
 | 
			
		||||
 | 
			
		||||
IMPORTS
 | 
			
		||||
        MODULE-IDENTITY,
 | 
			
		||||
        OBJECT-TYPE,
 | 
			
		||||
        NOTIFICATION-TYPE,
 | 
			
		||||
        Integer32,
 | 
			
		||||
        Counter32
 | 
			
		||||
                FROM SNMPv2-SMI
 | 
			
		||||
        TruthValue,
 | 
			
		||||
        DisplayString,
 | 
			
		||||
        RowStatus,
 | 
			
		||||
        MacAddress
 | 
			
		||||
                FROM SNMPv2-TC
 | 
			
		||||
        MODULE-COMPLIANCE,
 | 
			
		||||
        OBJECT-GROUP,
 | 
			
		||||
        NOTIFICATION-GROUP
 | 
			
		||||
                FROM SNMPv2-CONF
 | 
			
		||||
        myMgmt
 | 
			
		||||
                FROM MY-SMI;
 | 
			
		||||
 | 
			
		||||
myEntityMIB MODULE-IDENTITY
 | 
			
		||||
	LAST-UPDATED "200203200000Z"
 | 
			
		||||
	ORGANIZATION "$Company$"
 | 
			
		||||
	CONTACT-INFO
 | 
			
		||||
		" 
 | 
			
		||||
		Tel: $Telephone$ 
 | 
			
		||||
 | 
			
		||||
		E-mail: $E-mail$"
 | 
			
		||||
	DESCRIPTION
 | 
			
		||||
		"This module defines my entity mibs."
 | 
			
		||||
	REVISION      "200203200000Z"
 | 
			
		||||
	DESCRIPTION
 | 
			
		||||
		"Initial version of this MIB module."
 | 
			
		||||
	::= { myMgmt 21}
 | 
			
		||||
 | 
			
		||||
myDeviceMIBObjects OBJECT IDENTIFIER ::= { myEntityMIB 1 }
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
--
 | 
			
		||||
-- device information
 | 
			
		||||
--
 | 
			
		||||
myDeviceMaxNumber OBJECT-TYPE
 | 
			
		||||
          SYNTAX Integer32
 | 
			
		||||
          MAX-ACCESS read-only
 | 
			
		||||
          STATUS current
 | 
			
		||||
          DESCRIPTION
 | 
			
		||||
              "Max number of devices of the system permitting."
 | 
			
		||||
          ::= { myDeviceMIBObjects 1 }
 | 
			
		||||
        
 | 
			
		||||
myDeviceInfoTable OBJECT-TYPE
 | 
			
		||||
        SYNTAX SEQUENCE OF MyDeviceInfoEntry
 | 
			
		||||
        MAX-ACCESS not-accessible
 | 
			
		||||
        STATUS current
 | 
			
		||||
        DESCRIPTION
 | 
			
		||||
            "List of devices."
 | 
			
		||||
        ::= { myDeviceMIBObjects 2 }
 | 
			
		||||
        
 | 
			
		||||
myDeviceInfoEntry OBJECT-TYPE
 | 
			
		||||
        SYNTAX MyDeviceInfoEntry
 | 
			
		||||
        MAX-ACCESS not-accessible
 | 
			
		||||
        STATUS current
 | 
			
		||||
        DESCRIPTION
 | 
			
		||||
            "Entry of a device information."
 | 
			
		||||
        INDEX { myDeviceInfoIndex }
 | 
			
		||||
        ::= { myDeviceInfoTable 1 }
 | 
			
		||||
    
 | 
			
		||||
MyDeviceInfoEntry ::=
 | 
			
		||||
        SEQUENCE {
 | 
			
		||||
	       myDeviceInfoIndex Integer32,
 | 
			
		||||
	       myDeviceInfoDescr DisplayString,
 | 
			
		||||
	       myDeviceInfoSlotNumber Integer32,
 | 
			
		||||
               myDevicePowerStatus  INTEGER,
 | 
			
		||||
	       myDeviceMacAddress MacAddress,
 | 
			
		||||
               myDevicePriority Integer32,
 | 
			
		||||
               myDeviceAlias  DisplayString,
 | 
			
		||||
               myDeviceSWVersion DisplayString,
 | 
			
		||||
               myDeviceHWVersion DisplayString                   
 | 
			
		||||
        }
 | 
			
		||||
        
 | 
			
		||||
myDeviceInfoIndex OBJECT-TYPE
 | 
			
		||||
        SYNTAX Integer32
 | 
			
		||||
        MAX-ACCESS read-only
 | 
			
		||||
        STATUS current
 | 
			
		||||
        DESCRIPTION
 | 
			
		||||
            "An unique value of each devices in system. Its value ranges between
 | 
			
		||||
            1 and the value of the object myDeviceNumber."
 | 
			
		||||
        ::= { myDeviceInfoEntry 1 }
 | 
			
		||||
              
 | 
			
		||||
myDeviceInfoDescr OBJECT-TYPE
 | 
			
		||||
        SYNTAX DisplayString (SIZE(0..32))
 | 
			
		||||
        MAX-ACCESS read-only
 | 
			
		||||
        STATUS current
 | 
			
		||||
        DESCRIPTION
 | 
			
		||||
            "Description of the device."
 | 
			
		||||
        ::= { myDeviceInfoEntry 2 }
 | 
			
		||||
        
 | 
			
		||||
myDeviceInfoSlotNumber OBJECT-TYPE
 | 
			
		||||
        SYNTAX Integer32
 | 
			
		||||
        MAX-ACCESS read-only
 | 
			
		||||
        STATUS current
 | 
			
		||||
        DESCRIPTION
 | 
			
		||||
            "The number of slots exists on the device."
 | 
			
		||||
        ::= { myDeviceInfoEntry 3 }
 | 
			
		||||
        
 | 
			
		||||
          
 | 
			
		||||
myDevicePowerStatus OBJECT-TYPE
 | 
			
		||||
          SYNTAX  INTEGER {
 | 
			
		||||
                    rpsNoLink   (1), -- no rps link or rps not electrifying,
 | 
			
		||||
                    rpsLinkAndNoPower (2), -- rps linked but not electrifying,
 | 
			
		||||
                    rpsLinkAndReadyForPower (3), -- rps is ready for power,
 | 
			
		||||
                    rpsLinkAndPower (4)  -- rps is serving as a power
 | 
			
		||||
                }
 | 
			
		||||
          MAX-ACCESS read-only
 | 
			
		||||
          STATUS current
 | 
			
		||||
          DESCRIPTION
 | 
			
		||||
              "The power status of device"
 | 
			
		||||
          ::= { myDeviceInfoEntry 4 }
 | 
			
		||||
        
 | 
			
		||||
myDeviceMacAddress OBJECT-TYPE
 | 
			
		||||
          SYNTAX  MacAddress
 | 
			
		||||
          MAX-ACCESS read-only
 | 
			
		||||
          STATUS current
 | 
			
		||||
          DESCRIPTION
 | 
			
		||||
              "The physical address of device"
 | 
			
		||||
          ::= { myDeviceInfoEntry 5 }
 | 
			
		||||
 | 
			
		||||
myDevicePriority OBJECT-TYPE
 | 
			
		||||
          SYNTAX  Integer32(1..10)
 | 
			
		||||
          MAX-ACCESS read-write
 | 
			
		||||
          STATUS current
 | 
			
		||||
          DESCRIPTION
 | 
			
		||||
              "The device priority value"
 | 
			
		||||
          ::= { myDeviceInfoEntry 6 }
 | 
			
		||||
          
 | 
			
		||||
myDeviceAlias OBJECT-TYPE
 | 
			
		||||
        SYNTAX DisplayString (SIZE(0..32))
 | 
			
		||||
        MAX-ACCESS read-write
 | 
			
		||||
        STATUS current
 | 
			
		||||
        DESCRIPTION
 | 
			
		||||
            "Alias of the device."
 | 
			
		||||
        ::= { myDeviceInfoEntry 7 }     
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
myDeviceSWVersion OBJECT-TYPE
 | 
			
		||||
        SYNTAX DisplayString (SIZE(1..32))
 | 
			
		||||
        MAX-ACCESS read-only
 | 
			
		||||
        STATUS current
 | 
			
		||||
        DESCRIPTION
 | 
			
		||||
            "Description of the device."
 | 
			
		||||
        ::= { myDeviceInfoEntry 8 }
 | 
			
		||||
        
 | 
			
		||||
myDeviceHWVersion OBJECT-TYPE
 | 
			
		||||
        SYNTAX DisplayString (SIZE(1..32))
 | 
			
		||||
        MAX-ACCESS read-only
 | 
			
		||||
        STATUS current
 | 
			
		||||
        DESCRIPTION
 | 
			
		||||
            "Description of the device."
 | 
			
		||||
        ::= { myDeviceInfoEntry 9 }                  
 | 
			
		||||
       
 | 
			
		||||
--
 | 
			
		||||
-- module information  
 | 
			
		||||
--
 | 
			
		||||
--myModuleNumber OBJECT-TYPE
 | 
			
		||||
--        SYNTAX Integer32
 | 
			
		||||
--        MAX-ACCESS read-only
 | 
			
		||||
--        STATUS current
 | 
			
		||||
--        DESCRIPTION
 | 
			
		||||
--            "Current number of modules in the system."
 | 
			
		||||
--        ::= { myDeviceMIBObjects 2 }
 | 
			
		||||
 | 
			
		||||
mySlotInfoTable OBJECT-TYPE
 | 
			
		||||
        SYNTAX SEQUENCE OF MySlotInfoEntry
 | 
			
		||||
        MAX-ACCESS not-accessible
 | 
			
		||||
        STATUS current
 | 
			
		||||
        DESCRIPTION
 | 
			
		||||
            "a list of module Entries."
 | 
			
		||||
        ::= { myDeviceMIBObjects 3 }
 | 
			
		||||
    
 | 
			
		||||
mySlotInfoEntry OBJECT-TYPE
 | 
			
		||||
        SYNTAX MySlotInfoEntry
 | 
			
		||||
        MAX-ACCESS not-accessible
 | 
			
		||||
        STATUS current
 | 
			
		||||
        DESCRIPTION
 | 
			
		||||
            "Entry containing status information about one slot."
 | 
			
		||||
        INDEX { mySlotInfoDeviceIndex, mySlotInfoIndex }
 | 
			
		||||
        ::= { mySlotInfoTable 1 }
 | 
			
		||||
 | 
			
		||||
MySlotInfoEntry ::= 
 | 
			
		||||
        SEQUENCE {
 | 
			
		||||
             mySlotInfoDeviceIndex Integer32,
 | 
			
		||||
             mySlotInfoIndex Integer32,
 | 
			
		||||
             mySlotModuleInfoDescr DisplayString,
 | 
			
		||||
             mySlotInfoPortNumber Integer32,
 | 
			
		||||
             mySlotInfoPortMaxNumber Integer32,
 | 
			
		||||
             mySlotInfoDesc  DisplayString
 | 
			
		||||
        }
 | 
			
		||||
    
 | 
			
		||||
mySlotInfoDeviceIndex OBJECT-TYPE
 | 
			
		||||
        SYNTAX Integer32
 | 
			
		||||
        MAX-ACCESS read-only
 | 
			
		||||
        STATUS current
 | 
			
		||||
        DESCRIPTION
 | 
			
		||||
            "The index of the device, that the slot exists on."
 | 
			
		||||
        ::= { mySlotInfoEntry 1 }
 | 
			
		||||
    
 | 
			
		||||
mySlotInfoIndex OBJECT-TYPE
 | 
			
		||||
        SYNTAX Integer32
 | 
			
		||||
        MAX-ACCESS read-only
 | 
			
		||||
        STATUS current
 | 
			
		||||
        DESCRIPTION
 | 
			
		||||
            "A unique value for each slot exist on the device specified by
 | 
			
		||||
            the field mySlotInfoDeviceIndex, Its value ranges
 | 
			
		||||
            between 1 and the value of the solt num  of this device."
 | 
			
		||||
        ::= { mySlotInfoEntry 2 }
 | 
			
		||||
    
 | 
			
		||||
mySlotModuleInfoDescr OBJECT-TYPE
 | 
			
		||||
        SYNTAX DisplayString
 | 
			
		||||
        MAX-ACCESS read-only
 | 
			
		||||
        STATUS current
 | 
			
		||||
        DESCRIPTION
 | 
			
		||||
            "Descriptions for the module in the Slot. just like 's1902m' etc. It is a 
 | 
			
		||||
             unique value for identifing a kind of module.This value will be null string
 | 
			
		||||
             if slot is empty is NULL"
 | 
			
		||||
        ::= { mySlotInfoEntry 3 }
 | 
			
		||||
    
 | 
			
		||||
mySlotInfoPortNumber OBJECT-TYPE
 | 
			
		||||
        SYNTAX Integer32
 | 
			
		||||
        MAX-ACCESS read-only
 | 
			
		||||
        STATUS current
 | 
			
		||||
        DESCRIPTION
 | 
			
		||||
            "Number of ports on this slot.This value will be 0  if slot is empty"
 | 
			
		||||
        ::= { mySlotInfoEntry 4 }
 | 
			
		||||
 | 
			
		||||
mySlotInfoPortMaxNumber OBJECT-TYPE
 | 
			
		||||
        SYNTAX Integer32
 | 
			
		||||
        MAX-ACCESS read-only
 | 
			
		||||
        STATUS current
 | 
			
		||||
        DESCRIPTION
 | 
			
		||||
            "Max number of ports on this slot has possibly."
 | 
			
		||||
        ::= { mySlotInfoEntry 5 }
 | 
			
		||||
                      
 | 
			
		||||
mySlotInfoDesc OBJECT-TYPE
 | 
			
		||||
        SYNTAX  DisplayString(SIZE(0..32))
 | 
			
		||||
        MAX-ACCESS read-only
 | 
			
		||||
        STATUS current
 | 
			
		||||
        DESCRIPTION
 | 
			
		||||
            "Description of the slot,the same as the pannel show."
 | 
			
		||||
        ::= { mySlotInfoEntry 6 }
 | 
			
		||||
--
 | 
			
		||||
--ModuleTempState
 | 
			
		||||
--          
 | 
			
		||||
myModuleTempStateTable OBJECT-TYPE
 | 
			
		||||
        SYNTAX SEQUENCE OF MyModuleTempStateEntry
 | 
			
		||||
        MAX-ACCESS not-accessible
 | 
			
		||||
        STATUS current
 | 
			
		||||
        DESCRIPTION
 | 
			
		||||
            ""
 | 
			
		||||
        ::= { myDeviceMIBObjects 4 }
 | 
			
		||||
    
 | 
			
		||||
myModuleTempStateEntry OBJECT-TYPE
 | 
			
		||||
        SYNTAX MyModuleTempStateEntry
 | 
			
		||||
        MAX-ACCESS not-accessible
 | 
			
		||||
        STATUS current
 | 
			
		||||
        DESCRIPTION
 | 
			
		||||
            ""
 | 
			
		||||
        INDEX { myModuleTempStateDeviceIndex, myModuleTempStateIndex }
 | 
			
		||||
        ::= { myModuleTempStateTable 1 }
 | 
			
		||||
 | 
			
		||||
MyModuleTempStateEntry ::= 
 | 
			
		||||
        SEQUENCE {
 | 
			
		||||
	     myModuleTempStateDeviceIndex Integer32, 
 | 
			
		||||
             myModuleTempStateIndex Integer32,
 | 
			
		||||
             myModuleTempState  INTEGER
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
myModuleTempStateDeviceIndex OBJECT-TYPE
 | 
			
		||||
        SYNTAX Integer32
 | 
			
		||||
        MAX-ACCESS read-only
 | 
			
		||||
        STATUS current
 | 
			
		||||
        DESCRIPTION
 | 
			
		||||
            ""
 | 
			
		||||
        ::= { myModuleTempStateEntry 1 }
 | 
			
		||||
  
 | 
			
		||||
myModuleTempStateIndex OBJECT-TYPE
 | 
			
		||||
        SYNTAX Integer32
 | 
			
		||||
        MAX-ACCESS read-only
 | 
			
		||||
        STATUS current
 | 
			
		||||
        DESCRIPTION
 | 
			
		||||
            ""
 | 
			
		||||
        ::= { myModuleTempStateEntry 2 }
 | 
			
		||||
    
 | 
			
		||||
myModuleTempState OBJECT-TYPE
 | 
			
		||||
        SYNTAX INTEGER{
 | 
			
		||||
        	tempNormal(1),
 | 
			
		||||
        	tempWarning(2)
 | 
			
		||||
        }
 | 
			
		||||
        MAX-ACCESS read-only
 | 
			
		||||
        STATUS current
 | 
			
		||||
        DESCRIPTION
 | 
			
		||||
            ""
 | 
			
		||||
        ::= { myModuleTempStateEntry 3 }
 | 
			
		||||
 | 
			
		||||
myPowerStateTable OBJECT-TYPE
 | 
			
		||||
        SYNTAX SEQUENCE OF MyPowerStateEntry
 | 
			
		||||
        MAX-ACCESS not-accessible
 | 
			
		||||
        STATUS current
 | 
			
		||||
        DESCRIPTION
 | 
			
		||||
            ""
 | 
			
		||||
        ::= { myDeviceMIBObjects 5 }
 | 
			
		||||
    
 | 
			
		||||
myPowerStateEntry OBJECT-TYPE
 | 
			
		||||
        SYNTAX MyPowerStateEntry
 | 
			
		||||
        MAX-ACCESS not-accessible
 | 
			
		||||
        STATUS current
 | 
			
		||||
        DESCRIPTION
 | 
			
		||||
            ""
 | 
			
		||||
        INDEX { myPowerStateDeviceIndex, myPowerStateIndex }
 | 
			
		||||
        ::= { myPowerStateTable 1 }
 | 
			
		||||
 | 
			
		||||
MyPowerStateEntry ::= 
 | 
			
		||||
        SEQUENCE {
 | 
			
		||||
	     myPowerStateDeviceIndex Integer32,
 | 
			
		||||
             myPowerStateIndex Integer32,
 | 
			
		||||
             myPowerState  INTEGER
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
myPowerStateDeviceIndex OBJECT-TYPE
 | 
			
		||||
        SYNTAX Integer32
 | 
			
		||||
        MAX-ACCESS read-only
 | 
			
		||||
        STATUS current
 | 
			
		||||
        DESCRIPTION
 | 
			
		||||
            ""
 | 
			
		||||
        ::= { myPowerStateEntry 1 }
 | 
			
		||||
    
 | 
			
		||||
myPowerStateIndex OBJECT-TYPE
 | 
			
		||||
        SYNTAX Integer32
 | 
			
		||||
        MAX-ACCESS read-only
 | 
			
		||||
        STATUS current
 | 
			
		||||
        DESCRIPTION
 | 
			
		||||
            ""
 | 
			
		||||
        ::= { myPowerStateEntry 2 }
 | 
			
		||||
    
 | 
			
		||||
myPowerState OBJECT-TYPE
 | 
			
		||||
        SYNTAX INTEGER{
 | 
			
		||||
        	noLink(1),                 --no exist
 | 
			
		||||
        	linkAndNoPower(2),         --exist but no power
 | 
			
		||||
        	linkAndReadyForPower(3),   --exist and ready for power
 | 
			
		||||
        	linkAndPower(4),           --normal power 
 | 
			
		||||
		linkAndPowerAbnormal(5)    --power,but abnormal at fan
 | 
			
		||||
        }
 | 
			
		||||
        MAX-ACCESS read-only
 | 
			
		||||
        STATUS current
 | 
			
		||||
        DESCRIPTION
 | 
			
		||||
            ""
 | 
			
		||||
        ::= { myPowerStateEntry 3 }
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
myFanStateTable OBJECT-TYPE
 | 
			
		||||
        SYNTAX SEQUENCE OF MyFanStateEntry
 | 
			
		||||
        MAX-ACCESS not-accessible
 | 
			
		||||
        STATUS current
 | 
			
		||||
        DESCRIPTION
 | 
			
		||||
            ""
 | 
			
		||||
        ::= { myDeviceMIBObjects 6 }
 | 
			
		||||
    
 | 
			
		||||
myFanStateEntry OBJECT-TYPE
 | 
			
		||||
        SYNTAX MyFanStateEntry
 | 
			
		||||
        MAX-ACCESS not-accessible
 | 
			
		||||
        STATUS current
 | 
			
		||||
        DESCRIPTION
 | 
			
		||||
            ""
 | 
			
		||||
        INDEX {  myFanStateDeviceIndex, myFanStateIndex }
 | 
			
		||||
        ::= { myFanStateTable 1 }
 | 
			
		||||
 | 
			
		||||
MyFanStateEntry ::= 
 | 
			
		||||
        SEQUENCE {
 | 
			
		||||
	     myFanStateDeviceIndex Integer32,
 | 
			
		||||
             myFanStateIndex Integer32,
 | 
			
		||||
             myFanState  INTEGER
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
myFanStateDeviceIndex OBJECT-TYPE
 | 
			
		||||
        SYNTAX Integer32
 | 
			
		||||
        MAX-ACCESS read-only
 | 
			
		||||
        STATUS current
 | 
			
		||||
        DESCRIPTION
 | 
			
		||||
            ""
 | 
			
		||||
        ::= { myFanStateEntry 1 }
 | 
			
		||||
    
 | 
			
		||||
myFanStateIndex OBJECT-TYPE
 | 
			
		||||
        SYNTAX Integer32
 | 
			
		||||
        MAX-ACCESS read-only
 | 
			
		||||
        STATUS current
 | 
			
		||||
        DESCRIPTION
 | 
			
		||||
            ""
 | 
			
		||||
        ::= { myFanStateEntry 2 }
 | 
			
		||||
    
 | 
			
		||||
myFanState OBJECT-TYPE
 | 
			
		||||
        SYNTAX INTEGER{
 | 
			
		||||
        	work(1),      --fan working
 | 
			
		||||
        	stop(2)      --fan stopping or no exist 
 | 
			
		||||
        }
 | 
			
		||||
        MAX-ACCESS read-only
 | 
			
		||||
        STATUS current
 | 
			
		||||
        DESCRIPTION
 | 
			
		||||
            ""
 | 
			
		||||
        ::= { myFanStateEntry 3 }
 | 
			
		||||
           
 | 
			
		||||
 | 
			
		||||
myEntityMIBTraps OBJECT IDENTIFIER ::= { myEntityMIB 2 }      
 | 
			
		||||
 | 
			
		||||
myEntityStateChgDesc OBJECT-TYPE
 | 
			
		||||
        SYNTAX DisplayString
 | 
			
		||||
        MAX-ACCESS accessible-for-notify
 | 
			
		||||
        STATUS current
 | 
			
		||||
        DESCRIPTION
 | 
			
		||||
          "The description of entity change."
 | 
			
		||||
        ::= { myEntityMIBTraps 1 }       
 | 
			
		||||
        
 | 
			
		||||
myEntityStatusChange NOTIFICATION-TYPE
 | 
			
		||||
        OBJECTS   {myEntityStateChgDesc}
 | 
			
		||||
        STATUS     current
 | 
			
		||||
        DESCRIPTION
 | 
			
		||||
                "while status of the entity changed, then this trap will be sent."
 | 
			
		||||
        ::= { myEntityMIBTraps 2 }                    
 | 
			
		||||
        
 | 
			
		||||
myTemperatureWarningDesc OBJECT-TYPE
 | 
			
		||||
        SYNTAX DisplayString (SIZE(0..256)) 
 | 
			
		||||
        MAX-ACCESS accessible-for-notify
 | 
			
		||||
        STATUS current
 | 
			
		||||
        DESCRIPTION
 | 
			
		||||
          ""
 | 
			
		||||
        ::= { myEntityMIBTraps 3 }       
 | 
			
		||||
        
 | 
			
		||||
myTemperatureWarning NOTIFICATION-TYPE
 | 
			
		||||
        OBJECTS   { myTemperatureWarningDesc }
 | 
			
		||||
        STATUS     current
 | 
			
		||||
        DESCRIPTION
 | 
			
		||||
                ""
 | 
			
		||||
        ::= { myEntityMIBTraps 4 }
 | 
			
		||||
        
 | 
			
		||||
        
 | 
			
		||||
-- conformance information
 | 
			
		||||
 | 
			
		||||
myDeviceMIBConformance OBJECT IDENTIFIER ::= { myEntityMIB 3 }
 | 
			
		||||
myDeviceMIBCompliances OBJECT IDENTIFIER ::= { myDeviceMIBConformance 1 }
 | 
			
		||||
myDeviceMIBGroups      OBJECT IDENTIFIER ::= { myDeviceMIBConformance 2 }
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
-- compliance statements
 | 
			
		||||
 | 
			
		||||
myDeviceMIBCompliance MODULE-COMPLIANCE
 | 
			
		||||
        STATUS  current
 | 
			
		||||
        DESCRIPTION
 | 
			
		||||
                "The compliance statement for entities which implement
 | 
			
		||||
                the My Device MIB"
 | 
			
		||||
        MODULE  -- this module
 | 
			
		||||
                MANDATORY-GROUPS { myDeviceInfoMIBGroup,
 | 
			
		||||
                                   myModuleInfoMIBGroup
 | 
			
		||||
                 }
 | 
			
		||||
                 GROUP      myOptionalDevInfoMIBGroup
 | 
			
		||||
                 DESCRIPTION
 | 
			
		||||
                     "This group is optional for those system which support device priority,alias and macaddress 
 | 
			
		||||
                      information"  
 | 
			
		||||
                 
 | 
			
		||||
                 GROUP      myEntityChgDescGroup
 | 
			
		||||
                 DESCRIPTION
 | 
			
		||||
                     "This group is mandatory only for those system which support entity
 | 
			
		||||
                     change notification."  
 | 
			
		||||
                                      
 | 
			
		||||
                GROUP       myDeviceMIBNotificationGroup
 | 
			
		||||
                DESCRIPTION
 | 
			
		||||
                     "This group is mandatory only for those system which support entity
 | 
			
		||||
                     change notification."  
 | 
			
		||||
                      
 | 
			
		||||
                GROUP   myModuleTempStateGroup
 | 
			
		||||
		DESCRIPTION  
 | 
			
		||||
                     ""   
 | 
			
		||||
 | 
			
		||||
                GROUP   myPowerStateGroup
 | 
			
		||||
		DESCRIPTION  
 | 
			
		||||
                     ""   
 | 
			
		||||
 | 
			
		||||
                GROUP   myFanStateGroup
 | 
			
		||||
		DESCRIPTION  
 | 
			
		||||
                     ""
 | 
			
		||||
  
 | 
			
		||||
		GROUP  myTemperatureWarningDescGroup 
 | 
			
		||||
		DESCRIPTION
 | 
			
		||||
                      ""
 | 
			
		||||
 | 
			
		||||
                GROUP   myTemperatureWarningGroup
 | 
			
		||||
                DESCRIPTION 
 | 
			
		||||
                      ""
 | 
			
		||||
 | 
			
		||||
        ::= { myDeviceMIBCompliances 1 }
 | 
			
		||||
                
 | 
			
		||||
-- units of conformance
 | 
			
		||||
 | 
			
		||||
myDeviceInfoMIBGroup OBJECT-GROUP
 | 
			
		||||
        OBJECTS {
 | 
			
		||||
          myDeviceMaxNumber, 
 | 
			
		||||
	       myDeviceInfoIndex,
 | 
			
		||||
	       myDeviceInfoDescr,
 | 
			
		||||
	       myDeviceInfoSlotNumber,
 | 
			
		||||
	       myDevicePowerStatus
 | 
			
		||||
        }
 | 
			
		||||
        STATUS  current
 | 
			
		||||
        DESCRIPTION
 | 
			
		||||
                "A collection of objects providing device information to a
 | 
			
		||||
                My agent."
 | 
			
		||||
        ::= { myDeviceMIBGroups 1 } 
 | 
			
		||||
 | 
			
		||||
myOptionalDevInfoMIBGroup OBJECT-GROUP
 | 
			
		||||
        OBJECTS {
 | 
			
		||||
	       myDeviceMacAddress,
 | 
			
		||||
	       myDevicePriority,
 | 
			
		||||
	       myDeviceAlias,
 | 
			
		||||
               myDeviceSWVersion,
 | 
			
		||||
               myDeviceHWVersion
 | 
			
		||||
        }
 | 
			
		||||
        STATUS  current
 | 
			
		||||
        DESCRIPTION
 | 
			
		||||
                "A collection of objects providing optional device information to a
 | 
			
		||||
                My agent."
 | 
			
		||||
        ::= { myDeviceMIBGroups 2 } 
 | 
			
		||||
        
 | 
			
		||||
myModuleInfoMIBGroup OBJECT-GROUP
 | 
			
		||||
        OBJECTS {
 | 
			
		||||
             mySlotInfoDeviceIndex,
 | 
			
		||||
             mySlotInfoIndex,
 | 
			
		||||
             mySlotModuleInfoDescr,
 | 
			
		||||
             mySlotInfoPortNumber,
 | 
			
		||||
             mySlotInfoPortMaxNumber,
 | 
			
		||||
	     mySlotInfoDesc 	
 | 
			
		||||
        }
 | 
			
		||||
        STATUS  current
 | 
			
		||||
        DESCRIPTION
 | 
			
		||||
                "A collection of objects providing module information to a
 | 
			
		||||
                My agent."
 | 
			
		||||
        ::= { myDeviceMIBGroups 3 }                
 | 
			
		||||
                               
 | 
			
		||||
myEntityChgDescGroup OBJECT-GROUP
 | 
			
		||||
        OBJECTS {myEntityStateChgDesc}
 | 
			
		||||
        STATUS  current
 | 
			
		||||
        DESCRIPTION
 | 
			
		||||
                "Objects that providing a literal description of entity's change."
 | 
			
		||||
        ::= { myDeviceMIBGroups 4 }             
 | 
			
		||||
        
 | 
			
		||||
myDeviceMIBNotificationGroup NOTIFICATION-GROUP
 | 
			
		||||
    NOTIFICATIONS {myEntityStatusChange}
 | 
			
		||||
    STATUS        current
 | 
			
		||||
    DESCRIPTION
 | 
			
		||||
            "The collection of notifications which used to inform entity general status information"
 | 
			
		||||
    ::= { myDeviceMIBGroups 5}
 | 
			
		||||
 | 
			
		||||
myModuleTempStateGroup OBJECT-GROUP
 | 
			
		||||
        OBJECTS {
 | 
			
		||||
	     myModuleTempStateDeviceIndex, 
 | 
			
		||||
             myModuleTempStateIndex,
 | 
			
		||||
             myModuleTempState
 | 
			
		||||
		}
 | 
			
		||||
        STATUS  current
 | 
			
		||||
        DESCRIPTION
 | 
			
		||||
                ""
 | 
			
		||||
        ::= { myDeviceMIBGroups 6 }             
 | 
			
		||||
 | 
			
		||||
myPowerStateGroup OBJECT-GROUP
 | 
			
		||||
        OBJECTS {
 | 
			
		||||
	     myPowerStateDeviceIndex,
 | 
			
		||||
             myPowerStateIndex,
 | 
			
		||||
             myPowerState
 | 
			
		||||
		}
 | 
			
		||||
        STATUS  current
 | 
			
		||||
        DESCRIPTION
 | 
			
		||||
                "."
 | 
			
		||||
        ::= { myDeviceMIBGroups 7 } 
 | 
			
		||||
            
 | 
			
		||||
myFanStateGroup OBJECT-GROUP
 | 
			
		||||
        OBJECTS {
 | 
			
		||||
	     myFanStateDeviceIndex,
 | 
			
		||||
             myFanStateIndex,
 | 
			
		||||
             myFanState
 | 
			
		||||
		}
 | 
			
		||||
        STATUS  current
 | 
			
		||||
        DESCRIPTION
 | 
			
		||||
                ""
 | 
			
		||||
        ::= { myDeviceMIBGroups 8 }   
 | 
			
		||||
 | 
			
		||||
myTemperatureWarningDescGroup OBJECT-GROUP
 | 
			
		||||
        OBJECTS { myTemperatureWarningDesc }
 | 
			
		||||
        STATUS  current
 | 
			
		||||
        DESCRIPTION
 | 
			
		||||
                ""
 | 
			
		||||
        ::= { myDeviceMIBGroups 9 } 
 | 
			
		||||
 | 
			
		||||
myTemperatureWarningGroup NOTIFICATION-GROUP
 | 
			
		||||
	NOTIFICATIONS { myTemperatureWarning }
 | 
			
		||||
	STATUS        current
 | 
			
		||||
	DESCRIPTION
 | 
			
		||||
            ""
 | 
			
		||||
    ::= { myDeviceMIBGroups 10}
 | 
			
		||||
          
 | 
			
		||||
 | 
			
		||||
-- definitions in RFC 1213 made
 | 
			
		||||
 | 
			
		||||
        
 | 
			
		||||
END
 | 
			
		||||
							
								
								
									
										256
									
								
								MIBS/ruijie/MY-FILE-MIB
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										256
									
								
								MIBS/ruijie/MY-FILE-MIB
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,256 @@
 | 
			
		||||
-- *****************************************************************
 | 
			
		||||
-- MY-FILE-MIB.mib:  My File MIB file
 | 
			
		||||
--
 | 
			
		||||
-- $Copyright$
 | 
			
		||||
-- 
 | 
			
		||||
-- *****************************************************************
 | 
			
		||||
--
 | 
			
		||||
 | 
			
		||||
MY-FILE-MIB DEFINITIONS ::= BEGIN
 | 
			
		||||
 | 
			
		||||
IMPORTS
 | 
			
		||||
        MODULE-IDENTITY,
 | 
			
		||||
        OBJECT-TYPE,
 | 
			
		||||
        NOTIFICATION-TYPE,
 | 
			
		||||
        Integer32,
 | 
			
		||||
        Counter32
 | 
			
		||||
                FROM SNMPv2-SMI
 | 
			
		||||
        TruthValue,
 | 
			
		||||
        DisplayString,
 | 
			
		||||
        RowStatus
 | 
			
		||||
                FROM SNMPv2-TC
 | 
			
		||||
        MODULE-COMPLIANCE,
 | 
			
		||||
        OBJECT-GROUP
 | 
			
		||||
                FROM SNMPv2-CONF
 | 
			
		||||
        myMgmt
 | 
			
		||||
                FROM MY-SMI;
 | 
			
		||||
 | 
			
		||||
myFileMIB MODULE-IDENTITY
 | 
			
		||||
        LAST-UPDATED "200203200000Z"
 | 
			
		||||
        ORGANIZATION "$Company$"
 | 
			
		||||
        CONTACT-INFO
 | 
			
		||||
                " 
 | 
			
		||||
                Tel: $Telephone$ 
 | 
			
		||||
 | 
			
		||||
                E-mail: $E-mail$"
 | 
			
		||||
        DESCRIPTION
 | 
			
		||||
                "This module defines my file mibs."
 | 
			
		||||
        REVISION      "200203200000Z"
 | 
			
		||||
        DESCRIPTION
 | 
			
		||||
                "Initial version of this MIB module."
 | 
			
		||||
        ::= { myMgmt 11}
 | 
			
		||||
 | 
			
		||||
myFileMIBObjects OBJECT IDENTIFIER ::= { myFileMIB 1 }
 | 
			
		||||
 | 
			
		||||
myFileTransTable OBJECT-TYPE
 | 
			
		||||
        SYNTAX SEQUENCE OF MyFileTransEntry
 | 
			
		||||
        MAX-ACCESS not-accessible
 | 
			
		||||
        STATUS current
 | 
			
		||||
        DESCRIPTION
 | 
			
		||||
            "list of file transfer parameters."
 | 
			
		||||
        ::= { myFileMIBObjects 1 }
 | 
			
		||||
        
 | 
			
		||||
myFileTransEntry OBJECT-TYPE
 | 
			
		||||
        SYNTAX MyFileTransEntry
 | 
			
		||||
        MAX-ACCESS not-accessible
 | 
			
		||||
        STATUS current
 | 
			
		||||
        DESCRIPTION
 | 
			
		||||
            "Entry of file transfer parameters."
 | 
			
		||||
        INDEX { myFileTransIndex }
 | 
			
		||||
        ::= { myFileTransTable 1 }
 | 
			
		||||
    
 | 
			
		||||
MyFileTransEntry ::=
 | 
			
		||||
        SEQUENCE {
 | 
			
		||||
        myFileTransIndex Integer32,
 | 
			
		||||
        myFileTransMeans    INTEGER,
 | 
			
		||||
        myFileTransOperType INTEGER,
 | 
			
		||||
        myFileTransSrcFileName DisplayString,
 | 
			
		||||
        myFileTransDescFileName DisplayString,
 | 
			
		||||
        myFileTransServerAddr IpAddress,
 | 
			
		||||
        myFileTransResult INTEGER,
 | 
			
		||||
        myFileTransComplete TruthValue,
 | 
			
		||||
        myFileTransDataLength Gauge32,
 | 
			
		||||
        myFileTransEntryStatus RowStatus
 | 
			
		||||
        }
 | 
			
		||||
    
 | 
			
		||||
myFileTransIndex OBJECT-TYPE
 | 
			
		||||
        SYNTAX Integer32
 | 
			
		||||
        MAX-ACCESS read-only
 | 
			
		||||
        STATUS current
 | 
			
		||||
        DESCRIPTION
 | 
			
		||||
            "A value unique idenify the entry in the file transfer table.
 | 
			
		||||
            the index is assigned by agent random."
 | 
			
		||||
        ::= { myFileTransEntry 1 }
 | 
			
		||||
    
 | 
			
		||||
myFileTransMeans     OBJECT-TYPE
 | 
			
		||||
        SYNTAX     INTEGER{
 | 
			
		||||
                 tftp(1),
 | 
			
		||||
                 xmodem(2),
 | 
			
		||||
                 other(3)
 | 
			
		||||
        }
 | 
			
		||||
        MAX-ACCESS read-write
 | 
			
		||||
        STATUS     current
 | 
			
		||||
        DESCRIPTION
 | 
			
		||||
                "The way to be used for any copy. Transport file by xmodem work in 
 | 
			
		||||
                 only in outband.other(3) mean transfer file by a way other than tftp(1) 
 | 
			
		||||
                 and xmodem(2)"
 | 
			
		||||
        DEFVAL  { tftp }
 | 
			
		||||
        ::= { myFileTransEntry 2 }
 | 
			
		||||
    
 | 
			
		||||
myFileTransOperType OBJECT-TYPE
 | 
			
		||||
        SYNTAX INTEGER {
 | 
			
		||||
            upload(1),      -- upload a file to the board
 | 
			
		||||
            download(2),    -- download file frome the board
 | 
			
		||||
            synchronize(3)  -- synchronize file 
 | 
			
		||||
        }
 | 
			
		||||
        MAX-ACCESS read-write
 | 
			
		||||
        STATUS current
 | 
			
		||||
        DESCRIPTION
 | 
			
		||||
            "This object can be used for specifying the file transfer
 | 
			
		||||
            operation type, upload or download. using tftp service 
 | 
			
		||||
            file transfer can implemente between the station and agent.
 | 
			
		||||
            in current agent,if synchronizing file,this object has no weight."
 | 
			
		||||
        ::= { myFileTransEntry 3 }
 | 
			
		||||
    
 | 
			
		||||
myFileTransSrcFileName OBJECT-TYPE
 | 
			
		||||
        SYNTAX DisplayString
 | 
			
		||||
        MAX-ACCESS read-write
 | 
			
		||||
        STATUS current
 | 
			
		||||
        DESCRIPTION
 | 
			
		||||
            "This object tell the tftp client to know the file name
 | 
			
		||||
            required to be received in tftp transfer mode;and send the file name list 
 | 
			
		||||
            which separate with '\t' to synchronizing server."
 | 
			
		||||
        ::= { myFileTransEntry 4 }
 | 
			
		||||
        
 | 
			
		||||
myFileTransDescFileName OBJECT-TYPE
 | 
			
		||||
        SYNTAX DisplayString
 | 
			
		||||
        MAX-ACCESS read-write
 | 
			
		||||
        STATUS current
 | 
			
		||||
        DESCRIPTION
 | 
			
		||||
            "File name the file will save as. The object has no weight to file synchronizing."
 | 
			
		||||
        ::= { myFileTransEntry 5 }        
 | 
			
		||||
    
 | 
			
		||||
myFileTransServerAddr OBJECT-TYPE
 | 
			
		||||
        SYNTAX IpAddress
 | 
			
		||||
        MAX-ACCESS read-write
 | 
			
		||||
        STATUS current
 | 
			
		||||
        DESCRIPTION
 | 
			
		||||
            "This object tell the address of transfer destination
 | 
			
		||||
            when required for file transmittion. "
 | 
			
		||||
        ::= { myFileTransEntry 6 }
 | 
			
		||||
    
 | 
			
		||||
myFileTransResult OBJECT-TYPE
 | 
			
		||||
        SYNTAX INTEGER {
 | 
			
		||||
            success(1),
 | 
			
		||||
            failure(2),
 | 
			
		||||
            parametersIllegel(3),
 | 
			
		||||
            timeout(4)
 | 
			
		||||
        }
 | 
			
		||||
        MAX-ACCESS read-only
 | 
			
		||||
        STATUS current
 | 
			
		||||
        DESCRIPTION
 | 
			
		||||
            "While the status of this entry is completed, this field of this
 | 
			
		||||
            entry is valid, and carry the operation result of file transfer."
 | 
			
		||||
        ::= { myFileTransEntry 7 }
 | 
			
		||||
        
 | 
			
		||||
myFileTransComplete OBJECT-TYPE
 | 
			
		||||
        SYNTAX TruthValue
 | 
			
		||||
        MAX-ACCESS read-only
 | 
			
		||||
        STATUS current
 | 
			
		||||
        DESCRIPTION
 | 
			
		||||
            "while the file transfer of use parameters stored by this entry is
 | 
			
		||||
            completed the value of this field will be true(1), and if not completed
 | 
			
		||||
            false(2)."
 | 
			
		||||
        ::= { myFileTransEntry 8 }
 | 
			
		||||
 | 
			
		||||
myFileTransDataLength OBJECT-TYPE
 | 
			
		||||
        SYNTAX Gauge32
 | 
			
		||||
        MAX-ACCESS read-only
 | 
			
		||||
        STATUS current
 | 
			
		||||
        DESCRIPTION
 | 
			
		||||
            "the file length transferred, after the transfer is complete, this
 | 
			
		||||
            value is come to valid -- the valude of field myFileTransComplete
 | 
			
		||||
            is true(1)."
 | 
			
		||||
        ::= { myFileTransEntry 9 }
 | 
			
		||||
    
 | 
			
		||||
myFileTransEntryStatus OBJECT-TYPE
 | 
			
		||||
        SYNTAX RowStatus
 | 
			
		||||
        MAX-ACCESS read-create
 | 
			
		||||
        STATUS current
 | 
			
		||||
        DESCRIPTION
 | 
			
		||||
            "entry status of this entry. and the means in this enviraments can
 | 
			
		||||
            reffer to the text-convention definition of the RowStatus."
 | 
			
		||||
        ::= { myFileTransEntry 10 }
 | 
			
		||||
 | 
			
		||||
myFileSystemMaxRoom OBJECT-TYPE
 | 
			
		||||
        SYNTAX Integer32
 | 
			
		||||
        MAX-ACCESS read-only
 | 
			
		||||
        STATUS current
 | 
			
		||||
        DESCRIPTION
 | 
			
		||||
            "the max room of file system in units of byte."
 | 
			
		||||
        ::= { myFileMIBObjects 2 }
 | 
			
		||||
 | 
			
		||||
myFileSystemAvailableRoom OBJECT-TYPE
 | 
			
		||||
        SYNTAX Integer32
 | 
			
		||||
        MAX-ACCESS read-only
 | 
			
		||||
        STATUS current
 | 
			
		||||
        DESCRIPTION
 | 
			
		||||
            "the available room of file system in units of byte."
 | 
			
		||||
        ::= { myFileMIBObjects 3 }
 | 
			
		||||
 | 
			
		||||
-- conformance information
 | 
			
		||||
 | 
			
		||||
myFileMIBConformance OBJECT IDENTIFIER ::= { myFileMIB 2 }
 | 
			
		||||
myFileMIBCompliances OBJECT IDENTIFIER ::= { myFileMIBConformance 1 }
 | 
			
		||||
myFileMIBGroups      OBJECT IDENTIFIER ::= { myFileMIBConformance 2 }
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
-- compliance statements
 | 
			
		||||
 | 
			
		||||
myFileMIBCompliance MODULE-COMPLIANCE
 | 
			
		||||
        STATUS  current
 | 
			
		||||
        DESCRIPTION
 | 
			
		||||
                "The compliance statement for entities which implement
 | 
			
		||||
                the My File MIB"
 | 
			
		||||
        MODULE  -- this module
 | 
			
		||||
                MANDATORY-GROUPS { myFileMIBGroup }
 | 
			
		||||
                GROUP       myFileTransMeansMIBGroup
 | 
			
		||||
                DESCRIPTION
 | 
			
		||||
                     "This group is mandatory only for those system which support
 | 
			
		||||
                     other transport protocal but tftp."   
 | 
			
		||||
        ::= { myFileMIBCompliances 1 }
 | 
			
		||||
        
 | 
			
		||||
        
 | 
			
		||||
-- units of conformance
 | 
			
		||||
 | 
			
		||||
myFileMIBGroup OBJECT-GROUP
 | 
			
		||||
        OBJECTS {
 | 
			
		||||
                myFileTransIndex,
 | 
			
		||||
                myFileTransOperType,
 | 
			
		||||
                myFileTransSrcFileName,
 | 
			
		||||
                myFileTransDescFileName,
 | 
			
		||||
                myFileTransServerAddr,
 | 
			
		||||
                myFileTransResult,
 | 
			
		||||
                myFileTransComplete,
 | 
			
		||||
                myFileTransDataLength,
 | 
			
		||||
                myFileTransEntryStatus,
 | 
			
		||||
                myFileSystemMaxRoom,
 | 
			
		||||
                myFileSystemAvailableRoom
 | 
			
		||||
        }
 | 
			
		||||
        STATUS  current
 | 
			
		||||
        DESCRIPTION
 | 
			
		||||
                "A collection of objects providing file ability to a
 | 
			
		||||
                My agent."
 | 
			
		||||
        ::= { myFileMIBGroups 1 }      
 | 
			
		||||
        
 | 
			
		||||
myFileTransMeansMIBGroup OBJECT-GROUP
 | 
			
		||||
        OBJECTS {
 | 
			
		||||
            myFileTransMeans
 | 
			
		||||
        }
 | 
			
		||||
        STATUS  current
 | 
			
		||||
        DESCRIPTION
 | 
			
		||||
                "A collection of objects providing myFileTransMeans to a
 | 
			
		||||
                My agent."
 | 
			
		||||
        ::= { myFileMIBGroups 2 }            
 | 
			
		||||
        
 | 
			
		||||
END
 | 
			
		||||
							
								
								
									
										649
									
								
								MIBS/ruijie/MY-INTERFACE-MIB
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										649
									
								
								MIBS/ruijie/MY-INTERFACE-MIB
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,649 @@
 | 
			
		||||
-- *****************************************************************
 | 
			
		||||
-- MY-INTERFACE-MIB.mib:  My interface MIB file
 | 
			
		||||
--
 | 
			
		||||
-- $Copyright$
 | 
			
		||||
-- 
 | 
			
		||||
-- *****************************************************************
 | 
			
		||||
--
 | 
			
		||||
 | 
			
		||||
MY-INTERFACE-MIB DEFINITIONS ::= BEGIN
 | 
			
		||||
 | 
			
		||||
IMPORTS
 | 
			
		||||
        MODULE-IDENTITY,
 | 
			
		||||
        OBJECT-TYPE,
 | 
			
		||||
        NOTIFICATION-TYPE,
 | 
			
		||||
        Integer32,
 | 
			
		||||
        Counter32,
 | 
			
		||||
        IpAddress
 | 
			
		||||
                FROM SNMPv2-SMI
 | 
			
		||||
        VlanId
 | 
			
		||||
                FROM Q-BRIDGE-MIB
 | 
			
		||||
        TruthValue,
 | 
			
		||||
        DisplayString,
 | 
			
		||||
        RowStatus,
 | 
			
		||||
        MacAddress
 | 
			
		||||
                FROM SNMPv2-TC
 | 
			
		||||
        MODULE-COMPLIANCE,
 | 
			
		||||
        OBJECT-GROUP,
 | 
			
		||||
        NOTIFICATION-GROUP
 | 
			
		||||
                FROM SNMPv2-CONF
 | 
			
		||||
        ConfigStatus,
 | 
			
		||||
        MemberMap,
 | 
			
		||||
        IfIndex
 | 
			
		||||
                FROM MY-TC
 | 
			
		||||
        EnabledStatus 
 | 
			
		||||
                FROM P-BRIDGE-MIB
 | 
			
		||||
        myMgmt
 | 
			
		||||
                FROM MY-SMI;
 | 
			
		||||
 | 
			
		||||
myInterfaceMIB MODULE-IDENTITY
 | 
			
		||||
        LAST-UPDATED "200203200000Z"
 | 
			
		||||
        ORGANIZATION "$Company$"
 | 
			
		||||
        CONTACT-INFO
 | 
			
		||||
                " 
 | 
			
		||||
                Tel: $Telephone$ 
 | 
			
		||||
 | 
			
		||||
                E-mail: $E-mail$"
 | 
			
		||||
        DESCRIPTION
 | 
			
		||||
                "This module defines my interface mibs."
 | 
			
		||||
        REVISION      "200203200000Z"
 | 
			
		||||
        DESCRIPTION
 | 
			
		||||
                "Initial version of this MIB module."
 | 
			
		||||
        ::= { myMgmt 10}
 | 
			
		||||
 | 
			
		||||
myIfConfigMIBObjects OBJECT IDENTIFIER ::= { myInterfaceMIB 1 }
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
myIfTable OBJECT-TYPE
 | 
			
		||||
        SYNTAX SEQUENCE OF MyIfEntry
 | 
			
		||||
        MAX-ACCESS not-accessible
 | 
			
		||||
        STATUS current
 | 
			
		||||
        DESCRIPTION
 | 
			
		||||
            "list of interface basic configuration objects."
 | 
			
		||||
        ::= { myIfConfigMIBObjects 1 }
 | 
			
		||||
    
 | 
			
		||||
myIfEntry OBJECT-TYPE
 | 
			
		||||
        SYNTAX MyIfEntry
 | 
			
		||||
        MAX-ACCESS not-accessible
 | 
			
		||||
        STATUS current
 | 
			
		||||
        DESCRIPTION
 | 
			
		||||
            "Entry contains interface basic configurations."
 | 
			
		||||
        INDEX { myIfIndex }
 | 
			
		||||
        ::= { myIfTable 1 }
 | 
			
		||||
 | 
			
		||||
MyIfEntry ::=
 | 
			
		||||
        SEQUENCE {
 | 
			
		||||
            myIfIndex IfIndex,
 | 
			
		||||
            myIfPortType INTEGER,
 | 
			
		||||
            myIfFlowControlAdminStatus INTEGER,
 | 
			
		||||
            myIfFlowControlOperStatus EnabledStatus,
 | 
			
		||||
            myIfAdminSpeed INTEGER,
 | 
			
		||||
            myIfAdminDuplex INTEGER,
 | 
			
		||||
            myIfOperSpeed INTEGER,
 | 
			
		||||
            myIfOperDuplex INTEGER,
 | 
			
		||||
            myIfManageStatus EnabledStatus,
 | 
			
		||||
            myIfIpBroadcast  IpAddress,            
 | 
			
		||||
            myIfLayer INTEGER,
 | 
			
		||||
            myIfMode  INTEGER,
 | 
			
		||||
            myIfCounterClear Integer32,
 | 
			
		||||
            myIfEntryStatus ConfigStatus
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
myIfIndex OBJECT-TYPE
 | 
			
		||||
        SYNTAX IfIndex
 | 
			
		||||
        MAX-ACCESS read-only
 | 
			
		||||
        STATUS current
 | 
			
		||||
        DESCRIPTION
 | 
			
		||||
            " "
 | 
			
		||||
        ::= { myIfEntry 1 }
 | 
			
		||||
 | 
			
		||||
myIfPortType OBJECT-TYPE
 | 
			
		||||
        SYNTAX INTEGER {
 | 
			
		||||
            unknown(1),
 | 
			
		||||
            port10M100MBASETX(2),
 | 
			
		||||
            port100MBASEFXL(3),        
 | 
			
		||||
            port100MBASEFXS(4),
 | 
			
		||||
            port1000MBASESX(5),   
 | 
			
		||||
            port1000MBASELX(6),
 | 
			
		||||
            port1000MBASETX(7),
 | 
			
		||||
            portGBIC(8),
 | 
			
		||||
            port100MBASEFX(9),
 | 
			
		||||
            port1000MBASEFX(10),
 | 
			
		||||
            portSFP(11),
 | 
			
		||||
				port10GBASESR(12),
 | 
			
		||||
				port10GBASELR(13),
 | 
			
		||||
				port10GBASEER(14),
 | 
			
		||||
				port10GBASELX4(15),
 | 
			
		||||
				port10GBASESW(16),
 | 
			
		||||
				port10GBASELW(17),
 | 
			
		||||
				port10GBASEEW(18)
 | 
			
		||||
         }
 | 
			
		||||
        MAX-ACCESS read-only
 | 
			
		||||
        STATUS current
 | 
			
		||||
        DESCRIPTION
 | 
			
		||||
            "Port type of this port, list as above.
 | 
			
		||||
             port100MBASEFX indicates that port is port100MBASEFXL or port100MBASEFXS,
 | 
			
		||||
             and system doesn't distinguish.
 | 
			
		||||
             port1000MBASEFX indicates that port is port1000MBASEFLX or port1000MBASEFSX,
 | 
			
		||||
             and system doesn't distinguish.
 | 
			
		||||
             
 | 
			
		||||
             This attribute apply physical port"
 | 
			
		||||
        ::= { myIfEntry 2 }
 | 
			
		||||
           
 | 
			
		||||
myIfFlowControlAdminStatus OBJECT-TYPE
 | 
			
		||||
        SYNTAX INTEGER {
 | 
			
		||||
            enabled(1),
 | 
			
		||||
            disabled(2),
 | 
			
		||||
            autonego(3)
 | 
			
		||||
        }
 | 
			
		||||
        MAX-ACCESS read-write
 | 
			
		||||
        STATUS current
 | 
			
		||||
        DESCRIPTION
 | 
			
		||||
            "Flow control of a port management status.
 | 
			
		||||
            
 | 
			
		||||
            This attribute apply physical port and aggreate port"
 | 
			
		||||
        ::= { myIfEntry 3 }
 | 
			
		||||
    
 | 
			
		||||
myIfFlowControlOperStatus OBJECT-TYPE
 | 
			
		||||
        SYNTAX EnabledStatus
 | 
			
		||||
        MAX-ACCESS read-only
 | 
			
		||||
        STATUS current
 | 
			
		||||
        DESCRIPTION
 | 
			
		||||
            "Oper status: after the negotiation between two ports connetted 
 | 
			
		||||
            the flow contrl status.
 | 
			
		||||
            
 | 
			
		||||
            This attribute apply physical port and aggreate port"
 | 
			
		||||
        ::= { myIfEntry 4 }
 | 
			
		||||
                     
 | 
			
		||||
myIfAdminSpeed OBJECT-TYPE
 | 
			
		||||
        SYNTAX INTEGER {
 | 
			
		||||
            speed10Mb(1),
 | 
			
		||||
            speed100Mb(2),
 | 
			
		||||
            speed1000Mb(3),
 | 
			
		||||
            autonego(4),
 | 
			
		||||
            speed10Gb(5)
 | 
			
		||||
        }
 | 
			
		||||
        MAX-ACCESS read-write
 | 
			
		||||
        STATUS current
 | 
			
		||||
        DESCRIPTION
 | 
			
		||||
            "port speed settings.
 | 
			
		||||
            
 | 
			
		||||
            This attribute apply physical port and aggreate port"
 | 
			
		||||
        ::= { myIfEntry 5 }
 | 
			
		||||
        
 | 
			
		||||
myIfAdminDuplex OBJECT-TYPE
 | 
			
		||||
        SYNTAX INTEGER {
 | 
			
		||||
            full(1),
 | 
			
		||||
            half(2),
 | 
			
		||||
            autonego(3)
 | 
			
		||||
        }
 | 
			
		||||
        MAX-ACCESS read-write
 | 
			
		||||
        STATUS current
 | 
			
		||||
        DESCRIPTION
 | 
			
		||||
            "port duplex settings.
 | 
			
		||||
            
 | 
			
		||||
            This attribute apply physical port and aggreate port"
 | 
			
		||||
        ::= { myIfEntry 6 }        
 | 
			
		||||
    
 | 
			
		||||
myIfOperSpeed OBJECT-TYPE
 | 
			
		||||
        SYNTAX INTEGER {
 | 
			
		||||
            speed10Mb(1),
 | 
			
		||||
            speed100Mb(2),
 | 
			
		||||
            speed1000Mb(3),
 | 
			
		||||
            unknown(4),
 | 
			
		||||
            speed10Gb(5)
 | 
			
		||||
        }
 | 
			
		||||
        MAX-ACCESS read-only
 | 
			
		||||
        STATUS current
 | 
			
		||||
        DESCRIPTION
 | 
			
		||||
            "After two port have negotiated the speed status,and this object 
 | 
			
		||||
            is the working speed status. while the port link status is down ,
 | 
			
		||||
            then the speed status is unknown(4).
 | 
			
		||||
            
 | 
			
		||||
            This attribute apply physical port and aggreate port"
 | 
			
		||||
        ::= { myIfEntry 7 }
 | 
			
		||||
 | 
			
		||||
myIfOperDuplex OBJECT-TYPE
 | 
			
		||||
        SYNTAX INTEGER {
 | 
			
		||||
            full(1),
 | 
			
		||||
            half(2),
 | 
			
		||||
            unknown(3)
 | 
			
		||||
        }
 | 
			
		||||
        MAX-ACCESS read-only
 | 
			
		||||
        STATUS current
 | 
			
		||||
        DESCRIPTION
 | 
			
		||||
            "After two port have negotiated the duplex status, and this object 
 | 
			
		||||
            is the working duplex status. while the port link status is down ,
 | 
			
		||||
            then the speed status is unknown(3).
 | 
			
		||||
            
 | 
			
		||||
            This attribute apply physical port and aggreate port"
 | 
			
		||||
        ::= { myIfEntry 8 }
 | 
			
		||||
 | 
			
		||||
myIfManageStatus OBJECT-TYPE
 | 
			
		||||
        SYNTAX EnabledStatus 
 | 
			
		||||
        MAX-ACCESS read-write
 | 
			
		||||
        STATUS current
 | 
			
		||||
        DESCRIPTION 
 | 
			
		||||
                "Management status of the interface."
 | 
			
		||||
        DEFVAL { enabled }
 | 
			
		||||
        ::={myIfEntry 9}
 | 
			
		||||
 | 
			
		||||
myIfIpBroadcast OBJECT-TYPE
 | 
			
		||||
    SYNTAX IpAddress
 | 
			
		||||
    MAX-ACCESS read-write
 | 
			
		||||
    STATUS current
 | 
			
		||||
    DESCRIPTION
 | 
			
		||||
        "Broadcast address of the interface ."
 | 
			
		||||
       ::= { myIfEntry 10 }
 | 
			
		||||
                      
 | 
			
		||||
 | 
			
		||||
myIfLayer OBJECT-TYPE
 | 
			
		||||
        SYNTAX  INTEGER {
 | 
			
		||||
                  layer-2(1), -- the interface is a interface of L2
 | 
			
		||||
                  layer-3(2)  -- the interface is a interface of L3
 | 
			
		||||
              }
 | 
			
		||||
        MAX-ACCESS  read-write
 | 
			
		||||
        STATUS  current
 | 
			
		||||
        DESCRIPTION
 | 
			
		||||
              ""
 | 
			
		||||
        ::= { myIfEntry 11 }
 | 
			
		||||
        
 | 
			
		||||
myIfMode OBJECT-TYPE
 | 
			
		||||
        SYNTAX  INTEGER {
 | 
			
		||||
                  access(1), -- the mode of interface is access port
 | 
			
		||||
                  trunk(2),  -- the mode of interface is trunk port
 | 
			
		||||
                  dot1q-tunnel(3),   --  the mode of interface is 802.1q tunnel port
 | 
			
		||||
                  hybrid(4), -- the mode of interface is hybrid port
 | 
			
		||||
		  other(5)   
 | 
			
		||||
              }
 | 
			
		||||
        MAX-ACCESS  read-write
 | 
			
		||||
        STATUS  current
 | 
			
		||||
        DESCRIPTION
 | 
			
		||||
              "This value is meaning for only physical port and aggreate port"
 | 
			
		||||
        ::= { myIfEntry 12 }
 | 
			
		||||
 | 
			
		||||
myIfCounterClear OBJECT-TYPE
 | 
			
		||||
        SYNTAX Integer32
 | 
			
		||||
        MAX-ACCESS read-write
 | 
			
		||||
        STATUS current
 | 
			
		||||
        DESCRIPTION
 | 
			
		||||
            "Setting its to any value but 0, will clear counters of this interface. 
 | 
			
		||||
             Setting its value to 0 will cause no action of the agent. and when
 | 
			
		||||
             query will always return 0.            "
 | 
			
		||||
        ::= { myIfEntry 13 } 
 | 
			
		||||
        
 | 
			
		||||
myIfEntryStatus OBJECT-TYPE
 | 
			
		||||
        SYNTAX ConfigStatus
 | 
			
		||||
        MAX-ACCESS read-create
 | 
			
		||||
        STATUS current
 | 
			
		||||
        DESCRIPTION
 | 
			
		||||
            "Status of this entry, set this object to valid will create a interface, 
 | 
			
		||||
             and set its value to invalid will delete the interface of this entry."
 | 
			
		||||
        ::= { myIfEntry 14 }
 | 
			
		||||
                       
 | 
			
		||||
                       
 | 
			
		||||
myIfIpTable OBJECT-TYPE
 | 
			
		||||
       SYNTAX      SEQUENCE OF MyIfIpEntry
 | 
			
		||||
       MAX-ACCESS  not-accessible
 | 
			
		||||
       STATUS      current
 | 
			
		||||
       DESCRIPTION
 | 
			
		||||
               "A list of interface ip configuration entries."
 | 
			
		||||
       ::= { myIfConfigMIBObjects 2}
 | 
			
		||||
 | 
			
		||||
myIfIpEntry OBJECT-TYPE
 | 
			
		||||
       SYNTAX      MyIfIpEntry
 | 
			
		||||
       MAX-ACCESS  not-accessible
 | 
			
		||||
       STATUS      current
 | 
			
		||||
       DESCRIPTION
 | 
			
		||||
               "An entry containing configuration information applicable
 | 
			
		||||
               to a Layer3 interface."
 | 
			
		||||
       INDEX   { myIfIpIfIndex, myIfIpId, myIfIp}
 | 
			
		||||
       ::= { myIfIpTable 1 }
 | 
			
		||||
 | 
			
		||||
MyIfIpEntry ::=
 | 
			
		||||
       SEQUENCE {
 | 
			
		||||
          myIfIpIfIndex         IfIndex,
 | 
			
		||||
          myIfIpId              INTEGER,
 | 
			
		||||
          myIfIp                IpAddress,
 | 
			
		||||
          myIfIpMask            IpAddress,
 | 
			
		||||
          myIfIpEntryStatus     RowStatus
 | 
			
		||||
        }
 | 
			
		||||
myIfIpIfIndex OBJECT-TYPE
 | 
			
		||||
       SYNTAX      IfIndex
 | 
			
		||||
       MAX-ACCESS  read-only
 | 
			
		||||
       STATUS      current
 | 
			
		||||
       DESCRIPTION
 | 
			
		||||
               "A unique value, for each Layer3 interface."
 | 
			
		||||
       ::= { myIfIpEntry 1 }       
 | 
			
		||||
       
 | 
			
		||||
myIfIpId OBJECT-TYPE
 | 
			
		||||
       SYNTAX      INTEGER{
 | 
			
		||||
                       primary(1),    -- primary ip address of Layer3 interface
 | 
			
		||||
                       secondary(2)   -- secondary ip address of Layer3 interface
 | 
			
		||||
                   }
 | 
			
		||||
       MAX-ACCESS  read-only
 | 
			
		||||
       STATUS      current
 | 
			
		||||
       DESCRIPTION
 | 
			
		||||
               "Type of interface ip address."
 | 
			
		||||
       ::= { myIfIpEntry 2 }              
 | 
			
		||||
 | 
			
		||||
myIfIp OBJECT-TYPE
 | 
			
		||||
        SYNTAX IpAddress
 | 
			
		||||
        MAX-ACCESS read-only
 | 
			
		||||
        STATUS current
 | 
			
		||||
        DESCRIPTION
 | 
			
		||||
            "Ip address of the interface myIfIndex refer to."
 | 
			
		||||
        ::= { myIfIpEntry 3 }       
 | 
			
		||||
        
 | 
			
		||||
myIfIpMask OBJECT-TYPE
 | 
			
		||||
        SYNTAX IpAddress
 | 
			
		||||
        MAX-ACCESS read-write
 | 
			
		||||
        STATUS current
 | 
			
		||||
        DESCRIPTION
 | 
			
		||||
            "Ip mask of the interface ip address."
 | 
			
		||||
        ::= { myIfIpEntry 4 }       
 | 
			
		||||
            
 | 
			
		||||
myIfIpEntryStatus OBJECT-TYPE
 | 
			
		||||
        SYNTAX RowStatus
 | 
			
		||||
        MAX-ACCESS read-create
 | 
			
		||||
        STATUS current
 | 
			
		||||
        DESCRIPTION
 | 
			
		||||
            "entry status of this entry. and the means in this enviraments can
 | 
			
		||||
            reffer to the text-convention definition of the RowStatus."
 | 
			
		||||
        ::= { myIfIpEntry 5 } 
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
myIfStatusTable OBJECT-TYPE
 | 
			
		||||
        SYNTAX SEQUENCE OF MyIfStatusEntry
 | 
			
		||||
        MAX-ACCESS not-accessible
 | 
			
		||||
        STATUS current
 | 
			
		||||
        DESCRIPTION
 | 
			
		||||
            "list of interface status. Status information include some error state and
 | 
			
		||||
             result of examining to the interface,etc."
 | 
			
		||||
        ::= { myIfConfigMIBObjects 3 }
 | 
			
		||||
    
 | 
			
		||||
myIfStatusEntry OBJECT-TYPE
 | 
			
		||||
        SYNTAX MyIfStatusEntry
 | 
			
		||||
        MAX-ACCESS not-accessible
 | 
			
		||||
        STATUS current
 | 
			
		||||
        DESCRIPTION
 | 
			
		||||
            "Entry contains interface status information."
 | 
			
		||||
        INDEX { myIfStatusIndex }
 | 
			
		||||
        ::= { myIfStatusTable 1 }
 | 
			
		||||
 | 
			
		||||
MyIfStatusEntry ::=
 | 
			
		||||
        SEQUENCE {
 | 
			
		||||
            myIfStatusIndex IfIndex,
 | 
			
		||||
            myIfStatusLoopBackExamine Integer32,
 | 
			
		||||
            myIfErrorStatus           INTEGER,
 | 
			
		||||
            myIfLineDetect            Integer32
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
myIfStatusIndex OBJECT-TYPE
 | 
			
		||||
        SYNTAX IfIndex
 | 
			
		||||
        MAX-ACCESS read-only
 | 
			
		||||
        STATUS current
 | 
			
		||||
        DESCRIPTION
 | 
			
		||||
            " "
 | 
			
		||||
        ::= { myIfStatusEntry 1 }
 | 
			
		||||
 | 
			
		||||
myIfStatusLoopBackExamine OBJECT-TYPE
 | 
			
		||||
        SYNTAX Integer32
 | 
			
		||||
        MAX-ACCESS read-write
 | 
			
		||||
        STATUS current
 | 
			
		||||
        DESCRIPTION
 | 
			
		||||
            "Setting its to any value but 0, will Checking whether this port or aggreate can
 | 
			
		||||
              receive and send packets normally, It indicates that port or aggreate is normal
 | 
			
		||||
              if opertion is success. 
 | 
			
		||||
                  Setting its value to 0 will cause no action of the agent. and when
 | 
			
		||||
             query will always return 0.
 | 
			
		||||
            
 | 
			
		||||
            This attribute apply physical port and aggreate port"
 | 
			
		||||
        ::= { myIfStatusEntry  2 } 
 | 
			
		||||
        
 | 
			
		||||
myIfErrorStatus OBJECT-TYPE
 | 
			
		||||
        SYNTAX INTEGER {
 | 
			
		||||
            no-error(1),               -- port is enabled normal
 | 
			
		||||
            err-disable-bpduguard(2),  -- port is disabled by port receive BPDU packet when port
 | 
			
		||||
                                       -- enable BPDU guard             
 | 
			
		||||
            err-disable-ptsecurity(3)  -- port is disabled by port security is violatd
 | 
			
		||||
        }
 | 
			
		||||
        MAX-ACCESS read-only
 | 
			
		||||
        STATUS current
 | 
			
		||||
        DESCRIPTION
 | 
			
		||||
            "Port's error status information"
 | 
			
		||||
        ::= { myIfStatusEntry 3 }
 | 
			
		||||
           
 | 
			
		||||
           
 | 
			
		||||
myIfLineDetect OBJECT-TYPE
 | 
			
		||||
        SYNTAX Integer32
 | 
			
		||||
        MAX-ACCESS read-only
 | 
			
		||||
        STATUS current
 | 
			
		||||
        DESCRIPTION
 | 
			
		||||
            ""
 | 
			
		||||
        ::= { myIfStatusEntry  4 }
 | 
			
		||||
           
 | 
			
		||||
myGlobalIfDisableRecovery OBJECT-TYPE
 | 
			
		||||
        SYNTAX Integer32
 | 
			
		||||
        MAX-ACCESS read-write
 | 
			
		||||
        STATUS current
 | 
			
		||||
        DESCRIPTION
 | 
			
		||||
            "Setting its to any value but 0, the interfaces  which is shutted down by
 | 
			
		||||
             some error happened will recovery from disabled status . 
 | 
			
		||||
                  Setting its value to 0 will cause no action of the agent. and when
 | 
			
		||||
             query will always return 0.
 | 
			
		||||
            
 | 
			
		||||
            This attribute apply physical port and aggreate port"
 | 
			
		||||
        ::= { myIfConfigMIBObjects  4 } 
 | 
			
		||||
                               
 | 
			
		||||
--
 | 
			
		||||
-- portType Choose
 | 
			
		||||
--
 | 
			
		||||
myPortTypeChooseTable OBJECT-TYPE
 | 
			
		||||
        SYNTAX SEQUENCE OF MyPortTypeChooseEntry
 | 
			
		||||
        MAX-ACCESS not-accessible
 | 
			
		||||
        STATUS current
 | 
			
		||||
        DESCRIPTION
 | 
			
		||||
            ""
 | 
			
		||||
        ::= { myIfConfigMIBObjects 5 }
 | 
			
		||||
    
 | 
			
		||||
myPortTypeChooseEntry OBJECT-TYPE
 | 
			
		||||
        SYNTAX MyPortTypeChooseEntry
 | 
			
		||||
        MAX-ACCESS not-accessible
 | 
			
		||||
        STATUS current
 | 
			
		||||
        DESCRIPTION
 | 
			
		||||
            ""
 | 
			
		||||
        INDEX { myPortTypeChooseIndex }
 | 
			
		||||
        ::= { myPortTypeChooseTable 1 }
 | 
			
		||||
 | 
			
		||||
MyPortTypeChooseEntry ::=
 | 
			
		||||
        SEQUENCE {
 | 
			
		||||
            myPortTypeChooseIndex IfIndex,
 | 
			
		||||
      	    myPortTypeChooseType INTEGER
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
myPortTypeChooseIndex OBJECT-TYPE
 | 
			
		||||
        SYNTAX IfIndex
 | 
			
		||||
        MAX-ACCESS read-only
 | 
			
		||||
        STATUS current
 | 
			
		||||
        DESCRIPTION
 | 
			
		||||
            ""
 | 
			
		||||
        ::= { myPortTypeChooseEntry 1 }
 | 
			
		||||
 | 
			
		||||
myPortTypeChooseType OBJECT-TYPE
 | 
			
		||||
        SYNTAX INTEGER {
 | 
			
		||||
		fiber(1),       --
 | 
			
		||||
      		copper(2)       --
 | 
			
		||||
        }
 | 
			
		||||
        MAX-ACCESS read-only
 | 
			
		||||
        STATUS current
 | 
			
		||||
        DESCRIPTION
 | 
			
		||||
            ""
 | 
			
		||||
        ::= { myPortTypeChooseEntry 2 }
 | 
			
		||||
 | 
			
		||||
--
 | 
			
		||||
-- mtu
 | 
			
		||||
--
 | 
			
		||||
myIfMTUTable OBJECT-TYPE
 | 
			
		||||
        SYNTAX SEQUENCE OF MyIfMTUEntry
 | 
			
		||||
        MAX-ACCESS not-accessible
 | 
			
		||||
        STATUS current
 | 
			
		||||
        DESCRIPTION
 | 
			
		||||
            ""
 | 
			
		||||
        ::= { myIfConfigMIBObjects 6 }
 | 
			
		||||
    
 | 
			
		||||
myIfMTUEntry OBJECT-TYPE
 | 
			
		||||
        SYNTAX MyIfMTUEntry
 | 
			
		||||
        MAX-ACCESS not-accessible
 | 
			
		||||
        STATUS current
 | 
			
		||||
        DESCRIPTION
 | 
			
		||||
            ""
 | 
			
		||||
        INDEX { myIfMTUIndex }
 | 
			
		||||
        ::= { myIfMTUTable 1 }
 | 
			
		||||
 | 
			
		||||
MyIfMTUEntry ::=
 | 
			
		||||
        SEQUENCE {
 | 
			
		||||
            myIfMTUIndex IfIndex,
 | 
			
		||||
      	    myIfMTU Integer32
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
myIfMTUIndex OBJECT-TYPE
 | 
			
		||||
        SYNTAX IfIndex
 | 
			
		||||
        MAX-ACCESS read-only
 | 
			
		||||
        STATUS current
 | 
			
		||||
        DESCRIPTION
 | 
			
		||||
            ""
 | 
			
		||||
        ::= { myIfMTUEntry 1 }
 | 
			
		||||
 | 
			
		||||
myIfMTU OBJECT-TYPE
 | 
			
		||||
        SYNTAX Integer32
 | 
			
		||||
        MAX-ACCESS read-write
 | 
			
		||||
        STATUS current
 | 
			
		||||
        DESCRIPTION
 | 
			
		||||
            ""
 | 
			
		||||
        ::= { myIfMTUEntry 2 }
 | 
			
		||||
 | 
			
		||||
-- Notification
 | 
			
		||||
myInterfaceTraps      OBJECT IDENTIFIER ::= { myInterfaceMIB 2 }
 | 
			
		||||
                                 
 | 
			
		||||
lineDetectStatus OBJECT-TYPE
 | 
			
		||||
        SYNTAX INTEGER{
 | 
			
		||||
            ok(1),       -- 
 | 
			
		||||
            open(2),     -- 
 | 
			
		||||
            short(3)     --            
 | 
			
		||||
        }
 | 
			
		||||
        MAX-ACCESS accessible-for-notify
 | 
			
		||||
        STATUS current
 | 
			
		||||
        DESCRIPTION
 | 
			
		||||
          "The type of storm of interface"
 | 
			
		||||
        ::= { myInterfaceTraps 1 }
 | 
			
		||||
        
 | 
			
		||||
lineDetectPosition OBJECT-TYPE
 | 
			
		||||
        SYNTAX Integer32
 | 
			
		||||
        MAX-ACCESS accessible-for-notify
 | 
			
		||||
        STATUS current
 | 
			
		||||
        DESCRIPTION
 | 
			
		||||
          ""
 | 
			
		||||
        ::= { myInterfaceTraps 2 }        
 | 
			
		||||
        
 | 
			
		||||
lineQualityDetect NOTIFICATION-TYPE
 | 
			
		||||
    OBJECTS {ifIndex, lineDetectStatus,lineDetectPosition}
 | 
			
		||||
    STATUS  current
 | 
			
		||||
    DESCRIPTION
 | 
			
		||||
            ""
 | 
			
		||||
    ::= { myInterfaceTraps 3 }        
 | 
			
		||||
                                     
 | 
			
		||||
myInterfaceMIBConformance OBJECT IDENTIFIER ::= { myInterfaceMIB 3 }
 | 
			
		||||
myInterfaceMIBCompliances OBJECT IDENTIFIER ::= { myInterfaceMIBConformance 1 }
 | 
			
		||||
myInterfaceMIBGroups      OBJECT IDENTIFIER ::= { myInterfaceMIBConformance 2 }
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
-- compliance statements
 | 
			
		||||
 | 
			
		||||
myInterfaceMIBCompliance MODULE-COMPLIANCE
 | 
			
		||||
        STATUS  current
 | 
			
		||||
        DESCRIPTION
 | 
			
		||||
                "The compliance statement for entities which implement
 | 
			
		||||
                the My Interface MIB"
 | 
			
		||||
        MODULE  -- this module
 | 
			
		||||
                MANDATORY-GROUPS { myInterfaceMIBGroup
 | 
			
		||||
                 }
 | 
			
		||||
 | 
			
		||||
		GROUP myPortTypeChooseMibGroup
 | 
			
		||||
		DESCRIPTION  
 | 
			
		||||
                     ""   
 | 
			
		||||
 | 
			
		||||
                GROUP myIfMTUMibGroup
 | 
			
		||||
		DESCRIPTION  
 | 
			
		||||
                     ""   
 | 
			
		||||
 | 
			
		||||
      GROUP myIfLineDetectGroup
 | 
			
		||||
		DESCRIPTION  
 | 
			
		||||
                     ""                   
 | 
			
		||||
        ::= { myInterfaceMIBCompliances 1 }
 | 
			
		||||
                
 | 
			
		||||
-- units of conformance
 | 
			
		||||
 | 
			
		||||
myInterfaceMIBGroup OBJECT-GROUP
 | 
			
		||||
        OBJECTS {
 | 
			
		||||
            myIfIndex,
 | 
			
		||||
            myIfPortType,
 | 
			
		||||
            myIfFlowControlAdminStatus,
 | 
			
		||||
            myIfFlowControlOperStatus,
 | 
			
		||||
            myIfAdminSpeed,
 | 
			
		||||
            myIfAdminDuplex,
 | 
			
		||||
            myIfOperSpeed,
 | 
			
		||||
            myIfOperDuplex,
 | 
			
		||||
            myIfManageStatus,
 | 
			
		||||
            myIfIpBroadcast,
 | 
			
		||||
            myIfLayer,
 | 
			
		||||
            myIfMode,
 | 
			
		||||
            myIfCounterClear,
 | 
			
		||||
            myIfEntryStatus,
 | 
			
		||||
            myIfIpIfIndex,
 | 
			
		||||
            myIfIpId,
 | 
			
		||||
            myIfIp,
 | 
			
		||||
            myIfIpMask,
 | 
			
		||||
            myIfIpEntryStatus,
 | 
			
		||||
            myIfStatusIndex,
 | 
			
		||||
            myIfStatusLoopBackExamine,
 | 
			
		||||
            myIfErrorStatus,
 | 
			
		||||
            myGlobalIfDisableRecovery
 | 
			
		||||
        }
 | 
			
		||||
        STATUS  current
 | 
			
		||||
        DESCRIPTION
 | 
			
		||||
                "A collection of objects providing interface basic configure ."
 | 
			
		||||
        ::= { myInterfaceMIBGroups 1 }         
 | 
			
		||||
                
 | 
			
		||||
myPortTypeChooseMibGroup OBJECT-GROUP
 | 
			
		||||
        OBJECTS {
 | 
			
		||||
            myPortTypeChooseIndex,
 | 
			
		||||
            myPortTypeChooseType
 | 
			
		||||
        }
 | 
			
		||||
        STATUS  current
 | 
			
		||||
        DESCRIPTION
 | 
			
		||||
                ""
 | 
			
		||||
        ::= { myInterfaceMIBGroups 2 }         
 | 
			
		||||
                
 | 
			
		||||
 | 
			
		||||
myIfMTUMibGroup OBJECT-GROUP
 | 
			
		||||
        OBJECTS {
 | 
			
		||||
            myIfMTUIndex,
 | 
			
		||||
            myIfMTU
 | 
			
		||||
        }
 | 
			
		||||
        STATUS  current
 | 
			
		||||
        DESCRIPTION
 | 
			
		||||
                ""
 | 
			
		||||
        ::= { myInterfaceMIBGroups 3 }         
 | 
			
		||||
                
 | 
			
		||||
myIfLineDetectGroup OBJECT-GROUP
 | 
			
		||||
        OBJECTS {
 | 
			
		||||
            myIfLineDetect,
 | 
			
		||||
            lineQualityDetect
 | 
			
		||||
        }
 | 
			
		||||
        STATUS  current
 | 
			
		||||
        DESCRIPTION
 | 
			
		||||
                ""
 | 
			
		||||
        ::= { myInterfaceMIBGroups 4 }           
 | 
			
		||||
                
 | 
			
		||||
END
 | 
			
		||||
							
								
								
									
										324
									
								
								MIBS/ruijie/MY-PRODUCTS-MIB
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										324
									
								
								MIBS/ruijie/MY-PRODUCTS-MIB
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,324 @@
 | 
			
		||||
-- *****************************************************************
 | 
			
		||||
-- MY-PRODUCTS-MIB.mib:  My Product Object Identifier Assignments
 | 
			
		||||
--
 | 
			
		||||
-- $Copyright$
 | 
			
		||||
-- 
 | 
			
		||||
-- *****************************************************************
 | 
			
		||||
--
 | 
			
		||||
 | 
			
		||||
MY-PRODUCTS-MIB DEFINITIONS ::= BEGIN
 | 
			
		||||
 | 
			
		||||
IMPORTS
 | 
			
		||||
        MODULE-IDENTITY,
 | 
			
		||||
        OBJECT-TYPE
 | 
			
		||||
                FROM SNMPv2-SMI
 | 
			
		||||
        MODULE-COMPLIANCE,
 | 
			
		||||
        OBJECT-GROUP,
 | 
			
		||||
        NOTIFICATION-GROUP
 | 
			
		||||
                FROM SNMPv2-CONF
 | 
			
		||||
        myModules,        
 | 
			
		||||
        mySwitchProducts,
 | 
			
		||||
        myRouterProducts,
 | 
			
		||||
        myWirelessProducts
 | 
			
		||||
                FROM MY-SMI;
 | 
			
		||||
 | 
			
		||||
myProductsMIB MODULE-IDENTITY
 | 
			
		||||
        LAST-UPDATED "200203200000Z"
 | 
			
		||||
        ORGANIZATION "$Company$"
 | 
			
		||||
        CONTACT-INFO
 | 
			
		||||
                " 
 | 
			
		||||
                Tel: $Telephone$ 
 | 
			
		||||
 | 
			
		||||
                E-mail: $E-mail$"
 | 
			
		||||
        DESCRIPTION
 | 
			
		||||
                "This module defines the object identifiers that are
 | 
			
		||||
            		assigned to various hardware platforms, and hence are
 | 
			
		||||
            		returned as values for sysObjectID"
 | 
			
		||||
        REVISION      "200203200000Z"
 | 
			
		||||
        DESCRIPTION
 | 
			
		||||
                "Initial version of this MIB module."
 | 
			
		||||
        ::= { myModules 1}
 | 
			
		||||
 | 
			
		||||
-- devices return a sysObjectID value that corresponds to the
 | 
			
		||||
-- device model number
 | 
			
		||||
 | 
			
		||||
-- ****************************** switch ***********************************
 | 
			
		||||
 | 
			
		||||
s2126G   OBJECT IDENTIFIER ::= { mySwitchProducts 1 }
 | 
			
		||||
 | 
			
		||||
s2126GL3 OBJECT IDENTIFIER ::= { mySwitchProducts 2 }
 | 
			
		||||
 | 
			
		||||
s2150G   OBJECT IDENTIFIER ::= { mySwitchProducts 3 }
 | 
			
		||||
 | 
			
		||||
s2150GL3 OBJECT IDENTIFIER ::= { mySwitchProducts 4 }
 | 
			
		||||
 | 
			
		||||
s4909 OBJECT IDENTIFIER ::= { mySwitchProducts 5 }
 | 
			
		||||
 | 
			
		||||
s3550-12G OBJECT IDENTIFIER ::= { mySwitchProducts 6 }
 | 
			
		||||
 | 
			
		||||
s3550-24G OBJECT IDENTIFIER ::= { mySwitchProducts 8 }        
 | 
			
		||||
 | 
			
		||||
s21-STACKING OBJECT IDENTIFIER ::= { mySwitchProducts 11 }
 | 
			
		||||
 | 
			
		||||
s3550-24 OBJECT IDENTIFIER ::= { mySwitchProducts 12 }
 | 
			
		||||
 | 
			
		||||
s3550-48 OBJECT IDENTIFIER ::= { mySwitchProducts 13 }
 | 
			
		||||
 | 
			
		||||
s3550-12SFP-GT OBJECT IDENTIFIER ::= { mySwitchProducts 15 }
 | 
			
		||||
 | 
			
		||||
s6806 OBJECT IDENTIFIER ::= { mySwitchProducts 16 }
 | 
			
		||||
 | 
			
		||||
s6810 OBJECT IDENTIFIER ::= { mySwitchProducts 17 }
 | 
			
		||||
 | 
			
		||||
s2126S OBJECT IDENTIFIER ::= { mySwitchProducts 18 }
 | 
			
		||||
 | 
			
		||||
s2126S-STACKING OBJECT IDENTIFIER ::= { mySwitchProducts 19 }
 | 
			
		||||
 | 
			
		||||
s1908PLUS OBJECT IDENTIFIER ::= { mySwitchProducts 20 }
 | 
			
		||||
 | 
			
		||||
s1916PLUS OBJECT IDENTIFIER ::= { mySwitchProducts 21 }
 | 
			
		||||
 | 
			
		||||
s6506 OBJECT IDENTIFIER ::= { mySwitchProducts 22 }
 | 
			
		||||
 | 
			
		||||
s2126S-08  OBJECT IDENTIFIER ::= { mySwitchProducts 23 }
 | 
			
		||||
 | 
			
		||||
s2126S-16  OBJECT IDENTIFIER ::= { mySwitchProducts 24 }
 | 
			
		||||
 | 
			
		||||
s6806E OBJECT IDENTIFIER ::= { mySwitchProducts 25 }
 | 
			
		||||
 | 
			
		||||
s6810E OBJECT IDENTIFIER ::= { mySwitchProducts 26 }
 | 
			
		||||
 | 
			
		||||
s2026G OBJECT IDENTIFIER ::= { mySwitchProducts 27 }
 | 
			
		||||
 | 
			
		||||
s3750-24 OBJECT IDENTIFIER ::= { mySwitchProducts 28 }
 | 
			
		||||
 | 
			
		||||
s3750-48 OBJECT IDENTIFIER ::= { mySwitchProducts 29 }
 | 
			
		||||
 | 
			
		||||
s2126    OBJECT IDENTIFIER ::= { mySwitchProducts 30 }
 | 
			
		||||
 | 
			
		||||
s2126-STACKING    OBJECT IDENTIFIER ::= { mySwitchProducts 31 }
 | 
			
		||||
 | 
			
		||||
s2026F OBJECT IDENTIFIER ::= { mySwitchProducts 32 }
 | 
			
		||||
 | 
			
		||||
s3760-48 OBJECT IDENTIFIER ::= { mySwitchProducts 33 }
 | 
			
		||||
 | 
			
		||||
s3760-12SFP-GT OBJECT IDENTIFIER ::= { mySwitchProducts 34 }
 | 
			
		||||
 | 
			
		||||
s4009 OBJECT IDENTIFIER ::= { mySwitchProducts 35 }            
 | 
			
		||||
 | 
			
		||||
s3526 OBJECT IDENTIFIER ::= { mySwitchProducts 36 }
 | 
			
		||||
 | 
			
		||||
s3512G OBJECT IDENTIFIER ::= { mySwitchProducts 37 }
 | 
			
		||||
 | 
			
		||||
hcl-12GCS-L3 OBJECT IDENTIFIER ::= { mySwitchProducts 38 }
 | 
			
		||||
 | 
			
		||||
hcl-24GS-L3 OBJECT IDENTIFIER ::= { mySwitchProducts 39 }
 | 
			
		||||
 | 
			
		||||
hcl-48TMS-2S-S OBJECT IDENTIFIER ::= { mySwitchProducts 40 }
 | 
			
		||||
 | 
			
		||||
s5750-24GT-12SFP OBJECT IDENTIFIER ::= { mySwitchProducts 41 }
 | 
			
		||||
 | 
			
		||||
s5750P-24GT-12SFP OBJECT IDENTIFIER ::= { mySwitchProducts 42 }
 | 
			
		||||
 | 
			
		||||
s8606 OBJECT IDENTIFIER ::= { mySwitchProducts 43 }
 | 
			
		||||
 | 
			
		||||
s8610 OBJECT IDENTIFIER ::= { mySwitchProducts 44 }
 | 
			
		||||
 | 
			
		||||
s9610 OBJECT IDENTIFIER ::= { mySwitchProducts 45 }
 | 
			
		||||
 | 
			
		||||
s9620 OBJECT IDENTIFIER ::= { mySwitchProducts 46 }
 | 
			
		||||
 | 
			
		||||
s2924 OBJECT IDENTIFIER ::= { mySwitchProducts 47 }
 | 
			
		||||
 | 
			
		||||
s3760-24 OBJECT IDENTIFIER ::= { mySwitchProducts 48 }
 | 
			
		||||
 | 
			
		||||
s3760-48V2 OBJECT IDENTIFIER ::= { mySwitchProducts 49 }
 | 
			
		||||
 | 
			
		||||
s3750E-24 OBJECT IDENTIFIER ::= { mySwitchProducts 50 }
 | 
			
		||||
 | 
			
		||||
s3750E-48 OBJECT IDENTIFIER ::= { mySwitchProducts 51 }
 | 
			
		||||
 | 
			
		||||
s3750E-12SFP-GT OBJECT IDENTIFIER ::= { mySwitchProducts 52 }
 | 
			
		||||
 | 
			
		||||
s5750S-24GT-12SFP OBJECT IDENTIFIER ::= { mySwitchProducts 53 }
 | 
			
		||||
 | 
			
		||||
s2128G OBJECT IDENTIFIER ::= { mySwitchProducts 54 }
 | 
			
		||||
 | 
			
		||||
s2927XG OBJECT IDENTIFIER ::= { mySwitchProducts 55 }
 | 
			
		||||
 | 
			
		||||
s3512GPLUS OBJECT IDENTIFIER ::= { mySwitchProducts 56 }
 | 
			
		||||
 | 
			
		||||
s6604 OBJECT IDENTIFIER ::= { mySwitchProducts 57 }
 | 
			
		||||
 | 
			
		||||
s6606 OBJECT IDENTIFIER ::= { mySwitchProducts 58 }
 | 
			
		||||
 | 
			
		||||
s6610 OBJECT IDENTIFIER ::= { mySwitchProducts 59 }
 | 
			
		||||
 | 
			
		||||
s5750-24SFP-12GT OBJECT IDENTIFIER ::= { mySwitchProducts 60 }
 | 
			
		||||
 | 
			
		||||
s5750-48GT-4SFP OBJECT IDENTIFIER ::= { mySwitchProducts 61 }
 | 
			
		||||
 | 
			
		||||
s5750S-48GT-4SFP OBJECT IDENTIFIER ::= { mySwitchProducts 62 }
 | 
			
		||||
 | 
			
		||||
s2328G OBJECT IDENTIFIER ::= { mySwitchProducts 63 }
 | 
			
		||||
 | 
			
		||||
s3250-48 OBJECT IDENTIFIER ::= { mySwitchProducts 64 }
 | 
			
		||||
 | 
			
		||||
s2951XG OBJECT IDENTIFIER ::= { mySwitchProducts 66 }
 | 
			
		||||
 | 
			
		||||
s3750-24-UB OBJECT IDENTIFIER ::= { mySwitchProducts 67 }
 | 
			
		||||
 | 
			
		||||
s3750-48-UB OBJECT IDENTIFIER ::= { mySwitchProducts 68 }
 | 
			
		||||
 | 
			
		||||
scg5510  OBJECT IDENTIFIER ::= { mySwitchProducts 69 }
 | 
			
		||||
 | 
			
		||||
s2052G  OBJECT IDENTIFIER ::= { mySwitchProducts 70 }
 | 
			
		||||
 | 
			
		||||
s2352G  OBJECT IDENTIFIER ::= { mySwitchProducts 71 }
 | 
			
		||||
 | 
			
		||||
s8614  OBJECT IDENTIFIER ::= { mySwitchProducts 72 }
 | 
			
		||||
 | 
			
		||||
s5650-24GT-4SFP  OBJECT IDENTIFIER ::= { mySwitchProducts 73 }
 | 
			
		||||
 | 
			
		||||
s5650-27XG  OBJECT IDENTIFIER ::= { mySwitchProducts 74 }
 | 
			
		||||
 | 
			
		||||
s5650-51XG  OBJECT IDENTIFIER ::= { mySwitchProducts 75 }
 | 
			
		||||
 | 
			
		||||
s5450-28GT  OBJECT IDENTIFIER ::= { mySwitchProducts 76 }
 | 
			
		||||
 | 
			
		||||
s3760E-24  OBJECT IDENTIFIER ::= { mySwitchProducts 77 }
 | 
			
		||||
 | 
			
		||||
s3250P-24  OBJECT IDENTIFIER ::= { mySwitchProducts 78 }
 | 
			
		||||
 | 
			
		||||
s2928G  OBJECT IDENTIFIER ::= { mySwitchProducts 79 }
 | 
			
		||||
 | 
			
		||||
s2952G  OBJECT IDENTIFIER ::= { mySwitchProducts 80 }
 | 
			
		||||
 | 
			
		||||
s2028G  OBJECT IDENTIFIER ::= { mySwitchProducts 81 }
 | 
			
		||||
 | 
			
		||||
s2528G  OBJECT IDENTIFIER ::= { mySwitchProducts 82 }
 | 
			
		||||
 | 
			
		||||
s2552G  OBJECT IDENTIFIER ::= { mySwitchProducts 83 }
 | 
			
		||||
 | 
			
		||||
s5750R-48GT-4SFP OBJECT IDENTIFIER ::= { mySwitchProducts 84 }
 | 
			
		||||
 | 
			
		||||
s5750P-48GT-4SFP OBJECT IDENTIFIER ::= { mySwitchProducts 85 }
 | 
			
		||||
 | 
			
		||||
s5750R-24GT-4SFP OBJECT IDENTIFIER ::= { mySwitchProducts 86 }
 | 
			
		||||
 | 
			
		||||
s5750P-24GT-4SFP OBJECT IDENTIFIER ::= { mySwitchProducts 87 }
 | 
			
		||||
 | 
			
		||||
s5750-24GT-4SFP OBJECT IDENTIFIER ::= { mySwitchProducts 88 }
 | 
			
		||||
 | 
			
		||||
s5750S-24GT-4SFP OBJECT IDENTIFIER ::= { mySwitchProducts 89 }
 | 
			
		||||
 | 
			
		||||
s5750-48GT-4SFP-A OBJECT IDENTIFIER ::= { mySwitchProducts 92 }
 | 
			
		||||
 | 
			
		||||
s5750-48GT-4SFP-AP OBJECT IDENTIFIER ::= { mySwitchProducts 93 }
 | 
			
		||||
 | 
			
		||||
-- s2352G OBJECT IDENTIFIER ::= { mySwitchProducts 94 }
 | 
			
		||||
 | 
			
		||||
nm2x-24esw OBJECT IDENTIFIER ::= { mySwitchProducts 95 }
 | 
			
		||||
 | 
			
		||||
nm2x-16esw OBJECT IDENTIFIER ::= { mySwitchProducts 96 }
 | 
			
		||||
 | 
			
		||||
-- ****************************** router ***********************************
 | 
			
		||||
 | 
			
		||||
r2620 OBJECT IDENTIFIER ::= { myRouterProducts 1 }
 | 
			
		||||
 | 
			
		||||
r2624 OBJECT IDENTIFIER ::= { myRouterProducts 2 }
 | 
			
		||||
 | 
			
		||||
r2690 OBJECT IDENTIFIER ::= { myRouterProducts 3 }
 | 
			
		||||
 | 
			
		||||
r2692 OBJECT IDENTIFIER ::= { myRouterProducts 4 }
 | 
			
		||||
 | 
			
		||||
r3642 OBJECT IDENTIFIER ::= { myRouterProducts 5 }
 | 
			
		||||
 | 
			
		||||
r3662 OBJECT IDENTIFIER ::= { myRouterProducts 6 }
 | 
			
		||||
 | 
			
		||||
nbr1000 OBJECT IDENTIFIER ::= { myRouterProducts 7 }
 | 
			
		||||
 | 
			
		||||
nbr200  OBJECT IDENTIFIER ::= { myRouterProducts 8 }
 | 
			
		||||
 | 
			
		||||
secvpn100 OBJECT IDENTIFIER ::= { myRouterProducts 9 }
 | 
			
		||||
 | 
			
		||||
r2632 OBJECT IDENTIFIER ::= { myRouterProducts 10 }
 | 
			
		||||
 | 
			
		||||
r1762 OBJECT IDENTIFIER ::= { myRouterProducts 11 }
 | 
			
		||||
 | 
			
		||||
rcms OBJECT IDENTIFIER ::= { myRouterProducts 12 }
 | 
			
		||||
 | 
			
		||||
hcl-r1762 OBJECT IDENTIFIER ::= { myRouterProducts 13 }
 | 
			
		||||
 | 
			
		||||
hcl-r2632 OBJECT IDENTIFIER ::= { myRouterProducts 14 }
 | 
			
		||||
 | 
			
		||||
hcl-r2692 OBJECT IDENTIFIER ::= { myRouterProducts 15 }
 | 
			
		||||
 | 
			
		||||
hcl-r3642 OBJECT IDENTIFIER ::= { myRouterProducts 16 }
 | 
			
		||||
 | 
			
		||||
hcl-r3662 OBJECT IDENTIFIER ::= { myRouterProducts 17 }
 | 
			
		||||
 | 
			
		||||
r3740 OBJECT IDENTIFIER ::= { myRouterProducts 18 }
 | 
			
		||||
 | 
			
		||||
nbr2000 OBJECT IDENTIFIER ::= { myRouterProducts 19 }
 | 
			
		||||
 | 
			
		||||
nbr300 OBJECT IDENTIFIER ::= { myRouterProducts 20 }
 | 
			
		||||
 | 
			
		||||
nbr1200 OBJECT IDENTIFIER ::= { myRouterProducts 21 }
 | 
			
		||||
 | 
			
		||||
nbr1500 OBJECT IDENTIFIER ::= { myRouterProducts 22 }
 | 
			
		||||
 | 
			
		||||
r2716 OBJECT IDENTIFIER ::= { myRouterProducts 23 }
 | 
			
		||||
 | 
			
		||||
r2724 OBJECT IDENTIFIER ::= { myRouterProducts 24 }
 | 
			
		||||
 | 
			
		||||
r3802 OBJECT IDENTIFIER ::= { myRouterProducts 25 }
 | 
			
		||||
 | 
			
		||||
r3804 OBJECT IDENTIFIER ::= { myRouterProducts 26 }
 | 
			
		||||
 | 
			
		||||
rsr50-20 OBJECT IDENTIFIER ::= { myRouterProducts 27 }
 | 
			
		||||
 | 
			
		||||
rsr50-40 OBJECT IDENTIFIER ::= { myRouterProducts 28 }
 | 
			
		||||
 | 
			
		||||
rsr50-80 OBJECT IDENTIFIER ::= { myRouterProducts 29 }
 | 
			
		||||
 | 
			
		||||
npe50-20 OBJECT IDENTIFIER ::= { myRouterProducts 30 }
 | 
			
		||||
 | 
			
		||||
rsr10-02 OBJECT IDENTIFIER ::= { myRouterProducts 31 }
 | 
			
		||||
 | 
			
		||||
rsr20-04 OBJECT IDENTIFIER ::= { myRouterProducts 32 }
 | 
			
		||||
 | 
			
		||||
vpn120 OBJECT IDENTIFIER ::= { myRouterProducts 33 }
 | 
			
		||||
 | 
			
		||||
npe80 OBJECT IDENTIFIER ::= { myRouterProducts 34 }
 | 
			
		||||
 | 
			
		||||
rsr20-24 OBJECT IDENTIFIER ::= { myRouterProducts 35 }
 | 
			
		||||
 | 
			
		||||
nm2-16esw OBJECT IDENTIFIER ::= { myRouterProducts 36 }
 | 
			
		||||
 | 
			
		||||
nm2-24esw OBJECT IDENTIFIER ::= { myRouterProducts 37 }
 | 
			
		||||
 | 
			
		||||
nmx-24esw OBJECT IDENTIFIER ::= { myRouterProducts 38 }
 | 
			
		||||
 | 
			
		||||
nmx-24esw-l2 OBJECT IDENTIFIER ::= { myRouterProducts 39 }
 | 
			
		||||
 | 
			
		||||
nmx-24esw-3gel3 OBJECT IDENTIFIER ::= { myRouterProducts 40 }
 | 
			
		||||
 | 
			
		||||
rsr20-14 OBJECT IDENTIFIER ::= { myRouterProducts 41 }
 | 
			
		||||
 | 
			
		||||
rsr30-44 OBJECT IDENTIFIER ::= { myRouterProducts 42 }
 | 
			
		||||
 | 
			
		||||
r2700v2v3 OBJECT IDENTIFIER ::= { myRouterProducts 43 }
 | 
			
		||||
 | 
			
		||||
r2700v5 OBJECT IDENTIFIER ::= { myRouterProducts 44 }
 | 
			
		||||
 | 
			
		||||
npe50-40 OBJECT IDENTIFIER ::= { myRouterProducts 45 }
 | 
			
		||||
 | 
			
		||||
rsr20-18 OBJECT IDENTIFIER ::= { myRouterProducts 46 }
 | 
			
		||||
 | 
			
		||||
-- ****************************** wireless ***********************************
 | 
			
		||||
 | 
			
		||||
wgp500 OBJECT IDENTIFIER ::= { myWirelessProducts 1 }
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
END
 | 
			
		||||
							
								
								
									
										151
									
								
								MIBS/ruijie/MY-SMI
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										151
									
								
								MIBS/ruijie/MY-SMI
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,151 @@
 | 
			
		||||
-- *****************************************************************
 | 
			
		||||
-- MY-SMI.mib: MY-SMI
 | 
			
		||||
--                My Enterprise Structure of Management Information
 | 
			
		||||
--
 | 
			
		||||
-- $Copyright$
 | 
			
		||||
-- 
 | 
			
		||||
-- 
 | 
			
		||||
-- *****************************************************************
 | 
			
		||||
--
 | 
			
		||||
 | 
			
		||||
MY-SMI DEFINITIONS ::= BEGIN
 | 
			
		||||
 | 
			
		||||
IMPORTS
 | 
			
		||||
        MODULE-IDENTITY,
 | 
			
		||||
        OBJECT-IDENTITY,
 | 
			
		||||
        enterprises
 | 
			
		||||
                FROM SNMPv2-SMI;
 | 
			
		||||
 | 
			
		||||
-- My Snmpagent Enterprise Specific Objects
 | 
			
		||||
   my          OBJECT IDENTIFIER ::= { enterprises 4881 }
 | 
			
		||||
 | 
			
		||||
   products        OBJECT IDENTIFIER ::= { my 1 }
 | 
			
		||||
 | 
			
		||||
   switch          OBJECT IDENTIFIER ::= { products 1 }
 | 
			
		||||
   
 | 
			
		||||
   router          OBJECT IDENTIFIER ::= { products 2 }
 | 
			
		||||
 | 
			
		||||
   wireless        OBJECT IDENTIFIER ::= { products 3 }
 | 
			
		||||
   
 | 
			
		||||
switchMib MODULE-IDENTITY
 | 
			
		||||
        LAST-UPDATED "200203190000Z"
 | 
			
		||||
        ORGANIZATION "$Company$"
 | 
			
		||||
        CONTACT-INFO
 | 
			
		||||
                " 
 | 
			
		||||
                Tel: $Telephone$ 
 | 
			
		||||
 | 
			
		||||
                E-mail: $E-mail$"
 | 
			
		||||
        DESCRIPTION
 | 
			
		||||
                "The Structure of Management Information for the
 | 
			
		||||
                 My enterprise."
 | 
			
		||||
        REVISION      "200203190000Z"
 | 
			
		||||
        DESCRIPTION
 | 
			
		||||
                "Initial version of this MIB module."
 | 
			
		||||
        ::= { switch 10 }        
 | 
			
		||||
 | 
			
		||||
mySwitchProducts OBJECT-IDENTITY
 | 
			
		||||
        STATUS  current
 | 
			
		||||
        DESCRIPTION
 | 
			
		||||
                "mySwitchProducts is the root OBJECT IDENTIFIER from
 | 
			
		||||
                which sysObjectID values are assigned for switch.  Actual
 | 
			
		||||
                values are defined in MY-PRODUCTS-MIB."
 | 
			
		||||
        ::= { switchMib 1 }
 | 
			
		||||
 | 
			
		||||
myMgmt OBJECT-IDENTITY
 | 
			
		||||
        STATUS  current
 | 
			
		||||
        DESCRIPTION
 | 
			
		||||
                "myMgmt is the main subtree for those functional mib."
 | 
			
		||||
        ::= { switchMib 2 }
 | 
			
		||||
 | 
			
		||||
myAgentCapability OBJECT-IDENTITY
 | 
			
		||||
        STATUS  current
 | 
			
		||||
        DESCRIPTION
 | 
			
		||||
                "myAgentCapability provides a root object identifier
 | 
			
		||||
                from which AGENT-CAPABILITIES values may be assigned."
 | 
			
		||||
        ::= { switchMib 3 }
 | 
			
		||||
 | 
			
		||||
myModules OBJECT-IDENTITY
 | 
			
		||||
        STATUS  current
 | 
			
		||||
        DESCRIPTION
 | 
			
		||||
                "myModules provides a root object identifier
 | 
			
		||||
                from which MODULE-IDENTITY values may be assigned."
 | 
			
		||||
        ::= { switchMib 4 }
 | 
			
		||||
        
 | 
			
		||||
myExperiment OBJECT-IDENTITY
 | 
			
		||||
        STATUS  current
 | 
			
		||||
        DESCRIPTION
 | 
			
		||||
                "myExperiment provides a root object identifier
 | 
			
		||||
                from which experimental mibs may be temporarily
 | 
			
		||||
                based.  mibs are typicially based here if they
 | 
			
		||||
                fall in one of two categories
 | 
			
		||||
                1) are IETF work-in-process mibs which have not
 | 
			
		||||
                been assigned a permanent object identifier by
 | 
			
		||||
                the IANA.
 | 
			
		||||
                2) are my work-in-process which has not been
 | 
			
		||||
                assigned a permanent object identifier by the
 | 
			
		||||
                my assigned number authority, typicially because
 | 
			
		||||
                the mib is not ready for deployment.
 | 
			
		||||
 | 
			
		||||
                NOTE WELL:  support for mibs in the myExperiment
 | 
			
		||||
                subtree will be deleted when a permanent object
 | 
			
		||||
                identifier assignment is made."
 | 
			
		||||
        ::= { switchMib 5 }
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
-- ****************************** router ***********************************
 | 
			
		||||
routerMib MODULE-IDENTITY
 | 
			
		||||
        LAST-UPDATED "200501060000Z"
 | 
			
		||||
        ORGANIZATION "$Company$"
 | 
			
		||||
        CONTACT-INFO
 | 
			
		||||
                " 
 | 
			
		||||
                Tel: $Telephone$ 
 | 
			
		||||
 | 
			
		||||
                E-mail: $E-mail$"
 | 
			
		||||
        DESCRIPTION
 | 
			
		||||
                "The Structure of Management Information for the
 | 
			
		||||
                 My enterprise."
 | 
			
		||||
        REVISION      "200501060000Z"
 | 
			
		||||
        DESCRIPTION
 | 
			
		||||
                "Initial version of this MIB module."
 | 
			
		||||
        ::= { router 1 }        
 | 
			
		||||
 | 
			
		||||
myRouterProducts OBJECT-IDENTITY
 | 
			
		||||
        STATUS  current
 | 
			
		||||
        DESCRIPTION
 | 
			
		||||
                "myRouterProducts is the root OBJECT IDENTIFIER from
 | 
			
		||||
                which sysObjectID values are assigned for router.  Actual
 | 
			
		||||
                values are defined in MY-PRODUCTS-MIB."
 | 
			
		||||
        ::= { routerMib 1 }
 | 
			
		||||
 | 
			
		||||
-- ****************************** wireless ***********************************
 | 
			
		||||
wirelessMib MODULE-IDENTITY
 | 
			
		||||
        LAST-UPDATED "200707040000Z"
 | 
			
		||||
        ORGANIZATION "$Company$"
 | 
			
		||||
        CONTACT-INFO
 | 
			
		||||
                " 
 | 
			
		||||
                Tel: $Telephone$ 
 | 
			
		||||
 | 
			
		||||
                E-mail: $E-mail$"
 | 
			
		||||
        DESCRIPTION
 | 
			
		||||
                "The Structure of Management Information for the
 | 
			
		||||
                 My enterprise."
 | 
			
		||||
        REVISION      "200707040000Z"
 | 
			
		||||
        DESCRIPTION
 | 
			
		||||
                "Initial version of this MIB module."
 | 
			
		||||
        ::= { wireless 1 }        
 | 
			
		||||
 | 
			
		||||
myWirelessProducts OBJECT-IDENTITY
 | 
			
		||||
        STATUS  current
 | 
			
		||||
        DESCRIPTION
 | 
			
		||||
                "myWirelessProducts is the root OBJECT IDENTIFIER from
 | 
			
		||||
                which sysObjectID values are assigned for wireless product.
 | 
			
		||||
                Actual values are defined in MY-PRODUCTS-MIB."
 | 
			
		||||
        ::= { wirelessMib 1 }
 | 
			
		||||
 | 
			
		||||
myWirelessMgmt OBJECT-IDENTITY
 | 
			
		||||
        STATUS  current
 | 
			
		||||
        DESCRIPTION
 | 
			
		||||
                "myWirelessMgmt is the main subtree for those functional mib."
 | 
			
		||||
        ::= { wirelessMib 2 }
 | 
			
		||||
 
 | 
			
		||||
END
 | 
			
		||||
							
								
								
									
										570
									
								
								MIBS/ruijie/MY-SMP-MIB
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										570
									
								
								MIBS/ruijie/MY-SMP-MIB
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,570 @@
 | 
			
		||||
-- *****************************************************************
 | 
			
		||||
-- MY-SMP-MIB.mib:  My SMP MIB file
 | 
			
		||||
--
 | 
			
		||||
-- $Copyright$
 | 
			
		||||
-- 
 | 
			
		||||
-- *****************************************************************
 | 
			
		||||
--
 | 
			
		||||
 | 
			
		||||
MY-SMP-MIB DEFINITIONS ::= BEGIN
 | 
			
		||||
 | 
			
		||||
IMPORTS
 | 
			
		||||
        MODULE-IDENTITY,
 | 
			
		||||
        OBJECT-TYPE,
 | 
			
		||||
        NOTIFICATION-TYPE,
 | 
			
		||||
        IpAddress
 | 
			
		||||
                FROM SNMPv2-SMI
 | 
			
		||||
        RowStatus,
 | 
			
		||||
        DisplayString,
 | 
			
		||||
        MacAddress,
 | 
			
		||||
        TruthValue
 | 
			
		||||
                FROM SNMPv2-TC
 | 
			
		||||
        MODULE-COMPLIANCE,
 | 
			
		||||
        OBJECT-GROUP,
 | 
			
		||||
        NOTIFICATION-GROUP
 | 
			
		||||
                FROM SNMPv2-CONF
 | 
			
		||||
        IfIndex,
 | 
			
		||||
        ConfigStatus
 | 
			
		||||
                FROM MY-TC
 | 
			
		||||
        ifIndex        
 | 
			
		||||
                FROM IF-MIB
 | 
			
		||||
        myMgmt
 | 
			
		||||
                FROM MY-SMI
 | 
			
		||||
        Community
 | 
			
		||||
        				FROM MY-SNMP-AGENT-MIB
 | 
			
		||||
        VlanId
 | 
			
		||||
                FROM Q-BRIDGE-MIB;        				
 | 
			
		||||
 | 
			
		||||
mySMPMIB MODULE-IDENTITY
 | 
			
		||||
        LAST-UPDATED "200409090000Z"
 | 
			
		||||
        ORGANIZATION "$Company$"
 | 
			
		||||
        CONTACT-INFO
 | 
			
		||||
                " 
 | 
			
		||||
                Tel: $Telephone$ 
 | 
			
		||||
 | 
			
		||||
                E-mail: $E-mail$"
 | 
			
		||||
        DESCRIPTION
 | 
			
		||||
                ""
 | 
			
		||||
        REVISION      "200409090000Z"
 | 
			
		||||
        DESCRIPTION
 | 
			
		||||
                "Initial version of this MIB module."
 | 
			
		||||
        ::= { myMgmt 39}
 | 
			
		||||
 | 
			
		||||
mySMPMIBObjects OBJECT IDENTIFIER ::= { mySMPMIB 1 }
 | 
			
		||||
 | 
			
		||||
--
 | 
			
		||||
--  user management
 | 
			
		||||
--
 | 
			
		||||
 | 
			
		||||
mySMPServer OBJECT-TYPE
 | 
			
		||||
		SYNTAX IpAddress
 | 
			
		||||
    MAX-ACCESS  read-write
 | 
			
		||||
    STATUS      current
 | 
			
		||||
    DESCRIPTION
 | 
			
		||||
            ""
 | 
			
		||||
    ::= { mySMPMIBObjects 1 }
 | 
			
		||||
    
 | 
			
		||||
mySMPServerKey OBJECT-TYPE
 | 
			
		||||
		SYNTAX Community
 | 
			
		||||
    MAX-ACCESS  read-write
 | 
			
		||||
    STATUS      current
 | 
			
		||||
    DESCRIPTION
 | 
			
		||||
            ""
 | 
			
		||||
    ::= { mySMPMIBObjects 2 }    
 | 
			
		||||
    
 | 
			
		||||
mySMPEventSendSlice OBJECT-TYPE
 | 
			
		||||
		SYNTAX Unsigned32 
 | 
			
		||||
    MAX-ACCESS  read-write
 | 
			
		||||
    STATUS      current
 | 
			
		||||
    DESCRIPTION
 | 
			
		||||
            ""
 | 
			
		||||
    ::= { mySMPMIBObjects 3 }    
 | 
			
		||||
    
 | 
			
		||||
mySMPPolicyDelete OBJECT-TYPE
 | 
			
		||||
    SYNTAX Integer32
 | 
			
		||||
    MAX-ACCESS read-write
 | 
			
		||||
    STATUS      current    
 | 
			
		||||
    DESCRIPTION
 | 
			
		||||
            ""
 | 
			
		||||
    ::= { mySMPMIBObjects 4 }  
 | 
			
		||||
        
 | 
			
		||||
mySMPPolicyChecksum OBJECT-TYPE
 | 
			
		||||
    SYNTAX OCTET STRING(SIZE(16))
 | 
			
		||||
    MAX-ACCESS read-only
 | 
			
		||||
    STATUS      current    
 | 
			
		||||
    DESCRIPTION
 | 
			
		||||
            ""
 | 
			
		||||
    ::= { mySMPMIBObjects 5 }     
 | 
			
		||||
 | 
			
		||||
mySMPPolicyTimeout OBJECT-TYPE
 | 
			
		||||
    SYNTAX     Unsigned32
 | 
			
		||||
    MAX-ACCESS read-write
 | 
			
		||||
    STATUS      current    
 | 
			
		||||
    DESCRIPTION
 | 
			
		||||
            ""
 | 
			
		||||
    ::= { mySMPMIBObjects 6 }    
 | 
			
		||||
    
 | 
			
		||||
mySMPPolicyGroupTable OBJECT-TYPE
 | 
			
		||||
        SYNTAX  SEQUENCE OF MySMPPolicyGroupEntry
 | 
			
		||||
        MAX-ACCESS  not-accessible
 | 
			
		||||
        STATUS  current
 | 
			
		||||
        DESCRIPTION
 | 
			
		||||
              ""
 | 
			
		||||
    ::= { mySMPMIBObjects 9}
 | 
			
		||||
 | 
			
		||||
mySMPPolicyGroupEntry OBJECT-TYPE
 | 
			
		||||
        SYNTAX  MySMPPolicyGroupEntry
 | 
			
		||||
        MAX-ACCESS  not-accessible
 | 
			
		||||
        STATUS  current
 | 
			
		||||
        DESCRIPTION
 | 
			
		||||
              ""
 | 
			
		||||
        INDEX   {mySMPPolicyGroupIndex}
 | 
			
		||||
    ::= { mySMPPolicyGroupTable 1 }
 | 
			
		||||
 
 | 
			
		||||
    MySMPPolicyGroupEntry ::=
 | 
			
		||||
        SEQUENCE {
 | 
			
		||||
                mySMPPolicyGroupIndex
 | 
			
		||||
                       Unsigned32,        
 | 
			
		||||
                mySMPPolicyGroupCount
 | 
			
		||||
                       Unsigned32,
 | 
			
		||||
                mySMPPolicyGroupChecksum
 | 
			
		||||
                       OCTET STRING(SIZE(16)),           
 | 
			
		||||
                mySMPPolicyGroupStatus
 | 
			
		||||
                       RowStatus
 | 
			
		||||
      }
 | 
			
		||||
 | 
			
		||||
mySMPPolicyGroupIndex OBJECT-TYPE
 | 
			
		||||
        SYNTAX  Unsigned32
 | 
			
		||||
        MAX-ACCESS  read-only
 | 
			
		||||
        STATUS  current
 | 
			
		||||
        DESCRIPTION
 | 
			
		||||
              "" 
 | 
			
		||||
    ::= { mySMPPolicyGroupEntry 1 }
 | 
			
		||||
 | 
			
		||||
mySMPPolicyGroupCount OBJECT-TYPE
 | 
			
		||||
        SYNTAX       Unsigned32
 | 
			
		||||
        MAX-ACCESS   read-write
 | 
			
		||||
        STATUS       current
 | 
			
		||||
        DESCRIPTION
 | 
			
		||||
            ""
 | 
			
		||||
    ::= { mySMPPolicyGroupEntry 2 }
 | 
			
		||||
    
 | 
			
		||||
mySMPPolicyGroupChecksum OBJECT-TYPE
 | 
			
		||||
        SYNTAX OCTET STRING(SIZE(16))
 | 
			
		||||
        MAX-ACCESS   read-write
 | 
			
		||||
        STATUS       current
 | 
			
		||||
        DESCRIPTION
 | 
			
		||||
            ""
 | 
			
		||||
    ::= { mySMPPolicyGroupEntry 3 }
 | 
			
		||||
 | 
			
		||||
mySMPPolicyGroupStatus OBJECT-TYPE
 | 
			
		||||
        SYNTAX       RowStatus
 | 
			
		||||
        MAX-ACCESS   read-create
 | 
			
		||||
        STATUS       current
 | 
			
		||||
        DESCRIPTION
 | 
			
		||||
            "The status of this conceptual row."
 | 
			
		||||
    ::= { mySMPPolicyGroupEntry 4 }
 | 
			
		||||
    
 | 
			
		||||
mySMPPolicyTable OBJECT-TYPE
 | 
			
		||||
        SYNTAX  SEQUENCE OF MySMPPolicyEntry
 | 
			
		||||
        MAX-ACCESS  not-accessible
 | 
			
		||||
        STATUS  current
 | 
			
		||||
        DESCRIPTION
 | 
			
		||||
              ""
 | 
			
		||||
    ::= { mySMPMIBObjects 8}
 | 
			
		||||
 | 
			
		||||
mySMPPolicyEntry OBJECT-TYPE
 | 
			
		||||
        SYNTAX  MySMPPolicyEntry
 | 
			
		||||
        MAX-ACCESS  not-accessible
 | 
			
		||||
        STATUS  current
 | 
			
		||||
        DESCRIPTION
 | 
			
		||||
              ""
 | 
			
		||||
        INDEX   {mySMPGroupIndex,mySMPPolicyIndex}
 | 
			
		||||
    ::= { mySMPPolicyTable 1 }
 | 
			
		||||
 | 
			
		||||
    MySMPPolicyEntry ::=
 | 
			
		||||
        SEQUENCE {
 | 
			
		||||
                mySMPGroupIndex
 | 
			
		||||
                       Unsigned32,
 | 
			
		||||
                mySMPPolicyIndex
 | 
			
		||||
                       Unsigned32,        
 | 
			
		||||
                mySMPPolicyStatus
 | 
			
		||||
                       ConfigStatus,
 | 
			
		||||
                mySMPPolicyNumber
 | 
			
		||||
                       Unsigned32,
 | 
			
		||||
                mySMPPolicyInstallPort
 | 
			
		||||
                       IfIndex,           
 | 
			
		||||
                mySMPPolicyType
 | 
			
		||||
                       INTEGER,  
 | 
			
		||||
                mySMPPolicyContent
 | 
			
		||||
                       OCTET STRING,
 | 
			
		||||
                mySMPPolicyMask
 | 
			
		||||
                       OCTET STRING,
 | 
			
		||||
                mySMPPolicyName
 | 
			
		||||
                       DisplayString
 | 
			
		||||
      }
 | 
			
		||||
 | 
			
		||||
mySMPGroupIndex OBJECT-TYPE
 | 
			
		||||
        SYNTAX  Unsigned32
 | 
			
		||||
        MAX-ACCESS  read-only
 | 
			
		||||
        STATUS  current
 | 
			
		||||
        DESCRIPTION
 | 
			
		||||
              "" 
 | 
			
		||||
    ::= { mySMPPolicyEntry 1 }
 | 
			
		||||
 | 
			
		||||
mySMPPolicyIndex OBJECT-TYPE
 | 
			
		||||
        SYNTAX  Unsigned32
 | 
			
		||||
        MAX-ACCESS  read-only
 | 
			
		||||
        STATUS  current
 | 
			
		||||
        DESCRIPTION
 | 
			
		||||
              "" 
 | 
			
		||||
    ::= { mySMPPolicyEntry 2 }
 | 
			
		||||
 | 
			
		||||
mySMPPolicyStatus OBJECT-TYPE
 | 
			
		||||
        SYNTAX       ConfigStatus
 | 
			
		||||
        MAX-ACCESS   read-write
 | 
			
		||||
        STATUS       current
 | 
			
		||||
        DESCRIPTION
 | 
			
		||||
            ""
 | 
			
		||||
    ::= { mySMPPolicyEntry 3 }
 | 
			
		||||
  
 | 
			
		||||
mySMPPolicyNumber OBJECT-TYPE
 | 
			
		||||
        SYNTAX  Unsigned32
 | 
			
		||||
        MAX-ACCESS  read-write
 | 
			
		||||
        STATUS  current
 | 
			
		||||
        DESCRIPTION
 | 
			
		||||
              "" 
 | 
			
		||||
    ::= { mySMPPolicyEntry 4 }
 | 
			
		||||
    
 | 
			
		||||
mySMPPolicyInstallPort OBJECT-TYPE
 | 
			
		||||
        SYNTAX  IfIndex
 | 
			
		||||
        MAX-ACCESS  read-write
 | 
			
		||||
        STATUS  current
 | 
			
		||||
        DESCRIPTION
 | 
			
		||||
              "" 
 | 
			
		||||
    ::= { mySMPPolicyEntry 5 }
 | 
			
		||||
    
 | 
			
		||||
mySMPPolicyType OBJECT-TYPE
 | 
			
		||||
        SYNTAX INTEGER{
 | 
			
		||||
        	hi-isolate(1),
 | 
			
		||||
        	isolate(2),
 | 
			
		||||
        	bolcked(3),
 | 
			
		||||
        	addrBind(4)
 | 
			
		||||
        }
 | 
			
		||||
        MAX-ACCESS read-write
 | 
			
		||||
        STATUS current
 | 
			
		||||
        DESCRIPTION
 | 
			
		||||
            ""
 | 
			
		||||
        ::= { mySMPPolicyEntry 6 }
 | 
			
		||||
        
 | 
			
		||||
mySMPPolicyContent OBJECT-TYPE
 | 
			
		||||
        SYNTAX OCTET STRING(SIZE(80))
 | 
			
		||||
        MAX-ACCESS read-write
 | 
			
		||||
        STATUS current
 | 
			
		||||
        DESCRIPTION
 | 
			
		||||
            ""
 | 
			
		||||
        ::= { mySMPPolicyEntry 7 }
 | 
			
		||||
        
 | 
			
		||||
mySMPPolicyMask OBJECT-TYPE
 | 
			
		||||
        SYNTAX OCTET STRING(SIZE(80))
 | 
			
		||||
        MAX-ACCESS read-write
 | 
			
		||||
        STATUS current
 | 
			
		||||
        DESCRIPTION
 | 
			
		||||
            ""
 | 
			
		||||
        ::= { mySMPPolicyEntry 8 }    
 | 
			
		||||
        
 | 
			
		||||
mySMPPolicyName OBJECT-TYPE
 | 
			
		||||
        SYNTAX       DisplayString(SIZE (0..32))
 | 
			
		||||
        MAX-ACCESS   read-write
 | 
			
		||||
        STATUS       current
 | 
			
		||||
        DESCRIPTION
 | 
			
		||||
            ""
 | 
			
		||||
    ::= { mySMPPolicyEntry 9 }
 | 
			
		||||
    
 | 
			
		||||
mySMPFrameRelayTable OBJECT-TYPE
 | 
			
		||||
        SYNTAX  SEQUENCE OF MySMPFrameRelayEntry
 | 
			
		||||
        MAX-ACCESS  not-accessible
 | 
			
		||||
        STATUS  current
 | 
			
		||||
        DESCRIPTION
 | 
			
		||||
              ""
 | 
			
		||||
    ::= { mySMPMIBObjects 7}
 | 
			
		||||
 | 
			
		||||
mySMPFrameRelayEntry OBJECT-TYPE
 | 
			
		||||
        SYNTAX  MySMPFrameRelayEntry
 | 
			
		||||
        MAX-ACCESS  not-accessible
 | 
			
		||||
        STATUS  current
 | 
			
		||||
        DESCRIPTION
 | 
			
		||||
              ""
 | 
			
		||||
        INDEX   {mySMPFrameRelayIndex}
 | 
			
		||||
    ::= { mySMPFrameRelayTable 1 }
 | 
			
		||||
 | 
			
		||||
    MySMPFrameRelayEntry ::=
 | 
			
		||||
        SEQUENCE {
 | 
			
		||||
                mySMPFrameRelayIndex
 | 
			
		||||
                       Unsigned32,        
 | 
			
		||||
                mySMPFrameRelayContent
 | 
			
		||||
                       OCTET STRING,
 | 
			
		||||
                mySMPFrameRelayLength
 | 
			
		||||
                       Unsigned32,           
 | 
			
		||||
                mySMPFrameRelayDestPort
 | 
			
		||||
                		   IfIndex,
 | 
			
		||||
                mySMPFrameRelayDestVlan
 | 
			
		||||
                		   VlanId                                       		   
 | 
			
		||||
      }
 | 
			
		||||
 | 
			
		||||
mySMPFrameRelayIndex OBJECT-TYPE
 | 
			
		||||
        SYNTAX  Unsigned32
 | 
			
		||||
        MAX-ACCESS  read-only
 | 
			
		||||
        STATUS  current
 | 
			
		||||
        DESCRIPTION
 | 
			
		||||
              "" 
 | 
			
		||||
    ::= { mySMPFrameRelayEntry 1 }
 | 
			
		||||
    
 | 
			
		||||
mySMPFrameRelayContent OBJECT-TYPE
 | 
			
		||||
        SYNTAX OCTET STRING(SIZE(0..1024))
 | 
			
		||||
        MAX-ACCESS read-write
 | 
			
		||||
        STATUS current
 | 
			
		||||
        DESCRIPTION
 | 
			
		||||
            ""
 | 
			
		||||
    ::= { mySMPFrameRelayEntry 2 }
 | 
			
		||||
    
 | 
			
		||||
mySMPFrameRelayLength OBJECT-TYPE
 | 
			
		||||
    SYNTAX Unsigned32
 | 
			
		||||
    MAX-ACCESS read-write
 | 
			
		||||
    STATUS      current    
 | 
			
		||||
    DESCRIPTION
 | 
			
		||||
            ""
 | 
			
		||||
    ::= { mySMPFrameRelayEntry 3 } 
 | 
			
		||||
 | 
			
		||||
mySMPFrameRelayDestPort OBJECT-TYPE
 | 
			
		||||
        SYNTAX  IfIndex
 | 
			
		||||
        MAX-ACCESS  read-write
 | 
			
		||||
        STATUS  current
 | 
			
		||||
        DESCRIPTION
 | 
			
		||||
              "" 
 | 
			
		||||
    ::= { mySMPFrameRelayEntry 4 }
 | 
			
		||||
    
 | 
			
		||||
mySMPFrameRelayDestVlan OBJECT-TYPE
 | 
			
		||||
        SYNTAX  VlanId
 | 
			
		||||
        MAX-ACCESS  read-write
 | 
			
		||||
        STATUS  current
 | 
			
		||||
        DESCRIPTION
 | 
			
		||||
              "VLAN ID" 
 | 
			
		||||
    ::= { mySMPFrameRelayEntry 5 }    
 | 
			
		||||
      
 | 
			
		||||
 | 
			
		||||
-- 
 | 
			
		||||
  mySMPTraps      OBJECT IDENTIFIER ::= { mySMPMIB 65535}
 | 
			
		||||
        
 | 
			
		||||
  mySMPSwitchIP OBJECT-TYPE
 | 
			
		||||
          SYNTAX IpAddress
 | 
			
		||||
          MAX-ACCESS accessible-for-notify
 | 
			
		||||
          STATUS current
 | 
			
		||||
          DESCRIPTION
 | 
			
		||||
            ""
 | 
			
		||||
          ::= { mySMPTraps 1 }          
 | 
			
		||||
        
 | 
			
		||||
  mySMPSwitchInterfaceID OBJECT-TYPE
 | 
			
		||||
          SYNTAX IfIndex
 | 
			
		||||
          MAX-ACCESS accessible-for-notify
 | 
			
		||||
          STATUS current
 | 
			
		||||
          DESCRIPTION
 | 
			
		||||
            ""
 | 
			
		||||
          ::= { mySMPTraps 2 }    
 | 
			
		||||
  
 | 
			
		||||
  mySMPSwitchInterfaceVLANID OBJECT-TYPE
 | 
			
		||||
          SYNTAX VlanId
 | 
			
		||||
          MAX-ACCESS accessible-for-notify
 | 
			
		||||
          STATUS current
 | 
			
		||||
          DESCRIPTION
 | 
			
		||||
            "VLAN ID"
 | 
			
		||||
          ::= { mySMPTraps 3 }  
 | 
			
		||||
 | 
			
		||||
  mySMPFrameContentLength OBJECT-TYPE
 | 
			
		||||
          SYNTAX Unsigned32
 | 
			
		||||
          MAX-ACCESS accessible-for-notify
 | 
			
		||||
          STATUS current
 | 
			
		||||
          DESCRIPTION
 | 
			
		||||
            ""
 | 
			
		||||
          ::= { mySMPTraps 4 }      
 | 
			
		||||
        
 | 
			
		||||
  mySMPFrameContent OBJECT-TYPE
 | 
			
		||||
          SYNTAX OCTET STRING(SIZE(0..1024))
 | 
			
		||||
          MAX-ACCESS accessible-for-notify
 | 
			
		||||
          STATUS current
 | 
			
		||||
          DESCRIPTION
 | 
			
		||||
            ""
 | 
			
		||||
          ::= { mySMPTraps 5 }      
 | 
			
		||||
        
 | 
			
		||||
  mySMPFrameRelayTrap NOTIFICATION-TYPE
 | 
			
		||||
      OBJECTS  {mySMPSwitchIP,mySMPSwitchInterfaceID,mySMPSwitchInterfaceVLANID,
 | 
			
		||||
      			  mySMPFrameContentLength,mySMPFrameContent}
 | 
			
		||||
      STATUS  current
 | 
			
		||||
      DESCRIPTION
 | 
			
		||||
              "Trap"
 | 
			
		||||
      ::= { mySMPTraps 6 }
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
  mySMPArpAttackSubnetIP OBJECT-TYPE
 | 
			
		||||
          SYNTAX OCTET STRING(SIZE(0..40))
 | 
			
		||||
          MAX-ACCESS accessible-for-notify
 | 
			
		||||
          STATUS current
 | 
			
		||||
          DESCRIPTION
 | 
			
		||||
            ""
 | 
			
		||||
          ::= { mySMPTraps 7 }          
 | 
			
		||||
        
 | 
			
		||||
  mySMPArpAttackSubnetIPNum OBJECT-TYPE
 | 
			
		||||
          SYNTAX Integer32
 | 
			
		||||
          MAX-ACCESS accessible-for-notify
 | 
			
		||||
          STATUS current
 | 
			
		||||
          DESCRIPTION
 | 
			
		||||
            ""
 | 
			
		||||
          ::= { mySMPTraps 8 }          
 | 
			
		||||
 | 
			
		||||
  mySMPArpAttackInterfaceSlot OBJECT-TYPE
 | 
			
		||||
          SYNTAX Integer32
 | 
			
		||||
          MAX-ACCESS accessible-for-notify
 | 
			
		||||
          STATUS current
 | 
			
		||||
          DESCRIPTION
 | 
			
		||||
            ""
 | 
			
		||||
          ::= { mySMPTraps 9 }    
 | 
			
		||||
  
 | 
			
		||||
  mySMPArpAttackInterfacePort OBJECT-TYPE
 | 
			
		||||
          SYNTAX Integer32
 | 
			
		||||
          MAX-ACCESS accessible-for-notify
 | 
			
		||||
          STATUS current
 | 
			
		||||
          DESCRIPTION
 | 
			
		||||
            ""
 | 
			
		||||
          ::= { mySMPTraps 10}  
 | 
			
		||||
 | 
			
		||||
  mySMPArpAttackInterfaceVlanID OBJECT-TYPE
 | 
			
		||||
          SYNTAX VlanId
 | 
			
		||||
          MAX-ACCESS accessible-for-notify
 | 
			
		||||
          STATUS current
 | 
			
		||||
          DESCRIPTION
 | 
			
		||||
            "VLAN ID"
 | 
			
		||||
          ::= { mySMPTraps 11 }      
 | 
			
		||||
        
 | 
			
		||||
  mySMPArpAttackFrameContent OBJECT-TYPE
 | 
			
		||||
          SYNTAX OCTET STRING(SIZE(0..64))
 | 
			
		||||
          MAX-ACCESS accessible-for-notify
 | 
			
		||||
          STATUS current
 | 
			
		||||
          DESCRIPTION
 | 
			
		||||
            ""
 | 
			
		||||
          ::= { mySMPTraps 12 }      
 | 
			
		||||
 | 
			
		||||
  mySMPArpAttackStatus OBJECT-TYPE
 | 
			
		||||
          SYNTAX TruthValue
 | 
			
		||||
          MAX-ACCESS accessible-for-notify
 | 
			
		||||
          STATUS current
 | 
			
		||||
          DESCRIPTION
 | 
			
		||||
            ""
 | 
			
		||||
          ::= { mySMPTraps 13 }
 | 
			
		||||
 | 
			
		||||
  mySMPArpAttackCriticalStatus OBJECT-TYPE
 | 
			
		||||
          SYNTAX INTEGER{
 | 
			
		||||
             critical(1),
 | 
			
		||||
             emergencies(2) 
 | 
			
		||||
          }
 | 
			
		||||
          MAX-ACCESS accessible-for-notify
 | 
			
		||||
          STATUS current
 | 
			
		||||
          DESCRIPTION
 | 
			
		||||
            "
 | 
			
		||||
             critical(1),         
 | 
			
		||||
             emergencies(2)"
 | 
			
		||||
          ::= { mySMPTraps 14 }
 | 
			
		||||
 | 
			
		||||
  mySMPArpAttackMac OBJECT-TYPE
 | 
			
		||||
          SYNTAX MacAddress
 | 
			
		||||
          MAX-ACCESS accessible-for-notify
 | 
			
		||||
          STATUS current
 | 
			
		||||
          DESCRIPTION
 | 
			
		||||
            ""
 | 
			
		||||
          ::= { mySMPTraps 15 }      
 | 
			
		||||
 | 
			
		||||
  mySMPArpAttackInterfaceIndex OBJECT-TYPE
 | 
			
		||||
          SYNTAX Integer32
 | 
			
		||||
          MAX-ACCESS accessible-for-notify
 | 
			
		||||
          STATUS current
 | 
			
		||||
          DESCRIPTION
 | 
			
		||||
            ""
 | 
			
		||||
          ::= { mySMPTraps 16 }      
 | 
			
		||||
        
 | 
			
		||||
  mySMPArpAttackTrap NOTIFICATION-TYPE
 | 
			
		||||
      OBJECTS  {mySMPArpAttackSubnetIP, mySMPArpAttackSubnetIPNum, mySMPArpAttackInterfaceSlot,
 | 
			
		||||
               mySMPArpAttackInterfacePort, mySMPArpAttackInterfaceVlanID, mySMPArpAttackFrameContent,
 | 
			
		||||
               mySMPArpAttackStatus, mySMPArpAttackCriticalStatus, mySMPArpAttackMac, 
 | 
			
		||||
               mySMPArpAttackInterfaceIndex}
 | 
			
		||||
      STATUS  current
 | 
			
		||||
      DESCRIPTION
 | 
			
		||||
              ""
 | 
			
		||||
      ::= { mySMPTraps 17 }        
 | 
			
		||||
 | 
			
		||||
mySMPMIBConformance OBJECT IDENTIFIER ::= { mySMPMIB 3 }
 | 
			
		||||
mySMPMIBCompliances OBJECT IDENTIFIER ::= { mySMPMIBConformance 1 }
 | 
			
		||||
mySMPMIBGroups      OBJECT IDENTIFIER ::= { mySMPMIBConformance 2 }
 | 
			
		||||
 | 
			
		||||
-- compliance statements
 | 
			
		||||
myDeviceMIBCompliance MODULE-COMPLIANCE
 | 
			
		||||
        STATUS  current
 | 
			
		||||
        DESCRIPTION
 | 
			
		||||
                "The compliance statement for entities which implement
 | 
			
		||||
                the My SMP MIB"
 | 
			
		||||
        MODULE  -- this module
 | 
			
		||||
                MANDATORY-GROUPS { mySMPServerMibGroup,
 | 
			
		||||
                                   mySMPClientMibGroup,
 | 
			
		||||
                                   mySMPPolicyMibGroup,
 | 
			
		||||
                                   mySMPFrameRelayMibGroup}
 | 
			
		||||
        ::= { mySMPMIBCompliances 1 }
 | 
			
		||||
        
 | 
			
		||||
mySMPServerMibGroup    OBJECT-GROUP
 | 
			
		||||
    OBJECTS {
 | 
			
		||||
    					mySMPServer,
 | 
			
		||||
    					mySMPServerKey
 | 
			
		||||
            }
 | 
			
		||||
    STATUS  current
 | 
			
		||||
    DESCRIPTION
 | 
			
		||||
            ""
 | 
			
		||||
    ::= { mySMPMIBGroups 1 }
 | 
			
		||||
    
 | 
			
		||||
mySMPClientMibGroup    OBJECT-GROUP
 | 
			
		||||
    OBJECTS {
 | 
			
		||||
    					mySMPEventSendSlice
 | 
			
		||||
            }
 | 
			
		||||
    STATUS  current
 | 
			
		||||
    DESCRIPTION
 | 
			
		||||
            ""
 | 
			
		||||
    ::= { mySMPMIBGroups 2 }    
 | 
			
		||||
    
 | 
			
		||||
mySMPPolicyMibGroup    OBJECT-GROUP
 | 
			
		||||
    OBJECTS {
 | 
			
		||||
    					mySMPPolicyDelete,
 | 
			
		||||
    					mySMPPolicyChecksum,
 | 
			
		||||
              mySMPPolicyIndex,
 | 
			
		||||
              mySMPPolicyStatus,
 | 
			
		||||
              mySMPPolicyInstallPort,
 | 
			
		||||
              mySMPPolicyType,
 | 
			
		||||
              mySMPPolicyContent,
 | 
			
		||||
              mySMPPolicyMask,
 | 
			
		||||
              mySMPPolicyName
 | 
			
		||||
            }
 | 
			
		||||
    STATUS  current
 | 
			
		||||
    DESCRIPTION
 | 
			
		||||
            ""
 | 
			
		||||
    ::= { mySMPMIBGroups 3 }       
 | 
			
		||||
    
 | 
			
		||||
mySMPFrameRelayMibGroup    OBJECT-GROUP
 | 
			
		||||
    OBJECTS {
 | 
			
		||||
              mySMPFrameRelayIndex,
 | 
			
		||||
              mySMPFrameRelayContent,
 | 
			
		||||
              mySMPFrameRelayLength,
 | 
			
		||||
              mySMPFrameRelayDestPort,
 | 
			
		||||
              mySMPFrameRelayDestVlan
 | 
			
		||||
            }
 | 
			
		||||
    STATUS  current
 | 
			
		||||
    DESCRIPTION
 | 
			
		||||
            ""
 | 
			
		||||
    ::= { mySMPMIBGroups 4 }         
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
END
 | 
			
		||||
							
								
								
									
										324
									
								
								MIBS/ruijie/MY-SNMP-AGENT-MIB
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										324
									
								
								MIBS/ruijie/MY-SNMP-AGENT-MIB
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,324 @@
 | 
			
		||||
-- *****************************************************************
 | 
			
		||||
-- MY-SNMP-AGENT-MIB.mib:  My Snmp Agent MIB file
 | 
			
		||||
--
 | 
			
		||||
-- $Copyright$
 | 
			
		||||
-- 
 | 
			
		||||
-- *****************************************************************
 | 
			
		||||
--
 | 
			
		||||
 | 
			
		||||
MY-SNMP-AGENT-MIB DEFINITIONS ::= BEGIN
 | 
			
		||||
 | 
			
		||||
IMPORTS
 | 
			
		||||
        MODULE-IDENTITY,
 | 
			
		||||
        OBJECT-TYPE,
 | 
			
		||||
        NOTIFICATION-TYPE,
 | 
			
		||||
        Integer32,
 | 
			
		||||
        Counter32
 | 
			
		||||
                FROM SNMPv2-SMI
 | 
			
		||||
        TruthValue,
 | 
			
		||||
        DisplayString,
 | 
			
		||||
        RowStatus
 | 
			
		||||
                FROM SNMPv2-TC
 | 
			
		||||
        MODULE-COMPLIANCE,
 | 
			
		||||
        OBJECT-GROUP,
 | 
			
		||||
        NOTIFICATION-GROUP
 | 
			
		||||
                FROM SNMPv2-CONF
 | 
			
		||||
        ConfigStatus,
 | 
			
		||||
        MyTrapType       
 | 
			
		||||
                FROM MY-TC
 | 
			
		||||
        EnabledStatus 
 | 
			
		||||
                FROM P-BRIDGE-MIB
 | 
			
		||||
        myMgmt
 | 
			
		||||
                FROM MY-SMI;
 | 
			
		||||
 | 
			
		||||
mySnmpAgentMIB MODULE-IDENTITY
 | 
			
		||||
        LAST-UPDATED "200203200000Z"
 | 
			
		||||
        ORGANIZATION "$Company$"
 | 
			
		||||
        CONTACT-INFO
 | 
			
		||||
                " 
 | 
			
		||||
                Tel: $Telephone$ 
 | 
			
		||||
 | 
			
		||||
                E-mail: $E-mail$"
 | 
			
		||||
        DESCRIPTION
 | 
			
		||||
                "This module defines my SNMP agent mibs."
 | 
			
		||||
        REVISION      "200203200000Z"
 | 
			
		||||
        DESCRIPTION
 | 
			
		||||
                "Initial version of this MIB module."
 | 
			
		||||
        ::= { myMgmt 5}
 | 
			
		||||
 | 
			
		||||
mySnmpAgentMIBObjects OBJECT IDENTIFIER ::= { mySnmpAgentMIB 1 }
 | 
			
		||||
 | 
			
		||||
mySnmpCommunityObjects OBJECT IDENTIFIER ::= { mySnmpAgentMIBObjects 1 }
 | 
			
		||||
 | 
			
		||||
mySnmpTrapObjects OBJECT IDENTIFIER ::= { mySnmpAgentMIBObjects 2 }
 | 
			
		||||
 | 
			
		||||
Community ::= TEXTUAL-CONVENTION
 | 
			
		||||
    STATUS current
 | 
			
		||||
    DESCRIPTION
 | 
			
		||||
        "community string for the implementation, maximum length of 
 | 
			
		||||
        community strings limited to 32 octets."
 | 
			
		||||
    SYNTAX DisplayString (SIZE (1..32))
 | 
			
		||||
 | 
			
		||||
--
 | 
			
		||||
--  snmp community
 | 
			
		||||
--
 | 
			
		||||
myCommunityMaxNum OBJECT-TYPE
 | 
			
		||||
        SYNTAX Integer32
 | 
			
		||||
        MAX-ACCESS read-only
 | 
			
		||||
        STATUS current
 | 
			
		||||
        DESCRIPTION
 | 
			
		||||
            "Number of Max of communities which the SNMP Agent support."
 | 
			
		||||
        ::= { mySnmpCommunityObjects 1 }
 | 
			
		||||
 | 
			
		||||
myCommunityTable OBJECT-TYPE
 | 
			
		||||
        SYNTAX SEQUENCE OF MyCommunityEntry
 | 
			
		||||
        MAX-ACCESS not-accessible
 | 
			
		||||
        STATUS current
 | 
			
		||||
        DESCRIPTION
 | 
			
		||||
            "A list of SNMP Community configurations."
 | 
			
		||||
        ::= { mySnmpCommunityObjects 2 }
 | 
			
		||||
        
 | 
			
		||||
myCommunityEntry OBJECT-TYPE
 | 
			
		||||
        SYNTAX MyCommunityEntry
 | 
			
		||||
        MAX-ACCESS not-accessible
 | 
			
		||||
        STATUS current
 | 
			
		||||
        DESCRIPTION
 | 
			
		||||
            "Obtain information of SNMP Community configuration."
 | 
			
		||||
        INDEX { myCommunityName }
 | 
			
		||||
        ::= { myCommunityTable 1 }
 | 
			
		||||
        
 | 
			
		||||
MyCommunityEntry ::= 
 | 
			
		||||
        SEQUENCE {
 | 
			
		||||
           myCommunityName  Community,
 | 
			
		||||
           myCommunityWritable INTEGER,
 | 
			
		||||
           myCommunityUserIpAddr IpAddress,
 | 
			
		||||
           myCommunityEnableIpAddrAuthen EnabledStatus,
 | 
			
		||||
           myCommunityStatus RowStatus
 | 
			
		||||
        }
 | 
			
		||||
        
 | 
			
		||||
myCommunityName OBJECT-TYPE
 | 
			
		||||
        SYNTAX Community
 | 
			
		||||
        MAX-ACCESS read-only
 | 
			
		||||
        STATUS current
 | 
			
		||||
        DESCRIPTION
 | 
			
		||||
            "Community used by this entry.This value is unique for every entry.
 | 
			
		||||
            When this string be used as an index,Value of a sub-identifier equal 
 | 
			
		||||
            ASCII value of corresponding character(first sub-identifier corresponds
 | 
			
		||||
            first character of string). The number of sub-identifiers of this string
 | 
			
		||||
            must be 32,If length of string is less than 32 the sub-identifier(0x0) 
 | 
			
		||||
            will be filled in tail."
 | 
			
		||||
        ::= { myCommunityEntry 1 }
 | 
			
		||||
    
 | 
			
		||||
myCommunityWritable OBJECT-TYPE
 | 
			
		||||
        SYNTAX INTEGER{
 | 
			
		||||
               readonly(1),
 | 
			
		||||
               writable(2)
 | 
			
		||||
        }
 | 
			
		||||
        MAX-ACCESS read-write
 | 
			
		||||
        STATUS current
 | 
			
		||||
        DESCRIPTION
 | 
			
		||||
            "Authority of this community"
 | 
			
		||||
        DEFVAL{ readonly }
 | 
			
		||||
        ::= { myCommunityEntry 2 }
 | 
			
		||||
        
 | 
			
		||||
myCommunityUserIpAddr OBJECT-TYPE
 | 
			
		||||
        SYNTAX IpAddress
 | 
			
		||||
        MAX-ACCESS read-write
 | 
			
		||||
        STATUS current
 | 
			
		||||
        DESCRIPTION
 | 
			
		||||
            "IP address use for the authentication of a user, if the associated object
 | 
			
		||||
        myCommunityEnableIpAddrAuthen status is enable(1), the all messages
 | 
			
		||||
            send to the agent will be authened by community and this IP address. messages
 | 
			
		||||
            that can't pass the authentication will be discarded."
 | 
			
		||||
        ::= { myCommunityEntry 3 }
 | 
			
		||||
        
 | 
			
		||||
myCommunityEnableIpAddrAuthen OBJECT-TYPE
 | 
			
		||||
        SYNTAX EnabledStatus
 | 
			
		||||
        MAX-ACCESS read-write
 | 
			
		||||
        STATUS current
 | 
			
		||||
        DESCRIPTION
 | 
			
		||||
            "this object offer the means to enable of disable the IP authentications of 
 | 
			
		||||
            SNMP message."
 | 
			
		||||
        ::= { myCommunityEntry 4 }
 | 
			
		||||
            
 | 
			
		||||
myCommunityStatus OBJECT-TYPE
 | 
			
		||||
        SYNTAX RowStatus
 | 
			
		||||
        MAX-ACCESS read-create
 | 
			
		||||
        STATUS current
 | 
			
		||||
        DESCRIPTION
 | 
			
		||||
            "entry status of this entry. and the means in this enviraments can
 | 
			
		||||
            reffer to the text-convention definition of the RowStatus."
 | 
			
		||||
        ::= { myCommunityEntry 5 }
 | 
			
		||||
 | 
			
		||||
--
 | 
			
		||||
--trap destination table
 | 
			
		||||
--
 | 
			
		||||
 
 | 
			
		||||
myTrapDstMaxNumber OBJECT-TYPE
 | 
			
		||||
        SYNTAX Integer32
 | 
			
		||||
        MAX-ACCESS read-only
 | 
			
		||||
        STATUS current
 | 
			
		||||
        DESCRIPTION
 | 
			
		||||
            "Number of destination address table entries."
 | 
			
		||||
        ::= { mySnmpTrapObjects 1 }
 | 
			
		||||
                        
 | 
			
		||||
myTrapDstTable OBJECT-TYPE
 | 
			
		||||
        SYNTAX SEQUENCE OF MyTrapDstEntry
 | 
			
		||||
        MAX-ACCESS not-accessible
 | 
			
		||||
        STATUS current
 | 
			
		||||
        DESCRIPTION
 | 
			
		||||
            "table of destination hosts that the trap will be sent to."
 | 
			
		||||
        ::= { mySnmpTrapObjects 2 }
 | 
			
		||||
    
 | 
			
		||||
myTrapDstEntry OBJECT-TYPE
 | 
			
		||||
        SYNTAX MyTrapDstEntry
 | 
			
		||||
        MAX-ACCESS not-accessible
 | 
			
		||||
        STATUS current
 | 
			
		||||
        DESCRIPTION
 | 
			
		||||
            "list of hosts."
 | 
			
		||||
        INDEX { myTrapDstAddr }
 | 
			
		||||
        ::= { myTrapDstTable 1 }
 | 
			
		||||
    
 | 
			
		||||
MyTrapDstEntry ::= 
 | 
			
		||||
        SEQUENCE {
 | 
			
		||||
           myTrapDstAddr IpAddress,
 | 
			
		||||
           myTrapDstCommunity Community,
 | 
			
		||||
           myTrapDstSendTrapClass INTEGER,
 | 
			
		||||
           myTrapDstEntryStatus RowStatus
 | 
			
		||||
        }
 | 
			
		||||
        
 | 
			
		||||
myTrapDstAddr OBJECT-TYPE
 | 
			
		||||
        SYNTAX IpAddress
 | 
			
		||||
        MAX-ACCESS read-only
 | 
			
		||||
        STATUS current
 | 
			
		||||
        DESCRIPTION
 | 
			
		||||
            "the destination address of a host the trap will be sent to."
 | 
			
		||||
        ::= { myTrapDstEntry 1 }
 | 
			
		||||
                
 | 
			
		||||
myTrapDstCommunity OBJECT-TYPE
 | 
			
		||||
        SYNTAX Community
 | 
			
		||||
        MAX-ACCESS read-write
 | 
			
		||||
        STATUS current
 | 
			
		||||
        DESCRIPTION
 | 
			
		||||
            "the destination host's SNMP Client wish to receive the community in
 | 
			
		||||
            the trap send by agent."
 | 
			
		||||
        DEFVAL { "public" }
 | 
			
		||||
        ::= { myTrapDstEntry 2 }
 | 
			
		||||
 | 
			
		||||
myTrapDstSendTrapClass OBJECT-TYPE
 | 
			
		||||
    SYNTAX      INTEGER { snmpv1-Trap(1), snmpv2c-Trap(2) }
 | 
			
		||||
    MAX-ACCESS  read-write
 | 
			
		||||
    STATUS      current
 | 
			
		||||
    DESCRIPTION
 | 
			
		||||
            "Indicates that the SNMP entity will send which kind of trap 
 | 
			
		||||
            SNMPv1-Trap and SNMPv2-Trap"
 | 
			
		||||
    DEFVAL { snmpv1-Trap }
 | 
			
		||||
    ::= { myTrapDstEntry 3 }
 | 
			
		||||
        
 | 
			
		||||
myTrapDstEntryStatus OBJECT-TYPE
 | 
			
		||||
        SYNTAX RowStatus
 | 
			
		||||
        MAX-ACCESS read-create
 | 
			
		||||
        STATUS current
 | 
			
		||||
        DESCRIPTION
 | 
			
		||||
            "entry status of this entry. and the means in this enviraments can
 | 
			
		||||
            reffer to the text-convention definition of the RowStatus."
 | 
			
		||||
        ::= { myTrapDstEntry 4 }
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
myTrapActionTable OBJECT-TYPE
 | 
			
		||||
        SYNTAX SEQUENCE OF MyTrapActionEntry
 | 
			
		||||
        MAX-ACCESS not-accessible
 | 
			
		||||
        STATUS current
 | 
			
		||||
        DESCRIPTION
 | 
			
		||||
            "This table of the trap's action."
 | 
			
		||||
        ::= { mySnmpTrapObjects 3 }
 | 
			
		||||
 | 
			
		||||
myTrapActionEntry OBJECT-TYPE
 | 
			
		||||
        SYNTAX MyTrapActionEntry
 | 
			
		||||
        MAX-ACCESS not-accessible
 | 
			
		||||
        STATUS current
 | 
			
		||||
        DESCRIPTION
 | 
			
		||||
            "List of of the trap's action."
 | 
			
		||||
        INDEX { myTrapType }
 | 
			
		||||
        ::= { myTrapActionTable 1 }
 | 
			
		||||
    
 | 
			
		||||
MyTrapActionEntry ::=
 | 
			
		||||
        SEQUENCE {
 | 
			
		||||
           myTrapType MyTrapType,
 | 
			
		||||
           myTrapAction INTEGER
 | 
			
		||||
        }
 | 
			
		||||
        
 | 
			
		||||
myTrapType OBJECT-TYPE
 | 
			
		||||
        SYNTAX MyTrapType 
 | 
			
		||||
        MAX-ACCESS read-only
 | 
			
		||||
        STATUS current
 | 
			
		||||
        DESCRIPTION
 | 
			
		||||
            "Trap type identifier, every kind of trap which the system support
 | 
			
		||||
             will has one entry in this table."
 | 
			
		||||
        ::= { myTrapActionEntry 1 }
 | 
			
		||||
        
 | 
			
		||||
myTrapAction OBJECT-TYPE
 | 
			
		||||
        SYNTAX INTEGER {
 | 
			
		||||
            none(1),       -- do nothing
 | 
			
		||||
            sendtrap(2)    -- send trap
 | 
			
		||||
        }
 | 
			
		||||
        MAX-ACCESS read-write
 | 
			
		||||
        STATUS current
 | 
			
		||||
        DESCRIPTION
 | 
			
		||||
            "This value decide how to deal with when this type trap has happened."
 | 
			
		||||
        ::= { myTrapActionEntry 2 }
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
mySnmpAgentMIBConformance OBJECT IDENTIFIER ::= { mySnmpAgentMIB 2 }
 | 
			
		||||
mySnmpAgentMIBCompliances OBJECT IDENTIFIER ::= { mySnmpAgentMIBConformance 1 }
 | 
			
		||||
mySnmpAgentMIBGroups      OBJECT IDENTIFIER ::= { mySnmpAgentMIBConformance 2 }
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
-- compliance statements
 | 
			
		||||
 | 
			
		||||
mySnmpAgentMIBCompliance MODULE-COMPLIANCE
 | 
			
		||||
        STATUS  current
 | 
			
		||||
        DESCRIPTION
 | 
			
		||||
                "The compliance statement for entities which implement
 | 
			
		||||
                the My SnmpAgent MIB"
 | 
			
		||||
        MODULE  -- this module
 | 
			
		||||
                MANDATORY-GROUPS { myCommunityMIBGroup,
 | 
			
		||||
                                   mySnmpTrapMIBGroup
 | 
			
		||||
                 }
 | 
			
		||||
        ::= { mySnmpAgentMIBCompliances 1 }
 | 
			
		||||
                
 | 
			
		||||
-- units of conformance
 | 
			
		||||
 | 
			
		||||
myCommunityMIBGroup OBJECT-GROUP
 | 
			
		||||
        OBJECTS {
 | 
			
		||||
           myCommunityMaxNum,
 | 
			
		||||
           myCommunityName,
 | 
			
		||||
           myCommunityWritable,
 | 
			
		||||
           myCommunityUserIpAddr,
 | 
			
		||||
           myCommunityEnableIpAddrAuthen,
 | 
			
		||||
           myCommunityStatus
 | 
			
		||||
        }
 | 
			
		||||
        STATUS  current
 | 
			
		||||
        DESCRIPTION
 | 
			
		||||
                "A collection of objects providing community management to a
 | 
			
		||||
                My agent."
 | 
			
		||||
        ::= { mySnmpAgentMIBGroups 1 }         
 | 
			
		||||
        
 | 
			
		||||
mySnmpTrapMIBGroup OBJECT-GROUP
 | 
			
		||||
        OBJECTS {
 | 
			
		||||
           myTrapDstSendTrapClass,
 | 
			
		||||
           myTrapDstMaxNumber,
 | 
			
		||||
           myTrapDstAddr,
 | 
			
		||||
           myTrapDstCommunity,
 | 
			
		||||
           myTrapDstEntryStatus,
 | 
			
		||||
           myTrapType,
 | 
			
		||||
           myTrapAction
 | 
			
		||||
        }
 | 
			
		||||
        STATUS  current
 | 
			
		||||
        DESCRIPTION
 | 
			
		||||
                "A collection of objects providing trap information to a
 | 
			
		||||
                My agent."
 | 
			
		||||
        ::= { mySnmpAgentMIBGroups 2 }                 
 | 
			
		||||
        
 | 
			
		||||
END
 | 
			
		||||
							
								
								
									
										246
									
								
								MIBS/ruijie/MY-SYSTEM-MIB
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										246
									
								
								MIBS/ruijie/MY-SYSTEM-MIB
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,246 @@
 | 
			
		||||
-- *****************************************************************
 | 
			
		||||
-- MY-SYSTEM-MIB.mib:  My System MIB file
 | 
			
		||||
--
 | 
			
		||||
-- $Copyright$
 | 
			
		||||
-- 
 | 
			
		||||
-- *****************************************************************
 | 
			
		||||
--
 | 
			
		||||
 | 
			
		||||
MY-SYSTEM-MIB DEFINITIONS ::= BEGIN
 | 
			
		||||
 | 
			
		||||
IMPORTS
 | 
			
		||||
        MODULE-IDENTITY,
 | 
			
		||||
        OBJECT-TYPE,
 | 
			
		||||
        NOTIFICATION-TYPE,
 | 
			
		||||
        Integer32,
 | 
			
		||||
        Counter32
 | 
			
		||||
                FROM SNMPv2-SMI
 | 
			
		||||
        TruthValue,
 | 
			
		||||
        DisplayString,
 | 
			
		||||
        RowStatus
 | 
			
		||||
                FROM SNMPv2-TC
 | 
			
		||||
        MODULE-COMPLIANCE,
 | 
			
		||||
        OBJECT-GROUP,
 | 
			
		||||
        NOTIFICATION-GROUP
 | 
			
		||||
                FROM SNMPv2-CONF
 | 
			
		||||
        myMgmt
 | 
			
		||||
                FROM MY-SMI;
 | 
			
		||||
 | 
			
		||||
mySystemMIB MODULE-IDENTITY
 | 
			
		||||
        LAST-UPDATED "200203200000Z"
 | 
			
		||||
        ORGANIZATION "$Company$"
 | 
			
		||||
        CONTACT-INFO
 | 
			
		||||
                " 
 | 
			
		||||
                Tel: $Telephone$ 
 | 
			
		||||
 | 
			
		||||
                E-mail: $E-mail$"
 | 
			
		||||
        DESCRIPTION
 | 
			
		||||
                "This module defines my system mibs."
 | 
			
		||||
        REVISION      "200203200000Z"
 | 
			
		||||
        DESCRIPTION
 | 
			
		||||
                "Initial version of this MIB module."
 | 
			
		||||
        ::= { myMgmt 1}
 | 
			
		||||
 | 
			
		||||
mySystemMIBObjects OBJECT IDENTIFIER ::= { mySystemMIB 1 }
 | 
			
		||||
 | 
			
		||||
mySystemHwVersion OBJECT-TYPE
 | 
			
		||||
        SYNTAX DisplayString(SIZE (1..32))
 | 
			
		||||
        MAX-ACCESS read-only
 | 
			
		||||
        STATUS current
 | 
			
		||||
        DESCRIPTION
 | 
			
		||||
          "Return the string of the Revision number of hardware resides
 | 
			
		||||
          on the FastSwitch."
 | 
			
		||||
        ::= { mySystemMIBObjects 1 }
 | 
			
		||||
 | 
			
		||||
mySystemSwVersion OBJECT-TYPE
 | 
			
		||||
        SYNTAX DisplayString(SIZE (1..32))
 | 
			
		||||
        MAX-ACCESS read-only
 | 
			
		||||
        STATUS current
 | 
			
		||||
        DESCRIPTION
 | 
			
		||||
          "Return the string of the Revision number of software resides
 | 
			
		||||
          on the FastSwitch."
 | 
			
		||||
        ::= { mySystemMIBObjects 2 }
 | 
			
		||||
        
 | 
			
		||||
mySystemBootVersion OBJECT-TYPE
 | 
			
		||||
        SYNTAX DisplayString(SIZE (1..32))
 | 
			
		||||
        MAX-ACCESS read-only
 | 
			
		||||
        STATUS current
 | 
			
		||||
        DESCRIPTION
 | 
			
		||||
          "Return the string of the Revision number of BOOT software resides
 | 
			
		||||
          on the FastSwitch."
 | 
			
		||||
        ::= { mySystemMIBObjects 3 }
 | 
			
		||||
        
 | 
			
		||||
mySystemSysCtrlVersion OBJECT-TYPE
 | 
			
		||||
        SYNTAX DisplayString(SIZE (1..32))
 | 
			
		||||
        MAX-ACCESS read-only
 | 
			
		||||
        STATUS current
 | 
			
		||||
        DESCRIPTION
 | 
			
		||||
          "Return the string of the Revision number of CTRL software resides
 | 
			
		||||
          on the FastSwitch."
 | 
			
		||||
        ::= { mySystemMIBObjects 4 }       
 | 
			
		||||
 | 
			
		||||
mySystemParametersSave OBJECT-TYPE
 | 
			
		||||
        SYNTAX Integer32
 | 
			
		||||
        MAX-ACCESS read-write
 | 
			
		||||
        STATUS current
 | 
			
		||||
        DESCRIPTION
 | 
			
		||||
            "Save all parameters changed in configuration by setting 
 | 
			
		||||
            this object to any value but 0, set its value to 0 will
 | 
			
		||||
            cause no action of agent, otherwise all changes of 
 | 
			
		||||
            prarameters will be saved for retrive when system is 
 | 
			
		||||
            reset, if parameter is changed but not saved all changes
 | 
			
		||||
            will come to their original value when system down and up
 | 
			
		||||
            again, when query always return value 0."
 | 
			
		||||
        ::= { mySystemMIBObjects 5 }
 | 
			
		||||
 | 
			
		||||
mySystemOutBandRate OBJECT-TYPE
 | 
			
		||||
   	  SYNTAX  INTEGER {
 | 
			
		||||
                baud9600  (1),
 | 
			
		||||
                baud19200 (2),
 | 
			
		||||
                baud38400 (3),
 | 
			
		||||
                baud57600 (4)
 | 
			
		||||
             }
 | 
			
		||||
        MAX-ACCESS read-write
 | 
			
		||||
        STATUS current
 | 
			
		||||
        DESCRIPTION
 | 
			
		||||
   		"Determine the console(OutBand) baud rate :
 | 
			
		||||
                9600 - 1,19200 - 2, 38300 - 3, 57600 - 4 "
 | 
			
		||||
   	     ::=  { mySystemMIBObjects 6 }
 | 
			
		||||
        
 | 
			
		||||
mySystemReset OBJECT-TYPE
 | 
			
		||||
        SYNTAX INTEGER 
 | 
			
		||||
        MAX-ACCESS read-write
 | 
			
		||||
        STATUS current
 | 
			
		||||
        DESCRIPTION
 | 
			
		||||
            "This Object allow perform soft reset of system by setting its
 | 
			
		||||
            value to none zero. if a soft resetis performed, after this 
 | 
			
		||||
            having completed a warm start trap will send to declare the state
 | 
			
		||||
            and when queried will always return 0."
 | 
			
		||||
        ::= { mySystemMIBObjects 7 }
 | 
			
		||||
 | 
			
		||||
mySwitchLayer OBJECT-TYPE
 | 
			
		||||
   	  SYNTAX  INTEGER {
 | 
			
		||||
                layer2 (1), -- Layer 2 Switch
 | 
			
		||||
                layer3 (2)  -- Layer 3 Switch
 | 
			
		||||
             }
 | 
			
		||||
        MAX-ACCESS read-only
 | 
			
		||||
        STATUS current
 | 
			
		||||
        DESCRIPTION
 | 
			
		||||
   		"Which layer's device the switch in system "
 | 
			
		||||
   	     ::=  { mySystemMIBObjects 8 }
 | 
			
		||||
 | 
			
		||||
mySystemHwPower OBJECT-TYPE
 | 
			
		||||
        SYNTAX INTEGER{
 | 
			
		||||
        	rpsNoLink(1),
 | 
			
		||||
        	rpsLinkAndNoPower(2),
 | 
			
		||||
        	rpsLinkAndReadyForPower(3),
 | 
			
		||||
        	rpsLinkAndPower(4)
 | 
			
		||||
        }
 | 
			
		||||
        MAX-ACCESS read-only
 | 
			
		||||
        STATUS current
 | 
			
		||||
        DESCRIPTION
 | 
			
		||||
          "The state of power."
 | 
			
		||||
        ::= { mySystemMIBObjects 9 }
 | 
			
		||||
 | 
			
		||||
mySystemHwFan OBJECT-TYPE
 | 
			
		||||
        SYNTAX INTEGER{
 | 
			
		||||
        	work(1),
 | 
			
		||||
        	stop(2)
 | 
			
		||||
        }
 | 
			
		||||
        MAX-ACCESS read-only
 | 
			
		||||
        STATUS current
 | 
			
		||||
        DESCRIPTION
 | 
			
		||||
          "The state of fan."
 | 
			
		||||
        ::= { mySystemMIBObjects 10 }
 | 
			
		||||
 | 
			
		||||
--The mySystemOutBandTimeout is obsoleted after 2007.9
 | 
			
		||||
mySystemOutBandTimeout OBJECT-TYPE
 | 
			
		||||
        SYNTAX     Integer32(0..3600)
 | 
			
		||||
        UNITS      "seconds"
 | 
			
		||||
        MAX-ACCESS read-write
 | 
			
		||||
        STATUS obsolete
 | 
			
		||||
        DESCRIPTION
 | 
			
		||||
          "The timeout of console.0 indicate that timeout function is disabled."
 | 
			
		||||
        ::= { mySystemMIBObjects 11 }
 | 
			
		||||
 | 
			
		||||
--The mySystemTelnetTimeout is obsoleted after 2007.9
 | 
			
		||||
mySystemTelnetTimeout OBJECT-TYPE
 | 
			
		||||
        SYNTAX     Integer32(0..3600)
 | 
			
		||||
        UNITS      "seconds"
 | 
			
		||||
        MAX-ACCESS read-write
 | 
			
		||||
        STATUS obsolete
 | 
			
		||||
        DESCRIPTION
 | 
			
		||||
          "The timeout of telnet.0 indicate that timeout function is disabled."
 | 
			
		||||
        ::= { mySystemMIBObjects 12 }
 | 
			
		||||
        
 | 
			
		||||
        	     
 | 
			
		||||
mySystemMIBTraps OBJECT IDENTIFIER ::= { mySystemMIB 2 }
 | 
			
		||||
 | 
			
		||||
mySystemHardChangeDesc OBJECT-TYPE
 | 
			
		||||
        SYNTAX DisplayString
 | 
			
		||||
        MAX-ACCESS accessible-for-notify
 | 
			
		||||
        STATUS current
 | 
			
		||||
        DESCRIPTION
 | 
			
		||||
          "The description of hard change"
 | 
			
		||||
        ::= { mySystemMIBTraps 1 }       
 | 
			
		||||
        
 | 
			
		||||
mySystemHardChangeDetected NOTIFICATION-TYPE
 | 
			
		||||
        OBJECTS   {mySystemHardChangeDesc}
 | 
			
		||||
        STATUS     current
 | 
			
		||||
        DESCRIPTION
 | 
			
		||||
                "System hardware has changed include number of devices or number of modules 
 | 
			
		||||
                 or the place or type of the module is change."
 | 
			
		||||
        ::= { mySystemMIBTraps 2 }
 | 
			
		||||
        
 | 
			
		||||
mySystemPowerStateChange NOTIFICATION-TYPE
 | 
			
		||||
        OBJECTS   {mySystemHwPower}
 | 
			
		||||
        STATUS     current
 | 
			
		||||
        DESCRIPTION
 | 
			
		||||
                "while the state of power changed, then this trap will be sent."
 | 
			
		||||
        ::= { mySystemMIBTraps 3 }
 | 
			
		||||
        
 | 
			
		||||
mySystemFanStateChange NOTIFICATION-TYPE
 | 
			
		||||
        OBJECTS   {mySystemHwFan}
 | 
			
		||||
        STATUS     current
 | 
			
		||||
        DESCRIPTION
 | 
			
		||||
                "while the state of fan changed, then this trap will be sent."
 | 
			
		||||
        ::= { mySystemMIBTraps 4 }                
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
mySystemMIBConformance OBJECT IDENTIFIER ::= { mySystemMIB 3 }
 | 
			
		||||
mySystemMIBCompliances OBJECT IDENTIFIER ::= { mySystemMIBConformance 1 }
 | 
			
		||||
mySystemMIBGroups      OBJECT IDENTIFIER ::= { mySystemMIBConformance 2 }
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
-- compliance statements
 | 
			
		||||
 | 
			
		||||
mySystemMIBCompliance MODULE-COMPLIANCE
 | 
			
		||||
        STATUS  current
 | 
			
		||||
        DESCRIPTION
 | 
			
		||||
                "The compliance statement for entities which implement
 | 
			
		||||
                the My System MIB"
 | 
			
		||||
        MODULE  -- this module
 | 
			
		||||
                MANDATORY-GROUPS { mySystemMIBGroup
 | 
			
		||||
                 }
 | 
			
		||||
        ::= { mySystemMIBCompliances 1 }
 | 
			
		||||
                
 | 
			
		||||
-- units of conformance
 | 
			
		||||
 | 
			
		||||
mySystemMIBGroup OBJECT-GROUP
 | 
			
		||||
        OBJECTS {
 | 
			
		||||
               mySystemHwVersion, 
 | 
			
		||||
               mySystemSwVersion,
 | 
			
		||||
               mySystemBootVersion,
 | 
			
		||||
               mySystemSysCtrlVersion,
 | 
			
		||||
               mySystemParametersSave,
 | 
			
		||||
               mySystemReset,
 | 
			
		||||
               mySystemOutBandRate,
 | 
			
		||||
               mySwitchLayer 
 | 
			
		||||
        }
 | 
			
		||||
        STATUS  current
 | 
			
		||||
        DESCRIPTION
 | 
			
		||||
                "A collection of objects providing system information and
 | 
			
		||||
                opertion to a My agent."
 | 
			
		||||
        ::= { mySystemMIBGroups 1 } 
 | 
			
		||||
  
 | 
			
		||||
END
 | 
			
		||||
							
								
								
									
										106
									
								
								MIBS/ruijie/MY-TC
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										106
									
								
								MIBS/ruijie/MY-TC
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,106 @@
 | 
			
		||||
-- *****************************************************************
 | 
			
		||||
-- MY-TC.mib:  My Switch MIB Textual Conventions
 | 
			
		||||
--
 | 
			
		||||
-- $Copyright$
 | 
			
		||||
-- 
 | 
			
		||||
-- *****************************************************************
 | 
			
		||||
--
 | 
			
		||||
 | 
			
		||||
MY-TC DEFINITIONS ::= BEGIN
 | 
			
		||||
 | 
			
		||||
IMPORTS
 | 
			
		||||
    MODULE-IDENTITY,
 | 
			
		||||
    Gauge32,
 | 
			
		||||
    Integer32
 | 
			
		||||
        FROM SNMPv2-SMI
 | 
			
		||||
    TEXTUAL-CONVENTION
 | 
			
		||||
        FROM SNMPv2-TC
 | 
			
		||||
    myModules
 | 
			
		||||
        FROM MY-SMI;
 | 
			
		||||
 | 
			
		||||
myTextualConventions MODULE-IDENTITY
 | 
			
		||||
        LAST-UPDATED "200203200000Z"
 | 
			
		||||
        ORGANIZATION "$Company$"
 | 
			
		||||
        CONTACT-INFO
 | 
			
		||||
                " 
 | 
			
		||||
                Tel: $Telephone$ 
 | 
			
		||||
 | 
			
		||||
                E-mail: $E-mail$"
 | 
			
		||||
        DESCRIPTION
 | 
			
		||||
                "This module defines textual conventions used throughout
 | 
			
		||||
                 my enterprise mibs."
 | 
			
		||||
        REVISION      "200203200000Z"
 | 
			
		||||
        DESCRIPTION
 | 
			
		||||
                "Initial version of this MIB module."
 | 
			
		||||
        ::= { myModules 1}
 | 
			
		||||
 | 
			
		||||
IfIndex ::= TEXTUAL-CONVENTION
 | 
			
		||||
       DISPLAY-HINT "d"
 | 
			
		||||
       STATUS       current
 | 
			
		||||
       DESCRIPTION
 | 
			
		||||
               "This textual convention is an extension of the interface 
 | 
			
		||||
                index convention. Interface include physical port and
 | 
			
		||||
                aggreate port and switch virtual interface and 
 | 
			
		||||
                loopBack interface,etc."
 | 
			
		||||
       SYNTAX       Integer32 (1..2147483647)
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
MyTrapType ::= TEXTUAL-CONVENTION        
 | 
			
		||||
   STATUS current                          
 | 
			
		||||
   DESCRIPTION                             
 | 
			
		||||
            "Private trap(event) type of my switch. " 
 | 
			
		||||
   SYNTAX INTEGER {                        
 | 
			
		||||
            coldMy(1),
 | 
			
		||||
            warmMy(2),
 | 
			
		||||
            linkDown(3),
 | 
			
		||||
            linkUp(4),
 | 
			
		||||
            authenFailure(5),
 | 
			
		||||
            newRoot(6),
 | 
			
		||||
            topoChange(7),
 | 
			
		||||
            hardChangeDetected(8),
 | 
			
		||||
            portSecurityViolate(9),
 | 
			
		||||
            stormAlarm(10),
 | 
			
		||||
            macNotification(11),
 | 
			
		||||
            vrrpNewMaster(12),
 | 
			
		||||
            vrrpAuthFailure(13),
 | 
			
		||||
            powerStateChange(14),
 | 
			
		||||
            fanStateChange(15),
 | 
			
		||||
            ospf(16),
 | 
			
		||||
            pim(17),
 | 
			
		||||
            igmp(18),
 | 
			
		||||
            dvmrp(19),
 | 
			
		||||
            entity(20),
 | 
			
		||||
            cluster(21),
 | 
			
		||||
            temperatureWarning(22),
 | 
			
		||||
            sysGuard(23),
 | 
			
		||||
            bgp(24),
 | 
			
		||||
            lineDetect(25),
 | 
			
		||||
            bgpReachMaxPrefix(26),
 | 
			
		||||
            hardwareNotSupport(27)         
 | 
			
		||||
         
 | 
			
		||||
  }                                        
 | 
			
		||||
 | 
			
		||||
ConfigStatus ::= TEXTUAL-CONVENTION
 | 
			
		||||
    STATUS current
 | 
			
		||||
    DESCRIPTION
 | 
			
		||||
        "Represents the operational status of an table entry.
 | 
			
		||||
        valid(1) -
 | 
			
		||||
              Indicates this entry's status is valid and active. 
 | 
			
		||||
        invalid(2) -
 | 
			
		||||
              Indicates this entry's status is invalid. It is decided by
 | 
			
		||||
              implementatio whether entry is delete"       
 | 
			
		||||
    SYNTAX      INTEGER { 
 | 
			
		||||
         valid(1), 
 | 
			
		||||
         invalid(2)
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
MemberMap ::= TEXTUAL-CONVENTION
 | 
			
		||||
    STATUS current
 | 
			
		||||
    DESCRIPTION
 | 
			
		||||
        "Each octet indicate a Logic port, and each octect can have 
 | 
			
		||||
        their content means. The lenth of octet string will change along 
 | 
			
		||||
        with change of product."
 | 
			
		||||
    SYNTAX OCTET STRING  
 | 
			
		||||
 | 
			
		||||
                                                          
 | 
			
		||||
END
 | 
			
		||||
		Reference in New Issue
	
	Block a user