ELTEX-MES-DOT1X DEFINITIONS ::= BEGIN

-- Title:      ELTEX MES 802.1x Extension Private
-- Version:    1.1
-- Date:       6 Aug 2015
--
-- 06-Aug-2015 Added eltMesDot1xMacAuth

IMPORTS
    eltMes                                          FROM ELTEX-MES
    MODULE-IDENTITY, OBJECT-TYPE                    FROM SNMPv2-SMI
    TEXTUAL-CONVENTION, DisplayString               FROM SNMPv2-TC;

eltMesDot1x MODULE-IDENTITY
                LAST-UPDATED "201508060000Z"
                ORGANIZATION "Eltex Enterprise Co, Ltd."
                CONTACT-INFO
                      "www.eltex.nsk.ru"
                DESCRIPTION
                      "This private MIB module defines Eltex's private 802.1x MIBs."
                REVISION "201508060000Z"
                DESCRIPTION
                      "Initial revision."
        ::= { eltMes 95 }

--
-- Common types
--

Eltdot1xRadiusAttrNASPortFormatType ::= TEXTUAL-CONVENTION
    STATUS          current
    DESCRIPTION
        "Specifies format of RADIUS NAS-Port option."
    SYNTAX          INTEGER {
                        default (1),
                        human   (2)
                    }

Eltdot1xMacAuthFormatUsernameLettercase ::= TEXTUAL-CONVENTION
    STATUS          current
    DESCRIPTION
        "String letter case type."
    SYNTAX          INTEGER {
                        lowercase (1),
                        uppercase (2)
                    }

Eltdot1xMacAuthFormatUsernameSeparator ::= TEXTUAL-CONVENTION
    STATUS      current
    DESCRIPTION
        "Chars separator type."
    SYNTAX          INTEGER {
                        none    (0),
                        dash    (1),
                        colon   (2),
                        dot     (3)
                    }

Eltdot1xMacAuthFormatUsernameGroupsize ::= TEXTUAL-CONVENTION
    STATUS      current
    DESCRIPTION
        "Number of chars in a group."
    SYNTAX          INTEGER {
                        nibble  (1),
                        byte    (2),
                        word    (4),
                        none    (12)
                    }

--
-- 802.1x Radius Attributes
--

eltMesDot1xRadiusAttr OBJECT IDENTIFIER ::= { eltMesDot1x  1}

eltdot1xRadiusAttrNASPortFormat OBJECT-TYPE
    SYNTAX          Eltdot1xRadiusAttrNASPortFormatType
    MAX-ACCESS      read-write
    STATUS          current
    DESCRIPTION
        "RADIUS NAS-Port option format."
    DEFVAL          { 1 }
    ::= { eltMesDot1xRadiusAttr 1 }

--
-- 802.1x MAC-Based Authentication
--

eltMesDot1xMacAuth OBJECT IDENTIFIER ::= { eltMesDot1x 2 }

--
-- 802.1x MAC-Based Authentication Attributes Formats
--

eltMesDot1xMacAuthFormat OBJECT IDENTIFIER ::= { eltMesDot1xMacAuth 1 }

eltdot1xMacAuthFormatUsernameLettercase OBJECT-TYPE
    SYNTAX          Eltdot1xMacAuthFormatUsernameLettercase
    MAX-ACCESS      read-write
    STATUS          current
    DESCRIPTION
        "Specifies the letter case of MAC address string
        contained in User-Name attribute (attribute 1)
        during MAC-based authentication."
    ::= { eltMesDot1xMacAuthFormat 1 }

eltdot1xMacAuthFormatUsernameSeparator OBJECT-TYPE
    SYNTAX          Eltdot1xMacAuthFormatUsernameSeparator
    MAX-ACCESS      read-write
    STATUS          current
    DESCRIPTION
        "Specifies the separator used in MAC address string
        contained in User-Name attribute (attribute 1) during
        MAC-based authentication."
    ::= { eltMesDot1xMacAuthFormat 2 }

eltdot1xMacAuthFormatUsernameGroupsize OBJECT-TYPE
    SYNTAX          Eltdot1xMacAuthFormatUsernameGroupsize
    MAX-ACCESS      read-write
    STATUS          current
    DESCRIPTION
        "Specifies the number of chars in each group of MAC
        address string contained in User-Name attribute
        (attribute 1) during MAC-based authentication."
    ::= { eltMesDot1xMacAuthFormat 3 }

eltdot1xMacAuthFormatUserPassword OBJECT-TYPE
    SYNTAX          DisplayString(SIZE(1..128))
    MAX-ACCESS      read-write
    STATUS          current
    DESCRIPTION
        "Specifies the string used in User-Password attribute
        (atribute 2) during MAC-based authentication instead
        of client's MAC-address."
    ::= { eltMesDot1xMacAuthFormat 4 }

END
