summaryrefslogtreecommitdiff
path: root/MIBS/dlink/DLINKSW-MAC-AUTH-MIB
blob: 7bbaec5d9e3cc5bbb7b48d537ebb4fd434a958c4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
--  *****************************************************************
--  DLINKSW-MAC-AUTH-MIB.mib : MAC Authentication MIB
-- 
--  Copyright (c) 2013 D-Link Corporation, all rights reserved.
--   
--  *****************************************************************

    DLINKSW-MAC-AUTH-MIB DEFINITIONS ::= BEGIN
 
    IMPORTS

        MODULE-IDENTITY,
        OBJECT-TYPE
            FROM SNMPv2-SMI
        MODULE-COMPLIANCE,
        OBJECT-GROUP,
        NOTIFICATION-GROUP
            FROM SNMPv2-CONF
        TruthValue, 
        DisplayString
            FROM SNMPv2-TC 
        ifIndex 
            FROM IF-MIB
        dnaSessionClientMacAddress,
        dnaSessionAuthVlan
            FROM DLINKSW-NETWORK-ACCESS-MIB
        dlinkIndustrialCommon
            FROM DLINK-ID-REC-MIB;

    dlinkSwMacAuthMIB MODULE-IDENTITY
        LAST-UPDATED "201308020000Z"
        ORGANIZATION "D-Link Corp."
        CONTACT-INFO
            "        D-Link Corporation

             Postal: No. 289, Sinhu 3rd Rd., Neihu District,
                     Taipei City 114, Taiwan, R.O.C
             Tel:     +886-2-66000123
             E-mail: tsd@dlink.com.tw
            "
        DESCRIPTION
           "This MIB contains managed objects for the MAC authentication  
           application of the device."
        REVISION        "201308020000Z"
        DESCRIPTION
            "Initial version of this MIB module."
        ::= { dlinkIndustrialCommon 153 }

-- ***************************************************************************
-- Node definitions
-- ***************************************************************************
    dMacAuthNotifications    OBJECT IDENTIFIER ::= { dlinkSwMacAuthMIB 0 }
    dMacAuthMIBObjects       OBJECT IDENTIFIER ::= { dlinkSwMacAuthMIB 1 }
    dMacAuthMIBConformance   OBJECT IDENTIFIER ::= { dlinkSwMacAuthMIB 2 }
        
-- -----------------------------------------------------------------------------
    dMacAuthGlobalCtrl    OBJECT IDENTIFIER ::= { dMacAuthMIBObjects 1 }

   
    dMacAuthNotifEnabled  OBJECT-TYPE
        SYNTAX          TruthValue
        MAX-ACCESS      read-write
        STATUS          current
        DESCRIPTION   
            "Set to 'true' to enable global SNMP notification for MAC 
            authentication feature.  
            Setting the object to 'false' will disable SNMP notifications."
        DEFVAL      { false }              
        ::= { dMacAuthGlobalCtrl 1}

    dMacAuthEnabled OBJECT-TYPE
        SYNTAX          TruthValue
        MAX-ACCESS      read-write
        STATUS          current
        DESCRIPTION
            "This object enables ('true') or disables ('false')
            the MAC authentication globally."
        DEFVAL     { false }
        ::= { dMacAuthGlobalCtrl 2 }
                       
    dMacAuthPWD  OBJECT-TYPE
        SYNTAX          DisplayString(SIZE(0..16))
        MAX-ACCESS      read-write
        STATUS          current
        DESCRIPTION
            "This object is used to set the password of authentication for local
            and radius authentication.
            When use client's MAC address as the password, a zero length string 
            will be returned. or the string '******' will be returned."             
        ::= { dMacAuthGlobalCtrl 3 }

    dMacAuthUserName  OBJECT-TYPE
        SYNTAX  DisplayString(SIZE(0..16))
        MAX-ACCESS  read-write
        STATUS  current
        DESCRIPTION
            "This object indicates the username of local and radius authentication. 
            When use client's MAC address as the username, a zero length string will be returned."             
        ::= { dMacAuthGlobalCtrl 4 }

