PROSOFT-ELX1-MIB DEFINITIONS ::= BEGIN

--
-- Example MIB objects for agent module example implementations
--

IMPORTS
    MODULE-IDENTITY, OBJECT-TYPE, Integer32,
    NOTIFICATION-TYPE                       FROM SNMPv2-SMI
    SnmpAdminString                         FROM SNMP-FRAMEWORK-MIB
    netSnmp                                 FROM NET-SNMP-MIB
    DisplayString                  			FROM RFC1213-MIB
    InetAddressType, InetAddress            FROM INET-ADDRESS-MIB
	InterfaceIndex                          FROM IF-MIB
	enterprises								FROM RFC1065-SMI
;
ProSoft OBJECT IDENTIFIER ::= { enterprises 30722 }

elx MODULE-IDENTITY
    LAST-UPDATED "200406150000Z"
    ORGANIZATION "www.net-snmp.org"
    CONTACT-INFO
     "postal:   Wes Hardaker
                    P.O. Box 382
                    Davis CA  95617

          email:    net-snmp-coders@lists.sourceforge.net"
    DESCRIPTION
    "Example MIB objects for agent module example implementations"
    REVISION     "200406150000Z"
    DESCRIPTION
    "Corrected notification example definitions"
    REVISION     "200202060000Z"
    DESCRIPTION
    "First draft"
    ::= { ProSoft 8100  }

--
-- top level structure
--
deviceDetails                   OBJECT IDENTIFIER ::= { elx 1 }
lanStatus			OBJECT IDENTIFIER ::= { elx 2 }

--
-- Example scalars
--


DDsubFields OBJECT-TYPE
    SYNTAX  DisplayString (SIZE (0..255))
    ACCESS  read-only
    STATUS  current
    DESCRIPTION
            "The index value which uniquely identifies the
            interface to which this entry is applicable.  The
            interface identified by a particular value of this
            index is the same interface as identified by the
            same value of ifIndex."
    ::= { deviceDetails 1 }

elxName OBJECT-TYPE
    SYNTAX  DisplayString (SIZE (0..255))
    ACCESS  read-only
    STATUS  current
    DESCRIPTION
            "The index value which uniquely identifies the
            interface to which this entry is applicable.  The
            interface identified by a particular value of this
            index is the same interface as identified by the
            same value of ifIndex."
    ::= { DDsubFields 1 }

elxDescr OBJECT-TYPE
    SYNTAX  DisplayString (SIZE (0..255))
    ACCESS  read-only
    STATUS  current
    DESCRIPTION
            "The index value which uniquely identifies the
            interface to which this entry is applicable.  The
            interface identified by a particular value of this
            index is the same interface as identified by the
            same value of ifIndex."
    ::= { DDsubFields 2 }

elxVersion OBJECT-TYPE
    SYNTAX  DisplayString (SIZE (0..255))
    ACCESS  read-only
    STATUS  current
    DESCRIPTION
            "The index value which uniquely identifies the
            interface to which this entry is applicable.  The
            interface identified by a particular value of this
            index is the same interface as identified by the
            same value of ifIndex."
    ::= { DDsubFields 3 }

elxPsftConnStatus OBJECT-TYPE
    SYNTAX  DisplayString (SIZE (0..255))
    ACCESS  read-only
    STATUS  current
    DESCRIPTION
            "The index value which uniquely identifies the
            interface to which this entry is applicable.  The
            interface identified by a particular value of this
            index is the same interface as identified by the
            same value of ifIndex."
    ::= { DDsubFields 4 }

elxPsftActStatus OBJECT-TYPE
    SYNTAX  DisplayString (SIZE (0..255))
    ACCESS  read-only
    STATUS  current
    DESCRIPTION
            "The index value which uniquely identifies the
            interface to which this entry is applicable.  The
            interface identified by a particular value of this
            index is the same interface as identified by the
            same value of ifIndex."
    ::= { DDsubFields 5 }

--
--  Example Tables
--

lanTable OBJECT-TYPE
    SYNTAX      SEQUENCE OF lanEntry
    MAX-ACCESS  not-accessible
    STATUS      current
    DESCRIPTION
	"An example table that implements a wrapper around the
	/etc/hosts file on a machine using the iterator helper API."
    ::= { lanStatus 1 }

lanEntry OBJECT-TYPE
    SYNTAX      lanEntry
    MAX-ACCESS  not-accessible
    STATUS      current
    DESCRIPTION
	"A host name mapped to an ip address"
    INDEX   { netSnmpHostName }
    ::= { lanTable 1 }

lanEntry ::= SEQUENCE {
	lanInterfaceName		DisplayString,
    lanIPaddress	InetAddress,
    lanSubnet		InetAddress,
    lanGateway		InetAddress,
    lanDNS			InetAddress
}

lanInterfaceName OBJECT-TYPE
    SYNTAX  DisplayString (SIZE (0..255))
    ACCESS  read-only
	STATUS  current
    DESCRIPTION
            "The index value which uniquely identifies the
            interface to which this entry is applicable.  The
            interface identified by a particular value of this
            index is the same interface as identified by the
            same value of ifIndex."
    ::= { lanEntry 1 }

lanIPaddress OBJECT-TYPE
    SYNTAX      InetAddress
    MAX-ACCESS 	read-only
    STATUS      current
    DESCRIPTION
	"The name of the IETF Working Group this table describes."
    ::= { lanEntry 2 }

lanSubnet OBJECT-TYPE
    SYNTAX      InetAddress
    MAX-ACCESS  read-only
    STATUS      current
    DESCRIPTION
	"The name of the IETF Working Group this table describes."
    ::= { lanEntry 3 }

lanGateway OBJECT-TYPE
    SYNTAX      InetAddress
    MAX-ACCESS  read-only
    STATUS      current
    DESCRIPTION
    "The name of the IETF Working Group this table describes."
    ::= { lanEntry 4 }

lanDns OBJECT-TYPE
    SYNTAX      InetAddress
    MAX-ACCESS  read-only
    STATUS      current
    DESCRIPTION
    "The name of the IETF Working Group this table describes."
    ::= { lanEntry 5 }
END
