-- ***************************************************************************** --WebBase-Access-Control-MIB -- ***************************************************************************** -- 1.0 -- 2005/12/21 -- change the mib file name from WebAuth.mib to wac.mib -- change the mib module name to WebBase-Access-Control-MIB and use WAC(web-base access control) -- in the mib definition. -- ***************************************************************************** -- 0.9 Draft -- 2005/10/24 -- Create swWebBasedAuthMIB -- ***************************************************************************** WebBase-Access-Control-MIB DEFINITIONS ::= BEGIN -- ******************************************************************** -- Web-Based Access Control MIB -- ******************************************************************** IMPORTS MODULE-IDENTITY,OBJECT-TYPE,IpAddress FROM SNMPv2-SMI RowStatus,DisplayString FROM SNMPv2-TC dlink-common-mgmt FROM DLINK-ID-REC-MIB; swWACMIB MODULE-IDENTITY LAST-UPDATED "200601160000Z" ORGANIZATION "." CONTACT-INFO "" DESCRIPTION "." ::= { dlink-common-mgmt 27 } swWACCtrl OBJECT IDENTIFIER ::= { swWACMIB 1 } swWACInfo OBJECT IDENTIFIER ::= { swWACMIB 2 } swWACMgmt OBJECT IDENTIFIER ::= { swWACMIB 3 } -- ******************************************************************** swWebAuthAdminState OBJECT-TYPE SYNTAX INTEGER { other(1), disabled(2), enabled(3) } MAX-ACCESS read-write STATUS current DESCRIPTION "This object enable\disable the web-based authentication status of the device." ::= { swWACCtrl 1 } swWebAuthMethod OBJECT-TYPE SYNTAX INTEGER { local(1), radius(2) } MAX-ACCESS read-write STATUS current DESCRIPTION "This object indicates the authentication method type. RADIUS method was authenticated per authentication server." ::= { swWACCtrl 2 } swWebAuthVlanName OBJECT-TYPE SYNTAX DisplayString(SIZE(1..32)) MAX-ACCESS read-write STATUS current DESCRIPTION "This object indicates the authentication method VLAN name." ::= { swWACCtrl 3 } swWebAuthAllPortstate OBJECT-TYPE SYNTAX INTEGER { other(1), disabled(2), enabled(3) } MAX-ACCESS read-write STATUS current DESCRIPTION "This object enable\disable the authentication state of all ports in the device." ::= { swWACCtrl 4 } swWebAuthRedirectPath OBJECT-TYPE SYNTAX DisplayString(SIZE(1..128)) MAX-ACCESS read-write STATUS current DESCRIPTION "This object indicates the default Website to which the switch connects once the Web authentication is successful." ::= { swWACCtrl 5 } swWebAuthAutoLogout OBJECT-TYPE SYNTAX INTEGER (1..1440) MAX-ACCESS read-write STATUS current DESCRIPTION "This object indicates the time of auto logout. The range is 1 to 1440 minutes." ::= { swWACCtrl 6 } -- ******************************************************************** -- swWACInfo OBJECT IDENTIFIER ::= { swWACMIB 2} -- ******************************************************************** swWebAuthPortInfoTable OBJECT-TYPE SYNTAX SEQUENCE OF SwWebAuthPortInfoEntry MAX-ACCESS not-accessible STATUS current DESCRIPTION "A table that contains authentication state about every port." ::= { swWACInfo 1 } swWebAuthPortInfoEntry OBJECT-TYPE SYNTAX SwWebAuthPortInfoEntry MAX-ACCESS not-accessible STATUS current DESCRIPTION "A table that contains authentication state for each port." INDEX { swWebAuthInfoPort } ::= { swWebAuthPortInfoTable 1 } SwWebAuthPortInfoEntry ::= SEQUENCE { swWebAuthInfoPort INTEGER, swWebAuthInfoUsername DisplayString, swWebAuthInfoIpAddr IpAddress, swWebAuthInfoStatus INTEGER, swWebAuthInfoAssignVID INTEGER } swWebAuthInfoPort OBJECT-TYPE SYNTAX INTEGER MAX-ACCESS read-only STATUS current DESCRIPTION "This object indicates the module's port number." ::= { swWebAuthPortInfoEntry 1 } swWebAuthInfoUsername OBJECT-TYPE SYNTAX DisplayString (SIZE(1..15)) MAX-ACCESS read-only STATUS current DESCRIPTION "This object indicates the authenticated user." ::= { swWebAuthPortInfoEntry 2 } swWebAuthInfoIpAddr OBJECT-TYPE SYNTAX IpAddress MAX-ACCESS read-only STATUS current DESCRIPTION "This object indicates the authenticated from ip address." ::= { swWebAuthPortInfoEntry 3 } swWebAuthInfoStatus OBJECT-TYPE SYNTAX INTEGER { unauth(1), authenticating(2), authenticated(3) } MAX-ACCESS read-only STATUS current DESCRIPTION "This object indicates the authentication status." ::= { swWebAuthPortInfoEntry 4 } swWebAuthInfoAssignVID OBJECT-TYPE SYNTAX INTEGER (1..4094) MAX-ACCESS read-only STATUS current DESCRIPTION "This object indicates the vlan id to which the port assign once the web authentication is successful." ::= { swWebAuthPortInfoEntry 5 } -- ******************************************************************** -- swWACMgmt OBJECT IDENTIFIER ::= { swWACMIB 3} -- ******************************************************************* swWebAuthPortTable OBJECT-TYPE SYNTAX SEQUENCE OF SwWebAuthPortEntry MAX-ACCESS not-accessible STATUS current DESCRIPTION "A table that contains method and state about every port." ::= { swWACMgmt 1 } swWebAuthPortEntry OBJECT-TYPE SYNTAX SwWebAuthPortEntry MAX-ACCESS not-accessible STATUS current DESCRIPTION "A list of method type and state for each port." INDEX { swWebAuthPortIndex } ::= { swWebAuthPortTable 1 } SwWebAuthPortEntry ::= SEQUENCE { swWebAuthPortIndex INTEGER, swWebAuthPortState INTEGER } swWebAuthPortIndex OBJECT-TYPE SYNTAX INTEGER MAX-ACCESS read-only STATUS current DESCRIPTION "This object indicates the module's port number." ::= { swWebAuthPortEntry 1 } swWebAuthPortState OBJECT-TYPE SYNTAX INTEGER { other(1), disabled(2), enabled(3) } MAX-ACCESS read-write STATUS current DESCRIPTION "This object enable\disable the authentication state of this port." ::= { swWebAuthPortEntry 2 } -- ******************************************************************** swWebAuthUserTable OBJECT-TYPE SYNTAX SEQUENCE OF SwWebAuthUserEntry MAX-ACCESS not-accessible STATUS current DESCRIPTION "A table that contains web-based authentication account info." ::= { swWACMgmt 2 } swWebAuthUserEntry OBJECT-TYPE SYNTAX SwWebAuthUserEntry MAX-ACCESS not-accessible STATUS current DESCRIPTION "A list that contains web-based authentication account info." INDEX { swWebAuthUserNameIndex } ::= { swWebAuthUserTable 1 } SwWebAuthUserEntry ::= SEQUENCE { swWebAuthUserNameIndex DisplayString, swWebAuthUserPWD DisplayString, swWebAuthUserVlanName DisplayString, swWebAuthUserStatus RowStatus } swWebAuthUserNameIndex OBJECT-TYPE SYNTAX DisplayString(SIZE(1..15)) MAX-ACCESS read-only STATUS current DESCRIPTION "This object indicates the username that maximum number of characters is 15." ::= { swWebAuthUserEntry 1 } swWebAuthUserPWD OBJECT-TYPE SYNTAX DisplayString(SIZE(1..15)) MAX-ACCESS read-create STATUS current DESCRIPTION "This object indicates the password (maximum number of characters is 15) for this user accountt.It is write-only" ::= { swWebAuthUserEntry 2 } swWebAuthUserVlanName OBJECT-TYPE SYNTAX DisplayString(SIZE(1..32)) MAX-ACCESS read-create STATUS current DESCRIPTION "This object indicates the VLAN name for this user accountt." ::= { swWebAuthUserEntry 3 } swWebAuthUserStatus OBJECT-TYPE SYNTAX RowStatus MAX-ACCESS read-create STATUS current DESCRIPTION "This object manage this entry." ::= { swWebAuthUserEntry 4 } END