154 lines
4.7 KiB
Plaintext
154 lines
4.7 KiB
Plaintext
|
------------------------------------------------------------------------------
|
|||
|
--
|
|||
|
-- File : gbnPlatformOAMTelnet-MIB.mi2
|
|||
|
-- Description : Telnet configuration MIB
|
|||
|
-- Version : 1.0
|
|||
|
-- Date : April 16, 2013
|
|||
|
-- Author : tangrenxiang
|
|||
|
-- Copyright (c) 2001-2008 admin Co. Ltd. All Rights Reserved.
|
|||
|
--
|
|||
|
------------------------------------------------------------------------------
|
|||
|
|
|||
|
GBNPlatformOAMTelnet-MIB DEFINITIONS ::= BEGIN
|
|||
|
|
|||
|
IMPORTS
|
|||
|
MODULE-IDENTITY, OBJECT-TYPE,
|
|||
|
Counter32, Gauge32,
|
|||
|
Unsigned32, Integer32,
|
|||
|
IpAddress, NOTIFICATION-TYPE FROM SNMPv2-SMI
|
|||
|
|
|||
|
RowStatus, TruthValue,
|
|||
|
DisplayString, MacAddress FROM SNMPv2-TC
|
|||
|
|
|||
|
MODULE-COMPLIANCE, OBJECT-GROUP FROM SNMPv2-CONF
|
|||
|
|
|||
|
snmpTraps FROM SNMPv2-MIB
|
|||
|
|
|||
|
gbnPlatformOAM FROM GBNPlatformOAM-MIB;
|
|||
|
|
|||
|
gbnPlatformOAMTelnet MODULE-IDENTITY
|
|||
|
LAST-UPDATED "1304160000Z" -- April 16, 2013
|
|||
|
ORGANIZATION "admin Co. Ltd"
|
|||
|
CONTACT-INFO "admin Co. Ltd
|
|||
|
E-mail: service@admin.com.cn"
|
|||
|
|
|||
|
DESCRIPTION "Telnet mib definition."
|
|||
|
|
|||
|
REVISION "1304160000Z" -- April 16, 2013
|
|||
|
DESCRIPTION "Initial MIB creation."
|
|||
|
|
|||
|
::= { gbnPlatformOAM 15 }
|
|||
|
|
|||
|
telnetState OBJECT-TYPE
|
|||
|
SYNTAX INTEGER {
|
|||
|
enable(1),
|
|||
|
disable(2)
|
|||
|
}
|
|||
|
MAX-ACCESS read-write
|
|||
|
STATUS current
|
|||
|
DESCRIPTION
|
|||
|
"enable or disable telnet."
|
|||
|
--<2D><EFBFBD><F2BFAABB>ر<EFBFBD>telnet<65><74><EFBFBD>ܡ<EFBFBD>
|
|||
|
::= { gbnPlatformOAMTelnet 1 }
|
|||
|
|
|||
|
telnetUserLimit OBJECT-TYPE
|
|||
|
SYNTAX Integer32 (0..5)
|
|||
|
MAX-ACCESS read-write
|
|||
|
STATUS current
|
|||
|
DESCRIPTION
|
|||
|
"The max user limit of telnet"
|
|||
|
--<2D><><EFBFBD><EFBFBD>telnet<65><74>¼<EFBFBD><C2BC><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>û<EFBFBD><C3BB><EFBFBD>Ŀ
|
|||
|
::= { gbnPlatformOAMTelnet 2 }
|
|||
|
|
|||
|
telnetLoginUsers OBJECT-TYPE
|
|||
|
SYNTAX Counter32
|
|||
|
MAX-ACCESS read-only
|
|||
|
STATUS current
|
|||
|
DESCRIPTION
|
|||
|
"Current login users of telnet"
|
|||
|
--<2D><>ǰtelnet<65><74>¼<EFBFBD><C2BC><EFBFBD>û<EFBFBD><C3BB><EFBFBD>Ŀ
|
|||
|
::= { gbnPlatformOAMTelnet 3 }
|
|||
|
|
|||
|
telnetUserTable OBJECT-TYPE
|
|||
|
SYNTAX SEQUENCE OF TelnetUserEntry
|
|||
|
MAX-ACCESS not-accessible
|
|||
|
STATUS current
|
|||
|
DESCRIPTION
|
|||
|
"A table of login user information"
|
|||
|
--<2D><>¼<EFBFBD>û<EFBFBD><C3BB><EFBFBD>Ϣ<EFBFBD><CFA2>
|
|||
|
::= { gbnPlatformOAMTelnet 4 }
|
|||
|
|
|||
|
telnetUserEntry OBJECT-TYPE
|
|||
|
SYNTAX TelnetUserEntry
|
|||
|
MAX-ACCESS not-accessible
|
|||
|
STATUS current
|
|||
|
DESCRIPTION
|
|||
|
"A list of login user information"
|
|||
|
--<2D><>¼<EFBFBD>û<EFBFBD><C3BB><EFBFBD>Ϣ<EFBFBD>б<EFBFBD>
|
|||
|
INDEX { telnetUserTerminal }
|
|||
|
::= { telnetUserTable 1 }
|
|||
|
|
|||
|
TelnetUserEntry ::= SEQUENCE {
|
|||
|
telnetUserTerminal Counter32,
|
|||
|
telnetUserAddrIp DisplayString,
|
|||
|
telnetUserName DisplayString,
|
|||
|
telnetUserLoginTime DisplayString,
|
|||
|
telnetUserTransport DisplayString,
|
|||
|
telnetUserRowStatus RowStatus
|
|||
|
}
|
|||
|
|
|||
|
telnetUserTerminal OBJECT-TYPE
|
|||
|
SYNTAX Counter32
|
|||
|
MAX-ACCESS read-only
|
|||
|
STATUS current
|
|||
|
DESCRIPTION
|
|||
|
"login terminal number"
|
|||
|
--<2D><>¼<EFBFBD>ն˺<D5B6>
|
|||
|
::= { telnetUserEntry 1 }
|
|||
|
|
|||
|
telnetUserAddrIp OBJECT-TYPE
|
|||
|
SYNTAX DisplayString(SIZE(1..64))
|
|||
|
MAX-ACCESS read-only
|
|||
|
STATUS current
|
|||
|
DESCRIPTION
|
|||
|
"login ip address"
|
|||
|
-- <20><>¼ip<69><70>ַ,<2C><><EFBFBD><EFBFBD>IPV4<56><34>IPV6.
|
|||
|
::= { telnetUserEntry 2 }
|
|||
|
|
|||
|
telnetUserName OBJECT-TYPE
|
|||
|
SYNTAX DisplayString (SIZE(1..32))
|
|||
|
MAX-ACCESS read-only
|
|||
|
STATUS current
|
|||
|
DESCRIPTION
|
|||
|
"login user name"
|
|||
|
--<2D><>¼<EFBFBD>û<EFBFBD><C3BB><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
::= { telnetUserEntry 3 }
|
|||
|
|
|||
|
telnetUserLoginTime OBJECT-TYPE
|
|||
|
SYNTAX DisplayString (SIZE(0..100))
|
|||
|
MAX-ACCESS read-only
|
|||
|
STATUS current
|
|||
|
DESCRIPTION
|
|||
|
"login time"
|
|||
|
--<2D><>¼ʱ<C2BC><CAB1>
|
|||
|
::= { telnetUserEntry 4 }
|
|||
|
|
|||
|
telnetUserTransport OBJECT-TYPE
|
|||
|
SYNTAX DisplayString (SIZE(0..20))
|
|||
|
MAX-ACCESS read-only
|
|||
|
STATUS current
|
|||
|
DESCRIPTION
|
|||
|
"transport type"
|
|||
|
--<2D><>¼<EFBFBD><C2BC><EFBFBD><EFBFBD>, telnet<65><74>ssh
|
|||
|
::= { telnetUserEntry 5 }
|
|||
|
|
|||
|
telnetUserRowStatus OBJECT-TYPE
|
|||
|
SYNTAX RowStatus
|
|||
|
MAX-ACCESS read-write
|
|||
|
STATUS current
|
|||
|
DESCRIPTION
|
|||
|
"login user rowstatus"
|
|||
|
--<2D><>¼<EFBFBD>û<EFBFBD><C3BB><EFBFBD>״̬<D7B4><CCAC><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><DEB3>û<EFBFBD>
|
|||
|
::= { telnetUserEntry 6 }
|
|||
|
END
|