ELTEX-IP-MIB DEFINITIONS ::= BEGIN

IMPORTS
	MODULE-IDENTITY, OBJECT-TYPE,
	Integer32, Counter32, IpAddress,
	mib-2, Unsigned32,
	zeroDotZero                        FROM SNMPv2-SMI
	PhysAddress, TruthValue,
	TimeStamp, RowPointer,
	TEXTUAL-CONVENTION, TestAndIncr,
	RowStatus, StorageType,
	DisplayString                      FROM SNMPv2-TC
	MODULE-COMPLIANCE, OBJECT-GROUP    FROM SNMPv2-CONF
	InetAddress, InetAddressType,
	InetAddressPrefixLength,
	InetVersion, InetZoneIndex         FROM INET-ADDRESS-MIB
	InterfaceIndex                     FROM IF-MIB
	IpAddressStatusTC,
	IpAddressOriginTC                  FROM IP-MIB
	eltexLtd                           FROM ELTEX-SMI-ACTUAL;

eltexIpMIB MODULE-IDENTITY
	LAST-UPDATED "201705250000Z"
	ORGANIZATION "Eltex Enterprise, Ltd."
	CONTACT-INFO "www.eltex.nsk.ru"
	DESCRIPTION  "The ELTEX-IP-MIB is used as extension of IP-MIB (RFC 4293)."
	REVISION     "201705250000Z"
	DESCRIPTION
		"Initial revision of The ELTEX-IP-MIB."
	::= { eltexLtd 42 }

eltexIpAddressTable OBJECT-TYPE
	SYNTAX     SEQUENCE OF EltexIpAddressEntry
	MAX-ACCESS not-accessible
	STATUS     current
	DESCRIPTION
		"The eltexIpAddressTable is used as extension of ipAddressTable"
	::= { eltexIpMIB 34 }

eltexIpAddressEntry OBJECT-TYPE
	SYNTAX     EltexIpAddressEntry
	MAX-ACCESS not-accessible
	STATUS     current
	DESCRIPTION
		"An address mapping for a particular interface."
	INDEX {
		eltexIpAddressAddrType,
		eltexIpAddressAddr,
		eltexIpAddressPrefixLength,
		eltexIpAddressIfIndex
	}
	::= { eltexIpAddressTable 1 }

EltexIpAddressEntry ::= SEQUENCE {
		eltexIpAddressAddrType     InetAddressType,
		eltexIpAddressAddr         InetAddress,
		eltexIpAddressPrefixLength InetAddressPrefixLength,
		eltexIpAddressIfIndex      InterfaceIndex,
		eltexIpAddressType         INTEGER,
		eltexIpAddressPrefix       RowPointer,
		eltexIpAddressOrigin       IpAddressOriginTC,
		eltexIpAddressStatus       IpAddressStatusTC,
		eltexIpAddressCreated      TimeStamp,
		eltexIpAddressLastChanged  TimeStamp,
		eltexIpAddressRowStatus    RowStatus,
		eltexIpAddressStorageType  StorageType
	}

eltexIpAddressAddrType OBJECT-TYPE
	SYNTAX     InetAddressType
	MAX-ACCESS not-accessible
	STATUS     current
	DESCRIPTION
		"The address type of eltexIpAddressAddr."
	::= { eltexIpAddressEntry 1 }

eltexIpAddressAddr OBJECT-TYPE
	SYNTAX     InetAddress
	MAX-ACCESS not-accessible
	STATUS     current
	DESCRIPTION
		"The IP address to which this entry's addressing information
		pertains.  The address type of this object is specified in
		eltexIpAddressAddrType."
	::= { eltexIpAddressEntry 2 }

eltexIpAddressPrefixLength OBJECT-TYPE
	SYNTAX     InetAddressPrefixLength
	MAX-ACCESS not-accessible
	STATUS     current
	DESCRIPTION
		"The prefix length associated with this address.
		 The value 0 has no special meaning for this object. It
		 simply refers to address '::/0'."
	::= { eltexIpAddressEntry 3 }

eltexIpAddressIfIndex OBJECT-TYPE
	SYNTAX     InterfaceIndex
	MAX-ACCESS not-accessible
	STATUS     current
	DESCRIPTION
	       "The index value that 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 the IF-MIB's ifIndex."
	::= { eltexIpAddressEntry 4 }

eltexIpAddressType OBJECT-TYPE
	SYNTAX INTEGER {
		unicast(1),
		anycast(2),
		broadcast(3),
		multicast(4),
		unnumbered(5)
	}
	MAX-ACCESS read-create
	STATUS     current
	DESCRIPTION
		"The type of address. broadcast(3) is not a valid value for
		 IPv6 addresses (RFC 3513)."
	DEFVAL { unicast }
	::= { eltexIpAddressEntry 5 }