-- -----------------------------------------------------------------------------           
    dMacAuthIfTable OBJECT-TYPE
        SYNTAX          SEQUENCE OF DMacAuthIfEntry
        MAX-ACCESS      not-accessible
        STATUS          current
        DESCRIPTION
            "The table is used to configure the interface-specific settings of
            MAC authentication."
        ::= { dMacAuthMIBObjects 2 }

    dMacAuthIfEntry OBJECT-TYPE
        SYNTAX          DMacAuthIfEntry
        MAX-ACCESS      not-accessible
        STATUS          current
        DESCRIPTION            
            "An entry contains MAC authentication information for a particular interface."
        INDEX   { ifIndex }
        ::= { dMacAuthIfTable 1 }

    DMacAuthIfEntry ::= SEQUENCE {       
        dMacAuthIfEnabled            TruthValue               
    }

    dMacAuthIfEnabled OBJECT-TYPE
        SYNTAX          TruthValue
        MAX-ACCESS      read-write
        STATUS          current
        DESCRIPTION
            "This object enables ('true') or disables ('false') the 
            authentication state for a particular interface."
        DEFVAL     {false}
        ::= { dMacAuthIfEntry 1 }

--  ***************************************************************************
--  Notifications
--  ***************************************************************************
    
    dMacAuthLoggedSuccess NOTIFICATION-TYPE
        OBJECTS  { 
            ifIndex, 
            dnaSessionClientMacAddress, 
            dnaSessionAuthVlan 
        }
        STATUS  current
        DESCRIPTION
            "The trap is sent when a host has successfully logged in (passed 
            MAC-based Access Control)."
        ::= { dMacAuthNotifications 1 }

    dMacAuthLoggedFail NOTIFICATION-TYPE
        OBJECTS  { 
            ifIndex, 
            dnaSessionClientMacAddress, 
            dnaSessionAuthVlan 
        }
        STATUS  current
        DESCRIPTION
            "The trap is sent when a host failed to pass MAC-based Access Control
            (login failed)."
        ::= { dMacAuthNotifications 2 }

    dMacAuthLoggedAgesOut NOTIFICATION-TYPE
        OBJECTS  { 
            ifIndex, 
            dnaSessionClientMacAddress, 
            dnaSessionAuthVlan 
        }
        STATUS  current
        DESCRIPTION
            "The trap is sent when a MAC-based Access Control host aged out."
        ::= { dMacAuthNotifications 3 }

--  ***************************************************************************	
--  Conformance
--  ***************************************************************************
    dMacAuthMIBCompliances 
        OBJECT IDENTIFIER ::= { dMacAuthMIBConformance 1 }
    dMacAuthMIBGroups
        OBJECT IDENTIFIER ::= { dMacAuthMIBConformance 2 }

    dMacAuthMIBCompliance MODULE-COMPLIANCE
        STATUS  current   
        DESCRIPTION
            "The compliance statement for entities which implement the 
            DLINKSW-MAC-AUTH-MIB."
        MODULE -- this module
        MANDATORY-GROUPS { 
            dMacAuthGlobalCfgGroup,   
            dMacAuthIfCfgGroup         
        }
        ::= { dMacAuthMIBCompliances 1 }

    dMacAuthGlobalCfgGroup OBJECT-GROUP
        OBJECTS {   
            dMacAuthEnabled,
            dMacAuthPWD,
            dMacAuthUserName
        }
        STATUS current
        DESCRIPTION 
            "A collection of objects provides the configuration or information
            about MAC authentication."
        ::= { dMacAuthMIBGroups 1 }
        
    dMacAuthIfCfgGroup OBJECT-GROUP
        OBJECTS {   
            dMacAuthIfEnabled
        }
        STATUS current
        DESCRIPTION 
            "A collection of objects provides the configuration or information
            about MAC authentication on a per-interface basis."
        ::= { dMacAuthMIBGroups 2 }
   
    dMacAuthNotifyCfgGroup OBJECT-GROUP
        OBJECTS {   
            dMacAuthNotifEnabled
        }
        STATUS current
        DESCRIPTION 
            "A collection of objects provides the configuration for notification 
            of MAC authentication."
        ::= { dMacAuthMIBGroups 3 }

    dMacAuthNotificationGroup NOTIFICATION-GROUP
        NOTIFICATIONS { 
            dMacAuthLoggedSuccess,
            dMacAuthLoggedFail,
            dMacAuthLoggedAgesOut
     	}
        STATUS current
        DESCRIPTION
           "The collection of notifications	used for monitoring the hosts under the 
           control of MAC authentication."
        ::= { dMacAuthMIBGroups 4	}
END