332 lines
12 KiB
Plaintext
332 lines
12 KiB
Plaintext
-- =================================================================
|
|
-- Copyright (C) 2009 by HUAWEI TECHNOLOGIES. All rights reserved.
|
|
--
|
|
-- Description: HUAWEI LINE MIB
|
|
-- Reference: huawei enterprise mib
|
|
-- Version: V1.0
|
|
-- History:
|
|
-- initial version 2009-08-28
|
|
-- =================================================================
|
|
|
|
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 "200907311624Z" -- July 31, 2009 at 16:24 GMT
|
|
ORGANIZATION
|
|
"Huawei Technologies co.,Ltd."
|
|
CONTACT-INFO
|
|
"VRP Team Huawei Technologies co.,Ltd.
|
|
Huawei Bld.,NO.3 Xinxi Rd.,
|
|
Shang-Di Information Industry Base,
|
|
Hai-Dian District Beijing P.R. China
|
|
http://www.huawei.com
|
|
Zip:100085
|
|
"
|
|
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.
|
|
"
|
|
::= { 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-write
|
|
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
|
|
}
|
|
|
|
-- 1.3.6.1.4.1.2011.5.25.207.1.2.1.1.1
|
|
hwUserInfoIndex OBJECT-TYPE
|
|
SYNTAX Integer32 (1..2147483647)
|
|
MAX-ACCESS not-accessible
|
|
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.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 }
|
|
|
|
-- -------------------------------------------------------------
|
|
-- 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 }
|
|
STATUS current
|
|
DESCRIPTION
|
|
"When a user logs in through Telnet/Stelnet, the user name, IP address for login,
|
|
and used tunnel are reported."
|
|
::= { hwLineNotification 2 }
|
|
|
|
-- 1.3.6.1.4.1.2011.5.25.207.2.3
|
|
hwUserLoginFail NOTIFICATION-TYPE
|
|
OBJECTS { hwUserInfoName, hwUserInfoIpAddr, hwUserInfoChannel }
|
|
STATUS current
|
|
DESCRIPTION
|
|
"When a user fails to log in through Telnet/Stelnet, the user name, IP address for login,
|
|
and used tunnel are reported."
|
|
::= { hwLineNotification 3 }
|
|
|
|
-- 1.3.6.1.4.1.2011.5.25.207.2.4
|
|
hwUserLogout NOTIFICATION-TYPE
|
|
OBJECTS { hwUserInfoName, hwUserInfoIpAddr, hwUserInfoChannel }
|
|
STATUS current
|
|
DESCRIPTION
|
|
"When a user logs out of the Telnet/Stelnet server, the user name, IP address for logout,
|
|
and used tunnel are reported."
|
|
::= { hwLineNotification 4 }
|
|
|
|
-- -------------------------------------------------------------
|
|
-- 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 }
|
|
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
|
|
--
|
|
|