eltexIpAddressPrefix OBJECT-TYPE
	SYNTAX     RowPointer
	MAX-ACCESS read-only
	STATUS     current
	DESCRIPTION
		"A pointer to the row in the prefix table to which this
		 address belongs. May be { 0 0 } if there is no such row."
	DEFVAL { zeroDotZero }
	::= { eltexIpAddressEntry 6 }

eltexIpAddressOrigin OBJECT-TYPE
	SYNTAX     IpAddressOriginTC
	MAX-ACCESS read-only
	STATUS     current
	DESCRIPTION
		"The origin of the address."
	::= { eltexIpAddressEntry 7 }

eltexIpAddressStatus OBJECT-TYPE
	SYNTAX     IpAddressStatusTC
	MAX-ACCESS read-create
	STATUS     current
	DESCRIPTION
		"The status of the address, describing if the address can be
		 used for communication.
		 In the absence of other information, an IPv4 address is
		 always preferred(1)."
	DEFVAL { preferred }
	::= { eltexIpAddressEntry 8 }

eltexIpAddressCreated OBJECT-TYPE
	SYNTAX     TimeStamp
	MAX-ACCESS read-only
	STATUS     current
	DESCRIPTION
		"The value of sysUpTime at the time this entry was created.
		 If this entry was created prior to the last re-
		 initialization of the local network management subsystem,
		 then this object contains a zero value."
	::= { eltexIpAddressEntry 9 }

eltexIpAddressLastChanged OBJECT-TYPE
	SYNTAX     TimeStamp
	MAX-ACCESS read-only
	STATUS     current
	DESCRIPTION
		"The value of sysUpTime at the time this entry was last
		 updated.  If this entry was updated prior to the last re-
		 initialization of the local network management subsystem,
		 then this object contains a zero value."
	::= { eltexIpAddressEntry 10 }

eltexIpAddressRowStatus OBJECT-TYPE
	SYNTAX     RowStatus
	MAX-ACCESS read-create
	STATUS     current
	DESCRIPTION
		"The status of this conceptual row.
		 The RowStatus TC requires that this DESCRIPTION clause
		 states under which circumstances other objects in this row
		 can be modified.  The value of this object has no effect on
		 whether other objects in this conceptual row can be
		 modified.
		 A conceptual row can not be made active until the
		 eltexIpAddressIfIndex has been set to a valid index."
	::= { eltexIpAddressEntry 11 }

eltexIpAddressStorageType OBJECT-TYPE
	SYNTAX     StorageType
	MAX-ACCESS read-create
	STATUS     current
	DESCRIPTION
		"The storage type for this conceptual row.  If this object
		 has a value of 'permanent', then no other objects are
		 required to be able to be modified."
	DEFVAL { volatile }
	::= { eltexIpAddressEntry 12 }

eltexNeighborsNumberTable OBJECT-TYPE
	SYNTAX      SEQUENCE OF EltexNeighborsNumberEntry
	MAX-ACCESS  not-accessible
	STATUS      current
	DESCRIPTION "A list of neighbors numbers."
	::= {eltexIpMIB 100}

eltexNeighborsNumberEntry OBJECT-TYPE
	SYNTAX     EltexNeighborsNumberEntry
	MAX-ACCESS not-accessible
	STATUS     current
	DESCRIPTION "Entry of the eltexNeighborsNumberTable."
	INDEX {
		eltexNeighborsVrfName,
		eltexNeighborsAddressType,
		eltexNeighborsState
	}
	::= {eltexNeighborsNumberTable 1}

EltexNeighborsNumberEntry ::= SEQUENCE {
	eltexNeighborsVrfName     DisplayString,
	eltexNeighborsAddressType InetAddressType,
	eltexNeighborsState       INTEGER,
	eltexNeighborsNumber      Counter32
}

eltexNeighborsVrfName OBJECT-TYPE
	SYNTAX      DisplayString
	MAX-ACCESS  not-accessible
	STATUS      current
	DESCRIPTION "VRF instance."
	::= {eltexNeighborsNumberEntry 1}

eltexNeighborsAddressType OBJECT-TYPE
	SYNTAX      InetAddressType
	MAX-ACCESS  not-accessible
	STATUS      current
	DESCRIPTION "Address type."
	::= {eltexNeighborsNumberEntry 2}

eltexNeighborsState OBJECT-TYPE
	SYNTAX INTEGER {
		noarp(1),
		reachable(2),
		local(3),
		stale(4),
		incomplete(5),
		delay(6),
		probe(7),
		failed(8),
		permanent(9)
	}
	MAX-ACCESS  not-accessible
	STATUS      current
	DESCRIPTION "Neighbors state."
	::= {eltexNeighborsNumberEntry 3}

eltexNeighborsNumber OBJECT-TYPE
	SYNTAX      Counter32
	MAX-ACCESS  read-only
	STATUS      current
	DESCRIPTION "The number of neighbors with this address type in this VRF."
	::= {eltexNeighborsNumberEntry 4}

END