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
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
|
--==================================================================
-- Copyright (C) 2017 by HUAWEI TECHNOLOGIES. All rights reserved.
--
-- Description: HUAWEI LINE MIB
-- Reference:
-- Version: V2.11
-- History:
-- <author>, <date>, <contents>
-- huxiaolin 2012-12-28
-- Wang Feng 2014-04-22 Add nodes for wlan npe trusted host
-- ==================================================================
HUAWEI-LINE-MIB DEFINITIONS ::= BEGIN
IMPORTS
hwDatacomm
FROM HUAWEI-MIB
OBJECT-GROUP, MODULE-COMPLIANCE, NOTIFICATION-GROUP
FROM SNMPv2-CONF
IpAddress, Integer32, OBJECT-TYPE, MODULE-IDENTITY, NOTIFICATION-TYPE
FROM SNMPv2-SMI
RowStatus
FROM SNMPv2-TC;
-- July 31, 2009 at 16:24 GMT
-- 1.3.6.1.4.1.2011.5.25.207
hwLineMIB MODULE-IDENTITY
LAST-UPDATED "201707251639Z" -- Mar 07, 2016 at 10:43 GMT
ORGANIZATION
"Huawei Technologies Co.,Ltd."
CONTACT-INFO
"Huawei Industrial Base
Bantian, Longgang
Shenzhen 518129
People's Republic of China
Website: http://www.huawei.com
Email: support@huawei.com
"
DESCRIPTION
"HUAWEI-LINE-MIB is used to configure and query attributes of connections
through management interfaces by users, such as the maximum number of Telnet
connections and login information about users.
"
REVISION "201707251639Z"
DESCRIPTION
"Modify MAX-ACCESS of hwMaxVtyNumber ."
REVISION "201701181043Z"
DESCRIPTION
"Modify Trap of hwVtyHostPermitRowState for compile error."
REVISION "201603311043Z"
DESCRIPTION
"Modify Trap of hwIpUnLocked and hwIpLocked."
REVISION "201603161043Z"
DESCRIPTION
"New Trap added for hwIpUnLocked."
REVISION "201603071043Z"
DESCRIPTION
"New Trap added for hwIpLocked."
REVISION "201507281520Z"
DESCRIPTION
"New Trap added for SSH and Telnet for frequent authentication failure."
REVISION "201405061624Z"
DESCRIPTION
"New Trap added for SSH login/logout."
REVISION "201404291624Z"
DESCRIPTION
"VB description updated"
REVISION "201404251624Z"
DESCRIPTION
"New VBs added in HwLoginUserInfoEntry"
REVISION "201404221624Z"
DESCRIPTION
"Modified to add nodes for wlan npe trusted host."
REVISION "201404081624Z"
DESCRIPTION
"Modified to support Trap in VRP V8R8."
REVISION "200907311624Z"
DESCRIPTION
"The initial revision of this MIB module ."
::= { hwDatacomm 207 }
--
-- Node definitions
--
--
-- 1.3.6.1.4.1.2011.5.25.207.1
hwLineObjects OBJECT IDENTIFIER ::= { hwLineMIB 1 }
-- 1.3.6.1.4.1.2011.5.25.207.1.1
hwTelnetSet OBJECT IDENTIFIER ::= { hwLineObjects 1 }
-- 1.3.6.1.4.1.2011.5.25.207.1.1.1
hwMaxVtyNumber OBJECT-TYPE
SYNTAX Integer32 (0..15)
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The value of this object identifies the maximum number of Telnet connections.
The value ranges from 0 to 15. The default value is 5."
::= { hwTelnetSet 1 }
-- 1.3.6.1.4.1.2011.5.25.207.1.2
hwLoginUserInfo OBJECT IDENTIFIER ::= { hwLineObjects 2 }
-- 1.3.6.1.4.1.2011.5.25.207.1.2.1
hwLoginUserInfoTable OBJECT-TYPE
SYNTAX SEQUENCE OF HwLoginUserInfoEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This table is used to display the user information for login."
::= { hwLoginUserInfo 1 }
-- 1.3.6.1.4.1.2011.5.25.207.1.2.1.1
hwLoginUserInfoEntry OBJECT-TYPE
SYNTAX HwLoginUserInfoEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This table describes information about user login."
INDEX { hwUserInfoIndex }
::= { hwLoginUserInfoTable 1 }
HwLoginUserInfoEntry ::=
SEQUENCE {
hwUserInfoIndex
Integer32,
hwUserInfoName
OCTET STRING,
hwUserInfoIpAddr
OCTET STRING,
hwUserInfoChannel
OCTET STRING,
hwAuthType
OCTET STRING,
hwVpnInstName
OCTET STRING
}
-- 1.3.6.1.4.1.2011.5.25.207.1.2.1.1.1
hwUserInfoIndex OBJECT-TYPE
SYNTAX Integer32 (1..2147483647)
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"This object indicates the index of the user information for login."
::= { hwLoginUserInfoEntry 1 }
-- 1.3.6.1.4.1.2011.5.25.207.1.2.1.1.2
hwUserInfoName OBJECT-TYPE
SYNTAX OCTET STRING (SIZE (0..255))
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"This object indicates the name of the user for login."
::= { hwLoginUserInfoEntry 2 }
-- 1.3.6.1.4.1.2011.5.25.207.1.2.1.1.3
hwUserInfoIpAddr OBJECT-TYPE
SYNTAX OCTET STRING (SIZE (0..47))
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"This object indicates the IP address of the user for login."
::= { hwLoginUserInfoEntry 3 }
-- 1.3.6.1.4.1.2011.5.25.207.1.2.1.1.4
hwUserInfoChannel OBJECT-TYPE
SYNTAX OCTET STRING (SIZE (0..16))
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"This object indicates the channel number of the user for login."
::= { hwLoginUserInfoEntry 4 }
-- 1.3.6.1.4.1.2011.5.25.207.1.2.1.1.5
hwAuthType OBJECT-TYPE
SYNTAX OCTET STRING (SIZE (0..20))
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"This object indicates the authentication method for login."
::= { hwLoginUserInfoEntry 5 }
-- 1.3.6.1.4.1.2011.5.25.207.1.2.1.1.6
hwVpnInstName OBJECT-TYPE
SYNTAX OCTET STRING (SIZE (0..47))
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"This object indicates the VPN name of the user for login."
::= { hwLoginUserInfoEntry 6 }
-- 1.3.6.1.4.1.2011.5.25.207.1.3
hwUserInterface OBJECT IDENTIFIER ::= { hwLineObjects 3 }
-- 1.3.6.1.4.1.2011.5.25.207.1.3.1
hwUserInterfaceTable OBJECT-TYPE
SYNTAX SEQUENCE OF HwUserInterfaceEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This table describes information about user Interface."
::= { hwUserInterface 1 }
-- 1.3.6.1.4.1.2011.5.25.207.1.3.1.1
hwUserInterfaceEntry OBJECT-TYPE
SYNTAX HwUserInterfaceEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This table describes information about user Interface."
INDEX { hwInterfaceType, hwUserInterfaceIndex }
::= { hwUserInterfaceTable 1 }
HwUserInterfaceEntry ::=
SEQUENCE {
hwInterfaceType
INTEGER,
hwUserInterfaceIndex
Integer32,
hwAuthenticationMode
INTEGER,
hwProtocol
INTEGER,
hwUserInterfaceRowStatus
RowStatus
}
-- 1.3.6.1.4.1.2011.5.25.207.1.3.1.1.1
hwInterfaceType OBJECT-TYPE
SYNTAX INTEGER
{
vty(1)
}
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"The type of the user interface."
::= { hwUserInterfaceEntry 1 }
-- 1.3.6.1.4.1.2011.5.25.207.1.3.1.1.2
hwUserInterfaceIndex OBJECT-TYPE
SYNTAX Integer32 (0..20)
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"The index of the user interface."
::= { hwUserInterfaceEntry 2 }
-- 1.3.6.1.4.1.2011.5.25.207.1.3.1.1.3
hwAuthenticationMode OBJECT-TYPE
SYNTAX INTEGER
{
undefined(0),
none(1),
password(2),
aaa(3)
}
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"The authentication mode of the user interface."
::= { hwUserInterfaceEntry 3 }
-- 1.3.6.1.4.1.2011.5.25.207.1.3.1.1.4
hwProtocol OBJECT-TYPE
SYNTAX INTEGER
{
telnet(1),
ssh(2),
all(3)
}
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"The protocol of the user interface."
::= { hwUserInterfaceEntry 4 }
-- 1.3.6.1.4.1.2011.5.25.207.1.3.1.1.5
hwUserInterfaceRowStatus OBJECT-TYPE
SYNTAX RowStatus
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"RowStatus for this Table."
::= { hwUserInterfaceEntry 5 }
-- 1.3.6.1.4.1.2011.5.25.207.1.4
hwVtyHostPermit OBJECT IDENTIFIER ::= { hwLineObjects 4 }
-- 1.3.6.1.4.1.2011.5.25.207.1.4.1
hwVtyHostPermitTable OBJECT-TYPE
SYNTAX SEQUENCE OF HwVtyHostPermitEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This object indicates trusted host table."
::= { hwVtyHostPermit 1 }
-- 1.3.6.1.4.1.2011.5.25.207.1.4.1.1
hwVtyHostPermitEntry OBJECT-TYPE
SYNTAX HwVtyHostPermitEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This object indicates trusted the entry of trusted host table."
INDEX { hwVtyHostPermitIndex }
::= { hwVtyHostPermitTable 1 }
HwVtyHostPermitEntry ::=
SEQUENCE {
hwVtyHostPermitIndex
Integer32,
hwVtyHostPermitIpAddress
IpAddress,
hwVtyHostPermitMaskAddress
IpAddress,
hwVtyHostPermitInformation
OCTET STRING,
hwVtyHostPermitRowState
RowStatus
}
-- 1.3.6.1.4.1.2011.5.25.207.1.4.1.1.1
hwVtyHostPermitIndex OBJECT-TYPE
SYNTAX Integer32 (0..7)
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"The value of this object identifies the index of trusted host table."
::= { hwVtyHostPermitEntry 1 }
-- 1.3.6.1.4.1.2011.5.25.207.1.4.1.1.2
hwVtyHostPermitIpAddress OBJECT-TYPE
SYNTAX IpAddress
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"The value of this object identifies ip address of trusted host."
::= { hwVtyHostPermitEntry 2 }
-- 1.3.6.1.4.1.2011.5.25.207.1.4.1.1.3
hwVtyHostPermitMaskAddress OBJECT-TYPE
SYNTAX IpAddress
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"The value of this object identifies mask address of trusted host."
::= { hwVtyHostPermitEntry 3 }
-- 1.3.6.1.4.1.2011.5.25.207.1.4.1.1.4
hwVtyHostPermitInformation OBJECT-TYPE
SYNTAX OCTET STRING (SIZE (0..127))
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"The value of this object identifies the description of trusted host."
::= { hwVtyHostPermitEntry 4 }
-- 1.3.6.1.4.1.2011.5.25.207.1.4.1.1.5
hwVtyHostPermitRowState OBJECT-TYPE
SYNTAX RowStatus
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"This object identifies the status of a row."
::= { hwVtyHostPermitEntry 5 }
-- 1.3.6.1.4.1.2011.5.25.207.1.5
hwLineMibTrapObjects OBJECT IDENTIFIER ::= { hwLineObjects 5 }
-- 1.3.6.1.4.1.2011.5.25.207.1.5.1
hwUserInfoLoginFailedTimes OBJECT-TYPE
SYNTAX Integer32
MAX-ACCESS accessible-for-notify
STATUS current
DESCRIPTION
"Login failed times in the statistic period"
::= { hwLineMibTrapObjects 1 }
-- 1.3.6.1.4.1.2011.5.25.207.1.5.2
hwUserInfoStatisticPeriod OBJECT-TYPE
SYNTAX Integer32
MAX-ACCESS accessible-for-notify
STATUS current
DESCRIPTION
"Statistic period to count login failed times"
::= { hwLineMibTrapObjects 2 }
-- 1.3.6.1.4.1.2011.5.25.207.1.5.3
hwUserInfoIpAddress OBJECT-TYPE
SYNTAX OCTET STRING (SIZE (0..255))
MAX-ACCESS accessible-for-notify
STATUS current
DESCRIPTION
"This object indicates the IP address of the user for login."
::= { hwLineMibTrapObjects 3 }
-- 1.3.6.1.4.1.2011.5.25.207.1.5.4
hwUserInfoVpnName OBJECT-TYPE
SYNTAX OCTET STRING (SIZE (0..255))
MAX-ACCESS accessible-for-notify
STATUS current
DESCRIPTION
"This object indicates the VPN name of the user for login."
::= { hwLineMibTrapObjects 4 }
-- =======================================
-- HUAWEI-LINE-MIB MIB - Notification Information
--=======================================
-- 1.3.6.1.4.1.2011.5.25.207.2
hwLineNotification OBJECT IDENTIFIER ::= { hwLineMIB 2 }
-- 1.3.6.1.4.1.2011.5.25.207.2.1
hwVtyNumExceed NOTIFICATION-TYPE
OBJECTS { hwMaxVtyNumber }
STATUS current
DESCRIPTION
"This object indicates the alarm reported when the number of Telnet users reaches
the maximum number of Telnet connections. In addition, the maximum number of
Telnet connections is displayed."
::= { hwLineNotification 1 }
-- 1.3.6.1.4.1.2011.5.25.207.2.2
hwUserLogin NOTIFICATION-TYPE
OBJECTS { hwUserInfoName, hwUserInfoIpAddr, hwUserInfoChannel, hwAuthType, hwVpnInstName }
STATUS current
DESCRIPTION
"When a user logs in through Telnet/Stelnet, the user name, IP address for login,
used tunnel, authentication type and vpn name are reported."
::= { hwLineNotification 2 }
-- 1.3.6.1.4.1.2011.5.25.207.2.3
hwUserLoginFail NOTIFICATION-TYPE
OBJECTS { hwUserInfoName, hwUserInfoIpAddr, hwUserInfoChannel, hwAuthType, hwVpnInstName }
STATUS current
DESCRIPTION
"When a user fails to log in through Telnet/Stelnet, the user name, IP address for login,
used tunnel, authentication type and vpn name are reported."
::= { hwLineNotification 3 }
-- 1.3.6.1.4.1.2011.5.25.207.2.4
hwUserLogout NOTIFICATION-TYPE
OBJECTS { hwUserInfoName, hwUserInfoIpAddr, hwUserInfoChannel, hwAuthType, hwVpnInstName }
STATUS current
DESCRIPTION
"When a user logs out of the Telnet/Stelnet server, the user name, IP address for logout,
used tunnel, authentication type and vpn name are reported."
::= { hwLineNotification 4 }
-- 1.3.6.1.4.1.2011.5.25.207.2.5
hwUserSshLogin NOTIFICATION-TYPE
OBJECTS { hwUserInfoName, hwUserInfoIpAddr, hwUserInfoChannel, hwAuthType, hwVpnInstName }
STATUS current
DESCRIPTION
"When a user logs in to SSH server, the user name, IP address for login,
used tunnel, authentication type and vpn name are reported."
::= { hwLineNotification 5 }
-- 1.3.6.1.4.1.2011.5.25.207.2.6
hwUserSshLogout NOTIFICATION-TYPE
OBJECTS { hwUserInfoName, hwUserInfoIpAddr, hwUserInfoChannel, hwAuthType, hwVpnInstName }
STATUS current
DESCRIPTION
"When a user logs out of the SSH server, the user name, IP address for logout,
and used tunnel are reported."
::= { hwLineNotification 6 }
-- 1.3.6.1.4.1.2011.5.25.207.2.7
hwTelnetLoginFailed NOTIFICATION-TYPE
OBJECTS { hwUserInfoLoginFailedTimes, hwUserInfoStatisticPeriod }
STATUS current
DESCRIPTION
"When users failed to login telnet server too frequently, login fail times and statistics period are reported."
::= { hwLineNotification 7 }
-- 1.3.6.1.4.1.2011.5.25.207.2.8
hwSSHLoginFailed NOTIFICATION-TYPE
OBJECTS { hwUserInfoLoginFailedTimes, hwUserInfoStatisticPeriod }
STATUS current
DESCRIPTION
"When users failed to login ssh server too frequently, login fail times and statistics period are reported."
::= { hwLineNotification 8 }
-- 1.3.6.1.4.1.2011.5.25.207.2.9
hwTelnetLoginFailedClear NOTIFICATION-TYPE
OBJECTS { hwUserInfoLoginFailedTimes, hwUserInfoStatisticPeriod }
STATUS current
DESCRIPTION
"When users failed to login telnet server too frequently, login fail times and statistics period are reported."
::= { hwLineNotification 9 }
-- 1.3.6.1.4.1.2011.5.25.207.2.10
hwSSHLoginFailedClear NOTIFICATION-TYPE
OBJECTS { hwUserInfoLoginFailedTimes, hwUserInfoStatisticPeriod }
STATUS current
DESCRIPTION
"When users failed to login ssh server too frequently, login fail times and statistics period are reported."
::= { hwLineNotification 10 }
-- 1.3.6.1.4.1.2011.5.25.207.2.11
hwIpLocked NOTIFICATION-TYPE
OBJECTS { hwUserInfoIpAddress, hwUserInfoVpnName, hwUserInfoStatisticPeriod }
STATUS current
DESCRIPTION
"when the number of user login failures from the same IP address reaches the threshold, the trap of hwIpLocked is reported."
::= { hwLineNotification 11 }
-- 1.3.6.1.4.1.2011.5.25.207.2.12
hwIpUnLocked NOTIFICATION-TYPE
OBJECTS { hwUserInfoIpAddress, hwUserInfoVpnName }
STATUS current
DESCRIPTION
"When the IP is unlocked, the trap of hwIpUnLocked is reported."
::= { hwLineNotification 12 }
-- =========================================
-- HUAWEI-LINE-MIB MIB - Conformance Information
-- =========================================
-- 1.3.6.1.4.1.2011.5.25.207.3
hwLineConformance OBJECT IDENTIFIER ::= { hwLineMIB 3 }
-- 1.3.6.1.4.1.2011.5.25.207.3.1
hwLineCompliances OBJECT IDENTIFIER ::= { hwLineConformance 1 }
-- 1.3.6.1.4.1.2011.5.25.207.3.1.1
hwLineCompliance MODULE-COMPLIANCE
STATUS current
DESCRIPTION
"The compliance statement for
entities that support the huawei LINE MIB."
MODULE -- this module
::= { hwLineCompliances 1 }
-- 1.3.6.1.4.1.2011.5.25.207.3.2
hwLineGroups OBJECT IDENTIFIER ::= { hwLineConformance 2 }
-- 1.3.6.1.4.1.2011.5.25.207.3.2.1
hwLineNotificationGroup NOTIFICATION-GROUP
NOTIFICATIONS { hwVtyNumExceed, hwUserLogin, hwUserLoginFail, hwUserLogout, hwUserSshLogin, hwUserSshLogout, hwIpLocked, hwIpUnLocked }
STATUS current
DESCRIPTION
"The collection of notifications in the module."
::= { hwLineGroups 1 }
-- 1.3.6.1.4.1.2011.5.25.207.3.2.2
hwLineUserInfoGroup OBJECT-GROUP
OBJECTS { hwUserInfoIndex, hwUserInfoName, hwUserInfoIpAddr, hwUserInfoChannel }
STATUS current
DESCRIPTION
"A collection of objects on Clock setting level information."
::= { hwLineGroups 2 }
-- 1.3.6.1.4.1.2011.5.25.207.3.2.3
hwMaxVtyNumberGroup OBJECT-GROUP
OBJECTS { hwMaxVtyNumber }
STATUS current
DESCRIPTION
"A collection of objects on vty number information."
::= { hwLineGroups 3 }
END
--
-- HUAWEI-LINE-MIB.mib
--
|