Updated dlink support with additional health,mempools and processors (#9464)

* Updated dlink support with additional health,mempools and processors

* Update dlink.inc.php

* Update dlink.inc.php

* Added test data

* add tests/data/dlink_dgs-1510-28.json

* actual data for the new items
This commit is contained in:
Neil Lathwood 2018-12-19 17:29:00 +00:00 committed by Tony Murray
parent 7093b362bb
commit a5eddc0393
89 changed files with 59811 additions and 7106 deletions

View File

@ -1,4 +1,4 @@
mib: EQUIPMENT-MIB
mib: EQUIPMENT-MIB:DLINKSW-ENTITY-EXT-MIB
modules:
processors:
data:
@ -6,6 +6,10 @@ modules:
oid: AGENT-GENERAL-MIB::agentCPUutilizationIn5sec
value: agentCPUutilizationIn5sec
num_oid: '.1.3.6.1.4.1.171.12.1.1.6.1.{{ $index }}'
-
oid: DLINKSW-ENTITY-EXT-MIB::dEntityExtCpuUtilOneMinute
value: dEntityExtCpuUtilOneMinute
num_oid: '.1.3.6.1.4.1.171.14.5.1.7.1.4.{{ $index }}'
sensors:
temperature:
data:
@ -15,3 +19,41 @@ modules:
num_oid: '.1.3.6.1.4.1.171.12.11.1.8.1.2.{{ $index }}'
descr: 'Current Sys Temp {{ $index }}'
index: 'swTemperatureCurrent.{{ $index }}'
-
oid: dEntityExtEnvTempTable
value: dEntityExtEnvTempCurrent
num_oid: '.1.3.6.1.4.1.171.14.5.1.1.1.1.4.{{ $index }}'
descr: $dEntityExtEnvTempDescr
index: 'dEntityExtEnvTempCurrent.{{ $index }}'
low_limit: dEntityExtEnvTempThresholdLow
high_limit: dEntityExtEnvTempThresholdHigh
state:
data:
-
oid: dEntityExtEnvFanTable
value: dEntityExtEnvFanStatus
num_oid: '.1.3.6.1.4.1.171.14.5.1.1.2.1.4.{{ $index }}'
descr: dEntityExtEnvFanDescr
index: 'dEntityExtEnvFanStatus.{{ $index }}'
states:
- { descr: Ok, graph: 1, value: 1, generic: 0 }
- { descr: Fault, graph: 1, value: 2, generic: 2 }
-
oid: dEntityExtEnvPowerTable
value: dEntityExtEnvPowerStatus
num_oid: '.1.3.6.1.4.1.171.14.5.1.1.3.1.6.{{ $index }}'
descr: dEntityExtEnvPowerDescr
index: 'dEntityExtEnvPowerStatus.{{ $index }}'
states:
- { descr: In Operation, graph: 1, value: 1, generic: 0 }
- { descr: Failed, graph: 1, value: 2, generic: 2 }
- { descr: Empty, graph: 1, value: 3, generic: 3 }
-
oid: dEntityExtEnvTempTable
value: dEntityExtEnvTempStatus
num_oid: '.1.3.6.1.4.1.171.14.5.1.1.1.1.7.{{ $index }}'
descr: dEntityExtEnvTempDescr
index: 'dEntityExtEnvTempStatus.{{ $index }}'
states:
- { descr: Ok, graph: 1, value: 1, generic: 0 }
- { descr: Abnormal, graph: 1, value: 2, generic: 2 }

View File

@ -21,4 +21,10 @@ if ($device['os'] == 'dlink') {
if (is_numeric($usage)) {
discover_mempool($valid_mempool, $device, '0', 'dlink', 'Memory', '1', null, null);
}
$dlink_mempools = snmpwalk_cache_oid($device, 'dEntityExtMemoryUtilTable', [], 'DLINKSW-ENTITY-EXT-MIB');
foreach ($dlink_mempools as $tmp_index => $dlink_data) {
list(,$dlink_type) = explode('.', $tmp_index);
discover_mempool($valid_mempool, $device, $tmp_index, 'dlink', ucfirst($dlink_type). " Memory");
}
}

View File

@ -21,4 +21,9 @@ if (is_numeric($perc)) {
$mempool['used'] = $perc;
$mempool['total'] = 100;
$mempool['free'] = 100 - $perc;
} else {
$dlink_mempools = snmp_get_multi_oid($device, "dEntityExtMemUtilTotal.$mempool_index dEntityExtMemUtilUsed.$mempool_index dEntityExtMemUtilFree.$mempool_index", '-OUQs', 'DLINKSW-ENTITY-EXT-MIB');
$mempool['total'] = $dlink_mempools["dEntityExtMemUtilTotal.$mempool_index"];
$mempool['used'] = $dlink_mempools["dEntityExtMemUtilUsed.$mempool_index"];
$mempool['free'] = $dlink_mempools["dEntityExtMemUtilFree.$mempool_index"];
}

View File

@ -6,3 +6,7 @@ $Descr_chopper = preg_split('/[ ]+/', "$Descr_string");
$hardware = $Descr_chopper[0].' Rev. '.str_replace('"', '', snmp_get($device, '.1.3.6.1.4.1.171.12.11.1.9.4.1.12.1', '-Oqv'));
$version = snmp_get($device, '.1.3.6.1.4.1.171.12.11.1.9.4.1.11.1', '-Oqv');
$serial = snmp_get($device, '.1.3.6.1.4.1.171.12.11.1.9.4.1.17.1', '-Oqv');
if (!$version) {
$version = snmp_get($device, 'dEntityExtVersionRuntime.1', '-Oqv', 'DLINKSW-ENTITY-EXT-MIB');
}

File diff suppressed because it is too large Load Diff

View File

@ -1,3 +1,29 @@
-- D-Link Common MIBs
-- DLINK-ID-REC
-- -----------------------------------------------------------------------------
-- Version 1.4
-- 2012/6/19
-- Add dlinkIndustrialCommon
-- by Jane Peng
-- -----------------------------------------------------------------------------
-- Version 1.3
-- 2009/1/15
-- Modify syntax of AgentNotifyLevel
-- for support 8 notification levels.
-- by Green Zhu
-- -----------------------------------------------------------------------------
-- Version 1.2
-- 2008/8/11
-- Add dlink-broadband-products and dlink-broadband-mgmt.
-- by Green Zhu
-- -----------------------------------------------------------------------------
-- Version 1.1
-- 2004/7/6
-- Modify syntax of AgentNotifyLevel
-- by Karen
-- -----------------------------------------------------------------------------
-- Version 1.0.12 01-29-2002
-- -----------------------------------------------------------------------------
DLINK-ID-REC-MIB DEFINITIONS ::= BEGIN
IMPORTS
enterprises FROM RFC1155-SMI;
@ -21,7 +47,8 @@ DLINK-ID-REC-MIB DEFINITIONS ::= BEGIN
dlink OBJECT IDENTIFIER ::= { enterprises 171 }
dlink-products OBJECT IDENTIFIER ::= { dlink 10 }
dlink-mgmt OBJECT IDENTIFIER ::= { dlink 11 }
dlink-common-mgmt OBJECT IDENTIFIER ::= { dlink 12 }
dlink-common-mgmt OBJECT IDENTIFIER ::= { dlink 12 }
dlinkIndustrialCommon OBJECT IDENTIFIER ::= { dlink 14 }
dlink-broadband-products OBJECT IDENTIFIER ::= { dlink 30 }
dlink-broadband-mgmt OBJECT IDENTIFIER ::= { dlink 31 }

View File

@ -0,0 +1,499 @@
-- *****************************************************************
-- DLINKSW-AAA-ACCOUNTING-MIB: D-Link AAA Accounting MIB
--
-- Copyright (c) 2013 D-Link Corporation, all rights reserved.
--
-- *****************************************************************
DLINKSW-AAA-ACCOUNTING-MIB DEFINITIONS ::= BEGIN
IMPORTS
MODULE-IDENTITY,
OBJECT-TYPE
FROM SNMPv2-SMI
MODULE-COMPLIANCE,
OBJECT-GROUP
FROM SNMPv2-CONF
RowStatus
FROM SNMPv2-TC
dAaaMIBObjects, DAaaSessionType,
DAaaPrivilegeLevel, DAaaMethodListName,
DAaaMethodPriority, DAaaMethodName
FROM DLINKSW-AAA-COMMON-MIB;
dlinkSwAaaAccountingMIB MODULE-IDENTITY
LAST-UPDATED "201304250000Z"
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 module defines objects for configuring accounting feature
which based on Authentication, Authorization,
Accounting (AAA) protocols."
REVISION "201304250000Z"
DESCRIPTION
"This is the first version of the MIB file.
"
::= { dAaaMIBObjects 3 }
-- -----------------------------------------------------------------------------
dAaaAcctMIBNotifications OBJECT IDENTIFIER ::= { dlinkSwAaaAccountingMIB 0 }
dAaaAcctMIBObjects OBJECT IDENTIFIER ::= { dlinkSwAaaAccountingMIB 1 }
dAaaAcctMIBConformance OBJECT IDENTIFIER ::= { dlinkSwAaaAccountingMIB 2 }
-- -----------------------------------------------------------------------------
dAaaAcctGenericCfg OBJECT IDENTIFIER ::= { dAaaAcctMIBObjects 1 }
dAaaAcctGeneicAcctMethodTable OBJECT-TYPE
SYNTAX SEQUENCE OF DAaaAcctGeneicAcctMethodEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This table contains entries for AAA accounting
methods configured for accounting exec/network/system.
The following table describes the accounting method.
Method Lst
type DAaaMethodListName Priority Method
----------- ----------------- -------- ------------
exec console 1 radius
exec default 1 radius
exec default 2 acct_rad
exec default 3 tacacs+
exec default 4 none
exec ssh 1 radius
exec ssh 2 none
exec telnet 1 tacacs+
network default 1 radius
network default 2 acct_rad
network default 3 tacacs+
network default 4 none
system default 1 radius
system default 2 acct_rad
system default 3 tacacs+
system default 4 none
"
::= { dAaaAcctGenericCfg 1 }
dAaaAcctGeneicAcctMethodEntry OBJECT-TYPE
SYNTAX DAaaAcctGeneicAcctMethodEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"An entry containing the priority number of an accounting
method list used for Exec/network/system.
"
INDEX {
dAaaAcctGenMethodLstType,
dAaaAcctGenMethodLstName,
dAaaAcctGenMethodPriority
}
::= { dAaaAcctGeneicAcctMethodTable 1 }
DAaaAcctGeneicAcctMethodEntry ::=
SEQUENCE {
dAaaAcctGenMethodLstType INTEGER,
dAaaAcctGenMethodLstName DAaaMethodListName,
dAaaAcctGenMethodPriority DAaaMethodPriority,
dAaaAcctGenMethodName DAaaMethodName,
dAaaAcctGenMethodRowStatus RowStatus
}
dAaaAcctGenMethodLstType OBJECT-TYPE
SYNTAX INTEGER {
exec(1),
network(2),
system(3)
}
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This object indicates the type for which the method list will be
used.
exec(1) - for accounting user activities.
network(2) - for accounting user activity in accessing the network.
system(3) - for accounting system events.
Note: Not all method list types defined need to be supported.
"
::= { dAaaAcctGeneicAcctMethodEntry 1 }
dAaaAcctGenMethodLstName OBJECT-TYPE
SYNTAX DAaaMethodListName
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This object indicates the name of the accounting method list.
If dAaaAcctGenMethodLstType is 'network' or 'system' then only 'default'
can be specified for dAaaAcctGenMethodLstName, and
accounting commands/exec and the configured method list will take
effect without being explicitly applied.
If the type is 'exec', the method list will take effect after it is
applied in dAaaAcctExecAcctApplyTable.
"
::= { dAaaAcctGeneicAcctMethodEntry 2 }
dAaaAcctGenMethodPriority OBJECT-TYPE
SYNTAX DAaaMethodPriority
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This is the method priority of a method within a method list.
"
::= { dAaaAcctGeneicAcctMethodEntry 3 }
dAaaAcctGenMethodName OBJECT-TYPE
SYNTAX DAaaMethodName
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"This object indicates the accounting method name.
"
::= { dAaaAcctGeneicAcctMethodEntry 4 }
dAaaAcctGenMethodRowStatus OBJECT-TYPE
SYNTAX RowStatus
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"The status of this table entry.
Before modify the higher method, must destroy the lower method in method list.
"
::= { dAaaAcctGeneicAcctMethodEntry 5 }
-- -----------------------------------------------------------------------------
dAaaAcctCommandsAcct OBJECT IDENTIFIER ::= { dAaaAcctMIBObjects 2 }
dAaaAcctCommandsAcctMethodTable OBJECT-TYPE
SYNTAX SEQUENCE OF DAaaAcctCommandsAcctMethodEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This table contains entries for AAA accounting
methods configured for commands.
The following table describes examples of the accounting commands method.
PrivLevel AcctMethodListName Priority Method
--------- ------------------ -------- ------------
1 default 0 radius
12 Acct12_telnet 0 tacacs+
12 Acct12_ssh 0 radius
12 Acct12_ssh 1 none
15 default 0 radius
15 default 1 acct_rad
15 default 2 tacacs+
15 default 3 none
"
::= { dAaaAcctCommandsAcct 1 }
dAaaAcctCommandsAcctMethodEntry OBJECT-TYPE
SYNTAX DAaaAcctCommandsAcctMethodEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"An entry containing information of an accounting
method within a method list which is used for accounting commands.
"
INDEX {
dAaaAcctCommandsAcctPrivLevel,
dAaaAcctCommandsAcctListName,
dAaaAcctCommandsAcctPriority
}
::= { dAaaAcctCommandsAcctMethodTable 1 }
DAaaAcctCommandsAcctMethodEntry ::= SEQUENCE {
dAaaAcctCommandsAcctPrivLevel DAaaPrivilegeLevel,
dAaaAcctCommandsAcctListName DAaaMethodListName,
dAaaAcctCommandsAcctPriority DAaaMethodPriority,
dAaaAcctCommandsAcctMethodName DAaaMethodName,
dAaaAcctCommandsAcctRowStatus RowStatus
}
dAaaAcctCommandsAcctPrivLevel OBJECT-TYPE
SYNTAX DAaaPrivilegeLevel
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This object indicates the privilege level of the method list.
"
::= { dAaaAcctCommandsAcctMethodEntry 1 }
dAaaAcctCommandsAcctListName OBJECT-TYPE
SYNTAX DAaaMethodListName
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This object indicates the name of the method list to which the
method is associated.
"
::= { dAaaAcctCommandsAcctMethodEntry 2 }
dAaaAcctCommandsAcctPriority OBJECT-TYPE
SYNTAX DAaaMethodPriority
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This object indicates the priority of the method in a method list for
accounting commands.
"
::= { dAaaAcctCommandsAcctMethodEntry 3 }
dAaaAcctCommandsAcctMethodName OBJECT-TYPE
SYNTAX DAaaMethodName
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"This object indicates the name of the method in a method list for
accounting commands.
"
::= { dAaaAcctCommandsAcctMethodEntry 4 }
dAaaAcctCommandsAcctRowStatus OBJECT-TYPE
SYNTAX RowStatus
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"The status of this table entry.
Once the entry status is set to active,
all writable objects of the same entry cannot be modified
except destroyed by setting this object to destroy(6).
A method which has lower value of dAaaAcctCommandsAcctPriority
(which has higher precedence) needs be created than higher
value of dAaaAcctCommandsAcctPriority.
"
::= { dAaaAcctCommandsAcctMethodEntry 5 }
-- -----------------------------------------------------------------------------
dAaaAcctCommandsAcctApplyTable OBJECT-TYPE
SYNTAX SEQUENCE OF DAaaAcctCommandsAcctApplyEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This table contains a list of session-specific specification to apply
accounting method list for command accounting in a session (line).
The following table describes examples of the entries.
Session PrivLevel Applied Method List
------- --------- ------------------
telnet 1 default
telnet 12 Acct12_telnet
console 12 default
console 15 default
ssh 12 Acct12_ssh
ssh 15 Acct15_ssh
"
::= { dAaaAcctCommandsAcct 2 }
dAaaAcctCommandsAcctApplyEntry OBJECT-TYPE
SYNTAX DAaaAcctCommandsAcctApplyEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"An entry specifies a method list used for command accounting at
the specified session and privilege level.
The command accounting takes effect after a method list is properly
applied.
"
INDEX {
dAaaAcctCommandsAcctApplySession,
dAaaAcctCommandsAcctApplyPrivLevel
}
::= { dAaaAcctCommandsAcctApplyTable 1 }
DAaaAcctCommandsAcctApplyEntry ::= SEQUENCE {
dAaaAcctCommandsAcctApplySession DAaaSessionType,
dAaaAcctCommandsAcctApplyPrivLevel DAaaPrivilegeLevel,
dAaaAcctCommandsAcctApplyListName DAaaMethodListName,
dAaaAcctCommandsAcctApplyRowStatus RowStatus
}
dAaaAcctCommandsAcctApplySession OBJECT-TYPE
SYNTAX DAaaSessionType
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This object indicates the session type of the entry.
The type of 'http' is not supported for commands accounting.
"
::= { dAaaAcctCommandsAcctApplyEntry 1 }
dAaaAcctCommandsAcctApplyPrivLevel OBJECT-TYPE
SYNTAX DAaaPrivilegeLevel
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This object indicates the privilege level of the entry.
"
::= { dAaaAcctCommandsAcctApplyEntry 2 }
dAaaAcctCommandsAcctApplyListName OBJECT-TYPE
SYNTAX DAaaMethodListName
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"This object indicates the method list name of the entry.
"
::= { dAaaAcctCommandsAcctApplyEntry 3 }
dAaaAcctCommandsAcctApplyRowStatus OBJECT-TYPE
SYNTAX RowStatus
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"The status of this table entry.
"
::= { dAaaAcctCommandsAcctApplyEntry 4 }
-- -----------------------------------------------------------------------------
dAaaAcctExecAcct OBJECT IDENTIFIER ::= { dAaaAcctMIBObjects 3 }
dAaaAcctExecAcctApplyTable OBJECT-TYPE
SYNTAX SEQUENCE OF DAaaAcctExecAcctApplyEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This table contains entries to apply method lists for accounting Exec
(user activities).
The following table describes examples.
Session AAA Method List
------- ------------------
telnet default
console rad_cons
ssh acct_ssh
"
::= { dAaaAcctExecAcct 1 }
dAaaAcctExecAcctApplyEntry OBJECT-TYPE
SYNTAX DAaaAcctExecAcctApplyEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"An entry containing the session of an accounting
application used for Exec(user activities).
"
INDEX {
dAaaAcctExecAcctApplySession
}
::= { dAaaAcctExecAcctApplyTable 1 }
DAaaAcctExecAcctApplyEntry ::= SEQUENCE {
dAaaAcctExecAcctApplySession DAaaSessionType,
dAaaAcctExecAcctApplyListName DAaaMethodListName,
dAaaAcctExecAcctApplyRowStatus RowStatus
}
dAaaAcctExecAcctApplySession OBJECT-TYPE
SYNTAX DAaaSessionType
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This object indicates the session type of the entry.
"
::= { dAaaAcctExecAcctApplyEntry 1 }
dAaaAcctExecAcctApplyListName OBJECT-TYPE
SYNTAX DAaaMethodListName
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"This object indicates the method list name of the entry.
"
::= { dAaaAcctExecAcctApplyEntry 2 }
dAaaAcctExecAcctApplyRowStatus OBJECT-TYPE
SYNTAX RowStatus
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"The status of this table entry.
"
::= { dAaaAcctExecAcctApplyEntry 3 }
--****************************************************************************
-- Conformance
--****************************************************************************
dAaaAcctMIBCompliances OBJECT IDENTIFIER ::= { dAaaAcctMIBConformance 1 }
dAaaAcctMIBCompliance MODULE-COMPLIANCE
STATUS current
DESCRIPTION
"The compliance statement for entities which
implement the DLINKSW-AAA-ACCOUNTING-MIB."
MODULE -- this module
MANDATORY-GROUPS {
dAaaAcctGenericMethodLstGroup,
dAaaAcctExecApplyGroup
}
GROUP dAaaAcctAccountingCommandsGroup
DESCRIPTION
"This group is mandatory only for the platform which supports
commands accounting configuration.
"
::= { dAaaAcctMIBCompliances 1 }
-- -----------------------------------------------------------------------------
dAaaAcctMIBGroups OBJECT IDENTIFIER ::= { dAaaAcctMIBConformance 2 }
dAaaAcctAccountingCommandsGroup OBJECT-GROUP
OBJECTS {
dAaaAcctCommandsAcctMethodName,
dAaaAcctCommandsAcctRowStatus,
dAaaAcctCommandsAcctApplyListName,
dAaaAcctCommandsAcctApplyRowStatus
}
STATUS current
DESCRIPTION
"A collection of objects provides the
configuration for AAA accounting commands feature.
"
::= { dAaaAcctMIBGroups 1 }
dAaaAcctGenericMethodLstGroup OBJECT-GROUP
OBJECTS {
dAaaAcctGenMethodName,
dAaaAcctGenMethodRowStatus
}
STATUS current
DESCRIPTION
"A collection of objects provides the
configuration of generic AAA accounting method list.
"
::= { dAaaAcctMIBGroups 2 }
dAaaAcctExecApplyGroup OBJECT-GROUP
OBJECTS {
dAaaAcctExecAcctApplyListName,
dAaaAcctExecAcctApplyRowStatus
}
STATUS current
DESCRIPTION
"A collection of objects providing the
AAA accounting Exec application.
"
::= { dAaaAcctMIBGroups 3 }
END

View File

@ -0,0 +1,305 @@
-- *****************************************************************
-- DLINKSW-AAA-AUTH-MIB: D-Link AAA Authentication MIB
--
-- Copyright (c) 2013 D-Link Corporation, all rights reserved.
--
-- *****************************************************************
DLINKSW-AAA-AUTH-MIB DEFINITIONS ::= BEGIN
IMPORTS
MODULE-IDENTITY, OBJECT-TYPE
FROM SNMPv2-SMI
MODULE-COMPLIANCE, OBJECT-GROUP
FROM SNMPv2-CONF
RowStatus
FROM SNMPv2-TC
dAaaMIBObjects, DAaaSessionType,
DAaaMethodListName, DAaaMethodPriority,
DAaaMethodName
FROM DLINKSW-AAA-COMMON-MIB;
dlinkSwAaaAuthenticationMIB MODULE-IDENTITY
LAST-UPDATED "201304250000Z"
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 module defines objects for authentication feature
which is based on Authentication, Authorization,
Accounting (AAA) protocols."
REVISION "201304250000Z"
DESCRIPTION
"This is the first version of the MIB.
"
::= { dAaaMIBObjects 4 }
-- -----------------------------------------------------------------------------
dAaaAuthMIBNotifications OBJECT IDENTIFIER ::= { dlinkSwAaaAuthenticationMIB 0 }
dAaaAuthMIBObjects OBJECT IDENTIFIER ::= { dlinkSwAaaAuthenticationMIB 1 }
dAaaAuthMIBConformance OBJECT IDENTIFIER ::= { dlinkSwAaaAuthenticationMIB 2 }
-- -----------------------------------------------------------------------------
dAaaAuthGenericMethodTable OBJECT-TYPE
SYNTAX SEQUENCE OF DAaaAuthGenericMethodEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This table contains entries for AAA authentication
methods configured for Login/enable/dot1x/MAC authentication/web/jwac.
The following table describes the examples.
Type Method List Name Priority Method
----- ------------------ -------- ------------
login default 1 radius
login default 2 auth_rad
login default 3 tacacs+
login default 4 none
login ssh_login 1 radius
login ssh_login 2 none
login tel_login 1 tacacs+
enable default 1 radius
enable default 2 tacacs+
dot1x default 1 radius
dot1x default 2 local
macAuth default 1 radius
macAuth default 2 local
web default 1 radius
web default 2 local
jwac default 1 radius
jwac default 2 local
"
::= { dAaaAuthMIBObjects 1 }
dAaaAuthGenericMethodEntry OBJECT-TYPE
SYNTAX DAaaAuthGenericMethodEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"An entry defines a method which is groupped into a method list.
"
INDEX {
dAaaAuthGenMethodLstType,
dAaaAuthGenMethodLstName,
dAaaAuthGenMethodPriority
}
::= { dAaaAuthGenericMethodTable 1 }
DAaaAuthGenericMethodEntry ::=
SEQUENCE {
dAaaAuthGenMethodLstType INTEGER,
dAaaAuthGenMethodLstName DAaaMethodListName,
dAaaAuthGenMethodPriority DAaaMethodPriority,
dAaaAuthGenMethodName DAaaMethodName,
dAaaAuthGenMethodRowStatus RowStatus
}
dAaaAuthGenMethodLstType OBJECT-TYPE
SYNTAX INTEGER {
enable(1),
login(2),
dot1x(3),
jwac(4),
macAuth(5),
web(6),
igmpAuth(7),
mldAuth(8)
}
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This object indicates the type for which the method
list will be used.
enable(1) - for determining the access to the privileged EXEC level.
login(2) - for login authentication.
dot1x(3) - for 802.1x authentication.
jwac(4) - for JWAC authentication.
macAuth(5) - for MAC authentication.
web(6) - for Web authentication.
igmpAuth(7) - for IGMP authentication.
mldAuth(8) - for MLD authentication.
Note: Not all method list types defined need to be supported.
"
::= { dAaaAuthGenericMethodEntry 1 }
dAaaAuthGenMethodLstName OBJECT-TYPE
SYNTAX DAaaMethodListName
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This object indicates the name of the authentication method list.
If dAaaAuthGenMethodLstType is not 'login', only 'default'
can be specified for dAaaAuthGenMethodLstName.
For the type which only supports 'default' method list name, the
configured method list will take effect without being explicitly applied.
If the type is 'login', the method list will take effect after
the method list is applied in dAaaAuthLoginApplyTable.
"
::= { dAaaAuthGenericMethodEntry 2 }
dAaaAuthGenMethodPriority OBJECT-TYPE
SYNTAX DAaaMethodPriority
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This is the method priority of a method within a method list.
"
::= { dAaaAuthGenericMethodEntry 3 }
dAaaAuthGenMethodName OBJECT-TYPE
SYNTAX DAaaMethodName
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"This object indicates the authentication method name.
"
::= { dAaaAuthGenericMethodEntry 4 }
dAaaAuthGenMethodRowStatus OBJECT-TYPE
SYNTAX RowStatus
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"The status of entry.
Before modify the higher method, must destroy the lower method in method list.
"
::= { dAaaAuthGenericMethodEntry 5 }
-- -----------------------------------------------------------------------------
dAaaAuthLogin OBJECT IDENTIFIER ::= { dAaaAuthMIBObjects 2 }
dAaaAuthLoginApplyTable OBJECT-TYPE
SYNTAX SEQUENCE OF DAaaAuthLoginApplyEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This table contains entries for AAA authentication
apply configured for Login.
The following table describes the authentication commands apply.
Session MethodListName
------- ------------------
telnet default
console cons_auth
ssh ssh_login
"
::= { dAaaAuthLogin 1 }
dAaaAuthLoginApplyEntry OBJECT-TYPE
SYNTAX DAaaAuthLoginApplyEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"An entry containing the session of an authentication
application used for Login.
"
INDEX {
dAaaAuthLoginApplySession
}
::= { dAaaAuthLoginApplyTable 1 }
DAaaAuthLoginApplyEntry ::= SEQUENCE {
dAaaAuthLoginApplySession DAaaSessionType,
dAaaAuthLoginApplyListName DAaaMethodListName,
dAaaAuthLoginApplyRowStatus RowStatus
}
dAaaAuthLoginApplySession OBJECT-TYPE
SYNTAX DAaaSessionType
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This object indicates the session type of the entry.
"
::= { dAaaAuthLoginApplyEntry 1 }
dAaaAuthLoginApplyListName OBJECT-TYPE
SYNTAX DAaaMethodListName
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"This object indicates the method list name of the entry.
"
::= { dAaaAuthLoginApplyEntry 2 }
dAaaAuthLoginApplyRowStatus OBJECT-TYPE
SYNTAX RowStatus
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"The status of this entry.
"
::= { dAaaAuthLoginApplyEntry 3 }
--****************************************************************************
-- Conformance
--****************************************************************************
dAaaAuthMIBCompliances OBJECT IDENTIFIER ::= { dAaaAuthMIBConformance 1 }
-- compliance statements
dAaaAuthMIBCompliance MODULE-COMPLIANCE
STATUS current
DESCRIPTION
"The compliance statement for entities which
implement the DLINKSW-AAA-AUTH-MIB."
MODULE -- this module
MANDATORY-GROUPS {
dAaaAuthMethodListGroup,
dAaaAuthcLoginMethodApplyGroup
}
::= { dAaaAuthMIBCompliances 1 }
-- units of conformance
dAaaAuthMIBGroups OBJECT IDENTIFIER ::= { dAaaAuthMIBConformance 2 }
dAaaAuthMethodListGroup OBJECT-GROUP
OBJECTS {
dAaaAuthGenMethodName,
dAaaAuthGenMethodRowStatus
}
STATUS current
DESCRIPTION
"A collection of objects provides the method list for AAA
authentication.
"
::= { dAaaAuthMIBGroups 1 }
dAaaAuthcLoginMethodApplyGroup OBJECT-GROUP
OBJECTS {
dAaaAuthLoginApplyListName,
dAaaAuthLoginApplyRowStatus
}
STATUS current
DESCRIPTION
"A collection of objects provides configuration to apply
AAA method list for login authentication.
"
::= { dAaaAuthMIBGroups 2 }
END

View File

@ -0,0 +1,192 @@
-- *****************************************************************
-- DLINKSW-AAA-COMMON-MIB: D-Link AAA Common MIB
--
-- Copyright (c) 2013 D-Link Corporation, all rights reserved.
--
-- *****************************************************************
DLINKSW-AAA-COMMON-MIB DEFINITIONS ::= BEGIN
IMPORTS
MODULE-IDENTITY, OBJECT-IDENTITY, OBJECT-TYPE,
Integer32
FROM SNMPv2-SMI
MODULE-COMPLIANCE, OBJECT-GROUP
FROM SNMPv2-CONF
TEXTUAL-CONVENTION, TruthValue
FROM SNMPv2-TC
dlinkIndustrialCommon
FROM DLINK-ID-REC-MIB;
dlinkSwAAACommonMIB MODULE-IDENTITY
LAST-UPDATED "201301170000Z"
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
"The MIB module for configuring AAA common feature.
This MIB module also provides Textual Conventions
and OBJECT-IDENTITY Objects to be used AAA services.
"
REVISION "201301170000Z"
DESCRIPTION
"This is the first version of the MIB file."
::= { dlinkIndustrialCommon 150 }
--
-- Textual Conventions
--
DAaaSessionType ::= TEXTUAL-CONVENTION
STATUS current
DESCRIPTION
"Represents a session type.
telnet(1) - indicates telnet session.
console(2) - indicates console session.
ssh(3) - indicates ssh session.
http(4) - indicates http session.
"
SYNTAX INTEGER {
telnet(1),
console(2),
ssh(3),
http(4)
}
DAaaPrivilegeLevel ::= TEXTUAL-CONVENTION
STATUS current
DESCRIPTION
"Represents privilege level.
"
SYNTAX Integer32 (1..15)
DAaaMethodListName ::= TEXTUAL-CONVENTION
STATUS current
DESCRIPTION
"Represents the name of a method list.
The following name are reserved and cannot be used as the name of
method list:
enable, none, local, tacacs, xtacacs, tacacs+, radius
"
SYNTAX OCTET STRING (SIZE (1..32))
DAaaMethodPriority ::= TEXTUAL-CONVENTION
STATUS current
DESCRIPTION
"Represents the priority of a method. Lower numbers indicate
higher priority.
"
SYNTAX Integer32 (1..4)
DAaaMethodName ::= TEXTUAL-CONVENTION
STATUS current
DESCRIPTION
"Represents method name.
The following name are reserved and cannot be used as method name:
enable, local, tacacs, and xtacacs
The following name are reserved method name which can be applied but cannot
be manually created:
none, tacacs+ and radius.
none - Do not perform accounting or authentication.
radius - Use the servers defined at dasServerConfigTable (the value of dasServerProtocol
is 'radius').
tacacs+ - Use the servers defined at dasServerConfigTable (the value of dasServerProtocol
is 'tacacsplus').
The name of dasGroupName - Uses the servers which are grouped into the specified group
in dasGroupTable.
"
SYNTAX OCTET STRING (SIZE(1..32))
-- -----------------------------------------------------------------------------
dAaaCommonMIBNotifications OBJECT IDENTIFIER ::= { dlinkSwAAACommonMIB 0 }
dAaaMIBObjects OBJECT-IDENTITY
STATUS current
DESCRIPTION
"This object provides OBJECT-IDENTITY for other AAA MIB modules.
"
::= { dlinkSwAAACommonMIB 1 }
dAaaCommonMIBConformance OBJECT IDENTIFIER ::= { dlinkSwAAACommonMIB 2 }
-- -----------------------------------------------------------------------------
dAaaCommonObjects OBJECT-IDENTITY
STATUS current
DESCRIPTION
"Group of objects that are related to the common AAA feature.
"
::= { dAaaMIBObjects 1 }
dAaaNewModelEnabled OBJECT-TYPE
SYNTAX TruthValue
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"Set this object to 'true' to enable AAA global state, then the
authentication and accounting via the AAA method lists will
take effect.
Set this object to 'false' to globally disable AAA.
"
DEFVAL { false }
::= { dAaaCommonObjects 1 }
-- ******************************************************************
-- Conformance and Compliance
-- ******************************************************************
dAaaCommonMIBCompliances OBJECT IDENTIFIER ::= { dAaaCommonMIBConformance 1 }
daaaMIBCompliance MODULE-COMPLIANCE
STATUS current
DESCRIPTION
"The compliance statement for entities which implement the
DLINKSW-AAA-COMMON-MIB.
"
MODULE -- this module
MANDATORY-GROUPS
{
daaaGlobalCtrlGroup
}
::= { dAaaCommonMIBCompliances 1 }
-- units of conformance
dAaaCommonMIBGroups OBJECT IDENTIFIER ::= { dAaaCommonMIBConformance 2 }
daaaGlobalCtrlGroup OBJECT-GROUP
OBJECTS {
dAaaNewModelEnabled
}
STATUS current
DESCRIPTION
"Objects for globally configuring AAA feature.
"
::= { dAaaCommonMIBGroups 1 }
END

View File

@ -0,0 +1,992 @@
-- *****************************************************************
-- DLINKSW-AAA-SERVER-MIB: D-Link AAA Server MIB
--
-- Copyright (c) 2013 D-Link Corporation, all rights reserved.
--
-- *****************************************************************
DLINKSW-AAA-SERVER-MIB DEFINITIONS ::= BEGIN
IMPORTS
MODULE-IDENTITY, OBJECT-TYPE, Counter32, Unsigned32
FROM SNMPv2-SMI
MODULE-COMPLIANCE, OBJECT-GROUP
FROM SNMPv2-CONF
DisplayString, RowStatus, TEXTUAL-CONVENTION
FROM SNMPv2-TC
InetAddressType, InetAddress
FROM INET-ADDRESS-MIB
InterfaceIndex
FROM IF-MIB
dAaaMIBObjects
FROM DLINKSW-AAA-COMMON-MIB;
dlinkSwAAAServerMIB MODULE-IDENTITY
LAST-UPDATED "201307180000Z"
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 provides configuration and statistics reflecting the state
of AAA Server operation within the device and AAA communications
with external servers.
AAA stands for authentication, authorization, and accounting
The AAA Server MIB provides the following information:
1) A Table for configuring AAA servers
2) Identities of external AAA servers
3) Distinct statistics for each AAA function
4) Status of servers providing AAA functions
A server is defined as a logical entity which provides any of the
three AAA functions. A TACACS+ server consists of all three
functions with a single IP address and single TCP port.
A RADIUS server consists of the authentication/accounting pair
with a single IP address but distinct UDP ports, or it may be
just one of authentication or accounting. It is possible to have
two distinct RADIUS servers at the same IP address, one providing
authentication only, the other accounting only.
Note: Regarding RADIUS server statistics please refer to
RADIUS-AUTH-CLIENT-MIB (RFC2618) and RADIUS-ACCT-CLIENT-MIB (RFC2620)
"
REVISION "201307180000Z"
DESCRIPTION
"This is the first version of the MIB file.
"
::= { dAaaMIBObjects 2 }
DlinkAAAProtocol ::= TEXTUAL-CONVENTION
STATUS current
DESCRIPTION
"Protocol used with this server.
none(0) - No protocol specified, this value is read-only.
tacacsplus(1) - TACACS+
radius(2) - RADIUS
"
REFERENCE
"
RFC 2865 Remote Authentication Dial In User Service
(RADIUS)
RFC 2866 RADIUS Accounting
The TACACS+ Protocol Version 1.78, Internet Draft
"
SYNTAX INTEGER {
none(0),
tacacsplus(1),
radius(2)
}
DlinkAAAGroupName ::= TEXTUAL-CONVENTION
DISPLAY-HINT "32a"
STATUS current
DESCRIPTION
"Represents group name.
The following name are reserved and cannot be created by user:
enable, none, local, tacacs, xtacacs, tacacs+, radius
"
SYNTAX OCTET STRING (SIZE(0..32))
VrfName ::= TEXTUAL-CONVENTION
STATUS current
DESCRIPTION
"Represents VRF name.
"
SYNTAX OCTET STRING (SIZE(1..32))
-- -----------------------------------------------------------------------------
dAaaSrvMIBNotifications OBJECT IDENTIFIER ::= { dlinkSwAAAServerMIB 0 }
dAaaSrvMIBObjects OBJECT IDENTIFIER ::= { dlinkSwAAAServerMIB 1 }
dAaaSrvMIBConformance OBJECT IDENTIFIER ::= { dlinkSwAAAServerMIB 2 }
-- -----------------------------------------------------------------------------
dasConfig OBJECT IDENTIFIER ::= { dAaaSrvMIBObjects 1 }
-- -----------------------------------------------------------------------------
dasServerConfigTable OBJECT-TYPE
SYNTAX SEQUENCE OF DasServerConfigEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This table consists of a list of configurations for each
AAA server. An entry is created/removed when a new server
is created/removed.
The following table describes examples of AAA servers.
Protocol Index AddressType IPv6Address AuthenPort AcctPort Key Priority
---------- ----- ----------- ------------- ---------- -------- ------ --------
tacacsplus 1 ipv6 2000::2 49 0 1
tacacsplus 2 ipv4 10.0.0.1 49 0 3
tacacsplus 3 ipv4 192.168.1.254 49 0 2
radius 1 ipv4 192.168.1.254 1812 1813 1
radius 2 ipv4 20.0.0.12 1812 1813 2
"
::= { dasConfig 1 }
dasServerConfigEntry OBJECT-TYPE
SYNTAX DasServerConfigEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"An entry consists of an AAA server configuration.
An entry is created/removed when a server is defined
or undefined with configuration commands via CLI
or by issuing appropriate SNMP sets.
A management station wishing to create an entry should
first generate a random number to be used as the index
to this sparse table. The station should then create the
associated instance of the row status and row index objects.
dasServerPriority is automatically assigned once the entry is
made active and reflects the relative priority of the
defined server with respect to already configured servers.
Newly-created servers will be assigned the lowest priority.
To reassign server priorities to existing server entries,
it may be necessary to destroy and recreate entries in order
of priority.
Upon reload, dasServerIndex values may be changed, but the
priorities that were saved before reload will be retained,
with lowest priority number corresponding to the higher
priority servers.
"
INDEX {
dasServerProtocol,
dasServerIndex
}
::= { dasServerConfigTable 1}
DasServerConfigEntry ::= SEQUENCE {
dasServerProtocol DlinkAAAProtocol,
dasServerIndex Unsigned32,
dasServerAddrType InetAddressType,
dasServerAddress InetAddress,
dasServerAuthenPort Unsigned32,
dasServerAcctPort Unsigned32,
dasServerKey DisplayString,
dasServerTimeout Unsigned32,
dasServerRetransmit Unsigned32,
dasServerPriority Unsigned32,
dasServerRowStatus RowStatus
}
dasServerProtocol OBJECT-TYPE
SYNTAX DlinkAAAProtocol
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"The variable indicates the protocol of the corresponding AAA server.
"
::= { dasServerConfigEntry 1 }
dasServerIndex OBJECT-TYPE
SYNTAX Unsigned32 (1..4294967295)
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"A management station wishing to initiate a new AAA server
configuration should use a random value for this object
when creating an instance of dasServerConfigEntry.
"
::= { dasServerConfigEntry 2 }
dasServerAddrType OBJECT-TYPE
SYNTAX InetAddressType
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"This object indicates the address type of the AAA server.
"
::= { dasServerConfigEntry 3 }
dasServerAddress OBJECT-TYPE
SYNTAX InetAddress
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"The address of the server.
"
::= { dasServerConfigEntry 4 }
dasServerAuthenPort OBJECT-TYPE
SYNTAX Unsigned32 (0..65535)
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"UDP/TCP port used for authentication in the configuration
For TACACS+, this object should be explicitly set.
Default value is 1812 for RADIUS.
"
DEFVAL { 1812 }
::= { dasServerConfigEntry 5 }
dasServerAcctPort OBJECT-TYPE
SYNTAX Unsigned32 (0..65535)
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"UDP/TCP port used for accounting service in the configuration
For TACACS+, the value of dasServerAcctPort is ignored.
dasServerAuthenPort will be used instead.
Default value is 1813 for RADIUS.
"
DEFVAL { 1813 }
::= { dasServerConfigEntry 6 }
dasServerKey OBJECT-TYPE
SYNTAX DisplayString (SIZE (0..254))
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"The server key to be used with this server.
The maximum length for RADIUS is 32 characters.
The maximum length for TACACS+ is 254 characters.
When read, a zero length string will be returned for security reasons.
"
DEFVAL { "" }
::= { dasServerConfigEntry 7 }
dasServerTimeout OBJECT-TYPE
SYNTAX Unsigned32 (1..255)
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"The time in seconds for waiting server reply.
Default value is 5 seconds.
"
DEFVAL { 5 }
::= { dasServerConfigEntry 8 }
dasServerRetransmit OBJECT-TYPE
SYNTAX Unsigned32 (0..20)
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"The retransmit times of requests to the server
when no response is received.
For TACACS+, the value of dasServerRetransmit is ignored.
Default value is 2 for RADIUS.
"
DEFVAL { 2 }
::= { dasServerConfigEntry 9}
dasServerPriority OBJECT-TYPE
SYNTAX Unsigned32 (1..4294967295)
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"A number that indicates the priority of the server in
this entry. Lower numbers indicate higher priority.
"
::= { dasServerConfigEntry 10 }
dasServerRowStatus OBJECT-TYPE
SYNTAX RowStatus
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"The status of this entry.
"
::= { dasServerConfigEntry 99 }
-- -----------------------------------------------------------------------------
dasRadiusServerDeadTime OBJECT-TYPE
SYNTAX Unsigned32 (0..1440)
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This variable controls the default duration
of time to skip the unresponsive server.
The valid range is 0 to 1440 (24 hours).
When setting to 0, the unresponsive server
will not be marked as dead.
The default value is 0.
"
DEFVAL { 0 }
::= { dasConfig 2 }
-- -----------------------------------------------------------------------------
dasStatistics OBJECT IDENTIFIER ::= { dAaaSrvMIBObjects 2 }
dasTacplusStatisticsTable OBJECT-TYPE
SYNTAX SEQUENCE OF DasTacplusStatisticsEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This table consists of a list of statistics for each TACACS+ server.
The following table describes examples of TACACS+ servers statistics.
Protocol Index SocketOpens SocketCloses TotalPktSend TotalPktRecv ReferenceCount
---------- ----- ----------- ------------ ------------ ------------ --------------
tacacsplus 1 1 1 0 0 0
tacacsplus 2 5 5 20 20 5
tacacsplus 3 10 10 25 25 10
"
::= { dasStatistics 1 }
dasTacplusStatisticsEntry OBJECT-TYPE
SYNTAX DasTacplusStatisticsEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"An entry consists of statistical information about a particular server.
Objects in this table are read-only and appear automatically whenever a
TACACS+ server in the dasServerConfigTable is made active.
"
AUGMENTS { dasServerConfigEntry }
::= { dasTacplusStatisticsTable 1 }
DasTacplusStatisticsEntry::= SEQUENCE {
dasTacplusSocketOpens Counter32,
dasTacplusSocketCloses Counter32,
dasTacplusTotalPktSent Counter32,
dasTacplusTotalPktRecv Counter32,
dasTacplusReferenceCount Counter32
}
dasTacplusSocketOpens OBJECT-TYPE
SYNTAX Counter32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The number of successful TCP socket connections to the TACACS+ server.
"
::= { dasTacplusStatisticsEntry 1 }
dasTacplusSocketCloses OBJECT-TYPE
SYNTAX Counter32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The number of successfully closed TCP socket attempts.
"
::= { dasTacplusStatisticsEntry 2 }
dasTacplusTotalPktSent OBJECT-TYPE
SYNTAX Counter32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The number of packets sent to the TACACS+ server
"
::= { dasTacplusStatisticsEntry 3 }
dasTacplusTotalPktRecv OBJECT-TYPE
SYNTAX Counter32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The number of packets received from the TACACS+ server.
"
::= { dasTacplusStatisticsEntry 4 }
dasTacplusReferenceCount OBJECT-TYPE
SYNTAX Counter32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The number of packets received from the TACACS+ server.
"
::= { dasTacplusStatisticsEntry 5 }
-- -----------------------------------------------------------------------------
dasGroup OBJECT IDENTIFIER ::= { dAaaSrvMIBObjects 3 }
dasGroupTable OBJECT-TYPE
SYNTAX SEQUENCE OF DasGroupEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This table consists of a list of configurations for each
AAA server group. An entry is created/removed when a new server group
is created/removed.
The following table describes examples of AAA groups.
Protocol Name
---------- ----------
tacacsplus tac_con
tacacsplus tac_telnet
radius rad_acct
radius rad_ssh
"
::= { dasGroup 1 }
dasGroupEntry OBJECT-TYPE
SYNTAX DasGroupEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"An AAA server group configuration identified by its protocol,
and its name.
An entry is created/removed when a server group is defined
or undefined with configuration commands via CLI
or by issuing appropriate sets to this table using snmp.
"
INDEX {
dasGroupProtocol,
dasGroupName
}
::= { dasGroupTable 1}
DasGroupEntry ::= SEQUENCE {
dasGroupProtocol DlinkAAAProtocol,
dasGroupName DlinkAAAGroupName,
dasGroupRowStatus RowStatus
}
dasGroupProtocol OBJECT-TYPE
SYNTAX DlinkAAAProtocol
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"The variable denotes the protocol used by the
managed device with the AAA group corresponding to
this entry in the table.
"
::= { dasGroupEntry 1 }
dasGroupName OBJECT-TYPE
SYNTAX DlinkAAAGroupName
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"The server group name.
"
DEFVAL { "" }
::= { dasGroupEntry 2 }
dasGroupRowStatus OBJECT-TYPE
SYNTAX RowStatus
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"The status of this table entry. Once the entry status is
set to active, the associated entry cannot be modified
except destroyed by setting this object to destroy(6).
"
::= { dasGroupEntry 3 }
-- dasGroupServerTable
dasGroupServerTable OBJECT-TYPE
SYNTAX SEQUENCE OF DasGroupServerEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This table consists of a list of configurations for each
AAA server group. An entry is created/removed when a new server group
is created/removed.
The following table describes examples of AAA server groups.
Protocol Name SrvIndex AddressType IPv6Address Priority
---------- ---------- -------- ------------- ------------- --------
tacacsplus tac_con 1 ipv6 2000::2 1
tacacsplus tac_telnet 2 ipv4 10.0.0.1 2
tacacsplus tac_telnet 3 ipv4 192.168.1.254 3
radius rad_ssh 1 ipv4 20.0.0.12 1
radius rad_ssh 2 ipv4 20.0.0.13 2
radius rad_ssh 3 ipv4 20.0.0.14 3
radius rad_ssh 4 ipv4 20.0.0.15 4
"
::= { dasGroup 2 }
dasGroupServerEntry OBJECT-TYPE
SYNTAX DasGroupServerEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"An AAA server group configuration identified by its protocol,
its name and its index.
An entry is created/removed when a server group is defined
or undefined with configuration commands via CLI
or by issuing appropriate sets to this table using snmp.
A management station wishing to create an entry should
first generate a random number to be used as the index
to this sparse table.
dasGroupSrvPriority is automatically assigned once the entry is
made active and reflects the relative priority of the
defined server with respect to already configured servers.
Newly-created servers will be assigned the lowest priority.
To reassign server priorities to existing server entries,
it may be necessary to destroy and recreate entries in order
of priority.
Upon reload, dasGroupSrvIndex values may be changed, but the
priorities that were saved before reload will be retained,
with lowest priority number corresponding to the higher
priority servers.
"
INDEX {
dasGroupProtocol,
dasGroupName,
dasGroupSrvIndex
}
::= { dasGroupServerTable 1}
DasGroupServerEntry ::= SEQUENCE {
dasGroupSrvIndex Unsigned32,
dasGroupSrvAddrType InetAddressType,
dasGroupSrvAddress InetAddress,
dasGroupSrvPriority Unsigned32,
dasGroupServerRowStatus RowStatus
}
dasGroupSrvIndex OBJECT-TYPE
SYNTAX Unsigned32 (1..4294967295)
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"A management station wishing to initiate a new AAA server
group configuration should use a random value for this object
when creating an instance of dasGroupEntry.
The RowStatus semantics of the dasGroupConfigRowStatus object
will prevent access conflicts.
"
::= { dasGroupServerEntry 1 }
dasGroupSrvAddrType OBJECT-TYPE
SYNTAX InetAddressType
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"This object indicates the type of network address denoted
in dasGroupSrvAddress object.
"
::= { dasGroupServerEntry 2 }
dasGroupSrvAddress OBJECT-TYPE
SYNTAX InetAddress
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"The address of the server of the entry.
"
::= { dasGroupServerEntry 3 }
dasGroupSrvPriority OBJECT-TYPE
SYNTAX Unsigned32 (1..4294967295)
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"A number that indicates the priority of the server in
this group. Lower numbers indicate higher priority.
"
::= { dasGroupServerEntry 4 }
dasGroupServerRowStatus OBJECT-TYPE
SYNTAX RowStatus
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"The status of this table entry. Once the entry status is
set to active, the associated entry cannot be modified
except destroyed by setting this object to destroy(6).
"
::= { dasGroupServerEntry 5 }
-- -----------------------------------------------------------------------------
dasVrf OBJECT IDENTIFIER ::= { dAaaSrvMIBObjects 4 }
dasGroupVrfTable OBJECT-TYPE
SYNTAX SEQUENCE OF DasGroupVrfEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This table shows current VRF configurations for each
AAA server group, allows existing VRF to be removed
and new ones to be created.
The following table describes the examples of VRF setting for AAA
server groups.
Protocol group Name VRF name
---------- ---------- ----------
tacacsplus tac_con vrf1
tacacsplus tac_telnet vrf_taplus
radius rad_acct vrf_radius
radius rad_ssh vrf_100
"
::= { dasVrf 1 }
dasGroupVrfEntry OBJECT-TYPE
SYNTAX DasGroupVrfEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"An AAA group VRF configuration identified by its protocol
and its group name.
An entry is created/removed when a VRF setting is defined
or undefined with configuration commands via CLI
or by issuing appropriate sets to this table using snmp.
When a group VRF configuration is deleted, indicates the
server group will use the global (default) routing table.
"
INDEX {
dasGroupProtocol,
dasGroupName
}
::= { dasGroupVrfTable 1}
DasGroupVrfEntry ::= SEQUENCE {
dasGroupVrfName VrfName,
dasGroupVrfConfigRowStatus RowStatus
}
dasGroupVrfName OBJECT-TYPE
SYNTAX VrfName
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"The VRF name of the entry.
"
::= { dasGroupVrfEntry 1 }
dasGroupVrfConfigRowStatus OBJECT-TYPE
SYNTAX RowStatus
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"The status of this table entry.
"
::= { dasGroupVrfEntry 2 }
-- -----------------------------------------------------------------------------
dasSrcIf OBJECT IDENTIFIER ::= { dAaaSrvMIBObjects 5 }
dasGroupSrcIfTable OBJECT-TYPE
SYNTAX SEQUENCE OF DasGroupSrcIfEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This table consists of a list of source interface configurations
for each AAA server group.
"
::= { dasSrcIf 1 }
dasGroupSrcIfEntry OBJECT-TYPE
SYNTAX DasGroupSrcIfEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"An AAA group source interface configuration identified
by its protocol and its group name.
An entry is created/removed when a source interface setting
is defined or undefined with configuration commands via CLI
or by issuing appropriate sets to this table using snmp.
Note: The group name of radius and tacacs+ are reserved group
names and its corresponding source interface is global setting
for RADIUS and TACACS+ servers respectively. If both global
and group-specific have the source interface settings,
the setting of group-specific takes precedence.
"
INDEX {
dasGroupProtocol,
dasGroupName,
dasGroupSrcAddrType
}
::= { dasGroupSrcIfTable 1}
DasGroupSrcIfEntry ::= SEQUENCE {
dasGroupSrcAddrType InetAddressType,
dasGroupSrcIfIndex InterfaceIndex,
dasGroupSrcIfConfigRowStatus RowStatus
}
dasGroupSrcAddrType OBJECT-TYPE
SYNTAX InetAddressType
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This object indicates the type of the address which will be used
as source address for sending RADIUS packets.
"
::= { dasGroupSrcIfEntry 1 }
dasGroupSrcIfIndex OBJECT-TYPE
SYNTAX InterfaceIndex
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"This object indicates the ifIndex of the interface whose IP/IPv6
address will be used as source IP/IPv6 address for sending RADIUS packets.
"
::= { dasGroupSrcIfEntry 2 }
dasGroupSrcIfConfigRowStatus OBJECT-TYPE
SYNTAX RowStatus
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"The status of this table entry.
"
::= { dasGroupSrcIfEntry 3 }
-- -----------------------------------------------------------------------------
dasClear OBJECT IDENTIFIER ::= { dAaaSrvMIBObjects 6 }
dasClearServerStatTable OBJECT-TYPE
SYNTAX SEQUENCE OF DasClearServerStatEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This table is used to clear statistics of the AAA servers.
"
::= { dasClear 1 }
dasClearServerStatEntry OBJECT-TYPE
SYNTAX DasClearServerStatEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"An entry which can be used to clear the statistics of the AAA server.
"
INDEX {
dasServerProtocol,
dasServerIndex
}
::= { dasClearServerStatTable 1}
DasClearServerStatEntry ::= SEQUENCE {
dasClearServerStatAction INTEGER
}
dasClearServerStatAction OBJECT-TYPE
SYNTAX INTEGER {
clear(1),
noOp(2)
}
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object is used to clear statistics of an AAA server when set
to 'clear'.
No action is taken if this object is set to 'noOp'.
When read, the value 'noOp' is returned."
::= { dasClearServerStatEntry 1 }
-- -----------------------------------------------------------------------------
dasClearServerStatByGroup OBJECT-TYPE
SYNTAX DlinkAAAGroupName
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object is used to clear AAA server statistics based on group name.
Setting this object to the group name which you want to clear.
When read, a zero length string is returned."
::= {dasClear 2}
dasClearServerStatByProtocol OBJECT-TYPE
SYNTAX DlinkAAAProtocol
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object is used to clear AAA server statistics based on protocol.
Setting this object to the protocol which you want to clear.
When read, none(0) is returned."
::= {dasClear 3}
dasClearAllServerStat OBJECT-TYPE
SYNTAX INTEGER {
clear(1),
noOp(2)
}
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object is used to clear all AAA server statistics when set
to 'clear'.
No action is taken if this object is set to 'noOp'.
When read, the value 'noOp' is returned."
::= {dasClear 4}
-- ******************************************************************
-- Conformance and Compliance
-- ******************************************************************
dasMIBCompliances OBJECT IDENTIFIER ::= { dAaaSrvMIBConformance 1 }
-- compliance statements
dasMIBCompliance MODULE-COMPLIANCE
STATUS current
DESCRIPTION
"The compliance statement for entities which implement the
DLINKSW-AAA-SERVER-MIB."
MODULE -- this module
MANDATORY-GROUPS {
dasConfigGroup,
dasTacplusStatisticsGroup
}
GROUP dasSrvGroupGroup
DESCRIPTION
"This group is mandatory only for the platform which supports
AAA server group configuration.
"
GROUP dasVrfGroup
DESCRIPTION
"This group is mandatory only for the platform which supports
AAA VRF configuration.
"
GROUP dasSrcIfGroup
DESCRIPTION
"This group is mandatory only for the platform which supports
AAA source interface configuration.
"
GROUP dasClearStatGroup
DESCRIPTION
"This group is mandatory only for the platform which supports
clear server statistics.
"
OBJECT dasServerAddrType
MIN-ACCESS read-only
DESCRIPTION
"Write access is not required after server entry created."
OBJECT dasServerAddress
MIN-ACCESS read-only
DESCRIPTION
"Write access is not required after server entry created."
OBJECT dasServerKey
MIN-ACCESS read-only
DESCRIPTION
"The maximum length of RADIUS server host is 32 characters.
The maximum length of TACACS+ server host 254 characters.
When read, a zero length string will be returned for security reasons."
::= { dasMIBCompliances 1 }
-- units of conformance
dasMIBGroups OBJECT IDENTIFIER ::= { dAaaSrvMIBConformance 2 }
dasTacplusStatisticsGroup OBJECT-GROUP
OBJECTS {
dasTacplusSocketOpens,
dasTacplusSocketCloses,
dasTacplusTotalPktSent,
dasTacplusTotalPktRecv,
dasTacplusReferenceCount
}
STATUS current
DESCRIPTION
"Objects for providing AAA tacacs+ server statistics and status.
"
::= { dasMIBGroups 1 }
dasConfigGroup OBJECT-GROUP
OBJECTS {
dasRadiusServerDeadTime,
dasServerAddrType,
dasServerAddress,
dasServerAuthenPort,
dasServerAcctPort,
dasServerTimeout,
dasServerRetransmit,
dasServerKey,
dasServerPriority,
dasServerRowStatus
}
STATUS current
DESCRIPTION
"Objects for configuring the AAA servers.
"
::= { dasMIBGroups 2 }
dasSrvGroupGroup OBJECT-GROUP
OBJECTS {
dasGroupRowStatus,
dasGroupSrvAddrType,
dasGroupSrvAddress,
dasGroupSrvPriority,
dasGroupServerRowStatus
}
STATUS current
DESCRIPTION
"Objects for configuring the AAA server groups.
"
::= { dasMIBGroups 3 }
dasVrfGroup OBJECT-GROUP
OBJECTS {
dasGroupVrfName,
dasGroupVrfConfigRowStatus
}
STATUS current
DESCRIPTION
"Objects for configuring the AAA VRF setting.
"
::= { dasMIBGroups 4 }
dasSrcIfGroup OBJECT-GROUP
OBJECTS {
dasGroupSrcIfIndex,
dasGroupSrcIfConfigRowStatus
}
STATUS current
DESCRIPTION
"Objects for configuring the AAA source interface setting.
"
::= { dasMIBGroups 5 }
dasClearStatGroup OBJECT-GROUP
OBJECTS {
dasClearServerStatAction,
dasClearServerStatByGroup,
dasClearServerStatByProtocol,
dasClearAllServerStat
}
STATUS current
DESCRIPTION
"Objects for clear the AAA server statistics.
"
::= { dasMIBGroups 6 }
END

3230
mibs/dlink/DLINKSW-ACL-MIB Normal file

File diff suppressed because it is too large Load Diff

188
mibs/dlink/DLINKSW-ASP-MIB Normal file
View File

@ -0,0 +1,188 @@
-- *****************************************************************
-- DLINKSW-ASP-MIB: D-Link ARP Spoofing Prevention MIB
--
-- Copyright (c) 2013 D-Link Corporation, all rights reserved.
--
-- *****************************************************************
DLINKSW-ASP-MIB DEFINITIONS ::= BEGIN
IMPORTS
MODULE-IDENTITY,OBJECT-TYPE,
IpAddress
FROM SNMPv2-SMI
MacAddress, RowStatus, TruthValue
FROM SNMPv2-TC
MODULE-COMPLIANCE,
OBJECT-GROUP
FROM SNMPv2-CONF
PortList
FROM Q-BRIDGE-MIB
dlinkIndustrialCommon
FROM DLINK-ID-REC-MIB;
dlinkSwArpSpoofingPreventMIB MODULE-IDENTITY
LAST-UPDATED "201607050000Z"
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
"The MIB module configures ARP spoofing prevention feature.
"
REVISION "201607050000Z"
DESCRIPTION
"added dAspLoggingEnabled, dAspLoggingGroup and dAspCompliance2.
deprecated dAspCompliance"
REVISION "201307180000Z"
DESCRIPTION
"This is the first version of the MIB file."
::= { dlinkIndustrialCommon 76 }
-- -----------------------------------------------------------------------------
dAspMIBNotifications OBJECT IDENTIFIER ::= { dlinkSwArpSpoofingPreventMIB 0 }
dAspMIBObjects OBJECT IDENTIFIER ::= { dlinkSwArpSpoofingPreventMIB 1 }
dAspMIBConformance OBJECT IDENTIFIER ::= { dlinkSwArpSpoofingPreventMIB 2 }
-- -----------------------------------------------------------------------------
dAspGatewayTable OBJECT-TYPE
SYNTAX SEQUENCE OF DAspGatewayEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This table consists of a list of gateways for ARP spoofing
prevention (ASP) to prevent ARP poisoning attacking."
::= { dAspMIBObjects 1 }
dAspGatewayEntry OBJECT-TYPE
SYNTAX DAspGatewayEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"An entry indicates the information for a protected gateway."
INDEX {
dAspGatewayIP,
dAspGatewayMAC
}
::= { dAspGatewayTable 1 }
DAspGatewayEntry ::= SEQUENCE {
dAspGatewayIP IpAddress,
dAspGatewayMAC MacAddress,
dAspActivePortList PortList,
dAspGatewayRowStatus RowStatus
}
dAspGatewayIP OBJECT-TYPE
SYNTAX IpAddress
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"The gateway IP address of the entry."
::= { dAspGatewayEntry 1 }
dAspGatewayMAC OBJECT-TYPE
SYNTAX MacAddress
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"The gateway MAC address of the entry."
::= { dAspGatewayEntry 2 }
dAspActivePortList OBJECT-TYPE
SYNTAX PortList
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"This object indicates the port-list on which the ARP Spoofing
Prevention is active.
"
::= { dAspGatewayEntry 3 }
dAspGatewayRowStatus OBJECT-TYPE
SYNTAX RowStatus
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"The status of this table entry."
::= { dAspGatewayEntry 99 }
dAspLoggingEnabled OBJECT-TYPE
SYNTAX TruthValue
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"Setting to 'true' to enable ARP spoofing prevention logging feature.
Setting the object to 'false' will disable logging feature."
::= { dAspMIBObjects 2 }
-- conformance information
dAspMIBCompliances OBJECT IDENTIFIER ::= { dAspMIBConformance 1 }
dAspCompliance MODULE-COMPLIANCE
STATUS deprecated
DESCRIPTION
"The compliance statement for entities which implement the
DLINKSW-ASP-MIB.
"
MODULE -- this module
MANDATORY-GROUPS
{
dAspMgtGroup
}
::= { dAspMIBCompliances 1 }
dAspCompliance2 MODULE-COMPLIANCE
STATUS current
DESCRIPTION
"The compliance statement for entities which implement the
DLINKSW-ASP-MIB.
"
MODULE -- this module
MANDATORY-GROUPS
{
dAspMgtGroup
}
GROUP dAspLoggingGroup
DESCRIPTION
"This group is mandatory only for the platform which supports
logging state configurable.
"
::= { dAspMIBCompliances 2 }
-- units of conformance
dAspMIBGroups OBJECT IDENTIFIER ::= { dAspMIBConformance 2 }
dAspMgtGroup OBJECT-GROUP
OBJECTS {
dAspActivePortList,
dAspGatewayRowStatus
}
STATUS current
DESCRIPTION
"A collection of objects configures protected gateways for ARP spoofing
prevention.
"
::= { dAspMIBGroups 1 }
dAspLoggingGroup OBJECT-GROUP
OBJECTS {
dAspLoggingEnabled
}
STATUS current
DESCRIPTION
"A collection of objects configures logging state of ARP spoofing
prevention.
"
::= { dAspMIBGroups 2 }
END

View File

@ -0,0 +1,205 @@
-- *****************************************************************
-- DLINKSW-BPDU-PROTECTION-MIB.mib : BPDU Protection MIB
--
-- Copyright (c) 2013 D-Link Corporation, all rights reserved.
--
-- *****************************************************************
DLINKSW-BPDU-PROTECTION-MIB DEFINITIONS ::= BEGIN
IMPORTS
MODULE-IDENTITY,
OBJECT-TYPE,
NOTIFICATION-TYPE FROM SNMPv2-SMI
MODULE-COMPLIANCE,
OBJECT-GROUP,
NOTIFICATION-GROUP FROM SNMPv2-CONF
TruthValue FROM SNMPv2-TC
ifIndex FROM IF-MIB
dlinkIndustrialCommon FROM DLINK-ID-REC-MIB;
dlinkSwBpduProtectionMIB MODULE-IDENTITY
LAST-UPDATED "201302190000Z"
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 module defines objects for BPDU Protection."
REVISION "201302190000Z"
DESCRIPTION
"This is the first version of the MIB file."
::= { dlinkIndustrialCommon 47 }
-- ---------------------------------------------------------------------------------------------
dBpduProtectionNotifications OBJECT IDENTIFIER ::= { dlinkSwBpduProtectionMIB 0 }
dBpduProtectionObjects OBJECT IDENTIFIER ::= { dlinkSwBpduProtectionMIB 1 }
dBpduProtectionConformance OBJECT IDENTIFIER ::= { dlinkSwBpduProtectionMIB 2 }
-- ---------------------------------------------------------------------------------------------
dBpduProtectionGlobalEnabled OBJECT-TYPE
SYNTAX TruthValue
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object indicates the global BPDU Protection state.
'true' - The BPDU Protection is enabled globally.
'false' - The lBPDU Protection is disabled globally."
::= { dBpduProtectionObjects 1 }
dBpduProtectionNotifyEnabled OBJECT-TYPE
SYNTAX TruthValue
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object indicates whether sending SNMP notifications for BPDU Protection.
"
::= { dBpduProtectionObjects 2 }
-- ---------------------------------------------------------------------------------------------
dBpduProtectionIfTable OBJECT-TYPE
SYNTAX SEQUENCE OF DBpduProtectionIfEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This table consists of a list of interface-specific BPDU Protection
information entries."
::= { dBpduProtectionObjects 3 }
dBpduProtectionIfEntry OBJECT-TYPE
SYNTAX DBpduProtectionIfEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"An entry indicates the state and attack status of BPDU Protection
on an interface."
INDEX { ifIndex }
::= { dBpduProtectionIfTable 1 }
DBpduProtectionIfEntry ::= SEQUENCE {
dBpduProtectionIfCfgMode INTEGER,
dBpduProtectionIfAttackStatus INTEGER
}
dBpduProtectionIfCfgMode OBJECT-TYPE
SYNTAX INTEGER {
disabled(1),
drop(2),
block(3),
shutdown(4)
}
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object indicates the operational mode of BPDU Protection on the interface.
disabled(1) - The BPDU Protection is disabled.
drop(2) - Drop all received BPDU packets when the interface enters the attacked state.
block(3) - Drop all packets (include BPDU and normal packets) when the interface
enters the attacked state.
shutdown(4) - Shut down the interface when the interface enters he attacked state.
"
::= { dBpduProtectionIfEntry 1 }
dBpduProtectionIfAttackStatus OBJECT-TYPE
SYNTAX INTEGER {
normal(1),
underAttack(2)
}
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"This object indicates the status of BPDU Protection on an interface.
normal(1) - The interface is under normal status.
underAttack(2) - The inter is under attack status."
::= { dBpduProtectionIfEntry 2 }
-- ---------------------------------------------------------------------------------------------
-- MIB Notifications statements
-- ---------------------------------------------------------------------------------------------
dBpduProtectionAttackOccur NOTIFICATION-TYPE
OBJECTS {
ifIndex,
dBpduProtectionIfCfgMode
}
STATUS current
DESCRIPTION
"This trap is sent when the BPDU attack happened on an interface."
::= { dBpduProtectionNotifications 1 }
dBpduProtectionAttackRecover NOTIFICATION-TYPE
OBJECTS {
ifIndex
}
STATUS current
DESCRIPTION
"This trap is sent when the BPDU attack recovered on an interface."
::= { dBpduProtectionNotifications 2 }
-- ---------------------------------------------------------------------------------------------
-- MIB Conformance statements
-- ---------------------------------------------------------------------------------------------
dBpduProtectionMIBCompliances OBJECT IDENTIFIER
::= { dBpduProtectionConformance 1 }
dBpduProtectionMIBGroups OBJECT IDENTIFIER
::= { dBpduProtectionConformance 2 }
-- ---------------------------------------------------------------------------------------------
dBpduProtectionMIBCompliance MODULE-COMPLIANCE
STATUS current
DESCRIPTION
"The compliance statement for entities which implement the
DLINKSW-BPDU-PROTECTION-MIB."
MODULE -- this module
MANDATORY-GROUPS
{
dBpduProtectionCfgGroup,
dBpduProtectionIfGroup
}
::= { dBpduProtectionMIBCompliances 1 }
-- ---------------------------------------------------------------------------------------------
dBpduProtectionCfgGroup OBJECT-GROUP
OBJECTS {
dBpduProtectionGlobalEnabled,
dBpduProtectionNotifyEnabled
}
STATUS current
DESCRIPTION
"A collection of objects providing management of the BPDU
Protection feature."
::= { dBpduProtectionMIBGroups 1 }
dBpduProtectionIfGroup OBJECT-GROUP
OBJECTS {
dBpduProtectionIfCfgMode,
dBpduProtectionIfAttackStatus
}
STATUS current
DESCRIPTION
"A collection of objects providing management and information for
BPDU Protection a per-interface basis."
::= { dBpduProtectionMIBGroups 2 }
dBpduProtectionNotifyGroup NOTIFICATION-GROUP
NOTIFICATIONS {
dBpduProtectionAttackOccur,
dBpduProtectionAttackRecover
}
STATUS current
DESCRIPTION
"A collection of notifications for BPDU Protection."
::= { dBpduProtectionMIBGroups 3 }
END

View File

@ -0,0 +1,318 @@
-- *****************************************************************
-- DLINKSW-CABLE-DIAG-MIB.mib : Cable Diagnostic MIB
--
-- Copyright (c) 2013 D-Link Corporation, all rights reserved.
--
-- *****************************************************************
DLINKSW-CABLE-DIAG-MIB DEFINITIONS ::= BEGIN
IMPORTS
TEXTUAL-CONVENTION FROM SNMPv2-TC
MODULE-IDENTITY,OBJECT-TYPE,
Integer32 FROM SNMPv2-SMI
MODULE-COMPLIANCE, OBJECT-GROUP
FROM SNMPv2-CONF
ifIndex FROM IF-MIB
dlinkIndustrialCommon FROM DLINK-ID-REC-MIB;
dlinkSwCableDiagMIB MODULE-IDENTITY
LAST-UPDATED "201301180000Z"
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
"The MIB module for determining the status of
the cables attached to the device."
REVISION "201301180000Z"
DESCRIPTION
" This is the first version of this MIB file.
"
::= {dlinkIndustrialCommon 58}
DlinkCableDiagStatus ::= TEXTUAL-CONVENTION
STATUS current
DESCRIPTION
"The status of a pair of the cable.
other(0) - Other status is not specified here. E.g. the
diagnostics has never been performed, or the previous
result is cleared.
ok(1) - The pair or cable has no error.
open(2) - The cable in the error pair does not have a connection
at the specified position.
short(3) - The cable in the error pair has a short problem at the
specified position.
openOrShort(4) - The PHY has no capability to distinguish between
open and short state.
crosstalk(5)- The cable in the error pair has a crosstalk problem
at the specified position.
unKnown(6) - The diagnostics got an unknown status.
noCable(7) - The port does not have any cable connection to the
remote partner.
shutdown(8)- The remote partner is powered off.
"
SYNTAX INTEGER {
other(0),
ok(1),
open(2),
short(3),
openOrShort(4),
crosstalk(5),
unKnown(6),
noCable(7),
shutdown(8)
}
-- -----------------------------------------------------------------------------
dCableDiagNotifications OBJECT IDENTIFIER ::= { dlinkSwCableDiagMIB 0 }
dCableDiagObjects OBJECT IDENTIFIER ::= { dlinkSwCableDiagMIB 1 }
dCableDiagConformance OBJECT IDENTIFIER ::= { dlinkSwCableDiagMIB 2 }
-- -----------------------------------------------------------------------------
-- Notifications
-- -----------------------------------------------------------------------------
-- -----------------------------------------------------------------------------
-- Objects
-- -----------------------------------------------------------------------------
dCableDiagIfTable OBJECT-TYPE
SYNTAX SEQUENCE OF DCableDiagIfEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"A table contains a list of information about test on the device's
interfaces. Note that entries will exist in this table when the
corresponding interface is capable to run test."
::= { dCableDiagObjects 1 }
dCableDiagIfEntry OBJECT-TYPE
SYNTAX DCableDiagIfEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"An entry in the dCableDiagIfTable, contains the
testing controls on an interface."
INDEX { ifIndex }
::= { dCableDiagIfTable 1 }
DCableDiagIfEntry ::= SEQUENCE {
dCableDiagIfAction INTEGER
}
dCableDiagIfAction OBJECT-TYPE
SYNTAX INTEGER {
noOp(1),
test(2),
clear(3)
}
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object control the action to be executed on the interface.
noOp(1) - No action is taken if this object is set to 'noOp'.
When read, the value 'noOp' is returned.
test(2) - Start the test on the interface.
clear(3) - Clear all the test results on the interface.
The value of the following objects of the entry will
become 'other'.
-- dCableDiagResultPair1Status
-- dCableDiagResultPair2Status
-- dCableDiagResultPair3Status
-- dCableDiagResultPair4Status
The value of the following objects of the entry will
become -1 (unavailable)
-- dCableDiagResultPair1Length
-- dCableDiagResultPair2Length
-- dCableDiagResultPair3Length
-- dCableDiagResultPair4Length
The value of dCableDiagResultStatus of the entry will
become 'notRun'.
"
::= { dCableDiagIfEntry 1 }
-- -----------------------------------------------------------------------------
dCableDiagResultTable OBJECT-TYPE
SYNTAX SEQUENCE OF DCableDiagResultEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"A table contains a list of interface's cable situation.
Note that entries will exist in this table when the
corresponding interface is a copper Ethernet port.
"
::= { dCableDiagObjects 2 }
dCableDiagResultEntry OBJECT-TYPE
SYNTAX DCableDiagResultEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"An entry in dCableDiagResultTable contains cable situation
of an interface."
INDEX { ifIndex }
::= { dCableDiagResultTable 1 }
DCableDiagResultEntry ::= SEQUENCE {
dCableDiagResultPair1Status DlinkCableDiagStatus,
dCableDiagResultPair2Status DlinkCableDiagStatus,
dCableDiagResultPair3Status DlinkCableDiagStatus,
dCableDiagResultPair4Status DlinkCableDiagStatus,
dCableDiagResultPair1Length Integer32,
dCableDiagResultPair2Length Integer32,
dCableDiagResultPair3Length Integer32,
dCableDiagResultPair4Length Integer32,
dCableDiagResultStatus INTEGER
}
dCableDiagResultPair1Status OBJECT-TYPE
SYNTAX DlinkCableDiagStatus
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"This object indicates the status of pair 1 of the cable."
::= { dCableDiagResultEntry 1 }
dCableDiagResultPair2Status OBJECT-TYPE
SYNTAX DlinkCableDiagStatus
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"This object indicates the status of pair 2 of the cable."
::= { dCableDiagResultEntry 2 }
dCableDiagResultPair3Status OBJECT-TYPE
SYNTAX DlinkCableDiagStatus
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"This object indicates the status of pair 3 of the cable."
::= { dCableDiagResultEntry 3 }
dCableDiagResultPair4Status OBJECT-TYPE
SYNTAX DlinkCableDiagStatus
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"This object indicates the status of pair 4 of the cable."
::= { dCableDiagResultEntry 4 }
dCableDiagResultPair1Length OBJECT-TYPE
SYNTAX Integer32
UNITS "meters"
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"This object indicates the approximate length or length to the failure of
pair 1 of the cable. This value is in meter units.
The special value of -1 indicates the length is unavailable."
::= { dCableDiagResultEntry 5 }
dCableDiagResultPair2Length OBJECT-TYPE
SYNTAX Integer32
UNITS "meters"
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"This object indicates the approximate length or length to the failure of
pair 2 of the cable. This value is in meter units.
The special value of -1 indicates the length is unavailable."
::= { dCableDiagResultEntry 6 }
dCableDiagResultPair3Length OBJECT-TYPE
SYNTAX Integer32
UNITS "meters"
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"This object indicates the approximate length or length to the failure of
pair 3 of the cable. This value is in meter units.
The special value of -1 indicates the length is unavailable."
::= { dCableDiagResultEntry 7 }
dCableDiagResultPair4Length OBJECT-TYPE
SYNTAX Integer32
UNITS "meters"
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"This object indicates the approximate length or length to the failure of
pair 4 of the cable. This value is in meter units.
The special value of -1 indicates the length is unavailable."
::= { dCableDiagResultEntry 8 }
dCableDiagResultStatus OBJECT-TYPE
SYNTAX INTEGER {
notRun(0),
processing(1),
lastTestOk(2),
lastTestFailed(3)
}
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Indicates the status of cable diagnostics on the interface.
notRun(0) - the cable diagnostics has never been run for this
interface or the previous result is cleared.
processing(1) - the cable diagnostics is currently running on the
interface.
lastTestOk(2) - the last cable diagnostics was performed successfully
on the interface.
lastTestFailed(3) - the last cable diagnostics failed on the interface."
::= { dCableDiagResultEntry 9 }
-- -----------------------------------------------------------------------------
-- Conformance
-- -----------------------------------------------------------------------------
dCableDiagCompliances OBJECT IDENTIFIER ::= { dCableDiagConformance 1 }
dCableDiagCompliance MODULE-COMPLIANCE
STATUS current
DESCRIPTION
"The compliance statement for entities which implement the
DLINKSW-CABLE-DIAG-MIB."
MODULE -- this module
MANDATORY-GROUPS {
dCableDiagBasicGroup
}
::= { dCableDiagCompliances 1 }
dCableDiagGroups OBJECT IDENTIFIER ::= { dCableDiagCompliances 2 }
dCableDiagBasicGroup OBJECT-GROUP
OBJECTS {
dCableDiagIfAction,
dCableDiagResultPair1Status,
dCableDiagResultPair2Status,
dCableDiagResultPair3Status,
dCableDiagResultPair4Status,
dCableDiagResultPair1Length,
dCableDiagResultPair2Length,
dCableDiagResultPair3Length,
dCableDiagResultPair4Length,
dCableDiagResultStatus
}
STATUS current
DESCRIPTION
"This group contains the collection of objects related to
configuration and information of fundamental cable diagnostics feature."
::= { dCableDiagGroups 1 }
END

View File

@ -0,0 +1,484 @@
-- *****************************************************************
-- DLINKSW-CPU-PROTECT-MIB.mib : CPU Protection MIB
--
-- Copyright (c) 2012 D-Link Corporation, all rights reserved.
--
-- *****************************************************************
DLINKSW-CPU-PROTECT-MIB DEFINITIONS ::= BEGIN
IMPORTS
OBJECT-GROUP, MODULE-COMPLIANCE
FROM SNMPv2-CONF
Integer32, Counter64, OBJECT-TYPE, MODULE-IDENTITY
FROM SNMPv2-SMI
TEXTUAL-CONVENTION
FROM SNMPv2-TC
dlinkIndustrialCommon
FROM DLINK-ID-REC-MIB;
dlinkSwCpuProtectMIB MODULE-IDENTITY
LAST-UPDATED "201208080000Z"
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
"The MIB module for managing CPU protection."
REVISION "201208080000Z"
DESCRIPTION
"Initial version of this MIB module."
::= { dlinkIndustrialCommon 19 }
--
-- Textual conventions
--
CpuProtectProtocolType ::= TEXTUAL-CONVENTION
STATUS current
DESCRIPTION
"Represents a protocol type.
Note that a particular agent may support only certain protocol
types. Thus, the valid values of this object are project
dependent.
An agent may respond with an error (e.g., 'inconsistentValue ')
to a management SET operation which attempts to modify
the value to one which is not supported by the managed device.
arp(1) indicates IP Address Resolution Protocol (ARP).
bgp(2) indicates Border Gateway Protocol.
dhcp(3) indicates Dynamic Host Configuration Protocol.
dhcpv6(4) indicates Dynamic Host Configuration Protocol for IPv6.
dns(5) indicates Domain Name Services.
dot1x(6) indicates IEEE 802.1X (Port Based Network Access Control).
dvmrp(7) indicates Distance Vector Multicast Routing Protocol.
gvrp(8) indicates GARP VLAN Registration Protocol.
icmp(9) indicates IPv4 Internet Control Message Protocol.
icmpv6Ndp(10) indicates IPv6 ICMP Neighbor Discover Protocol (NS/NA/RS/RA).
icmpv6Other(11) indicates IPv6 ICMP except NDP NS/NA/RS/RA.
igmp(12) indicates Internet Group Management Protocol.
lacp(13), indicates Link Aggregation Control Protocol.
ntp(14), indicates Network Time Protocol.
ospf(15), indicates Open Shortest Path First.
ospfv3(16), indicates OSPF for IPv6.
pim(17), indicates Protocol Independent Multicast.
pppoe(18), indicates Point-to-Point Protocol over Ethernet.
rip(19), indicates Routing Information Protocol.
ripng(20), indicates Routing Information Protocol for IPv6.
snmp(21), indicates Simple Network Management Protocol.
ssh(22), indicates Secured shell.
stp(23), indicates Spanning Tree Protocol (IEEE 802.1D).
telnet(24), indicates Telnet.
tftp(25), indicates Trivial File Transfer Protocol.
vrrp(26), indicates Virtual Router Redundancy Protocol.
web(27) indicates HTTP and HTTPS.
"
SYNTAX INTEGER
{
arp(1),
bgp(2),
dhcp(3),
dhcpv6(4),
dns(5),
dot1x(6),
dvmrp(7),
gvrp(8),
icmp(9),
icmpv6Ndp(10),
icmpv6Other(11),
igmp(12),
lacp(13),
ntp(14),
ospf(15),
ospfv3(16),
pim(17),
pppoe(18),
rip(19),
ripng(20),
snmp(21),
ssh(22),
stp(23),
telnet(24),
tftp(25),
vrrp(26),
web(27)
}
MaxRate ::= TEXTUAL-CONVENTION
STATUS current
DESCRIPTION
"The range for configuring rate-limit in packet per second (pps).
Note that a particular agent may support different rate range.
Thus, the valid values are project dependent.
An agent may respond with an error (e.g., 'inconsistentValue ')
to a management SET operation which attempts to modify
the value to one which is not supported by the managed device.
The value -1 has a special meaning. When this object is
set to -1, there is no rate-limit of the entry."
SYNTAX Integer32 (-1 | 0..65535)
UnitID ::= TEXTUAL-CONVENTION
STATUS current
DESCRIPTION
"This object indicates the slot (for a chassis device) or
unit number (for stacking device).
For a standalone device, 0 is used for UnitID.
Note that a particular agent may support different range
of unit/slot ID.
Thus, the valid values are project dependent.
An agent may respond with an error (e.g., 'inconsistentValue ')
to a management SET operation which attempts to modify
the value to one which is not supported by the managed device.
"
SYNTAX Integer32 (0 | 1..64)
--
-- Node definitions
--
dCpuProtectMIBNotifications OBJECT IDENTIFIER ::= { dlinkSwCpuProtectMIB 0 }
dCpuProtectMIBObjects OBJECT IDENTIFIER ::= { dlinkSwCpuProtectMIB 1 }
dCpuProtectMIBConformance OBJECT IDENTIFIER ::= { dlinkSwCpuProtectMIB 2 }
dCpuProtectMIBObjectsCtrl OBJECT IDENTIFIER ::= { dCpuProtectMIBObjects 2 }
-- ***************************************************************************
-- dCpuProtectProtoRateLimitTable
-- ***************************************************************************
dCpuProtectProtoRateLimitTable OBJECT-TYPE
SYNTAX SEQUENCE OF DCpuProtectProtoRateLimitEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"The object configure the rate-limit of traffic destined to CPU
based on protocol type."
::= { dCpuProtectMIBObjectsCtrl 1 }
dCpuProtectProtoRateLimitEntry OBJECT-TYPE
SYNTAX DCpuProtectProtoRateLimitEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"The object configures rate-limit control based on a specific
protocol type."
INDEX { dCpuProtectProtoRLType }
::= { dCpuProtectProtoRateLimitTable 1 }
DCpuProtectProtoRateLimitEntry ::=
SEQUENCE {
dCpuProtectProtoRLType CpuProtectProtocolType,
dCpuProtectProtoRLRate MaxRate,
dCpuProtectProtoRLClearCounter INTEGER
}
dCpuProtectProtoRLType OBJECT-TYPE
SYNTAX CpuProtectProtocolType
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This object indicates the protocol type."
::= { dCpuProtectProtoRateLimitEntry 1 }
dCpuProtectProtoRLRate OBJECT-TYPE
SYNTAX MaxRate
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"This object indicates the rate-limit of the specific
protocol type.
The value of -1 has the special meaning of identifying
that there is no rate-limit of the specific protocol type."
DEFVAL { -1 }
::= { dCpuProtectProtoRateLimitEntry 2 }
dCpuProtectProtoRLClearCounter OBJECT-TYPE
SYNTAX INTEGER
{ clear(1),
noOp(2)
}
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"This object is used to reset the counter of the specific
protocol type when set to 'clear'.
No action is taken if this object is set to 'noOp'.
When read, the value 'noOp' is returned."
DEFVAL { noOp }
::= { dCpuProtectProtoRateLimitEntry 3 }
-- ***************************************************************************
-- dCpuProtectSubIntfRLTable
-- ***************************************************************************
dCpuProtectSubIntfRLTable OBJECT-TYPE
SYNTAX SEQUENCE OF DCpuProtectSubIntfRLEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This table consists of the rate-limit information of the
sub-interface."
::= { dCpuProtectMIBObjectsCtrl 2 }
dCpuProtectSubIntfRLEntry OBJECT-TYPE
SYNTAX DCpuProtectSubIntfRLEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"The object configure rate-limit control based on a specific
sub-interface."
INDEX { dCpuProtectSubIntfRLType }
::= { dCpuProtectSubIntfRLTable 1 }
DCpuProtectSubIntfRLEntry ::=
SEQUENCE {
dCpuProtectSubIntfRLType INTEGER,
dCpuProtectSubIntfRLRate MaxRate,
dCpuProtectSubIntfRLClearCounter INTEGER
}
dCpuProtectSubIntfRLType OBJECT-TYPE
SYNTAX INTEGER
{ manage(1),
protocol(2),
route(3)
}
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This object indicates the type of sub-interface."
::= { dCpuProtectSubIntfRLEntry 1 }
dCpuProtectSubIntfRLRate OBJECT-TYPE
SYNTAX MaxRate
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"This object indicates the rate-limit of the specific
sub-interface.
The value of -1 has the special meaning of identifying
that there is no rate-limit of the specific sub-interface."
DEFVAL { -1 }
::= { dCpuProtectSubIntfRLEntry 2 }
dCpuProtectSubIntfRLClearCounter OBJECT-TYPE
SYNTAX INTEGER
{ clear(1),
noOp(2)
}
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"This object is used to reset the counter of the specific
sub-interface when set to 'clear'.
No action is taken if this object is set to 'noOp'.
When read, the value 'noOp' is returned."
DEFVAL { noOp }
::= { dCpuProtectSubIntfRLEntry 3 }
dCpuProtectMIBObjectsCounters OBJECT IDENTIFIER
::= { dCpuProtectMIBObjects 3 }
-- ***************************************************************************
-- dCpuProtectProtoRLCntTable
-- ***************************************************************************
dCpuProtectProtoRLCntTable OBJECT-TYPE
SYNTAX SEQUENCE OF DCpuProtectProtoRLCntEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This table consists of the traffic statistics by protocol type."
::= { dCpuProtectMIBObjectsCounters 1 }
dCpuProtectProtoRLCntEntry OBJECT-TYPE
SYNTAX DCpuProtectProtoRLCntEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"The per unit/slot traffic statistics about a protocol type.
Objects in this table are read-only and appear
automatically whenever the value of dCpuProtectProtoRLRate of a row
in the dCpuProtectProtoRateLimitTable is not -1 (no-limit)."
INDEX { dCpuProtectProtoRLCntType, dCpuProtectProtoRLCntUnitID }
::= { dCpuProtectProtoRLCntTable 1 }
DCpuProtectProtoRLCntEntry ::=
SEQUENCE {
dCpuProtectProtoRLCntType CpuProtectProtocolType,
dCpuProtectProtoRLCntUnitID UnitID,
dCpuProtectProtoRLCntTotalCnt Counter64,
dCpuProtectProtoRLCntDropCnt Counter64
}
dCpuProtectProtoRLCntType OBJECT-TYPE
SYNTAX CpuProtectProtocolType
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This object indicates the Protocol type."
::= { dCpuProtectProtoRLCntEntry 1 }
dCpuProtectProtoRLCntUnitID OBJECT-TYPE
SYNTAX UnitID
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This object indicates the unit/slot ID (for a chassis device)
or unit number (for stacking device). For a standalone device,
0 is used for UnitID."
::= { dCpuProtectProtoRLCntEntry 2 }
dCpuProtectProtoRLCntTotalCnt OBJECT-TYPE
SYNTAX Counter64
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"This object indicates the counter which counts the packets
received by CPU (per unit/slot) for the protocol type."
::= { dCpuProtectProtoRLCntEntry 3 }
dCpuProtectProtoRLCntDropCnt OBJECT-TYPE
SYNTAX Counter64
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"This object indicates the counter which counts the dropped
packets due to exceeding the configured rate-limit."
::= { dCpuProtectProtoRLCntEntry 4 }
-- ***************************************************************************
-- dCpuProtectSubIntfRLCounterTable
-- ***************************************************************************
dCpuProtectSubIntfRLCounterTable OBJECT-TYPE
SYNTAX SEQUENCE OF DCpuProtectSubIntfRLCounterEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This table consists of the traffic statistics by sub-interface."
::= { dCpuProtectMIBObjectsCounters 2 }
dCpuProtectSubIntfRLCounterEntry OBJECT-TYPE
SYNTAX DCpuProtectSubIntfRLCounterEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"The per unit traffic statistics about a sub-interface.
Objects in this table are read-only and appear
automatically whenever the value of dCpuProtectSubIntfRLRate of a row
in the dCpuProtectSubIntfRLTable is not -1 (no-limit)."
INDEX { dCpuProtectSubIntfRLCntType, dCpuProtectSubIntfRLCntUnitID }
::= { dCpuProtectSubIntfRLCounterTable 1 }
DCpuProtectSubIntfRLCounterEntry ::=
SEQUENCE {
dCpuProtectSubIntfRLCntType INTEGER,
dCpuProtectSubIntfRLCntUnitID UnitID,
dCpuProtectSubIntfRLCntTotalCnt Counter64,
dCpuProtectSubIntfRLCntDropCnt Counter64
}
dCpuProtectSubIntfRLCntType OBJECT-TYPE
SYNTAX INTEGER
{ manage(1),
protocol(2),
route(3)
}
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This object indicates the type of sub-interface."
::= { dCpuProtectSubIntfRLCounterEntry 1 }
dCpuProtectSubIntfRLCntUnitID OBJECT-TYPE
SYNTAX UnitID
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This object indicates the slot (for a chassis device) or
unit number (for stacking device). For a standalone device,
0 is used for UnitID."
::= { dCpuProtectSubIntfRLCounterEntry 2 }
dCpuProtectSubIntfRLCntTotalCnt OBJECT-TYPE
SYNTAX Counter64
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"This object indicates the counter which counts the packets
received by CPU (per unit/slot) for the subinterface."
::= { dCpuProtectSubIntfRLCounterEntry 3 }
dCpuProtectSubIntfRLCntDropCnt OBJECT-TYPE
SYNTAX Counter64
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"This object indicates the counter which counts the dropped
packets due to exceeding the configured rate-limit."
::= { dCpuProtectSubIntfRLCounterEntry 4 }
-- ***************************************************************************
-- Conformance
-- ***************************************************************************
dCpuProtectMIBCompliances OBJECT IDENTIFIER ::= { dCpuProtectMIBConformance 1 }
dCpuProtectMIBCompliance MODULE-COMPLIANCE
STATUS current
DESCRIPTION
"The compliance statement for entities which implement the
DLINKSW-CPU-PROTECT-MIB."
MODULE -- this module
MANDATORY-GROUPS { dCpuProtectProtoGroup }
GROUP dCpuProtectSubIntfGroup
DESCRIPTION
"This group is required only if the agent implements
the rate-limit for traffic destined to CPU by sub-interface type."
::= { dCpuProtectMIBCompliances 1 }
dCpuProtectMIBGroups OBJECT IDENTIFIER ::= { dCpuProtectMIBConformance 2 }
dCpuProtectProtoGroup OBJECT-GROUP
OBJECTS
{ dCpuProtectProtoRLRate,
dCpuProtectProtoRLClearCounter,
dCpuProtectProtoRLCntTotalCnt,
dCpuProtectProtoRLCntDropCnt
}
STATUS current
DESCRIPTION
"A collection of objects providing the configuration or
statistics about the rate-limit of traffic destined to
CPU by protocol type."
::= { dCpuProtectMIBGroups 1 }
dCpuProtectSubIntfGroup OBJECT-GROUP
OBJECTS
{ dCpuProtectSubIntfRLRate,
dCpuProtectSubIntfRLClearCounter,
dCpuProtectSubIntfRLCntTotalCnt,
dCpuProtectSubIntfRLCntDropCnt
}
STATUS current
DESCRIPTION
"A collection of objects providing the configuration or
statistics about the rate-limit of traffic destined to
CPU by sub-interface type."
::= { dCpuProtectMIBGroups 2 }
END

1057
mibs/dlink/DLINKSW-DAI-MIB Normal file

File diff suppressed because it is too large Load Diff

777
mibs/dlink/DLINKSW-DDM-MIB Normal file
View File

@ -0,0 +1,777 @@
-- *****************************************************************
-- DLINKSW-DDM-MIB.mib : Digital Diagnostics Monitoring (DDM) MIB
--
-- Copyright (c) 2013 D-Link Corporation, all rights reserved.
--
-- *****************************************************************
DLINKSW-DDM-MIB DEFINITIONS ::= BEGIN
IMPORTS
DisplayString,TruthValue,RowStatus
FROM SNMPv2-TC
MODULE-IDENTITY,OBJECT-TYPE,Integer32
FROM SNMPv2-SMI
MODULE-COMPLIANCE,OBJECT-GROUP
FROM SNMPv2-CONF
SnmpAdminString
FROM SNMP-FRAMEWORK-MIB
ifIndex, InterfaceIndex
FROM IF-MIB
dlinkIndustrialCommon
FROM DLINK-ID-REC-MIB;
dlinkSwDdmMIB MODULE-IDENTITY
LAST-UPDATED "201302040000Z"
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 module defines objects for DDM."
REVISION "201302040000Z"
DESCRIPTION
"The structure of DDM for the proprietary enterprise."
REVISION "201309050000Z"
DESCRIPTION
"Modified the object dDdmAlarmTrap and dDdmWarningTrap to
support to send traps when transceiver monitoring recovers from an
abnormal warning/alarm situation to normal status."
::={ dlinkIndustrialCommon 72 }
DlinkThresholdState ::= TEXTUAL-CONVENTION
STATUS current
DESCRIPTION
"Represents the state of a current monitoring value.
Valid values are:
normal(0): the current value is within normal range.
higherAlarm(1): the current value is higher than the high alarm threshold.
higherWarning(2): the current value is higher than the high warning threshold.
lowerWarning(3): the current value is lower than the low warning threshold.
lowerAlarm(4): the current value is lower than the low alarm threshold.
"
SYNTAX INTEGER {
normal(0),
higherAlarm(1),
higherWarning(2),
lowerWarning(3),
lowerAlarm(4)
}
dDdmMIBNotifications OBJECT IDENTIFIER ::= { dlinkSwDdmMIB 0 }
dDdmMIBObjects OBJECT IDENTIFIER ::= { dlinkSwDdmMIB 1 }
dDdmMIBConformance OBJECT IDENTIFIER ::= { dlinkSwDdmMIB 2 }
-- --------------------------------------------------------------------------
dDdmCtrl OBJECT IDENTIFIER ::= { dDdmMIBObjects 1 }
dDdmNotifyEnable OBJECT-TYPE
SYNTAX BITS {
alarm(0),
warning(1)
}
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object indicates whether a specified notification is enabled or not.
If a bit corresponding to a notification is set to 1, then
the specified notification can be generated.
alarm(0) - sending an alarm level notification.
warning(1) - sending an warning level notification.
"
::= { dDdmCtrl 1 }
-- --------------------------------------------------------------------------
dDdmIfCtrl OBJECT IDENTIFIER ::= { dDdmMIBObjects 2 }
dDdmIfCfgTable OBJECT-TYPE
SYNTAX SEQUENCE OF DDdmIfCfgEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This table contains a list of interface-specific DDM configuration."
::= {dDdmIfCtrl 1}
dDdmIfCfgEntry OBJECT-TYPE
SYNTAX DDdmIfCfgEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"An entry manages DDM state and action on an interface."
INDEX { ifIndex }
::= {dDdmIfCfgTable 1}
DDdmIfCfgEntry ::=
SEQUENCE {
dDdmIfCfgEnabled TruthValue,
dDdmShutdownLevel INTEGER
}
dDdmIfCfgEnabled OBJECT-TYPE
SYNTAX TruthValue
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object indicates the status of optical transceiver-monitoring
function for a SFP port.
When a SFP with transceiver-monitoring capability is plugged in a
port but the transceiver-monitoring function of the port is
disabled, system will not detect the SFP's abnormal status but user
still can check the current status via dDdmIfInfoTable."
::= {dDdmIfCfgEntry 1}
dDdmShutdownLevel OBJECT-TYPE
SYNTAX INTEGER {
none(1),
alarm(2),
warning(3)
}
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object indicates the abnormal level which causes a port
enter into errDisabled state.
A value of 'none' indicates the shutdown action is disabled.
"
::= {dDdmIfCfgEntry 2}
-- --------------------------------------------------------------------------
dDdmThresholdMgmt OBJECT IDENTIFIER ::= { dDdmMIBObjects 3 }
dDdmThresholdCfgTable OBJECT-TYPE
SYNTAX SEQUENCE OF DDdmThresholdCfgEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This table contains a list of interface-specific threshold configuration for
DDM."
::= {dDdmThresholdMgmt 1}
dDdmThresholdCfgEntry OBJECT-TYPE
SYNTAX DDdmThresholdCfgEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"An entry in this table conists of one threshold configuration on an interface.
An entry is created/removed when a configuration is added/deleted.
"
INDEX {
ifIndex,
dDdmThresholdComponent,
dDmThresholdAbnormalLevel
}
::= { dDdmThresholdCfgTable 1 }
DDdmThresholdCfgEntry ::=
SEQUENCE {
dDdmThresholdComponent INTEGER,
dDmThresholdAbnormalLevel INTEGER,
dDdmThresholdCfgValue Integer32,
dDdmThresholdCfgRowStatus RowStatus
}
dDdmThresholdComponent OBJECT-TYPE
SYNTAX INTEGER {
temperature(1),
voltage(2),
biasCurrent(3),
txPowerMw(4),
txPowerDbm(5),
rxPowerMw(6),
rxPowerDbm(7)
}
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This object indicates the monitoring type.
Note:
Either txPowerMw(4) or txPowerDbm(5) can be configured on an interface.
Either rxPowerMw(6) or rxPowerDbm(7) can be configured on an interface.
In the above two cases, the existed entry will be deleted when the
other new entry is created.
"
::= {dDdmThresholdCfgEntry 1}
dDmThresholdAbnormalLevel OBJECT-TYPE
SYNTAX INTEGER {
highAlarm(1),
highWarning(2),
lowWarning(3),
lowAlarm(4)
}
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This object indicates the threshold type."
::= { dDdmThresholdCfgEntry 2 }
dDdmThresholdCfgValue OBJECT-TYPE
SYNTAX Integer32
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"This object indicates the configured threshold. The value is
interpreted within the context of dDdmThresholdComponent and
dDmThresholdAbnormalLevel in the same row. The unit and valid range
are as follows:
Threshold Type Unit Valid Range
============= ===================== =================
Temperature milli-degrees Celsius -128,000 ~ 127,996
voltage centi-Volt 0 ~ 655
biasCurrent milli-amperes 0 ~ 131
txPowerMw tenths of a microwatt 0 ~ 65,535
txPowerDbm ten-thousandths of DBM -400,000 ~ 81,647
rxPowerMw tenths of a microwatt 0 ~ 65,535
rxPowerDbm ten-thousandths of DBM -400,000 ~ 81,647
"
::= { dDdmThresholdCfgEntry 3 }
dDdmThresholdCfgRowStatus OBJECT-TYPE
SYNTAX RowStatus
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"The status of this conceptual row."
::= { dDdmThresholdCfgEntry 4 }
-- --------------------------------------------------------------------------
dDdmInfo OBJECT IDENTIFIER ::= { dDdmMIBObjects 4 }
dDdmIfInfoTable OBJECT-TYPE
SYNTAX SEQUENCE OF DDdmIfInfoEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This table contains a list of information about current operating
parameters of interfaces. Only the applicable interfaces (i.e.SFP
module with DDM capability is plugged-in. ) will appear in this table.
Note:
1. The threshold may be administratively configured or factory
preset value defined by vendors. dDdmThresholdCfgTable provides
the administrative threshold configuration.
2. It doesn't necessarily means the DDM is enabled on the interface
when an entry appears in this table. dDdmIfCfgTable provides such
information."
::= {dDdmInfo 1}
dDdmIfInfoEntry OBJECT-TYPE
SYNTAX DDdmIfInfoEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"An entry appears in this table contains current operating parameters
for transceiver monitoring of a port."
INDEX { ifIndex }
::= { dDdmIfInfoTable 1}
DDdmIfInfoEntry ::=
SEQUENCE {
dDdmIfInfoCurrentTemperature Integer32,
dDdmIfInfoTemperatureState DlinkThresholdState,
dDdmIfInfoHighAlarmTemperature Integer32,
dDdmIfInfoHighWarnTemperature Integer32,
dDdmIfInfoLowWarnTemperature Integer32,
dDdmIfInfoLowAlarmTemperature Integer32,
dDdmIfInfoCurrentVoltage Integer32,
dDdmIfInfoVoltageState DlinkThresholdState,
dDdmIfInfoHighAlarmVoltage Integer32,
dDdmIfInfoHighWarnVoltage Integer32,
dDdmIfInfoLowWarnVoltage Integer32,
dDdmIfInfoLowAlarmVoltage Integer32,
dDdmIfInfoCurrentBiasCurrent Integer32,
dDdmIfInfoBiasCurrentState DlinkThresholdState,
dDdmIfInfoHighAlarmBiasCurrent Integer32,
dDdmIfInfoHighWarnBiasCurrent Integer32,
dDdmIfInfoLowWarnBiasCurrent Integer32,
dDdmIfInfoLowAlarmBiasCurrent Integer32,
dDdmIfInfoCurrentTxPower Integer32,
dDdmIfInfoTxPowerState DlinkThresholdState,
dDdmIfInfoHighAlarmTxPower Integer32,
dDdmIfInfoHighWarnTxPower Integer32,
dDdmIfInfoLowWarnTxPower Integer32,
dDdmIfInfoLowAlarmTxPower Integer32,
dDdmIfInfoCurrentRxPower Integer32,
dDdmIfInfoRxPowerState DlinkThresholdState,
dDdmIfInfoHighAlarmRxPower Integer32,
dDdmIfInfoHighWarnRxPower Integer32,
dDdmIfInfoLowWarnRxPower Integer32,
dDdmIfInfoLowAlarmRxPower Integer32
}
dDdmIfInfoCurrentTemperature OBJECT-TYPE
SYNTAX Integer32
UNITS "milli-degrees Celsius"
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"This object indicates the current temperature in unit of
'milli-degrees Celsius' on the interface."
::= { dDdmIfInfoEntry 1 }
dDdmIfInfoTemperatureState OBJECT-TYPE
SYNTAX DlinkThresholdState
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"This object indicates the state of current temperature."
::= { dDdmIfInfoEntry 2 }
dDdmIfInfoHighAlarmTemperature OBJECT-TYPE
SYNTAX Integer32
UNITS "milli-degrees Celsius"
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"This object indicates the high alarm threshold, when the operating
temperature rises above this value, it indicates an alarm status.
The value is in unit of 'milli-degrees Celsius'."
::= { dDdmIfInfoEntry 3 }
dDdmIfInfoHighWarnTemperature OBJECT-TYPE
SYNTAX Integer32
UNITS "milli-degrees Celsius"
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"This object indicates the high warning threshold, when the operating
temperature rises above this value, it indicates a warning status.
The value is in unit of 'milli-degrees Celsius'."
::= { dDdmIfInfoEntry 4 }
dDdmIfInfoLowWarnTemperature OBJECT-TYPE
SYNTAX Integer32
UNITS "milli-degrees Celsius"
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"This object indicates the low warning threshold, when the operating
temperature falls below this value, it indicates a warning status.
The value is in unit of 'milli-degrees Celsius'."
::= { dDdmIfInfoEntry 5 }
dDdmIfInfoLowAlarmTemperature OBJECT-TYPE
SYNTAX Integer32
UNITS "milli-degrees Celsius"
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"This object indicates the low alarm threshold, when the operating
temperature falls below this value, it indicates an alarm status.
The value is in unit of 'milli-degrees Celsius'."
::= { dDdmIfInfoEntry 6 }
dDdmIfInfoCurrentVoltage OBJECT-TYPE
SYNTAX Integer32
UNITS "centi-Volt"
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"This object indicates the current voltage in unit of
'centi-Volt' on the interface."
::= { dDdmIfInfoEntry 7 }
dDdmIfInfoVoltageState OBJECT-TYPE
SYNTAX DlinkThresholdState
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"This object indicates the state of current voltage."
::= { dDdmIfInfoEntry 8 }
dDdmIfInfoHighAlarmVoltage OBJECT-TYPE
SYNTAX Integer32
UNITS "centi-Volt"
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"This object indicates the high alarm threshold, when the operating
voltage rises above this value, it indicates an alarm status.
The value is in unit of 'centi-Volt'."
::= { dDdmIfInfoEntry 9 }
dDdmIfInfoHighWarnVoltage OBJECT-TYPE
SYNTAX Integer32
UNITS "centi-Volt"
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"This object indicates the high warning threshold, when the operating
voltage rises above this value, it indicates a warning status.
The value is in unit of 'centi-Volt'."
::= { dDdmIfInfoEntry 10 }
dDdmIfInfoLowWarnVoltage OBJECT-TYPE
SYNTAX Integer32
UNITS "centi-Volt"
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"This object indicates the low warning threshold, when the operating
voltage falls below this value, it indicates a warning status.
The value is in unit of 'centi-Volt'."
::= { dDdmIfInfoEntry 11 }
dDdmIfInfoLowAlarmVoltage OBJECT-TYPE
SYNTAX Integer32
UNITS "centi-Volt"
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"This object indicates the low alarm threshold, when the operating
voltage falls below this value, it indicates an alarm status.
The value is in unit of 'centi-Volt'."
::= { dDdmIfInfoEntry 12 }
dDdmIfInfoCurrentBiasCurrent OBJECT-TYPE
SYNTAX Integer32
UNITS "milli-amperes"
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"This object indicates the current bias current in unit of
'milli-amperes' on the interface."
::= { dDdmIfInfoEntry 13 }
dDdmIfInfoBiasCurrentState OBJECT-TYPE
SYNTAX DlinkThresholdState
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"This object indicates the state of current BiasCurrent."
::= { dDdmIfInfoEntry 14 }
dDdmIfInfoHighAlarmBiasCurrent OBJECT-TYPE
SYNTAX Integer32
UNITS "milli-amperes"
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"This object indicates the high alarm threshold, when the operating
bias current rises above this value, it indicates an alarm status.
The value is in unit of 'milli-amperes'."
::= { dDdmIfInfoEntry 15 }
dDdmIfInfoHighWarnBiasCurrent OBJECT-TYPE
SYNTAX Integer32
UNITS "milli-amperes"
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"This object indicates the high warning threshold, when the operating
bias current rises above this value, it indicates a warning status.
The value is in unit of 'milli-amperes'."
::= { dDdmIfInfoEntry 16 }
dDdmIfInfoLowWarnBiasCurrent OBJECT-TYPE
SYNTAX Integer32
UNITS "milli-amperes"
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"This object indicates the low warning threshold, when the operating
bias current falls below this value, it indicates a warning status.
The value is in unit of 'milli-amperes'."
::= { dDdmIfInfoEntry 17 }
dDdmIfInfoLowAlarmBiasCurrent OBJECT-TYPE
SYNTAX Integer32
UNITS "milli-amperes"
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"This object indicates the low alarm threshold, when the operating
bias current falls below this value, it indicates an alarm status.
The value is in unit of 'milli-amperes'."
::= { dDdmIfInfoEntry 18 }
dDdmIfInfoCurrentTxPower OBJECT-TYPE
SYNTAX Integer32
UNITS "tenths of a microwatt"
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"This object indicates the current output power in unit of
'tenths of a microwatt' on the interface."
::= { dDdmIfInfoEntry 19 }
dDdmIfInfoTxPowerState OBJECT-TYPE
SYNTAX DlinkThresholdState
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"This object indicates the state of current output power."
::= { dDdmIfInfoEntry 20 }
dDdmIfInfoHighAlarmTxPower OBJECT-TYPE
SYNTAX Integer32
UNITS "tenths of a microwatt"
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"This object indicates the high alarm threshold, when the operating
output power rises above this value, it indicates an alarm status.
The value is in unit of 'tenths of a microwatt'."
::= { dDdmIfInfoEntry 21 }
dDdmIfInfoHighWarnTxPower OBJECT-TYPE
SYNTAX Integer32
UNITS "tenths of a microwatt"
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"This object indicates the high warning threshold, when the operating
output power rises above this value, it indicates a warning status.
The value is in unit of 'tenths of a microwatt'."
::= { dDdmIfInfoEntry 22 }
dDdmIfInfoLowWarnTxPower OBJECT-TYPE
SYNTAX Integer32
UNITS "tenths of a microwatt"
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"This object indicates the low warning threshold, when the operating
output power falls below this value, it indicates a warning status.
The value is in unit of 'tenths of a microwatt'."
::= { dDdmIfInfoEntry 23 }
dDdmIfInfoLowAlarmTxPower OBJECT-TYPE
SYNTAX Integer32
UNITS "tenths of a microwatt"
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"This object indicates the low alarm threshold, when the operating
output power falls below this value, it indicates an alarm status.
The value is in unit of 'tenths of a microwatt'."
::= { dDdmIfInfoEntry 24 }
dDdmIfInfoCurrentRxPower OBJECT-TYPE
SYNTAX Integer32
UNITS "tenths of a microwatt"
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"This object indicates the current input power in unit of
'tenths of a microwatt' on the interface."
::= { dDdmIfInfoEntry 25 }
dDdmIfInfoRxPowerState OBJECT-TYPE
SYNTAX DlinkThresholdState
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"This object indicates the state of current input power."
::= { dDdmIfInfoEntry 26 }
dDdmIfInfoHighAlarmRxPower OBJECT-TYPE
SYNTAX Integer32
UNITS "tenths of a microwatt"
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"This object indicates the high alarm threshold, when the operating
input power rises above this value, it indicates an alarm status.
The value is in unit of 'tenths of a microwatt'."
::= { dDdmIfInfoEntry 27 }
dDdmIfInfoHighWarnRxPower OBJECT-TYPE
SYNTAX Integer32
UNITS "tenths of a microwatt"
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"This object indicates the high warning threshold, when the operating
input power rises above this value, it indicates a warning status.
The value is in unit of 'tenths of a microwatt'."
::= { dDdmIfInfoEntry 28 }
dDdmIfInfoLowWarnRxPower OBJECT-TYPE
SYNTAX Integer32
UNITS "tenths of a microwatt"
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"This object indicates the low warning threshold, when the operating
input power falls below this value, it indicates a warning status.
The value is in unit of 'tenths of a microwatt'."
::= { dDdmIfInfoEntry 29 }
dDdmIfInfoLowAlarmRxPower OBJECT-TYPE
SYNTAX Integer32
UNITS "tenths of a microwatt"
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"This object indicates the low alarm threshold, when the operating
input power falls below this value, it indicates an alarm status.
The value is in unit of 'tenths of a microwatt'."
::= { dDdmIfInfoEntry 30 }
-- --------------------------------------------------------------------------
dDdmNotifyInfo OBJECT IDENTIFIER ::= { dDdmMIBObjects 5 }
dDdmNotifyInfoIfIndex OBJECT-TYPE
SYNTAX InterfaceIndex
MAX-ACCESS accessible-for-notify
STATUS current
DESCRIPTION
"This object is used by dDdmAlarmTrap and dDdmWarningTrap to indicate
the ifIndex on which the monitoring value rises above or falls below
the corresponding threshold."
::= { dDdmNotifyInfo 1 }
dDdmNotifyInfoComponent OBJECT-TYPE
SYNTAX INTEGER{
temperature(1),
voltage(2),
biasCurrent(3),
txPowerMw(4),
rxPowerMw(5)
}
MAX-ACCESS accessible-for-notify
STATUS current
DESCRIPTION
"This object is used by dDdmAlarmTrap and dDdmWarningTrap to indicate
the abnormal component."
::= { dDdmNotifyInfo 2 }
dDdmNotifyInfoAbnormalLevel OBJECT-TYPE
SYNTAX INTEGER{
high(1),
low(2)
}
MAX-ACCESS accessible-for-notify
STATUS current
DESCRIPTION
"This object is used by dDdmAlarmTrap and dDdmWarningTrap to indicate
the abnormal level."
::= { dDdmNotifyInfo 3 }
dDdmNotifyInfoThresholdExceedOrRecover OBJECT-TYPE
SYNTAX INTEGER{
exceed(1),
recover(2)
}
MAX-ACCESS accessible-for-notify
STATUS current
DESCRIPTION
"This object is used by dDdmAlarmTrap and dDdmWarningTrap to indicate the
GBIC is exceeding its threshold or recover to
normal status."
::= {dDdmNotifyInfo 4}
-- --------------------------------------------------------------------------
dDdmAlarmTrap NOTIFICATION-TYPE
OBJECTS {
dDdmNotifyInfoIfIndex,
dDdmNotifyInfoComponent,
dDdmNotifyInfoAbnormalLevel,
dDdmNotifyInfoThresholdExceedOrRecover
}
STATUS current
DESCRIPTION
"The trap is sent when dDdmNotifyEnable is 'true' and an abnormal
alarm situation occurs or recovers from an abnormal alarm situation
to normal status."
::= { dDdmMIBNotifications 1 }
dDdmWarningTrap NOTIFICATION-TYPE
OBJECTS {
dDdmNotifyInfoIfIndex,
dDdmNotifyInfoComponent,
dDdmNotifyInfoAbnormalLevel,
dDdmNotifyInfoThresholdExceedOrRecover
}
STATUS current
DESCRIPTION
"The trap is sent when dDdmNotifyEnable is 'true' and an abnormal
warning situation occurs or recovers from an abnormal warning
situation to normal status."
::= { dDdmMIBNotifications 2 }
-- ***************************************************************************
-- Conformance
-- ***************************************************************************
dDdmCompliances OBJECT IDENTIFIER ::= { dDdmMIBConformance 1 }
dDdmCompliance MODULE-COMPLIANCE
STATUS current
DESCRIPTION
"The compliance statement for entities which implement the
DLINKSW-DDM-MIB."
MODULE -- this module
MANDATORY-GROUPS {
dDdmInfoGroup,
dDdmCfgGroup,
dDdmNotifyGroup
}
::= { dDdmCompliances 1 }
dDdmGroups OBJECT IDENTIFIER ::= { dDdmMIBConformance 2 }
dDdmInfoGroup OBJECT-GROUP
OBJECTS {
dDdmIfInfoCurrentTemperature, dDdmIfInfoTemperatureState,
dDdmIfInfoHighAlarmTemperature, dDdmIfInfoHighWarnTemperature,
dDdmIfInfoLowWarnTemperature, dDdmIfInfoLowAlarmTemperature,
dDdmIfInfoCurrentVoltage, dDdmIfInfoVoltageState,
dDdmIfInfoHighAlarmVoltage, dDdmIfInfoHighWarnVoltage,
dDdmIfInfoLowWarnVoltage, dDdmIfInfoLowAlarmVoltage,
dDdmIfInfoCurrentBiasCurrent, dDdmIfInfoBiasCurrentState,
dDdmIfInfoHighAlarmBiasCurrent, dDdmIfInfoHighWarnBiasCurrent,
dDdmIfInfoLowWarnBiasCurrent, dDdmIfInfoLowAlarmBiasCurrent,
dDdmIfInfoCurrentTxPower, dDdmIfInfoTxPowerState,
dDdmIfInfoHighAlarmTxPower, dDdmIfInfoHighWarnTxPower,
dDdmIfInfoLowWarnTxPower, dDdmIfInfoLowAlarmTxPower,
dDdmIfInfoCurrentRxPower, dDdmIfInfoRxPowerState,
dDdmIfInfoHighAlarmRxPower, dDdmIfInfoHighWarnRxPower,
dDdmIfInfoLowWarnRxPower, dDdmIfInfoLowAlarmRxPower,
dDdmNotifyInfoIfIndex, dDdmNotifyInfoComponent,
dDdmNotifyInfoAbnormalLevel,
dDdmNotifyInfoThresholdExceedOrRecover
}
STATUS current
DESCRIPTION
"A collection of objects provides DDM operating information."
::= { dDdmGroups 1 }
dDdmCfgGroup OBJECT-GROUP
OBJECTS {
dDdmNotifyEnable,
dDdmIfCfgEnabled, dDdmShutdownLevel,
dDdmThresholdCfgValue, dDdmThresholdCfgRowStatus
}
STATUS current
DESCRIPTION
"A collection of objects provides DDM configuration."
::= { dDdmGroups 2 }
dDdmNotifyGroup NOTIFICATION-GROUP
NOTIFICATIONS {
dDdmAlarmTrap,
dDdmWarningTrap
}
STATUS current
DESCRIPTION
"The collection of notifications used for DDM."
::= { dDdmGroups 3 }
END

View File

@ -0,0 +1,148 @@
-- *****************************************************************
-- DLINKSW-DDP-CLIENT-MIB.mib : DLINK discovery protocol MIB
--
-- Copyright (c) 2013 D-Link Corporation, all rights reserved.
--
-- *****************************************************************
DLINKSW-DDP-CLIENT-MIB DEFINITIONS ::= BEGIN
IMPORTS
MODULE-IDENTITY,
OBJECT-TYPE,
NOTIFICATION-TYPE,
Unsigned32
FROM SNMPv2-SMI
TruthValue
FROM SNMPv2-TC
ifIndex
FROM IF-MIB
dlinkIndustrialCommon
FROM DLINK-ID-REC-MIB;
dlinkSwDdpClientMIB MODULE-IDENTITY
LAST-UPDATED "201308050000Z"
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 module defines objects for D-Link Discovery Protocol client."
REVISION "201308050000Z"
DESCRIPTION
" This is the first version of the MIB file.
"
::= { dlinkIndustrialCommon 161 }
-- -----------------------------------------------------------------------------
dDdpClientNotifications OBJECT IDENTIFIER ::= { dlinkSwDdpClientMIB 0 }
dDdpClientObjects OBJECT IDENTIFIER ::= { dlinkSwDdpClientMIB 1 }
dDdpClientConformance OBJECT IDENTIFIER ::= { dlinkSwDdpClientMIB 2 }
-- -----------------------------------------------------------------------------
-- Notifications
-- -----------------------------------------------------------------------------
-- -----------------------------------------------------------------------------
-- Objects
-- -----------------------------------------------------------------------------
dDdpClientCtrl OBJECT IDENTIFIER ::= { dDdpClientObjects 1 }
dDdpClientGlobalState OBJECT-TYPE
SYNTAX TruthValue
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object represents the DDP client's global state
true - Indicates the DDP client is enabled
false - Indicates the DDP client is disabled"
DEFVAL { true }
::= { dDdpClientCtrl 1 }
dDdpClientReportTimer OBJECT-TYPE
SYNTAX Unsigned32 (0|30|60|90|120)
UNITS "second"
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object specifies the interval at which DDP report messages are sent
by the device.
Setting the object to 0 prohibits the device from sending DDP report message."
DEFVAL { 30 }
::= { dDdpClientCtrl 2 }
dDdpClientTable OBJECT-TYPE
SYNTAX SEQUENCE OF DDdpClientEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"The table contains a list of port-specific information for DDP client."
::= { dDdpClientCtrl 3}
dDdpClientEntry OBJECT-TYPE
SYNTAX DDdpClientEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"Each entry represents the DDP Client state on a port."
INDEX { ifIndex }
::= { dDdpClientTable 1 }
DDdpClientEntry ::= SEQUENCE {
dDdpClientPortState TruthValue
}
dDdpClientPortState OBJECT-TYPE
SYNTAX TruthValue
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object represents the DDP Client state on a port
true - Indicates DDP client is enabled on the port
false - Indicates DDP client is disabled on the port
"
DEFVAL { true }
::= { dDdpClientEntry 1 }
-- -----------------------------------------------------------------------------
-- Conformance
-- -----------------------------------------------------------------------------
dDdpClientCompliances OBJECT IDENTIFIER ::= { dDdpClientConformance 1 }
dDdpClientGroups OBJECT IDENTIFIER ::= { dDdpClientConformance 2 }
-- compliance statements
dDdpClientCompliance MODULE-COMPLIANCE
STATUS current
DESCRIPTION
"The compliance statement for entities which implement the
DLINKSW-DDP-CLIENT-MIB."
MODULE -- this module
MANDATORY-GROUPS
{
dDdpClientControlGroup
}
GROUP dDdpClientControlGroup
DESCRIPTION
"This group is mandatory for those devices support DLINK discovery protocol."
::= { dDdpClientCompliances 1 }
-- units of conformance
dDdpClientControlGroup OBJECT-GROUP
OBJECTS {
dDdpClientGlobalState,
dDdpClientPortState
}
STATUS current
DESCRIPTION
"A collection of objects providing accessing to global status and report time or the status of a port."
::= { dDdpClientGroups 1 }
END

View File

@ -0,0 +1,450 @@
-- *****************************************************************
-- DLINKSW-DHCP-FILTER-MIB.mib : DHCP Filter MIB
--
-- Copyright (c) 2013 D-Link Corporation, all rights reserved.
--
-- *****************************************************************
DLINKSW-DHCP-FILTER-MIB DEFINITIONS ::= BEGIN
IMPORTS
MODULE-COMPLIANCE,
OBJECT-GROUP
FROM SNMPv2-CONF
MODULE-IDENTITY,
OBJECT-TYPE,
IpAddress,
Unsigned32
FROM SNMPv2-SMI
DisplayString,
MacAddress,
DateAndTime,
TruthValue,
RowStatus
FROM SNMPv2-TC
ifIndex
FROM IF-MIB
VlanId
FROM Q-BRIDGE-MIB
dlinkIndustrialCommon
FROM DLINK-ID-REC-MIB;
dlinkSwDhcpFilterMIB MODULE-IDENTITY
LAST-UPDATED "201307190000Z"
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 module defines objects for filtering DHCP packet to
implement the feature of DHCP Server Screening."
REVISION "201307190000Z"
DESCRIPTION
"This is the first version of the MIB file."
::= { dlinkIndustrialCommon 133 }
-- -----------------------------------------------------------------------------
dDhcpFilterMIBNotifications OBJECT IDENTIFIER ::= { dlinkSwDhcpFilterMIB 0 }
dDhcpFilterMIBObjects OBJECT IDENTIFIER ::= { dlinkSwDhcpFilterMIB 1 }
dDhcpFilterMIBConformance OBJECT IDENTIFIER ::= { dlinkSwDhcpFilterMIB 2 }
-- -----------------------------------------------------------------------------
dDhcpFilterGlobalObjects OBJECT IDENTIFIER ::= { dDhcpFilterMIBObjects 1 }
dDhcpFilterLogBufferSize OBJECT-TYPE
SYNTAX Unsigned32 (0..1024)
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object indicates the log buffer size for storing the
illegal server information.
The special value of 0 indicates logging buffer is disabled."
DEFVAL { 32 }
::= { dDhcpFilterGlobalObjects 1 }
dDhcpFilterClearLogBuffer OBJECT-TYPE
SYNTAX INTEGER {
clear(1),
noOp(2)
}
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object triggers clearing the log buffer of DHCP Server Screen
information when set to 'clear'.
No action is taken if this object is set to 'noOp'.
When read, the value 'noOp' is returned."
::= { dDhcpFilterGlobalObjects 2 }
dDhcpFilterGlobalNotifsEnabled OBJECT-TYPE
SYNTAX TruthValue
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"Set to 'true' to enable global SNMP notification
for DHCP Server Screen feature. Setting the object to
'false' will disable SNMP notifications."
DEFVAL { false }
::= { dDhcpFilterGlobalObjects 3}
-- -----------------------------------------------------------------------------
dDhcpFilterProfileObjects OBJECT IDENTIFIER ::= { dDhcpFilterMIBObjects 2 }
dDhcpFilterProfileTable OBJECT-TYPE
SYNTAX SEQUENCE OF DDhcpFilterProfileEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"A table provides the configuration of DHCP Server Screen profile."
::= { dDhcpFilterProfileObjects 1 }
dDhcpFilterProfileEntry OBJECT-TYPE
SYNTAX DDhcpFilterProfileEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"A row instance contains the configuration of DHCP Server Screen profile."
INDEX { dDhcpFilterProfileName}
::= { dDhcpFilterProfileTable 1 }
DDhcpFilterProfileEntry ::= SEQUENCE {
dDhcpFilterProfileName DisplayString,
dDhcpFilterProfileStatus RowStatus
}
dDhcpFilterProfileName OBJECT-TYPE
SYNTAX DisplayString (SIZE (1..32))
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This object indicates the profile name of the corresponding entry."
::= { dDhcpFilterProfileEntry 1 }
dDhcpFilterProfileStatus OBJECT-TYPE
SYNTAX RowStatus
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"This object is used to manage the creation and deletion
of rows in this table.
"
::= { dDhcpFilterProfileEntry 99 }
-- -----------------------------------------------------------------------------
dDhcpFilterProfileClientTable OBJECT-TYPE
SYNTAX SEQUENCE OF DDhcpFilterProfileClientEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"A table provides a list of client MAC addresses for profiles."
::= { dDhcpFilterProfileObjects 2 }
dDhcpFilterProfileClientEntry OBJECT-TYPE
SYNTAX DDhcpFilterProfileClientEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"An entry contains a client MAC address on a profile. The first
index element value identifies the profile (dDhcpFilterProfileEntry)
that a client MAC address (dDhcpFilterProfileClientEntry) belongs
to. An entry is removed from this table when its corresponding
dDhcpFilterProfileEntry is deleted."
INDEX {
dDhcpFilterProfileName,
dDhcpFilterClientMacAddress
}
::= { dDhcpFilterProfileClientTable 1 }
DDhcpFilterProfileClientEntry ::= SEQUENCE {
dDhcpFilterClientMacAddress MacAddress,
dDhcpFilterClientRowStatus RowStatus
}
dDhcpFilterClientMacAddress OBJECT-TYPE
SYNTAX MacAddress
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"This object indicates the MAC address of a DHCP Client."
::= { dDhcpFilterProfileClientEntry 1 }
dDhcpFilterClientRowStatus OBJECT-TYPE
SYNTAX RowStatus
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"This object is used to manage the creation and deletion
of rows in this table.
"
::= { dDhcpFilterProfileClientEntry 99 }
-- -----------------------------------------------------------------------------
dDhcpFilterIfObjects OBJECT IDENTIFIER ::= { dDhcpFilterMIBObjects 3 }
-- -----------------------------------------------------------------------------
dDhcpFilterIfStateTable OBJECT-TYPE
SYNTAX SEQUENCE OF DDhcpFilterIfStateEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"A table provides the mechanism to control the state of DHCP Server Screen
per interface."
::= { dDhcpFilterIfObjects 1 }
dDhcpFilterIfStateEntry OBJECT-TYPE
SYNTAX DDhcpFilterIfStateEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"An entry contains the configuration to enable or disable DHCP Server
Screen on an interface."
INDEX { ifIndex }
::= { dDhcpFilterIfStateTable 1 }
DDhcpFilterIfStateEntry ::= SEQUENCE {
dDhcpFilterIfStateEnabled TruthValue
}
dDhcpFilterIfStateEnabled OBJECT-TYPE
SYNTAX TruthValue
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object indicates whether the DHCP Server Screen is enabled on
the interface."
::= { dDhcpFilterIfStateEntry 1 }
-- -----------------------------------------------------------------------------
dDhcpFilterIfTrustServerTable OBJECT-TYPE
SYNTAX SEQUENCE OF DDhcpFilterIfTrustServerEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"A table provides the mechanism to configure trusted DHCP servers
on a per interface basis."
::= { dDhcpFilterIfObjects 2 }
dDhcpFilterIfTrustServerEntry OBJECT-TYPE
SYNTAX DDhcpFilterIfTrustServerEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"An entry contains the configuration to specify trusted DHCP server
on an interface.
"
INDEX {
ifIndex,
dDhcpFilterTrustServerIpAddress
}
::= { dDhcpFilterIfTrustServerTable 1 }
DDhcpFilterIfTrustServerEntry ::= SEQUENCE {
dDhcpFilterTrustServerIpAddress IpAddress,
dDhcpFilterTrustProfileName DisplayString,
dDhcpFilterTrustRowStatus RowStatus
}
dDhcpFilterTrustServerIpAddress OBJECT-TYPE
SYNTAX IpAddress
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"This object indicates the DHCP Server IP address of the entry."
::= { dDhcpFilterIfTrustServerEntry 1 }
dDhcpFilterTrustProfileName OBJECT-TYPE
SYNTAX DisplayString (SIZE (0..32))
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"This object indicates the profile which contains a list of client
MAC addresses.
A zero length string indicates the profile is not specified, and
the server message with the specified server IP address is forwarded.
"
::= { dDhcpFilterIfTrustServerEntry 2 }
dDhcpFilterTrustRowStatus OBJECT-TYPE
SYNTAX RowStatus
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"This object is used to manage the creation and deletion
of rows in this table."
::= { dDhcpFilterIfTrustServerEntry 99 }
-- -----------------------------------------------------------------------------
dDhcpFilterLogBufferObjects OBJECT IDENTIFIER ::= { dDhcpFilterMIBObjects 4 }
dDhcpFilterLogBufferTable OBJECT-TYPE
SYNTAX SEQUENCE OF DDhcpFilterLogBufferEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"A table provides the log for illegal DHCP Servers."
::= { dDhcpFilterLogBufferObjects 1 }
dDhcpFilterLogBufferEntry OBJECT-TYPE
SYNTAX DDhcpFilterLogBufferEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"A row instance contains the information of an illegal DHCP Server."
INDEX {
dDhcpFilterLogBufferIndex
}
::= { dDhcpFilterLogBufferTable 1 }
DDhcpFilterLogBufferEntry ::= SEQUENCE {
dDhcpFilterLogBufferIndex Unsigned32,
dDhcpFilterLogBufServerIpAddr IpAddress,
dDhcpFilterLogBufClientMacAddr MacAddress,
dDhcpFilterLogBufferVlanId VlanId,
dDhcpFilterLogBufferOccurrence Unsigned32,
dDhcpFilterLogBufferOccurTime DateAndTime
}
dDhcpFilterLogBufferIndex OBJECT-TYPE
SYNTAX Unsigned32 (1..1024)
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This object uniquely identifies an item of the logged illegal
DHCP Server information in the buffer."
::= { dDhcpFilterLogBufferEntry 1 }
dDhcpFilterLogBufServerIpAddr OBJECT-TYPE
SYNTAX IpAddress
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"This object indicates the DHCP Server Internet address"
::= { dDhcpFilterLogBufferEntry 2 }
dDhcpFilterLogBufClientMacAddr OBJECT-TYPE
SYNTAX MacAddress
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"This object indicates the DHCP Client MAC address."
::= { dDhcpFilterLogBufferEntry 3 }
dDhcpFilterLogBufferVlanId OBJECT-TYPE
SYNTAX VlanId
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"This object indicates the VLAN number which the logged
server belongs to."
::= { dDhcpFilterLogBufferEntry 4 }
dDhcpFilterLogBufferOccurrence OBJECT-TYPE
SYNTAX Unsigned32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"This object counts the number of received DHCP packet originated
from the illegal DHCP Server."
::= { dDhcpFilterLogBufferEntry 5 }
dDhcpFilterLogBufferOccurTime OBJECT-TYPE
SYNTAX DateAndTime
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"This object indicates the timestamp when the illegal DHCP
Server packet arriving."
::= { dDhcpFilterLogBufferEntry 6 }
-- ***************************************************************************
-- Notifications
-- ***************************************************************************
dDhcpFilterAttackDetected NOTIFICATION-TYPE
OBJECTS {
dDhcpFilterLogBufServerIpAddr,
dDhcpFilterLogBufClientMacAddr,
dDhcpFilterLogBufferVlanId,
dDhcpFilterLogBufferOccurTime
}
STATUS current
DESCRIPTION
"This trap is sent when dDhcpFilterGlobalNotifsEnabled is 'true' and
the DHCP Server Sceen occurs to detect the dropped attack packets."
::= { dDhcpFilterMIBNotifications 1 }
-- ***************************************************************************
-- Conformance
-- ***************************************************************************
dDhcpFilterCompliances OBJECT IDENTIFIER ::= { dDhcpFilterMIBConformance 1 }
dDhcpFilterGroups OBJECT IDENTIFIER ::= { dDhcpFilterMIBConformance 2 }
dDhcpFilterCompliance MODULE-COMPLIANCE
STATUS current
DESCRIPTION
"The compliance statement for entities which implement the
DLINKSW-DHCP-FILTER-MIB."
MODULE -- this module
MANDATORY-GROUPS {
dDhcpFilterTrustSrvCfgGroup,
dDhcpFilterIfStateGroup
}
GROUP dDhcpFilterLogGroup
DESCRIPTION
"This group is mandatory only for the platform which supports
logging illegal DHCP server for DHCP Server Screen feature."
::= { dDhcpFilterCompliances 1 }
dDhcpFilterTrustSrvCfgGroup OBJECT-GROUP
OBJECTS {
dDhcpFilterProfileStatus,
dDhcpFilterClientMacAddress,
dDhcpFilterClientRowStatus,
dDhcpFilterTrustServerIpAddress,
dDhcpFilterTrustProfileName,
dDhcpFilterTrustRowStatus
}
STATUS current
DESCRIPTION
"A collection of objects which are used to configure as
well as show information regarding the trust DHCP Server Screen."
::= { dDhcpFilterGroups 1 }
dDhcpFilterIfStateGroup OBJECT-GROUP
OBJECTS {
dDhcpFilterIfStateEnabled
}
STATUS current
DESCRIPTION
"A collection of objects which are used to configure as
well as show information regarding the state of DHCP Server Screen
on the interface."
::= { dDhcpFilterGroups 2 }
dDhcpFilterLogGroup OBJECT-GROUP
OBJECTS {
dDhcpFilterLogBufferSize,
dDhcpFilterClearLogBuffer,
dDhcpFilterLogBufServerIpAddr,
dDhcpFilterLogBufClientMacAddr,
dDhcpFilterLogBufferVlanId,
dDhcpFilterLogBufferOccurrence,
dDhcpFilterLogBufferOccurTime
}
STATUS current
DESCRIPTION
"A collection of objects which are used to configure as
well as show information regarding the DHCP Server Screen logging feature."
::= { dDhcpFilterGroups 3 }
END

View File

@ -0,0 +1,912 @@
-- *****************************************************************
-- DLINKSW-DHCP-RELAY-MIB.mib : DHCP Relay MIB
--
-- Copyright (c) 2012 D-Link Corporation, all rights reserved.
--
-- *****************************************************************
DLINKSW-DHCP-RELAY-MIB DEFINITIONS ::= BEGIN
IMPORTS
MODULE-IDENTITY,
OBJECT-TYPE,
IpAddress
FROM SNMPv2-SMI
MODULE-COMPLIANCE,
OBJECT-GROUP
FROM SNMPv2-CONF
DisplayString,
TruthValue,
RowStatus
FROM SNMPv2-TC
InterfaceIndex
FROM IF-MIB
dlinkIndustrialCommon
FROM DLINK-ID-REC-MIB
Dlink2kVlanList
FROM DLINKSW-TC-MIB;
dlinkSwDhcpRelayMIB MODULE-IDENTITY
LAST-UPDATED "201309260000Z"
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 module defines objects for BOOTP/DHCP relay."
REVISION "201307190000Z"
DESCRIPTION
"This is the first version of the MIB file for 'BOOTP/DHCP Relay'
functionality."
REVISION "201309090000Z"
DESCRIPTION
"1.Update dDhcpROption82RemoteIdUserDef and dDhcpROption82CircuitIdUserDef value length(Note:follow UIS).
2.Remove dDhcpRIfIgnoreBootpRowStatus and add dDhcpRIfIgnoreBootpEnabled(Note:follow IP interface).
3.Remove dDhcpRIfAgentInfoChkRowStatus and modify dDhcpRIfAgentInfoChkState SYNTAX(Note:follow IP interface).
4.Remove dDhcpRIfAgentInfoInsertRowStatus and modify dDhcpRIfAgentInfoInsertState SYNTAX(Note:follow IP interface).
5.Remove dDhcpRIfAgentInfoPolicyRowStatus(Note:follow IP interface).
6.Remove dDhcpRIfAgentInfoTrustRowStatus and add dDhcpRIfAgentInfoTrustEnabled(Note:follow IP interface)."
REVISION "201309260000Z"
DESCRIPTION
"1.Modify dDhcpROption82RemoteIdUserDef and dDhcpROption82CircuitIdUserDef value length for IWL test.
2.Update dDhcpRVlanLocalRelayCrlSecond2K description "
::= { dlinkIndustrialCommon 23 }
-- -----------------------------------------------------------------------------
dDhcpRelayMIBNotifications OBJECT IDENTIFIER ::= { dlinkSwDhcpRelayMIB 0 }
dDhcpRelayMIBObjects OBJECT IDENTIFIER ::= { dlinkSwDhcpRelayMIB 1 }
dDhcpRelayMIBConformance OBJECT IDENTIFIER ::= { dlinkSwDhcpRelayMIB 2 }
-- -----------------------------------------------------------------------------
dDhcpRelayGeneral OBJECT IDENTIFIER ::= { dDhcpRelayMIBObjects 1 }
dDhcpRelayAgentInfoCheckEnabled OBJECT-TYPE
SYNTAX TruthValue
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object indicates whether the DHCP relay agent validates the
relay agent information option in the received DHCP reply packet."
DEFVAL { false }
::= { dDhcpRelayGeneral 1 }
dDhcpRelayAgentInfoInsertEnabled OBJECT-TYPE
SYNTAX TruthValue
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object indicates whether the DHCP relay agent inserts relay
agent information option (option 82)."
DEFVAL { false }
::= { dDhcpRelayGeneral 2 }
dDhcpRelayAgentInfoPolicy OBJECT-TYPE
SYNTAX INTEGER { drop(1), keep(2), replace(3)}
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object indicates the re-forwarding policy of DHCP relay agent
information option 82.
drop (1) - discards the packet that already has the relay
option.
keep (2) - the DHCP requests packet that already has the relay
option is left unchanged and directly relayed to the
DHCP server.
replace (3) - the DHCP requests packet that already has the relay
option will be replaced by a new option."
DEFVAL { keep }
::= { dDhcpRelayGeneral 3 }
dDhcpRelayInfoTrustAll OBJECT-TYPE
SYNTAX TruthValue
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object indicates whether the DHCP relay agent trusts the DHCP
relay information for all interfaces."
DEFVAL { false }
::= { dDhcpRelayGeneral 4 }
dDhcpRelaySmartRelay OBJECT-TYPE
SYNTAX TruthValue
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object indicates the status of smart relay function.
By default, the relay agent sets the gateway address field of the
packet to the primary address of the interface. When the received
interface of the packet has secondary addresses and smart relay is
enabled, relay agent will count the number that a client retries
sending of the DISCOVER message. The relay agent will switch the
gateway address to secondary address of the received interface
after three retries. "
DEFVAL { false }
::= { dDhcpRelayGeneral 5 }
dDhcpROption82RemoteIdType OBJECT-TYPE
SYNTAX INTEGER {
default(1),
userDefined(2),
vendor2(4),
vendor3(5)
}
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object indicates the type of remote ID sub-option.
default(1) - MAC address of VLAN 1.
userDefined(2) - The value of dDhcpROption82RemoteID is used.
vendor2(4) - System Name.
vendor3(5) - The value of dDhcpRPortIfOp82RemIdVendor3Cfg
of the corresponding entry is used."
::= { dDhcpRelayGeneral 6 }
dDhcpROption82RemoteIdUserDef OBJECT-TYPE
SYNTAX DisplayString (SIZE (0..32))
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object indicates the global user defined string as the remote
ID of the device.
This object can be modified when dDhcpROption82RemoteIdType is set
to 'userDefined'.
When read, a zero length string is returned when dDhcpROption82RemoteIdType
is not 'userDefined'."
::= { dDhcpRelayGeneral 7 }
dDhcpROption82CircuitIdType OBJECT-TYPE
SYNTAX INTEGER {
default(1),
userDefined(2),
vendor1(3),
vendor2(4),
vendor3(5),
vendor4(6),
vendor5(7),
vendor6(8)
}
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object indicates the type of circuit ID sub-option.
default(1) - VLAN ID, Module ID and Port Number.
userDefined(2) - The value of dDhcpROption82CircuitID is used.
vendor1(3) - VLAN ID, Slot ID, Port Number and MAC address of VLAN 1.
vendor2(4) - Port Number.
vendor3(5) - The value of dDhcpRPortIfOp82CirIdVendor3Cfg
of the corresponding entry is used.
vendor4(6) - System Name, Module ID, Port Number and Client's VLAN ID.
vendor5(7) - System Name, 'eth', Chassis ID, Slot ID, Port
Number and Client's VLAN ID.
vendor6(8) - 'Ethernet', Chassis ID, Slot ID, Port
Number, Client's VLAN ID and System Name.
"
::= { dDhcpRelayGeneral 8 }
dDhcpROption82CircuitIdUserDef OBJECT-TYPE
SYNTAX DisplayString (SIZE (0..32))
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object indicates the global user defined string as the circuit ID.
This object can be modified when dDhcpROption82CircuitIdType is set
to 'userDefined'.
When read, a zero length string is returned when dDhcpROption82CircuitIdType
is not 'userDefined'."
::= { dDhcpRelayGeneral 9 }
-- -----------------------------------------------------------------------------
-- -----------------------------------------------------------------------------
dDhcpRPoolObjects OBJECT IDENTIFIER ::= { dDhcpRelayMIBObjects 2 }
dDhcpRPoolClassRelayTargetTable OBJECT-TYPE
SYNTAX SEQUENCE OF DDhcpRPoolClassRelayTargetEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"A table that contains relay target class configuration for DHCP pools."
::= { dDhcpRPoolObjects 1 }
dDhcpRPoolClassRelayTargetEntry OBJECT-TYPE
SYNTAX DDhcpRPoolClassRelayTargetEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"By using DHCP class, DHCP relay uses option configuration to further
determine which DHCP relay target for relaying the packet that
matches the value pattern of option defined in the class."
INDEX {
dDhcpRPoClRelayTargetPoolName,
dDhcpRPoClRelayTargetClassName,
dDhcpRPoClRelayTargetVrfName,
dDhcpRPoClRelayTargetAddr }
::= { dDhcpRPoolClassRelayTargetTable 1 }
DDhcpRPoolClassRelayTargetEntry ::= SEQUENCE {
dDhcpRPoClRelayTargetPoolName DisplayString,
dDhcpRPoClRelayTargetClassName DisplayString,
dDhcpRPoClRelayTargetVrfName DisplayString,
dDhcpRPoClRelayTargetAddr IpAddress,
dDhcpRPoClRelayTargetRowStatus RowStatus
}
dDhcpRPoClRelayTargetPoolName OBJECT-TYPE
SYNTAX DisplayString (SIZE (1..32))
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This object specifies a DHCP pool.
The value must be same as an entry in dDhcpSPoolTable identified by
dDhcpSPoolName."
REFERENCE
"dDhcpSPoolName is defined in DLINKSW-DHCP-SERVER-MIB."
::= { dDhcpRPoolClassRelayTargetEntry 1 }
dDhcpRPoClRelayTargetClassName OBJECT-TYPE
SYNTAX DisplayString (SIZE (1..32))
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This object specifies a DHCP class.
The value must be same as an entry in dDhcpSClassTable identified by
dDhcpSClassName."
REFERENCE
"dDhcpSClassName is defined in DLINKSW-DHCP-SERVER-MIB."
::= { dDhcpRPoolClassRelayTargetEntry 2 }
dDhcpRPoClRelayTargetVrfName OBJECT-TYPE
SYNTAX DisplayString (SIZE(0..32))
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"The name of virtual routing and forwarding (VRF).
If this object is a zero length string, the relay target is in
global routing and forwarding space."
::= { dDhcpRPoolClassRelayTargetEntry 3 }
dDhcpRPoClRelayTargetAddr OBJECT-TYPE
SYNTAX IpAddress
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This object indicates the IP address of the target server for
the class."
::= { dDhcpRPoolClassRelayTargetEntry 4 }
dDhcpRPoClRelayTargetRowStatus OBJECT-TYPE
SYNTAX RowStatus
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"This object manages this entry."
::= { dDhcpRPoolClassRelayTargetEntry 99 }
-- -----------------------------------------------------------------------------
dDhcpRPoolRelayDestTable OBJECT-TYPE
SYNTAX SEQUENCE OF DDhcpRPoolRelayDestEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"A table that contains DHCP relay destination IP address of DHCP
pools."
::= { dDhcpRPoolObjects 2 }
dDhcpRPoolRelayDestEntry OBJECT-TYPE
SYNTAX DDhcpRPoolRelayDestEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"By using DHCP class, DHCP relay uses option configuration to further
determine which IP addresses to allocate to clients."
INDEX {
dDhcpRPoolRelayDestPoolName,
dDhcpRPoolRelayDestVrfName,
dDhcpRPoolRelayDestAddr }
::= { dDhcpRPoolRelayDestTable 1 }
DDhcpRPoolRelayDestEntry ::= SEQUENCE {
dDhcpRPoolRelayDestPoolName DisplayString,
dDhcpRPoolRelayDestVrfName DisplayString,
dDhcpRPoolRelayDestAddr IpAddress,
dDhcpRPoolRelayDestRowStatus RowStatus
}
dDhcpRPoolRelayDestPoolName OBJECT-TYPE
SYNTAX DisplayString (SIZE (1..32))
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This object specifies a DHCP pool.
The value must be same as an entry in dDhcpSPoolTable identified by
dDhcpSPoolName."
REFERENCE
"dDhcpSPoolName is defined in DLINKSW-DHCP-SERVER-MIB."
::= { dDhcpRPoolRelayDestEntry 1 }
dDhcpRPoolRelayDestVrfName OBJECT-TYPE
SYNTAX DisplayString (SIZE(0..32))
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"The name of virtual routing and forwarding(VRF).
If this object is a zero length string, the destination DHCP server
IP address is in global routing and forwarding space."
::= { dDhcpRPoolRelayDestEntry 2 }
dDhcpRPoolRelayDestAddr OBJECT-TYPE
SYNTAX IpAddress
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This object indicates the IP address of the relay destination for
the pool."
::= { dDhcpRPoolRelayDestEntry 3 }
dDhcpRPoolRelayDestRowStatus OBJECT-TYPE
SYNTAX RowStatus
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"This object manages this entry."
::= { dDhcpRPoolRelayDestEntry 99 }
-- -----------------------------------------------------------------------------
dDhcpRPoolRelaySourceTable OBJECT-TYPE
SYNTAX SEQUENCE OF DDhcpRPoolRelaySourceEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"A table that contains the configuration of the source subnet that
the client packets come from."
::= { dDhcpRPoolObjects 3 }
dDhcpRPoolRelaySourceEntry OBJECT-TYPE
SYNTAX DDhcpRPoolRelaySourceEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"An entry identifying a surce subnet that the client packets come
from."
INDEX {
dDhcpRPoolRelaySourcePoolName,
dDhcpRPoolRelaySourceSubnet,
dDhcpRPoolRelaySourceSubnetMask
}
::= { dDhcpRPoolRelaySourceTable 1 }
DDhcpRPoolRelaySourceEntry ::= SEQUENCE {
dDhcpRPoolRelaySourcePoolName DisplayString,
dDhcpRPoolRelaySourceSubnet IpAddress,
dDhcpRPoolRelaySourceSubnetMask IpAddress,
dDhcpRPoolRelaySourceRowStatus RowStatus
}
dDhcpRPoolRelaySourcePoolName OBJECT-TYPE
SYNTAX DisplayString
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This object specifies a DHCP pool.
The value must be same as an entry in dDhcpSPoolTable identified by
dDhcpSPoolName."
REFERENCE
"dDhcpSPoolName is defined in DLINKSW-DHCP-SERVER-MIB."
::= { dDhcpRPoolRelaySourceEntry 1 }
dDhcpRPoolRelaySourceSubnet OBJECT-TYPE
SYNTAX IpAddress
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This object indicates the source subnet of the client packets
come from of the corresponding entry."
::= { dDhcpRPoolRelaySourceEntry 2 }
dDhcpRPoolRelaySourceSubnetMask OBJECT-TYPE
SYNTAX IpAddress
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This object indicates the network mask of the source subnet
for the corresponding entry."
::= { dDhcpRPoolRelaySourceEntry 3 }
dDhcpRPoolRelaySourceRowStatus OBJECT-TYPE
SYNTAX RowStatus
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"This object manages this entry."
::= { dDhcpRPoolRelaySourceEntry 99}
-- -----------------------------------------------------------------------------
dDhcpRelayIfObjects OBJECT IDENTIFIER ::= { dDhcpRelayMIBObjects 3 }
dDhcpRIfIgnoreBootpTable OBJECT-TYPE
SYNTAX SEQUENCE OF DDhcpRIfIgnoreBootpEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"A list of configurations about the BOOTP/DHCP relay will ignore
BOOTP packet on an interface.
An entry is created/removed when ignoring the BOOTP request
packets is enabled or disabled on an interface via CLI or by
issuing appropriate sets to this table using snmp. "
::= { dDhcpRelayIfObjects 1 }
dDhcpRIfIgnoreBootpEntry OBJECT-TYPE
SYNTAX DDhcpRIfIgnoreBootpEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"Defines an entry in the dDhcpRelayAddrTable."
INDEX { dDhcpRIfIgnoreBootpIfIndex }
::= { dDhcpRIfIgnoreBootpTable 1 }
DDhcpRIfIgnoreBootpEntry ::= SEQUENCE {
dDhcpRIfIgnoreBootpIfIndex InterfaceIndex,
dDhcpRIfIgnoreBootpEnabled TruthValue
}
dDhcpRIfIgnoreBootpIfIndex OBJECT-TYPE
SYNTAX InterfaceIndex
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"The ifIndex value of the interface.
Only VLAN interfaces are valid interfaces for this object."
::= { dDhcpRIfIgnoreBootpEntry 1 }
dDhcpRIfIgnoreBootpEnabled OBJECT-TYPE
SYNTAX TruthValue
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object indicates whether the interface ignore the bootp packet or not."
::= { dDhcpRIfIgnoreBootpEntry 2 }
-- -----------------------------------------------------------------------------
dDhcpRIfAgentInfoChkTable OBJECT-TYPE
SYNTAX SEQUENCE OF DDhcpRIfAgentInfoChkEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"A list of configurations about the DHCP relay validates the
relay agent information (option 82) in the received DHCP reply packet
on an interface.
An entry is created/removed when checking option 82 is or not configured
on an interface via CLI or by issuing appropriate sets to this table
using snmp.
If checking option 82 is not configured for an interface, the global
setting, dDhcpRelayAgentInfoCheckEnabled takes effect. If checking
option 82 is configured for an interface, the interface setting takes
effect."
::= { dDhcpRelayIfObjects 2 }
dDhcpRIfAgentInfoChkEntry OBJECT-TYPE
SYNTAX DDhcpRIfAgentInfoChkEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"Defines an entry in the dDhcpRIfInfoChkTable."
INDEX { dDhcpRIfAgentInfoChkIfIndex }
::= { dDhcpRIfAgentInfoChkTable 1 }
DDhcpRIfAgentInfoChkEntry ::= SEQUENCE {
dDhcpRIfAgentInfoChkIfIndex InterfaceIndex,
dDhcpRIfAgentInfoChkState INTEGER
}
dDhcpRIfAgentInfoChkIfIndex OBJECT-TYPE
SYNTAX InterfaceIndex
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"The ifIndex value of the interface.
Only VLAN interfaces are valid interfaces for this object."
::= { dDhcpRIfAgentInfoChkEntry 1 }
dDhcpRIfAgentInfoChkState OBJECT-TYPE
SYNTAX INTEGER{enabled(1), disabled(2), none(3)}
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"This object indicates whether the DHCP relay agent validates the
relay agent information option in the received DHCP reply packet
on the corresponding interface."
::= { dDhcpRIfAgentInfoChkEntry 2 }
-- -----------------------------------------------------------------------------
dDhcpRIfAgentInfoInsertTable OBJECT-TYPE
SYNTAX SEQUENCE OF DDhcpRIfAgentInfoInsertEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"A list of configurations about whether insert option 82 for
an interface during relay of DHCP request packets.
An entry is created/removed when the insertion of
option 82 is or not configured on an interface via CLI
or by issuing appropriate sets to this table using snmp.
If the insertion of option 82 is not configured for an interface,
the global setting, dDhcpRelayAgentInfoInsertEnabled takes effect. If checking
option 82 is configured for an interface, the interface setting takes
effect."
::= { dDhcpRelayIfObjects 3 }
dDhcpRIfAgentInfoInsertEntry OBJECT-TYPE
SYNTAX DDhcpRIfAgentInfoInsertEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"Defines an entry in the dDhcpRIfAgentInfoInsertTable."
INDEX { dDhcpRIfAgentInfoInsertIfIndex }
::= { dDhcpRIfAgentInfoInsertTable 1 }
DDhcpRIfAgentInfoInsertEntry ::= SEQUENCE {
dDhcpRIfAgentInfoInsertIfIndex InterfaceIndex,
dDhcpRIfAgentInfoInsertState INTEGER
}
dDhcpRIfAgentInfoInsertIfIndex OBJECT-TYPE
SYNTAX InterfaceIndex
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"The ifIndex value of the interface.
Only VLAN interfaces are valid interfaces for this object."
::= { dDhcpRIfAgentInfoInsertEntry 1 }
dDhcpRIfAgentInfoInsertState OBJECT-TYPE
SYNTAX INTEGER{enabled(1), disabled(2), none(3)}
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"This object indicates whether insert option 82 for an interface
during relay of DHCP request packets."
::= { dDhcpRIfAgentInfoInsertEntry 2 }
-- -----------------------------------------------------------------------------
dDhcpRIfAgentInfoPolicyTable OBJECT-TYPE
SYNTAX SEQUENCE OF DDhcpRIfAgentInfoPolicyEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"A list of configurations about relay agent information
re-forwarding policy for the DHCP relay agent on an interface.
An entry is created/removed when the re-forwarding policy
is or not configured on an interface via CLI
or by issuing appropriate sets to this table using snmp.
If the re-forwarding policy is not configured for an interface,
the global setting, dDhcpRelayAgentInfoPolicy takes effect. If
re-forwarding policy is configured for an interface, the interface
setting takes effect."
::= { dDhcpRelayIfObjects 4 }
dDhcpRIfAgentInfoPolicyEntry OBJECT-TYPE
SYNTAX DDhcpRIfAgentInfoPolicyEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"Defines an entry in the dDhcpRIfAgentInfoPolicyTable."
INDEX { dDhcpRIfAgentInfoPolicyIfIndex }
::= { dDhcpRIfAgentInfoPolicyTable 1 }
DDhcpRIfAgentInfoPolicyEntry ::= SEQUENCE {
dDhcpRIfAgentInfoPolicyIfIndex InterfaceIndex,
dDhcpRIfAgentInfoPolicyAction INTEGER
}
dDhcpRIfAgentInfoPolicyIfIndex OBJECT-TYPE
SYNTAX InterfaceIndex
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"The ifIndex value of the interface.
Only VLAN interfaces are valid interfaces for this object."
::= { dDhcpRIfAgentInfoPolicyEntry 1 }
dDhcpRIfAgentInfoPolicyAction OBJECT-TYPE
SYNTAX INTEGER { drop(1), keep(2), replace(3), none(4)}
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"This object indicates the re-forwarding policy of DHCP relay agent
information option 82 for the corresponding interface.
drop (1) - discards the packet that already has the relay
option.
keep (2) - the DHCP requests packet that already has the relay
option is left unchanged and directly relayed to the
DHCP server.
replace (3) - the DHCP requests packet that already has the relay
option will be replaced by a new option.
none (4) - not configure the policy action on the interface. "
::= { dDhcpRIfAgentInfoPolicyEntry 2 }
-- -----------------------------------------------------------------------------
dDhcpRIfAgentInfoTrustTable OBJECT-TYPE
SYNTAX SEQUENCE OF DDhcpRIfAgentInfoTrustEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"A list of configurations about the relay agent trusts the relay
information on an interface.
An entry is created/removed when the trusting relay information
is enabled/disabled on an interface via CLI or by issuing
appropriate sets to this table using snmp.
If dDhcpRelayInfoTrustAll is 'true', the dhcp relay information is
trusted for all interfaces. If dDhcpRelayInfoTrustAll is 'false',
the trust state on an interface is determined whether
the corresponding interface exists in this table. If exists, the
corresponding interface is trusted, otherwise, the interface is not
trusted.
When relay information is trusted on an interface, the
arriving packets with giaddr==0 (this relay agent is the first
relay of this DHCP request packet) but with relay agent information
option present will be accepted. If it is un-trusted, these packets
will be dropped."
::= { dDhcpRelayIfObjects 5 }
dDhcpRIfAgentInfoTrustEntry OBJECT-TYPE
SYNTAX DDhcpRIfAgentInfoTrustEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"Defines an entry in the dDhcpRIfAgentInfoTrustTable."
INDEX { dDhcpRIfAgentInfoTrustIfIndex }
::= { dDhcpRIfAgentInfoTrustTable 1 }
DDhcpRIfAgentInfoTrustEntry ::= SEQUENCE {
dDhcpRIfAgentInfoTrustIfIndex InterfaceIndex,
dDhcpRIfAgentInfoTrustEnabled TruthValue
}
dDhcpRIfAgentInfoTrustIfIndex OBJECT-TYPE
SYNTAX InterfaceIndex
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"The ifIndex value of the interface.
Only VLAN interfaces are valid interfaces for this object."
::= { dDhcpRIfAgentInfoTrustEntry 1 }
dDhcpRIfAgentInfoTrustEnabled OBJECT-TYPE
SYNTAX TruthValue
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object indicates whether the interface is trusted on
the not."
::= { dDhcpRIfAgentInfoTrustEntry 2 }
-- -----------------------------------------------------------------------------
dDhcpRelayPortIfOption82Objects OBJECT IDENTIFIER ::= { dDhcpRelayMIBObjects 4 }
dDhcpRPortIfOp82RemIdTable OBJECT-TYPE
SYNTAX SEQUENCE OF DDhcpRPortIfOp82RemIdEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This table is used to manage the remote ID sub-option of Option 82
for physical port or port channel interface."
::={ dDhcpRelayPortIfOption82Objects 1}
dDhcpRPortIfOp82RemIdEntry OBJECT-TYPE
SYNTAX DDhcpRPortIfOp82RemIdEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"An entry in dDhcpRPortIfOption82RemIdTable containing the
configuration about the remote ID sub-option of Option 82 for the
corresponding interface."
INDEX { dDhcpRPortIfOp82RemIdIfIndex }
::={ dDhcpRPortIfOp82RemIdTable 1 }
DDhcpRPortIfOp82RemIdEntry ::= SEQUENCE{
dDhcpRPortIfOp82RemIdIfIndex InterfaceIndex,
dDhcpRPortIfOp82RemIdVendor3Cfg DisplayString
}
dDhcpRPortIfOp82RemIdIfIndex OBJECT-TYPE
SYNTAX InterfaceIndex
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This object indicates the ifIndex value of the port or port channel.
Only physical port and port channel interface will appear in this
table."
::= { dDhcpRPortIfOp82RemIdEntry 1 }
dDhcpRPortIfOp82RemIdVendor3Cfg OBJECT-TYPE
SYNTAX DisplayString (SIZE (0..32))
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object indicates the per port/port channel user defined
string as remote ID.
This object is used when dDhcpROption82RemoteIdType is set to
'vendor3'."
::= { dDhcpRPortIfOp82RemIdEntry 2 }
dDhcpRPortIfOp82CirIdTable OBJECT-TYPE
SYNTAX SEQUENCE OF DDhcpRPortIfOp82CirIdEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This table is used to manage the circuit ID sub-option of Option 82
for physical port or port channel interface."
::={ dDhcpRelayPortIfOption82Objects 2}
dDhcpRPortIfOp82CirIdEntry OBJECT-TYPE
SYNTAX DDhcpRPortIfOp82CirIdEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"An entry in dDhcpRPortIfOp82CirIdTable containing the
configuration about the circuit ID sub-option of Option 82 for the
corresponding interface."
INDEX { dDhcpRPortIfOp82CirIdIfIndex}
::={ dDhcpRPortIfOp82CirIdTable 1 }
DDhcpRPortIfOp82CirIdEntry ::= SEQUENCE{
dDhcpRPortIfOp82CirIdIfIndex InterfaceIndex,
dDhcpRPortIfOp82CirIdVendor3Cfg DisplayString
}
dDhcpRPortIfOp82CirIdIfIndex OBJECT-TYPE
SYNTAX InterfaceIndex
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This object indicates the ifIndex value of the port or port channel.
Only physical port and port channel interface will appear in this
table."
::= { dDhcpRPortIfOp82CirIdEntry 1 }
dDhcpRPortIfOp82CirIdVendor3Cfg OBJECT-TYPE
SYNTAX DisplayString (SIZE (0..32))
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object indicates the per port/port channel user defined
string as circuit ID.
This object is used when dDhcpROption82CircuitIdType is set to
'vendor3'."
::= { dDhcpRPortIfOp82CirIdEntry 2 }
-- -----------------------------------------------------------------------------
dDhcpRelayVlanObjects OBJECT IDENTIFIER ::= { dDhcpRelayMIBObjects 5 }
dDhcpRVlanLocalRelayCrlFirst2K OBJECT-TYPE
SYNTAX Dlink2kVlanList
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object specifies the DHCP Local Relay enabled VLAN in a
string of octets containing one bit per VLAN for VLANs 1 to 2048.
If the bit is set to '1', then the VLAN is enabled for DHCP Local Relay.
"
::= { dDhcpRelayVlanObjects 1 }
dDhcpRVlanLocalRelayCrlSecond2K OBJECT-TYPE
SYNTAX Dlink2kVlanList
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object specifies the DHCP Local Relay enabled VLAN in a
string of octets containing one bit per VLAN for VLANs 2049 to 4094.
If the bit is set to '1', then the VLAN is enabled for DHCP Local Relay.
"
::= { dDhcpRelayVlanObjects 2 }
-- -----------------------------------------------------------------------------
-- ***************************************************************************
-- Conformance
-- ***************************************************************************
dDhcpRelayCompliances OBJECT IDENTIFIER ::= { dDhcpRelayMIBConformance 1 }
dDhcpRelayCompliance MODULE-COMPLIANCE
STATUS current
DESCRIPTION
"The compliance statement for entities which implement the
DLINK-DHCP-RELAY-IPV4-MIB."
MODULE -- this module
MANDATORY-GROUPS {
dDhcpRGblCfgGroup,
dDhcpRPoolCfgGroup,
dDhcpRInterfaceGroup
}
GROUP dDhcpROp82SuboptionGroup
DESCRIPTION
"This group is required only for implementations that support
sub-options configuration of option 82."
GROUP dDhcpRVlanCfgGroup
DESCRIPTION
"This group is required only for implementations that support
DHCP Local Relay for per VLAN."
::= { dDhcpRelayCompliances 1 }
dDhcpRelayGroups OBJECT IDENTIFIER ::= { dDhcpRelayMIBConformance 2 }
dDhcpRGblCfgGroup OBJECT-GROUP
OBJECTS {
dDhcpRelayAgentInfoCheckEnabled,
dDhcpRelayAgentInfoInsertEnabled,
dDhcpRelayAgentInfoPolicy,
dDhcpRelayInfoTrustAll,
dDhcpRelaySmartRelay
}
STATUS current
DESCRIPTION
"A collection of objects providing global configuration about DHCP
relay."
::= { dDhcpRelayGroups 1 }
dDhcpRPoolCfgGroup OBJECT-GROUP
OBJECTS {
dDhcpRPoClRelayTargetRowStatus,
dDhcpRPoolRelayDestRowStatus,
dDhcpRPoolRelaySourceRowStatus
}
STATUS current
DESCRIPTION
"A collection of objects providing DHCP pool configuration."
::= { dDhcpRelayGroups 2 }
dDhcpRInterfaceGroup OBJECT-GROUP
OBJECTS {
dDhcpRIfIgnoreBootpEnabled,
dDhcpRIfAgentInfoChkState,
dDhcpRIfAgentInfoInsertState,
dDhcpRIfAgentInfoPolicyAction,
dDhcpRIfAgentInfoTrustEnabled
}
STATUS current
DESCRIPTION
"A collection of objects providing per interface configuration of
DHCP Relay."
::= { dDhcpRelayGroups 3 }
dDhcpROp82SuboptionGroup OBJECT-GROUP
OBJECTS {
dDhcpROption82RemoteIdType,
dDhcpROption82RemoteIdUserDef,
dDhcpROption82CircuitIdType,
dDhcpROption82CircuitIdUserDef,
dDhcpRPortIfOp82RemIdVendor3Cfg,
dDhcpRPortIfOp82CirIdVendor3Cfg
}
STATUS current
DESCRIPTION
"A collection of objects providing sub-options configuration of option 82."
::= { dDhcpRelayGroups 4 }
dDhcpRVlanCfgGroup OBJECT-GROUP
OBJECTS {
dDhcpRVlanLocalRelayCrlFirst2K,
dDhcpRVlanLocalRelayCrlSecond2K
}
STATUS current
DESCRIPTION
"A collection of objects which are used to configure as
well as show information regarding the feature enabling
on each VLAN."
::= { dDhcpRelayGroups 5 }
END

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,796 @@
-- *****************************************************************
-- DLINKSW-DHCP-SNOOPING-MIB.mib : DHCP SNOOPING MIB
--
-- Copyright (c) 2013 D-Link Corporation, all rights reserved.
--
-- *****************************************************************
DLINKSW-DHCP-SNOOPING-MIB DEFINITIONS ::= BEGIN
IMPORTS
MODULE-IDENTITY,
OBJECT-TYPE,
Unsigned32,
Integer32,
Counter32,
IpAddress
FROM SNMPv2-SMI
MODULE-COMPLIANCE,
OBJECT-GROUP
FROM SNMPv2-CONF
MacAddress,
TruthValue,
RowStatus,
DateAndTime
FROM SNMPv2-TC
SnmpAdminString
FROM SNMP-FRAMEWORK-MIB
ifIndex,
InterfaceIndex,
InterfaceIndexOrZero
FROM IF-MIB
VlanId,
VlanIdOrNone
FROM Q-BRIDGE-MIB
Dlink2kVlanList
FROM DLINKSW-TC-MIB
dlinkIndustrialCommon
FROM DLINK-ID-REC-MIB;
dlinkSwDhcpSnpMIB MODULE-IDENTITY
LAST-UPDATED "201309090000Z"
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 module defines objects for DHCP snooping."
REVISION "201307190000Z"
DESCRIPTION
"This is the first version of the MIB file for 'DHCP snooping'
functionality."
REVISION "201309090000Z"
DESCRIPTION
"1.Update dDhcpSnpIfRateLimit and dDhcpSnpIfBindingsLimit value length(Note:follow UIS)."
::= { dlinkIndustrialCommon 131 }
-- -----------------------------------------------------------------------------
dDhcpSnpMIBNotifications OBJECT IDENTIFIER ::= { dlinkSwDhcpSnpMIB 0 }
dDhcpSnpMIBObjects OBJECT IDENTIFIER ::= { dlinkSwDhcpSnpMIB 1 }
dDhcpSnpMIBConformance OBJECT IDENTIFIER ::= { dlinkSwDhcpSnpMIB 2 }
-- -----------------------------------------------------------------------------
dDhcpSnpGlobalObjects OBJECT IDENTIFIER ::= { dDhcpSnpMIBObjects 1 }
dDhcpSnpGlobalEnabled OBJECT-TYPE
SYNTAX TruthValue
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object indicates the global state of the DHCP snooping."
DEFVAL { false }
::= { dDhcpSnpGlobalObjects 1 }
dDhcpSnpVerifyMacAddressEnabled OBJECT-TYPE
SYNTAX TruthValue
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object indicates whether the DHCP snooping validates
the source MAC address matches the client hardware address
in the received DHCP request packet."
DEFVAL { true }
::= { dDhcpSnpGlobalObjects 2 }
dDhcpSnpStationMoveDenyEnabled OBJECT-TYPE
SYNTAX TruthValue
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object indicates whether dynamic DHCP snooping binding entry
with same IP and MAC address on specific port can move to another port
if the Switch detects a new DHCP process belongs to same IP and MAC
address."
DEFVAL { false }
::= { dDhcpSnpGlobalObjects 3 }
dDhcpSnpOption82AllowUntrust OBJECT-TYPE
SYNTAX TruthValue
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object indicates whether the DHCP snooping allows
the DHCP request packets with relay option 82 on the untrusted
interface."
DEFVAL { false }
::= { dDhcpSnpGlobalObjects 4 }
dDhcpSnpBootpBindEnabled OBJECT-TYPE
SYNTAX TruthValue
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object indicates whether the DHCP snooping snoops
the BOOTP messages and learns the binding entry."
DEFVAL { false }
::= { dDhcpSnpGlobalObjects 5 }
-- -----------------------------------------------------------------------------
dDhcpSnpDatabaseObjects OBJECT IDENTIFIER ::= { dDhcpSnpMIBObjects 2 }
dDhcpSnpDatabaseUrl OBJECT-TYPE
SYNTAX SnmpAdminString
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object indicates the URL to store the DHCP snooping binding
entries to local flash or remote site."
::= { dDhcpSnpDatabaseObjects 1 }
dDhcpSnpDatabaseUpdateInterval OBJECT-TYPE
SYNTAX INTEGER( 0 | 60..86400)
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object indicates the time interval at which DHCP
bindings information will be written to the location that is
specified by dDhcpSnpDatabaseUrl.
The special value of 0 indicates disable the storing."
DEFVAL { 300 }
::= { dDhcpSnpDatabaseObjects 2 }
dDhcpSnpRenewDatabaseUrl OBJECT-TYPE
SYNTAX SnmpAdminString
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object indicates the URL to renew the DHCP binding database."
::= { dDhcpSnpDatabaseObjects 3 }
dDhcpSnpRenewValidateDbEnabled OBJECT-TYPE
SYNTAX TruthValue
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object indicates whether the DHCP snooping verify the
checksum for the entries when loading DHCP bindings information."
DEFVAL { true }
::= { dDhcpSnpDatabaseObjects 4 }
dDhcpSnpRenewDatabase OBJECT-TYPE
SYNTAX INTEGER {
renew(1),
noOp(2)
}
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object starts loading DHCP snooping binding entries, when set
to 'renew'.
No action is taken if this object is set to 'noOp'.
When read, the value 'noOp' is returned."
::= { dDhcpSnpDatabaseObjects 5 }
dDhcpSnpDbLastSucceeded OBJECT-TYPE
SYNTAX DateAndTime
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"This object indicates the last time at which the agent downloaded
the database successfully."
::= { dDhcpSnpDatabaseObjects 6}
dDhcpSnpDbLastFailed OBJECT-TYPE
SYNTAX DateAndTime
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"This object indicates the last time at which the agent failed to
download the database."
::= { dDhcpSnpDatabaseObjects 7}
dDhcpSnpClearDatabaseStatistics OBJECT-TYPE
SYNTAX INTEGER {
clear(1),
noOp(2)
}
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object clears the DHCP snooping database statistics,
when set to 'clear'.
No action is taken if this object is set to 'noOp'.
When read, the value 'noOp' is returned."
::= { dDhcpSnpDatabaseObjects 8 }
-- -----------------------------------------------------------------------------
dDhcpSnpDbLastIgnoredCounters OBJECT IDENTIFIER ::= { dDhcpSnpDatabaseObjects 9 }
dDhcpSnpStatBindingCollision OBJECT-TYPE
SYNTAX Counter32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"This object indicates the number of entry that DHCP snooping create
collisions with the entry exist in DHCP snooping database."
::= { dDhcpSnpDbLastIgnoredCounters 1 }
dDhcpSnpStatExpiredLease OBJECT-TYPE
SYNTAX Counter32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"This object indicates the number of entry expires in DHCP snooping database."
::= { dDhcpSnpDbLastIgnoredCounters 2 }
dDhcpSnpStatInvalidInterfaces OBJECT-TYPE
SYNTAX Counter32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"This object indicates the number of interfaces that receive the
DHCP message but DHCP snooping is not performed."
::= { dDhcpSnpDbLastIgnoredCounters 3}
dDhcpSnpStatUnsupportedVlans OBJECT-TYPE
SYNTAX Counter32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"This object indicates the number of the entry's VLAN is disabled."
::= { dDhcpSnpDbLastIgnoredCounters 4 }
dDhcpSnpStatParsingFailures OBJECT-TYPE
SYNTAX Counter32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"This object indicates the number of illegal DHCP packets."
::= { dDhcpSnpDbLastIgnoredCounters 5 }
dDhcpSnpStatChecksumErrors OBJECT-TYPE
SYNTAX Counter32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"This object indicates the number of calculated checksum value does
not equal the stored checksum."
::= { dDhcpSnpDbLastIgnoredCounters 6 }
-- -----------------------------------------------------------------------------
dDhcpSnpVlanObjects OBJECT IDENTIFIER ::= { dDhcpSnpMIBObjects 3 }
dDhcpSnpVlanCrlFirst2K OBJECT-TYPE
SYNTAX Dlink2kVlanList
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object specifies the DHCP snooping enabled VLAN in a
string of octets containing one bit per VLAN for VLANs 1 to 2048.
If the bit is set to '1', then the VLAN is enabled for DHCP snooping.
"
::= { dDhcpSnpVlanObjects 1 }
dDhcpSnpVlanCrlSecond2K OBJECT-TYPE
SYNTAX Dlink2kVlanList
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object specifies the DHCP snooping enabled VLAN in a
string of octets containing one bit per VLAN for VLANs 2049 to 4095.
If the bit is set to '1', then the VLAN is enabled for DHCP snooping.
"
::= { dDhcpSnpVlanObjects 2 }
-- -----------------------------------------------------------------------------
dDhcpSnpIfObjects OBJECT IDENTIFIER ::= { dDhcpSnpMIBObjects 4 }
dDhcpSnpIfTrustTable OBJECT-TYPE
SYNTAX SEQUENCE OF DDhcpSnpIfTrustEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"A table provides the mechanism to control the DHCP snooping
trust state for per interface."
::= { dDhcpSnpIfObjects 1 }
dDhcpSnpIfTrustEntry OBJECT-TYPE
SYNTAX DDhcpSnpIfTrustEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"A row instance contains the configuration to enable
or disable trust state for per interface."
INDEX { ifIndex }
::= { dDhcpSnpIfTrustTable 1 }
DDhcpSnpIfTrustEntry ::= SEQUENCE {
dDhcpSnpIfTrustEnabled TruthValue
}
dDhcpSnpIfTrustEnabled OBJECT-TYPE
SYNTAX TruthValue
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object indicates whether the trust state of DHCP snooping in
this interface."
::= { dDhcpSnpIfTrustEntry 1 }
-- -----------------------------------------------------------------------------
dDhcpSnpIfRateLimitTable OBJECT-TYPE
SYNTAX SEQUENCE OF DDhcpSnpIfRateLimitEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"A table provides the mechanism to control the DHCP snooping
rate limit for per interface."
::= { dDhcpSnpIfObjects 2 }
dDhcpSnpIfRateLimitEntry OBJECT-TYPE
SYNTAX DDhcpSnpIfRateLimitEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"A row instance contains the configuration of rate limit
on an interface."
INDEX { ifIndex }
::= { dDhcpSnpIfRateLimitTable 1 }
DDhcpSnpIfRateLimitEntry ::= SEQUENCE {
dDhcpSnpIfRateLimit Integer32
}
dDhcpSnpIfRateLimit OBJECT-TYPE
SYNTAX Integer32 ( -1 | 1 .. 300)
UNITS "packets per second"
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object indicates rate limit in this interface.
The special value of -1 indicates not limit the DHCP packet to CPU
on the interface."
::= { dDhcpSnpIfRateLimitEntry 1 }
-- -----------------------------------------------------------------------------
dDhcpSnpIfBindingsLimitTable OBJECT-TYPE
SYNTAX SEQUENCE OF DDhcpSnpIfBindingsLimitEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"A table provides the mechanism to control the DHCP snooping
bindings limit for per interface."
::= { dDhcpSnpIfObjects 3 }
dDhcpSnpIfBindingsLimitEntry OBJECT-TYPE
SYNTAX DDhcpSnpIfBindingsLimitEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"A row instance contains the configuration of bindings limit value
on an interface."
INDEX { ifIndex }
::= { dDhcpSnpIfBindingsLimitTable 1 }
DDhcpSnpIfBindingsLimitEntry ::= SEQUENCE {
dDhcpSnpIfBindingsLimit Integer32
}
dDhcpSnpIfBindingsLimit OBJECT-TYPE
SYNTAX Integer32 ( -1 | 0 .. 1024)
UNITS "bindings per port"
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object indicates bindings limit in this interface.
The special value of 0 indicates dynamically learned binding entry
is not allowed on the interface.
The special value of -1 indicates no binding entry number limitation
on the interface.
"
::= { dDhcpSnpIfBindingsLimitEntry 1 }
-- -----------------------------------------------------------------------------
dDhcpSnpBindingsObjects OBJECT IDENTIFIER ::= { dDhcpSnpMIBObjects 5 }
-- -----------------------------------------------------------------------------
dDhcpSnpBindingsTable OBJECT-TYPE
SYNTAX SEQUENCE OF DDhcpSnpBindingsEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"A table provides the DHCP snooping bindings information. A DHCP
snooping binding can be created manually or learned dynamically.
"
::= { dDhcpSnpBindingsObjects 1 }
dDhcpSnpBindingsEntry OBJECT-TYPE
SYNTAX DDhcpSnpBindingsEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"An entry consists of information for a DHCP snooping binding."
INDEX {
dDhcpSnpBindingsMacAddress,
dDhcpSnpBindingsVlan,
dDhcpSnpBindingsIpAddress,
dDhcpSnpBindingsInterface
}
::= { dDhcpSnpBindingsTable 1 }
DDhcpSnpBindingsEntry ::= SEQUENCE {
dDhcpSnpBindingsMacAddress MacAddress,
dDhcpSnpBindingsVlan VlanId,
dDhcpSnpBindingsIpAddress IpAddress,
dDhcpSnpBindingsInterface InterfaceIndex,
dDhcpSnpBindingsLeasedTime Unsigned32,
dDhcpSnpBindingsStatus RowStatus
}
dDhcpSnpBindingsMacAddress OBJECT-TYPE
SYNTAX MacAddress
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This object indicates the MAC address of a host."
::= { dDhcpSnpBindingsEntry 1 }
dDhcpSnpBindingsVlan OBJECT-TYPE
SYNTAX VlanId
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This object indicates the VLAN to which a host belongs."
::= { dDhcpSnpBindingsEntry 2 }
dDhcpSnpBindingsIpAddress OBJECT-TYPE
SYNTAX IpAddress
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This object indicates the allocated IP address of host."
::= { dDhcpSnpBindingsEntry 3 }
dDhcpSnpBindingsInterface OBJECT-TYPE
SYNTAX InterfaceIndex
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This object indicates the ifIndex value of the interface
where a host connects to."
::= { dDhcpSnpBindingsEntry 4 }
dDhcpSnpBindingsLeasedTime OBJECT-TYPE
SYNTAX Unsigned32 (60 .. 4294967295)
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"This object indicates the leased (expiry) time of this DHCP
binding."
::= { dDhcpSnpBindingsEntry 5 }
dDhcpSnpBindingsStatus OBJECT-TYPE
SYNTAX RowStatus
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"This object is used to manage the creation and deletion
of rows in this table."
::= { dDhcpSnpBindingsEntry 99 }
-- -----------------------------------------------------------------------------
dDhcpSnpBindingsClearTable OBJECT-TYPE
SYNTAX SEQUENCE OF DDhcpSnpBindingsClearEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"A table provides mechanism to clear the DHCP snooping binding entries.
"
::= { dDhcpSnpBindingsObjects 2 }
dDhcpSnpBindingsClearEntry OBJECT-TYPE
SYNTAX DDhcpSnpBindingsClearEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"An entry defines the criteria to clear DHCP snooping binding entries.
"
INDEX { dDhcpSnpBindingsClearIndex }
::= { dDhcpSnpBindingsClearTable 1 }
DDhcpSnpBindingsClearEntry ::= SEQUENCE {
dDhcpSnpBindingsClearIndex Unsigned32,
dDhcpSnpBindingsClearByMacAddr MacAddress,
dDhcpSnpBindingsClearByVlan VlanIdOrNone,
dDhcpSnpBindingsClearByIpAddress IpAddress,
dDhcpSnpBindingsClearByInterface InterfaceIndexOrZero,
dDhcpSnpBindingsClearStatus INTEGER
}
dDhcpSnpBindingsClearIndex OBJECT-TYPE
SYNTAX Unsigned32 (1 .. 1)
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"The index uniquely identifies this row.
The only legal value for this object is 1."
::= { dDhcpSnpBindingsClearEntry 1 }
dDhcpSnpBindingsClearByMacAddr OBJECT-TYPE
SYNTAX MacAddress
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object indicates the specific MAC address to clear binding entry.
When read, a special value of '000000000000'H is returned to indicate
this criterion is not specified.
"
::= { dDhcpSnpBindingsClearEntry 2 }
dDhcpSnpBindingsClearByVlan OBJECT-TYPE
SYNTAX VlanIdOrNone
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object indicates the specific VLAN to clear binding entry.
When read, a special value of 0 is returned to indicate
this criterion is not specified.
"
::= { dDhcpSnpBindingsClearEntry 3 }
dDhcpSnpBindingsClearByIpAddress OBJECT-TYPE
SYNTAX IpAddress
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object indicates the specific IP address to clear binding entry.
When read, a special value of 0.0.0.0 returned to indicate
this criterion is not specified.
"
::= { dDhcpSnpBindingsClearEntry 4 }
dDhcpSnpBindingsClearByInterface OBJECT-TYPE
SYNTAX InterfaceIndexOrZero
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object indicates the specific interface to clear binding entry.
When read, a special value of 0 returned to indicate
this criterion is not specified.
"
::= { dDhcpSnpBindingsClearEntry 5 }
dDhcpSnpBindingsClearStatus OBJECT-TYPE
SYNTAX INTEGER {
clear(1),
noOp(2)
}
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object is used to clear snooping binding entries when set to
'clear'.
No action is taken if this object is set to 'noOp'.
The clearing criteria depend on other non index objects.
Note: if no object is configured, all entries will be cleared."
DEFVAL { noOp }
::= { dDhcpSnpBindingsClearEntry 99 }
-- -----------------------------------------------------------------------------
dDhcpSnpCompliances OBJECT IDENTIFIER ::= { dDhcpSnpMIBConformance 1 }
dDhcpSnpGroups OBJECT IDENTIFIER ::= { dDhcpSnpMIBConformance 2 }
dDhcpSnpCompliance MODULE-COMPLIANCE
STATUS current
DESCRIPTION
"The compliance statement for entities which implement the
DLINKSW-DHCP-SNOOPING-MIB."
MODULE -- this module
MANDATORY-GROUPS {
dDhcpSnpGlobalEnableGroup,
dDhcpSnpVlanEnableGroup,
dDhcpSnpIfTrustGroup,
dDhcpSnpBindingsGroup
}
GROUP dDhcpSnpBindingsClearGroup
DESCRIPTION
"This group is mandatory only for the platform which supports
clearing the DHCP snooping bindings."
GROUP dDhcpSnpVerifyMacAddressGroup
DESCRIPTION
"This group is mandatory only for the platform which supports
DHCP snooping verify Mac address."
GROUP dDhcpSnpStationMoveGroup
DESCRIPTION
"This group is mandatory only for the platform which supports
DHCP snooping station move binding entry."
GROUP dDhcpSnpBootpBindGroup
DESCRIPTION
"This group is mandatory only for the platform which supports
Bootp binding."
GROUP dDhcpSnpRelayAgentInfoAllowGroup
DESCRIPTION
"This group is mandatory only for the platform which supports
allowing DHCP packet with Relay Agent information from untrust port."
GROUP dDhcpSnpDatabaseGroup
DESCRIPTION
"This group is mandatory only for the platform which supports
storage or loading of DHCP bindings information."
GROUP dDhcpSnpIfRateLimitGroup
DESCRIPTION
"This group is mandatory only for the platform which supports
DHCP snooping rate limit for per interface."
GROUP dDhcpSnpIfBindingsLimitGroup
DESCRIPTION
"This group is mandatory only for the platform which supports
DHCP snooping bindings limit per interface."
::= { dDhcpSnpCompliances 1 }
dDhcpSnpGlobalEnableGroup OBJECT-GROUP
OBJECTS {
dDhcpSnpGlobalEnabled
}
STATUS current
DESCRIPTION
"A collection of objects which are used to configure as
well as show information regarding the feature enabling."
::= { dDhcpSnpGroups 1 }
dDhcpSnpVlanEnableGroup OBJECT-GROUP
OBJECTS {
dDhcpSnpVlanCrlFirst2K,
dDhcpSnpVlanCrlSecond2K
}
STATUS current
DESCRIPTION
"A collection of objects which are used to configure as
well as show information regarding the feature enabling
on each VLAN."
::= { dDhcpSnpGroups 2 }
dDhcpSnpIfTrustGroup OBJECT-GROUP
OBJECTS {
dDhcpSnpIfTrustEnabled
}
STATUS current
DESCRIPTION
"A collection of objects which are used to configure as
well as show information regarding the interface trust
state."
::= { dDhcpSnpGroups 3 }
dDhcpSnpBindingsGroup OBJECT-GROUP
OBJECTS {
dDhcpSnpBindingsLeasedTime,
dDhcpSnpBindingsStatus
}
STATUS current
DESCRIPTION
"A collection of objects which are used to manage DHCP bindings
information."
::= { dDhcpSnpGroups 4 }
dDhcpSnpBindingsClearGroup OBJECT-GROUP
OBJECTS {
dDhcpSnpBindingsClearStatus,
dDhcpSnpBindingsClearByMacAddr,
dDhcpSnpBindingsClearByVlan,
dDhcpSnpBindingsClearByIpAddress,
dDhcpSnpBindingsClearByInterface
}
STATUS current
DESCRIPTION
"A collection of objects which are used to clear DHCP bindings
"
::= { dDhcpSnpGroups 5 }
dDhcpSnpVerifyMacAddressGroup OBJECT-GROUP
OBJECTS {
dDhcpSnpVerifyMacAddressEnabled
}
STATUS current
DESCRIPTION
"A collection of object which are used to configure as
well as show information regarding the verify Mac address state."
::= { dDhcpSnpGroups 6 }
dDhcpSnpStationMoveGroup OBJECT-GROUP
OBJECTS {
dDhcpSnpStationMoveDenyEnabled
}
STATUS current
DESCRIPTION
"A collection of object which are used to configure as
well as show information regarding the station move state."
::= { dDhcpSnpGroups 7 }
dDhcpSnpBootpBindGroup OBJECT-GROUP
OBJECTS {
dDhcpSnpBootpBindEnabled
}
STATUS current
DESCRIPTION
"A collection of object which are used to configure as
well as show information regarding the BOOTP snooping state."
::= { dDhcpSnpGroups 8 }
dDhcpSnpRelayAgentInfoAllowGroup OBJECT-GROUP
OBJECTS {
dDhcpSnpOption82AllowUntrust
}
STATUS current
DESCRIPTION
"A collection of object which are used to configure as
well as show information regarding the allow Relay Agent
information from untrust port state."
::= { dDhcpSnpGroups 9 }
dDhcpSnpDatabaseGroup OBJECT-GROUP
OBJECTS {
dDhcpSnpDatabaseUrl,
dDhcpSnpDatabaseUpdateInterval,
dDhcpSnpRenewDatabaseUrl,
dDhcpSnpRenewValidateDbEnabled,
dDhcpSnpRenewDatabase,
dDhcpSnpDbLastSucceeded,
dDhcpSnpDbLastFailed,
dDhcpSnpClearDatabaseStatistics,
dDhcpSnpStatBindingCollision,
dDhcpSnpStatExpiredLease,
dDhcpSnpStatInvalidInterfaces,
dDhcpSnpStatUnsupportedVlans,
dDhcpSnpStatParsingFailures,
dDhcpSnpStatChecksumErrors
}
STATUS current
DESCRIPTION
"A collection of objects which are used to configure as
well as show information regarding the DHCP snooping
database."
::= { dDhcpSnpGroups 10 }
dDhcpSnpIfRateLimitGroup OBJECT-GROUP
OBJECTS {
dDhcpSnpIfRateLimit
}
STATUS current
DESCRIPTION
"A collection of objects which are used to configure as
well as show information regarding the rate limit per
interface."
::= { dDhcpSnpGroups 11 }
dDhcpSnpIfBindingsLimitGroup OBJECT-GROUP
OBJECTS {
dDhcpSnpIfBindingsLimit
}
STATUS current
DESCRIPTION
"A collection of objects which are used to configure as
well as show information regarding the bindings limit per
interface."
::= { dDhcpSnpGroups 12 }
END

View File

@ -0,0 +1,664 @@
-- *****************************************************************
-- DLINKSW-DHCP6-CLIENT-MIB.mib : DHCPv6 Client MIB
--
-- Copyright (c) 2013 D-Link Corporation, all rights reserved.
--
-- *****************************************************************
DLINKSW-DHCP6-CLIENT-MIB DEFINITIONS ::= BEGIN
IMPORTS
MODULE-IDENTITY,
OBJECT-TYPE,
Integer32,
Unsigned32
FROM SNMPv2-SMI
DisplayString,
TruthValue,
RowStatus
FROM SNMPv2-TC
MODULE-COMPLIANCE, OBJECT-GROUP
FROM SNMPv2-CONF
InterfaceIndex,
InterfaceIndexOrZero
FROM IF-MIB
InetAddressPrefixLength, InetAddressIPv6
FROM INET-ADDRESS-MIB
dlinkIndustrialCommon
FROM DLINK-ID-REC-MIB;
dlinkSwDhcp6ClientMIB MODULE-IDENTITY
LAST-UPDATED "201301180000Z"
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 module defines objects for DHCPv6 Client."
REVISION "201301180000Z"
DESCRIPTION
"This is the first version of the MIB file for 'DHCPv6 Client'
functionality."
::= { dlinkIndustrialCommon 222 }
-- -----------------------------------------------------------------------------
dDhcp6ClientNotifications OBJECT IDENTIFIER ::= { dlinkSwDhcp6ClientMIB 0 }
dDhcp6ClientObjects OBJECT IDENTIFIER ::= { dlinkSwDhcp6ClientMIB 1 }
dDhcp6ClientConformance OBJECT IDENTIFIER ::= { dlinkSwDhcp6ClientMIB 2 }
-- -----------------------------------------------------------------------------
dDhcp6ClientGeneral OBJECT IDENTIFIER ::= { dDhcp6ClientObjects 1 }
dDhcp6ClientDuid OBJECT-TYPE
SYNTAX OCTET STRING
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The DHCP Unique Identity (DUID) of DHCPv6 Client."
::= { dDhcp6ClientGeneral 1 }
dhcp6ClientRestartIf OBJECT-TYPE
SYNTAX InterfaceIndexOrZero
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"Specifies the ifIndex of the interface on which DHCPv6 client will
be restart.
The agent will return an inconsistentValue error on sets if DHCPv6
client is not enabled on the interface.
The special value 0 is return when read."
::= { dDhcp6ClientGeneral 2 }
-- -----------------------------------------------------------------------------
dDhcp6ClientIfObjects OBJECT IDENTIFIER ::= { dDhcp6ClientObjects 2 }
dDhcp6CIfTable OBJECT-TYPE
SYNTAX SEQUENCE OF DDhcp6CIfEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"A table contains all DHCPv6 client entries which consists of
DHCPv6 client related configuration. An entry is created to set a
value different from the default on an interface. If an entry is
deleted, all configurations are reverted to default."
::= { dDhcp6ClientIfObjects 1 }
dDhcp6CIfEntry OBJECT-TYPE
SYNTAX DDhcp6CIfEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"Defines an entry in the dDhcp6CIfTable."
INDEX { dDhcp6CIfIndex }
::= { dDhcp6CIfTable 1 }
DDhcp6CIfEntry ::= SEQUENCE {
dDhcp6CIfIndex InterfaceIndex,
dDhcp6CIfAcquireAddrEnabled TruthValue,
dDhcp6CIfAcqAddrRapidCommit TruthValue,
dDhcp6CIfMinRefresh Unsigned32,
dDhcp6CIfRowStatus RowStatus
}
dDhcp6CIfIndex OBJECT-TYPE
SYNTAX InterfaceIndex
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"The ifIndex value of the interface.
Only VLAN interfaces are valid interfaces."
::= { dDhcp6CIfEntry 1 }
dDhcp6CIfAcquireAddrEnabled OBJECT-TYPE
SYNTAX TruthValue
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"This object indicates whether acquires an IPv6 address on an
interface from the DHCPv6 server."
DEFVAL { false }
::= { dDhcp6CIfEntry 2 }
dDhcp6CIfAcqAddrRapidCommit OBJECT-TYPE
SYNTAX TruthValue
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"This object indicates whether the two-message
exchange for address allocation and other configuration is used.
When dDhcp6CIfAcquireAddrEnabled is 'false', dDhcp6CIfRapidCommit
cannot be set to 'true'."
DEFVAL { false }
::= { dDhcp6CIfEntry 3 }
dDhcp6CIfMinRefresh OBJECT-TYPE
SYNTAX Unsigned32 (600..4294967295)
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"This object specifies the minimum acceptable information refresh
time in seconds. If the client receives a information refresh time
less than the configured minimum refresh time, the configured
minimum refresh time will be used."
DEFVAL { 86400 }
::= { dDhcp6CIfEntry 4 }
dDhcp6CIfRowStatus OBJECT-TYPE
SYNTAX RowStatus
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"The status of this conceptual row."
::= { dDhcp6CIfEntry 5 }
-- -----------------------------------------------------------------------------
dDhcp6CIfPrefixDeleCfgTable OBJECT-TYPE
SYNTAX SEQUENCE OF DDhcp6CIfPrefixDeleCfgEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"The table contains information about prefix delegation request
of DHCPv6 client. An entry is created/removed when enable/disable
request for prefix delegation through a specified interface."
::= { dDhcp6ClientIfObjects 3 }
dDhcp6CIfPrefixDeleCfgEntry OBJECT-TYPE
SYNTAX DDhcp6CIfPrefixDeleCfgEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"Defines an entry in the dDhcp6CIfPrefixDeleCfgTable."
INDEX { dDhcp6CIfPdCfgIfIndex }
::= { dDhcp6CIfPrefixDeleCfgTable 1 }
DDhcp6CIfPrefixDeleCfgEntry ::= SEQUENCE {
dDhcp6CIfPdCfgIfIndex InterfaceIndex,
dDhcp6CIfPdCfgPrefixName DisplayString,
dDhcp6CIfPdCfgHintAddr InetAddressIPv6,
dDhcp6CIfPdCfgHintLen InetAddressPrefixLength,
dDhcp6CIfPdCfgRapidCommit TruthValue,
dDhcp6CIfPdCfgRowStatus RowStatus
}
dDhcp6CIfPdCfgIfIndex OBJECT-TYPE
SYNTAX InterfaceIndex
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"The ifIndex value of the interface.
Only VLAN interfaces are valid interfaces."
::= { dDhcp6CIfPrefixDeleCfgEntry 1 }
dDhcp6CIfPdCfgPrefixName OBJECT-TYPE
SYNTAX DisplayString (SIZE (0..32))
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"This object indicates a IPv6 general prefix name.
The prefix acquired from the server will be stored in the IPv6
general prefix pool represented by this object, which will be in
turn used in configuration of IPv6 addresses.
The zero length indicates the general prefix name is not configured.
Either dDhcp6CIfPdCfgPrefixName or dDhcp6CIfPdCfgHintAddr can be configured
on an interface.
If neither dDhcp6CIfPdCfgPrefixName nor dDhcp6CIfPdCfgHintAddr is
configured, this indicates the request for prefix delegation
through a specified interface is disabled and the entry will be
deleted."
::= { dDhcp6CIfPrefixDeleCfgEntry 2 }
dDhcp6CIfPdCfgHintAddr OBJECT-TYPE
SYNTAX InetAddressIPv6
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"This object indicates an IPv6 prefix to be sent in the prefix
delegation request message as a hint.
The special value of all '00'Hs indicates that hint IPv6 prefix is
not configured.
Either dDhcp6CIfPdCfgPrefixName or dDhcp6CIfPdCfgHintAddr can be configured
on an interface.
If neither dDhcp6CIfPdCfgPrefixName nor dDhcp6CIfPdCfgHintAddr is
configured, this indicates the request for prefix delegation
through a specified interface is disabled and the entry will be
deleted."
::= { dDhcp6CIfPrefixDeleCfgEntry 3 }
dDhcp6CIfPdCfgHintLen OBJECT-TYPE
SYNTAX InetAddressPrefixLength
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"The length of the prefix (in bits).
It indicates the length of hint prefix."
::= { dDhcp6CIfPrefixDeleCfgEntry 4 }
dDhcp6CIfPdCfgRapidCommit OBJECT-TYPE
SYNTAX TruthValue
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"This object indicates that whether proceed with two-message
exchange for prefix delegation. The rapid-commit option will be
filled in the Solicit message to request two messages handshake."
::= { dDhcp6CIfPrefixDeleCfgEntry 5 }
dDhcp6CIfPdCfgRowStatus OBJECT-TYPE
SYNTAX RowStatus
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"The status of this conceptual row."
::= { dDhcp6CIfPrefixDeleCfgEntry 6 }
-- -----------------------------------------------------------------------------
dDhcp6ClientStatusObjects OBJECT IDENTIFIER ::= { dDhcp6ClientObjects 3 }
dDhcp6CIfStateTable OBJECT-TYPE
SYNTAX SEQUENCE OF DDhcp6CIfStateEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"The table contains per-interface DHCPv6 client state information."
::= { dDhcp6ClientStatusObjects 1 }
dDhcp6CIfStateEntry OBJECT-TYPE
SYNTAX DDhcp6CIfStateEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"Defines an entry in the dDhcp6CIfStateTable."
INDEX { dDhcp6CIfStateIfIndex }
::= { dDhcp6CIfStateTable 1 }
DDhcp6CIfStateEntry ::= SEQUENCE {
dDhcp6CIfStateIfIndex InterfaceIndex,
dDhcp6CIfStateCode INTEGER,
dDhcp6CIfStatusEventExpire Unsigned32
}
dDhcp6CIfStateIfIndex OBJECT-TYPE
SYNTAX InterfaceIndex
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"The ifIndex value of the interface.
Only VLAN interfaces are valid interfaces."
::= { dDhcp6CIfStateEntry 1 }
dDhcp6CIfStateCode OBJECT-TYPE
SYNTAX INTEGER { invalid(0), init(1), request(2),
release(3), active(4), renew(5), rebind(6) }
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"DHCPv6 Client running state."
::= { dDhcp6CIfStateEntry 2 }
dDhcp6CIfStatusEventExpire OBJECT-TYPE
SYNTAX Unsigned32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Next event expire time of DHCPv6 Client.
It is valid when DHCPv6 Client in
REQUEST and REBIND state."
::= { dDhcp6CIfStateEntry 3 }
-- -----------------------------------------------------------------------------
dDhcp6CIfAcquiredIaTable OBJECT-TYPE
SYNTAX SEQUENCE OF DDhcp6CIfAcquiredIaEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"The table contains the list of the known DHCPv6 servers."
::= { dDhcp6ClientStatusObjects 2 }
dDhcp6CIfAcquiredIaEntry OBJECT-TYPE
SYNTAX DDhcp6CIfAcquiredIaEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"Defines an entry in the dDhcp6CIfAcquiredIaTable."
INDEX {
dDhcp6CIfAcquiredIaType,
dDhcp6CIfAcquiredIaId,
dDhcp6CIfAcquiredIaIfIndex }
::= { dDhcp6CIfAcquiredIaTable 1 }
DDhcp6CIfAcquiredIaEntry ::= SEQUENCE {
dDhcp6CIfAcquiredIaType INTEGER,
dDhcp6CIfAcquiredIaId Unsigned32,
dDhcp6CIfAcquiredIaIfIndex InterfaceIndex,
dDhcp6CIfAcquiredIaServerAddr InetAddressIPv6,
dDhcp6CIfAcquiredIaServerDUID OCTET STRING,
dDhcp6CIfAcquiredIaServerPref Unsigned32,
dDhcp6CIfAcquiredIaT1 Unsigned32,
dDhcp6CIfAcquiredIaT2 Unsigned32,
dDhcp6CIfAcquiredIaExpireTime Unsigned32
}
dDhcp6CIfAcquiredIaType OBJECT-TYPE
SYNTAX INTEGER { other(0), iapd(1), iana(2) }
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"The acquired IA type.
other(0) - none of the following.
iapd(1) - the type of the IA is Prefix Delegation.
iana(2) - the type of the IA is non-temporary addresses."
::= { dDhcp6CIfAcquiredIaEntry 1 }
dDhcp6CIfAcquiredIaId OBJECT-TYPE
SYNTAX Unsigned32 (0..4294967295)
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"The acquired IA identify."
::= { dDhcp6CIfAcquiredIaEntry 2 }
dDhcp6CIfAcquiredIaIfIndex OBJECT-TYPE
SYNTAX InterfaceIndex
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"The ifIndex value of the interface.
Only VLAN interfaces are valid interfaces."
::= { dDhcp6CIfAcquiredIaEntry 3 }
dDhcp6CIfAcquiredIaServerAddr OBJECT-TYPE
SYNTAX InetAddressIPv6
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The address of DHCPv6 server."
::= { dDhcp6CIfAcquiredIaEntry 4 }
dDhcp6CIfAcquiredIaServerDUID OBJECT-TYPE
SYNTAX OCTET STRING
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The DUID of the corresponding DHCPv6 server."
::= { dDhcp6CIfAcquiredIaEntry 5 }
dDhcp6CIfAcquiredIaServerPref OBJECT-TYPE
SYNTAX Unsigned32 (0..4294967295)
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The preference of the corresponding DHCPv6 server."
::= { dDhcp6CIfAcquiredIaEntry 6 }
dDhcp6CIfAcquiredIaT1 OBJECT-TYPE
SYNTAX Unsigned32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The T1 timer of the acquired IA."
::= { dDhcp6CIfAcquiredIaEntry 7 }
dDhcp6CIfAcquiredIaT2 OBJECT-TYPE
SYNTAX Unsigned32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The T2 timer of the acquired IA."
::= { dDhcp6CIfAcquiredIaEntry 8 }
dDhcp6CIfAcquiredIaExpireTime OBJECT-TYPE
SYNTAX Unsigned32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The expire time of acquired IA."
::= { dDhcp6CIfAcquiredIaEntry 9 }
-- -----------------------------------------------------------------------------
dDhcp6CIfAddrTable OBJECT-TYPE
SYNTAX SEQUENCE OF DDhcp6CIfAddrEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"The table contains per-interface DHCPv6 address acquired from DHCPv6
server."
::= { dDhcp6ClientStatusObjects 3 }
dDhcp6CIfAddrEntry OBJECT-TYPE
SYNTAX DDhcp6CIfAddrEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"Defines an entry in the dDhcp6CIfAddrTable."
INDEX {
dDhcp6CIfAcquiredIaId,
dDhcp6CIfAddrInetAddr
}
::= { dDhcp6CIfAddrTable 1 }
DDhcp6CIfAddrEntry ::= SEQUENCE {
dDhcp6CIfAddrInetAddr InetAddressIPv6,
dDhcp6CIfAddrPreferLifeTime Unsigned32,
dDhcp6CIfAddrValidLifeTime Unsigned32,
dDhcp6CIfAddrExpireTime Unsigned32
}
dDhcp6CIfAddrInetAddr OBJECT-TYPE
SYNTAX InetAddressIPv6
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"The acquired address from DHCPv6 server."
::= { dDhcp6CIfAddrEntry 1 }
dDhcp6CIfAddrPreferLifeTime OBJECT-TYPE
SYNTAX Unsigned32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The prefer lifetime of the acquired address."
::= { dDhcp6CIfAddrEntry 2 }
dDhcp6CIfAddrValidLifeTime OBJECT-TYPE
SYNTAX Unsigned32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The valid lifetime of the acquired address."
::= { dDhcp6CIfAddrEntry 3 }
dDhcp6CIfAddrExpireTime OBJECT-TYPE
SYNTAX Unsigned32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The expire time of the acquired address."
::= { dDhcp6CIfAddrEntry 4 }
-- -----------------------------------------------------------------------------
dDhcp6CIfPrefixTable OBJECT-TYPE
SYNTAX SEQUENCE OF DDhcp6CIfPrefixEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"The table contains all acquired prefixes from DHCPv6 server(s)."
::= { dDhcp6ClientStatusObjects 4 }
dDhcp6CIfPrefixEntry OBJECT-TYPE
SYNTAX DDhcp6CIfPrefixEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"Defines an entry in the dDhcp6CIfPrefixTable."
INDEX {
dDhcp6CIfAcquiredIaId,
dDhcp6CIfPrefixAddr,
dDhcp6CIfPrefixAddrLen }
::= { dDhcp6CIfPrefixTable 1 }
DDhcp6CIfPrefixEntry ::= SEQUENCE {
dDhcp6CIfPrefixAddr InetAddressIPv6,
dDhcp6CIfPrefixAddrLen InetAddressPrefixLength,
dDhcp6CIfPrefixPreferLifeTime Unsigned32,
dDhcp6CIfPrefixValidLifeTime Unsigned32,
dDhcp6CIfPrefixExpireTime Unsigned32
}
dDhcp6CIfPrefixAddr OBJECT-TYPE
SYNTAX InetAddressIPv6
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"The address of the acquired prefix."
::= { dDhcp6CIfPrefixEntry 1 }
dDhcp6CIfPrefixAddrLen OBJECT-TYPE
SYNTAX InetAddressPrefixLength
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"The prefix length of the acquired prefix."
::= { dDhcp6CIfPrefixEntry 2 }
dDhcp6CIfPrefixPreferLifeTime OBJECT-TYPE
SYNTAX Unsigned32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The prefer lifetime of the acquired prefix."
::= { dDhcp6CIfPrefixEntry 3 }
dDhcp6CIfPrefixValidLifeTime OBJECT-TYPE
SYNTAX Unsigned32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The valid lifetime of the acquired prefix."
::= { dDhcp6CIfPrefixEntry 4 }
dDhcp6CIfPrefixExpireTime OBJECT-TYPE
SYNTAX Unsigned32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The expire time of the acquired prefix"
::= { dDhcp6CIfPrefixEntry 5 }
-- ***************************************************************************
-- Conformance
-- ***************************************************************************
dDhcp6ClientCompliances OBJECT IDENTIFIER ::= { dDhcp6ClientConformance 1 }
dDhcp6ClientCompliance MODULE-COMPLIANCE
STATUS current
DESCRIPTION
"The compliance statement for entities which implement the
DLINKSW-DHCP6-CLIENT-MIB."
MODULE -- this module
MANDATORY-GROUPS {
dDhcp6CBasicGroup,
dDhcp6CBasicStatusGroup
}
OBJECT dDhcp6CIfMinRefresh
MIN-ACCESS read-only
DESCRIPTION
"It is complaint to support read only if the implementation doesn't
support setting acceptable information refresh time."
OBJECT dDhcp6CIfAcqAddrRapidCommit
MIN-ACCESS read-only
DESCRIPTION
"It is complaint to support read only if the implementation doesn't
support rapid-commit for acquiring address."
GROUP dDhcp6CPrefixDelegationGroup
DESCRIPTION
"This group is required only if the agent supports requesting
for prefix delegation through a specified interface."
GROUP dDhcp6CPrefixDelegStatusGroup
DESCRIPTION
"This group is required only if the agent supports requesting
for prefix delegation through a specified interface."
OBJECT dDhcp6CIfPdCfgRapidCommit
MIN-ACCESS read-only
DESCRIPTION
"It is complaint to support read only if the implementation doesn't
support rapid-commit for requesting the prefix delegation."
::= { dDhcp6ClientCompliances 1 }
dDhcp6ClientGroups OBJECT IDENTIFIER ::= { dDhcp6ClientCompliances 2 }
dDhcp6CBasicGroup OBJECT-GROUP
OBJECTS {
dDhcp6ClientDuid,
dhcp6ClientRestartIf,
dDhcp6CIfAcquireAddrEnabled,
dDhcp6CIfAcqAddrRapidCommit,
dDhcp6CIfMinRefresh,
dDhcp6CIfRowStatus
}
STATUS current
DESCRIPTION
"This group contains the collection of objects related to
acquiring IPv6 address on an interface from DHCPv6 server."
::= { dDhcp6ClientGroups 1 }
dDhcp6CBasicStatusGroup OBJECT-GROUP
OBJECTS {
dDhcp6CIfStateCode,
dDhcp6CIfStatusEventExpire,
dDhcp6CIfAcquiredIaServerAddr,
dDhcp6CIfAcquiredIaServerDUID,
dDhcp6CIfAcquiredIaServerPref,
dDhcp6CIfAcquiredIaT1,
dDhcp6CIfAcquiredIaT2,
dDhcp6CIfAcquiredIaExpireTime,
dDhcp6CIfAddrPreferLifeTime,
dDhcp6CIfAddrValidLifeTime,
dDhcp6CIfAddrExpireTime
}
STATUS current
DESCRIPTION
"This group contains the collection of objects about the status
of acquired IPv6 address and the information about DHCPv6 server."
::= { dDhcp6ClientGroups 2 }
dDhcp6CPrefixDelegationGroup OBJECT-GROUP
OBJECTS {
dDhcp6CIfPdCfgPrefixName,
dDhcp6CIfPdCfgHintAddr,
dDhcp6CIfPdCfgHintLen,
dDhcp6CIfPdCfgRapidCommit,
dDhcp6CIfPdCfgRowStatus
}
STATUS current
DESCRIPTION
"This group contains the collection of objects related to
acquiring IPv6 prefix on an interface from DHCPv6 server."
::= { dDhcp6ClientGroups 3 }
dDhcp6CPrefixDelegStatusGroup OBJECT-GROUP
OBJECTS {
dDhcp6CIfPrefixPreferLifeTime,
dDhcp6CIfPrefixValidLifeTime,
dDhcp6CIfPrefixExpireTime
}
STATUS current
DESCRIPTION
"This group contains the collection of objects about the status
of the acquired prefixes."
::= { dDhcp6ClientGroups 4 }
END

View File

@ -0,0 +1,352 @@
-- *****************************************************************
-- DLINKSW-DHCP6-GUARD-MIB: DHCPv6 Guard MIB
--
-- Copyright (c) 2013 D-Link Corporation, all rights reserved.
--
-- *****************************************************************
DLINKSW-DHCP6-GUARD-MIB DEFINITIONS ::= BEGIN
IMPORTS
MODULE-IDENTITY,
Unsigned32,
OBJECT-TYPE
FROM SNMPv2-SMI
MODULE-COMPLIANCE,
OBJECT-GROUP
FROM SNMPv2-CONF
TruthValue,
RowStatus,
DisplayString
FROM SNMPv2-TC
ifIndex
FROM IF-MIB
dlinkIndustrialCommon
FROM DLINK-ID-REC-MIB;
dlinkSwDhcp6GuardMIB MODULE-IDENTITY
LAST-UPDATED "201307180000Z"
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 module defines objects for DHCPv6 Guard."
REVISION "201307180000Z"
DESCRIPTION
"This is the first version of the MIB file.
"
::= { dlinkIndustrialCommon 142 }
--
-- Textual Conventions
--
dDhcp6GuardNotifications OBJECT IDENTIFIER ::= { dlinkSwDhcp6GuardMIB 0 }
dDhcp6GuardObjects OBJECT IDENTIFIER ::= { dlinkSwDhcp6GuardMIB 1 }
dDhcp6GuardConformance OBJECT IDENTIFIER ::= { dlinkSwDhcp6GuardMIB 2 }
dDhcp6GuardPolicy OBJECT IDENTIFIER ::= { dDhcp6GuardObjects 1 }
dDhcp6GuardInterface OBJECT IDENTIFIER ::= { dDhcp6GuardObjects 2 }
-- -----------------------------------------------------------------------------
dDhcp6GuardPolicyNumber OBJECT-TYPE
SYNTAX Unsigned32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Indicates the number of entries present in DHCPv6 Guard policy
table."
::= { dDhcp6GuardPolicy 1 }
dDhcp6GuardPolicyTable OBJECT-TYPE
SYNTAX SEQUENCE OF DDhcp6GuardPolicyEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"The table contains information about DHCPv6 Guard policies."
::= { dDhcp6GuardPolicy 2 }
dDhcp6GuardPolicyEntry OBJECT-TYPE
SYNTAX DDhcp6GuardPolicyEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"An entry defined in dDhcp6GuardPolicyTable. An entry is
created/removed when a DHCPv6 Guard policy is created/deleted."
INDEX { dDhcp6GuardPolicyName }
::= { dDhcp6GuardPolicyTable 1 }
DDhcp6GuardPolicyEntry ::= SEQUENCE {
dDhcp6GuardPolicyName DisplayString,
dDhcp6GuardPolicyDeviceRole INTEGER,
dDhcp6GuardPolicyRowStatus RowStatus
}
dDhcp6GuardPolicyName OBJECT-TYPE
SYNTAX DisplayString (SIZE (1..32))
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"The name of the DHCPv6 Guard policy."
::= { dDhcp6GuardPolicyEntry 1 }
dDhcp6GuardPolicyDeviceRole OBJECT-TYPE
SYNTAX INTEGER {
client(1),
server(2)
}
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"Indicates the role of the attached device.
client: All DHCPv6 server messages are dropped on this port.
server: DHCPv6 server messages are allowed on this port.
"
DEFVAL { client }
::= { dDhcp6GuardPolicyEntry 2 }
dDhcp6GuardPolicyRowStatus OBJECT-TYPE
SYNTAX RowStatus
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"This object allows the dynamic creation and deletion of a policy."
::= { dDhcp6GuardPolicyEntry 99 }
-- -----------------------------------------------------------------------------
dDhcp6GuardMatchAclTable OBJECT-TYPE
SYNTAX SEQUENCE OF DDhcp6GuardMatchAclEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"The table contains a list of IPv6 access list associations for
DHCPv6 Guard policies.
The IPv6 access list is used to verify the sender's IPv6 address
in server messages.
"
::= { dDhcp6GuardPolicy 3 }
dDhcp6GuardMatchAclEntry OBJECT-TYPE
SYNTAX DDhcp6GuardMatchAclEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"An entry is defined in dDhcp6GuardMatchAclTable.
The first instance identifier index value identifies the
dDhcp6GuardPolicyEntry that an IPv6 access list (dDhcp6GuardMatchAclEntry)
belongs to. An entry is removed from this table when its
corresponding dDhcp6GuardPolicyEntry is deleted."
INDEX {
dDhcp6GuardPolicyName
}
::= { dDhcp6GuardMatchAclTable 1 }
DDhcp6GuardMatchAclEntry ::= SEQUENCE {
dDhcp6GuardMatchAccessListName DisplayString,
dDhcp6GuardMatchAclRowStatus RowStatus
}
dDhcp6GuardMatchAccessListName OBJECT-TYPE
SYNTAX DisplayString (SIZE (1..32))
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"This object indicates the name of the associated IPv6 access list
in a DHCPv6 Guard policy.
The IPv6 access list is used to filter DHCPv6 server message
based on sender's IP address.
If the IPv6 access list is not configured, all server messages
are bypassed."
::= { dDhcp6GuardMatchAclEntry 1 }
dDhcp6GuardMatchAclRowStatus OBJECT-TYPE
SYNTAX RowStatus
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"The row status variable, used according to installation
and removal conventions for conceptual rows."
::= { dDhcp6GuardMatchAclEntry 99 }
-- -----------------------------------------------------------------------------
dDhcp6GuardIfConfigTable OBJECT-TYPE
SYNTAX SEQUENCE OF DDhcp6GuardIfConfigEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"A table provides the mechanism to configure the DHCPv6 Guard
state at every interface capable of this feature.
"
::= { dDhcp6GuardInterface 1 }
dDhcp6GuardIfConfigEntry OBJECT-TYPE
SYNTAX DDhcp6GuardIfConfigEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"A row instance contains the configuration to enable or
disable state for DHCPv6 Guard at every interface
capable of this feature.
"
INDEX { ifIndex }
::= { dDhcp6GuardIfConfigTable 1 }
DDhcp6GuardIfConfigEntry ::= SEQUENCE {
dDhcp6GuardIfEnabled TruthValue
}
dDhcp6GuardIfEnabled OBJECT-TYPE
SYNTAX TruthValue
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object enables DHCPv6 Guard on the interface, if set this
object to 'true'.
Setting this object to 'false' disables the DHCPv6 Guard on the
interface.
"
::= { dDhcp6GuardIfConfigEntry 1 }
-- -----------------------------------------------------------------------------
dDhcp6GuardIfAttachTable OBJECT-TYPE
SYNTAX SEQUENCE OF DDhcp6GuardIfAttachEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"A table provides the mechanism to attach a DHCPv6 Guard policy on
a physical port or port-channel interface.
"
::= { dDhcp6GuardInterface 2 }
dDhcp6GuardIfAttachEntry OBJECT-TYPE
SYNTAX DDhcp6GuardIfAttachEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"A row instance contains the configuration to attach a DHCPv6 Guard
policy on a physical port or port-channel interface.
"
INDEX { ifIndex }
::= { dDhcp6GuardIfAttachTable 1 }
DDhcp6GuardIfAttachEntry ::= SEQUENCE {
dDhcp6GuardIfAttachPolicy DisplayString,
dDhcp6GuardIfAttachRowStatus RowStatus
}
dDhcp6GuardIfAttachPolicy OBJECT-TYPE
SYNTAX DisplayString (SIZE (1..32))
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"This object indicates the name of the attached DHCPv6 Guard
policy.
"
::= { dDhcp6GuardIfAttachEntry 1 }
dDhcp6GuardIfAttachRowStatus OBJECT-TYPE
SYNTAX RowStatus
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"The row status variable, used according to installation
and removal conventions for conceptual rows."
::= { dDhcp6GuardIfAttachEntry 99 }
-- Conformance
dDhcp6GuardMIBCompliances OBJECT IDENTIFIER ::= { dDhcp6GuardConformance 1 }
dDhcp6GuardMIBGroups OBJECT IDENTIFIER ::= { dDhcp6GuardConformance 2 }
dDhcp6GuardMIBCompliance MODULE-COMPLIANCE
STATUS current
DESCRIPTION
"The compliance statement for DLINKSW-DHCP6-GUARD-MIB"
MODULE
MANDATORY-GROUPS {
dDhcp6GuardIfConfigGroup
}
GROUP dDhcp6GuardPolicyGroup
DESCRIPTION
"This group is mandatory only for the platform which supports
the configuration of DHCPv6 Guard policy."
GROUP dDhcp6GuardIfAttachGroup
DESCRIPTION
"This group is mandatory only for the platform which supports
interface-specific configuration of attaching DHCPv6 Guard policy."
GROUP dDhcp6GuardMatchAclGroup
DESCRIPTION
"This group is mandatory only for the platform which supports
filtering IPv6 DHCPv6 message by IPv6 access list."
::= { dDhcp6GuardMIBCompliances 1 }
-- Units of Conformance
dDhcp6GuardIfConfigGroup OBJECT-GROUP
OBJECTS {
dDhcp6GuardIfEnabled
}
STATUS current
DESCRIPTION
"A collection of objects which are used to configure as
well as show information regarding the DHCPv6 Guard feature
per interface."
::= { dDhcp6GuardMIBGroups 1 }
dDhcp6GuardPolicyGroup OBJECT-GROUP
OBJECTS {
dDhcp6GuardPolicyNumber,
dDhcp6GuardPolicyDeviceRole,
dDhcp6GuardPolicyRowStatus
}
STATUS current
DESCRIPTION
"A collection of objects which are used to configure as
well as show information regarding the DHCPv6 Guard policy."
::= { dDhcp6GuardMIBGroups 2 }
dDhcp6GuardMatchAclGroup OBJECT-GROUP
OBJECTS {
dDhcp6GuardMatchAccessListName,
dDhcp6GuardMatchAclRowStatus
}
STATUS current
DESCRIPTION
"A collection of objects which are used to configure as
well as show information regarding the IPv6 access list
in DHCPv6 Guard policy."
::= { dDhcp6GuardMIBGroups 3 }
dDhcp6GuardIfAttachGroup OBJECT-GROUP
OBJECTS {
dDhcp6GuardIfAttachPolicy,
dDhcp6GuardIfAttachRowStatus
}
STATUS current
DESCRIPTION
"A collection of objects which are used to configure as
well as show information regarding the attaching policy
per interface.
"
::= { dDhcp6GuardMIBGroups 4 }
END

View File

@ -0,0 +1,260 @@
-- *****************************************************************
-- DLINKSW-DHCP6-RELAY-MIB.mib : DHCPv6 Relay MIB
--
-- Copyright (c) 2013 D-Link Corporation, all rights reserved.
--
-- *****************************************************************
DLINKSW-DHCP6-RELAY-MIB DEFINITIONS ::= BEGIN
IMPORTS
MODULE-IDENTITY,
OBJECT-TYPE,
NOTIFICATION-TYPE
FROM SNMPv2-SMI
MODULE-COMPLIANCE, OBJECT-GROUP
FROM SNMPv2-CONF
InterfaceIndex,
InterfaceIndexOrZero
FROM IF-MIB
TruthValue,
RowStatus,
DisplayString
FROM SNMPv2-TC
InetAddressIPv6
FROM INET-ADDRESS-MIB
dlinkIndustrialCommon
FROM DLINK-ID-REC-MIB;
dlinkSwDhcp6RelayMIB MODULE-IDENTITY
LAST-UPDATED "201309050000Z"
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 module defines objects for DHCPv6 Relay."
REVISION "201301180000Z"
DESCRIPTION
"First release of this MIB."
REVISION "201309050000Z"
DESCRIPTION
"Add dDhcp6RIfRelayDestOutIfIndex into the dDhcp6RIfRelayDestEntry INDEX"
::= { dlinkIndustrialCommon 88 }
--
-- Textual conventions
--
RemoteIdType ::= TEXTUAL-CONVENTION
STATUS current
DESCRIPTION
"Represents a remote-id type to determine the content encoded in
relay agent Remote ID option.
default(1) - VLAN ID (2 bytes) + Module ID (1 byte) +
Port ID (1 byte) + System MAC address (6 bytes)
cidWithUserDefine(2) - VLAN ID (2 bytes) + Module ID (1 byte) +
Port ID (1 byte) + dDhcp6RRemoteIdUdfValue
userDefine(3) - dDhcp6RRemoteIdUdfValue
"
SYNTAX INTEGER {
default(1),
cidWithUserDefine(2),
userDefine(3)
}
-- -----------------------------------------------------------------------------
dDhcp6RelayMIBNotifications OBJECT IDENTIFIER ::= { dlinkSwDhcp6RelayMIB 0 }
dDhcp6RelayMIBObjects OBJECT IDENTIFIER ::= { dlinkSwDhcp6RelayMIB 1 }
dDhcp6RelayMIBConformance OBJECT IDENTIFIER ::= { dlinkSwDhcp6RelayMIB 2 }
-- -----------------------------------------------------------------------------
dDhcp6RelayGeneral OBJECT IDENTIFIER ::= { dDhcp6RelayMIBObjects 1 }
dDhcp6RRemoteIdInsertEnabled OBJECT-TYPE
SYNTAX TruthValue
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object indicates whether the DHCPv6 relay agent inserts relay
agent Remote ID option (option 37)."
DEFVAL { false }
::= { dDhcp6RelayGeneral 1 }
dDhcp6RRemoteIdPolicy OBJECT-TYPE
SYNTAX INTEGER { drop(1), keep(2)}
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object indicates the re-forwarding policy of DHCPv6 relay agent
Remote ID (option 37).
drop (1) - discards the packet that already has option 37.
keep (2) - the DHCP requests packet that already has option 37
is left unchanged and directly relayed to the
DHCPv6 server."
DEFVAL { keep }
::= { dDhcp6RelayGeneral 2 }
dDhcp6RRemoteIdFormat OBJECT-TYPE
SYNTAX RemoteIdType
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object indicates the encoding type of relay agent remote ID."
::= { dDhcp6RelayGeneral 3 }
dDhcp6RRemoteIdUdfType OBJECT-TYPE
SYNTAX INTEGER {
string(1),
hex(2)
}
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object indicates the type of dDhcp6RRemoteIdUdfValue.
string(1): The type of option value is character string.
hex(2) : The type of option value is hexadecimal string."
::= { dDhcp6RelayGeneral 4 }
dDhcp6RRemoteIdUdfValue OBJECT-TYPE
SYNTAX DisplayString
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object indicates the user defined field which will be used to
encode the relay agent Remote ID option.
dDhcp6RRemoteIdUdfValue is always interpreted within the context
of an dDhcp6RRemoteIdUdfType value."
::= { dDhcp6RelayGeneral 5 }
-- -----------------------------------------------------------------------------
dDhcp6RelayIfObjects OBJECT IDENTIFIER ::= { dDhcp6RelayMIBObjects 2 }
dDhcp6RIfRelayDestTable OBJECT-TYPE
SYNTAX SEQUENCE OF DDhcp6RIfRelayDestEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This table is a list of destination addresses for DHCPv6 relay.
Once a destination address is configured on an interface, the DHCPv6
relay function is enabled on that interface. Multiple relay addresses
can be configured for an interface. If all relay addresses of an
interface are removed, the DHCPv6 relay function on that interface
is disabled."
::= { dDhcp6RelayIfObjects 1 }
dDhcp6RIfRelayDestEntry OBJECT-TYPE
SYNTAX DDhcp6RIfRelayDestEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"An entry in dDhcp6RIfRelayDestTable containing the information about
DHCPv6 relay on an interface."
INDEX {
dDhcp6RIfRelayDestIndex,
dDhcp6RIfRelayDestDestAddr,
dDhcp6RIfRelayDestOutIfIndex }
::= { dDhcp6RIfRelayDestTable 1 }
DDhcp6RIfRelayDestEntry ::= SEQUENCE {
dDhcp6RIfRelayDestIndex InterfaceIndex,
dDhcp6RIfRelayDestDestAddr InetAddressIPv6,
dDhcp6RIfRelayDestOutIfIndex InterfaceIndexOrZero,
dDhcp6RIfRelayDestRowStatus RowStatus
}
dDhcp6RIfRelayDestIndex OBJECT-TYPE
SYNTAX InterfaceIndex
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"The ifIndex of the DHCPv6 relay interface.
Only VLAN interfaces are valid interfaces. "
::= { dDhcp6RIfRelayDestEntry 1 }
dDhcp6RIfRelayDestDestAddr OBJECT-TYPE
SYNTAX InetAddressIPv6
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"The DHCPv6 Relay destination address."
::= { dDhcp6RIfRelayDestEntry 2 }
dDhcp6RIfRelayDestOutIfIndex OBJECT-TYPE
SYNTAX InterfaceIndexOrZero
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This object indicates the ifIndex value of the destination VLAN
interface.
The special value 0 indicates the output interface for the relay
destination is unspecified."
::= { dDhcp6RIfRelayDestEntry 3 }
dDhcp6RIfRelayDestRowStatus OBJECT-TYPE
SYNTAX RowStatus
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"The row status variable, used according to installation
and removal conventions for conceptual rows."
::= { dDhcp6RIfRelayDestEntry 4 }
-- ***************************************************************************
-- Conformance
-- ***************************************************************************
dDhcp6RelayCompliances OBJECT IDENTIFIER ::= { dDhcp6RelayMIBConformance 1 }
dDhcp6RelayCompliance MODULE-COMPLIANCE
STATUS current
DESCRIPTION
"The compliance statement for entities which implement the
DLINKSW-DHCP6-RELAY-MIB."
MODULE -- this module
MANDATORY-GROUPS {
dDhcp6RBasicGroup
}
GROUP dDhcp6RelayOption37Group
DESCRIPTION
"This group is required only if the agent supports relay agent
Remote ID (option 37)."
::= { dDhcp6RelayCompliances 1 }
dDhcp6RelayGroups OBJECT IDENTIFIER ::= { dDhcp6RelayMIBConformance 2 }
dDhcp6RBasicGroup OBJECT-GROUP
OBJECTS {
dDhcp6RIfRelayDestRowStatus
}
STATUS current
DESCRIPTION
"This group contains the collection of objects related to
DHCPv6 relay configuration on an interface."
::= { dDhcp6RelayGroups 1 }
dDhcp6RelayOption37Group OBJECT-GROUP
OBJECTS {
dDhcp6RRemoteIdInsertEnabled,
dDhcp6RRemoteIdPolicy,
dDhcp6RRemoteIdFormat,
dDhcp6RRemoteIdUdfType,
dDhcp6RRemoteIdUdfValue
}
STATUS current
DESCRIPTION
"This group contains the collection of objects related to
DHCPv6 relay agent Remote ID configuration."
::= { dDhcp6RelayGroups 2 }
END

File diff suppressed because it is too large Load Diff

599
mibs/dlink/DLINKSW-DNS-MIB Normal file
View File

@ -0,0 +1,599 @@
-- *****************************************************************
-- DLINKSW-DNS-MIB.mib : DNS MIB
--
-- Copyright (c) 2013 D-Link Corporation, all rights reserved.
--
-- *****************************************************************
DLINKSW-DNS-MIB DEFINITIONS ::= BEGIN
IMPORTS
dlinkIndustrialCommon
FROM DLINK-ID-REC-MIB
InterfaceIndexOrZero
FROM IF-MIB
InetAddressType, InetAddress
FROM INET-ADDRESS-MIB
SnmpAdminString
FROM SNMP-FRAMEWORK-MIB
OBJECT-GROUP, MODULE-COMPLIANCE
FROM SNMPv2-CONF
Integer32, Unsigned32, OBJECT-TYPE, MODULE-IDENTITY
FROM SNMPv2-SMI
TruthValue, RowStatus, TEXTUAL-CONVENTION
FROM SNMPv2-TC;
dlinkSwDnsMIB MODULE-IDENTITY
LAST-UPDATED "201308290000Z"
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 objects to manage the DNS."
REVISION "201305090000Z"
DESCRIPTION
"First release of this MIB."
REVISION "201308290000Z"
DESCRIPTION
"1. Update dDnsStaticNameSrvIpAddr SYNTAX."
::= { dlinkIndustrialCommon 77 }
--
-- Textual conventions
--
DnsTime ::= TEXTUAL-CONVENTION
DISPLAY-HINT
"4d"
STATUS current
DESCRIPTION
"DnsTime values are 32-bit unsigned integers which
measure time in seconds."
REFERENCE
"RFC-1035."
SYNTAX Unsigned32
--
-- Node definitions
--
dDnsMIBNotifications OBJECT IDENTIFIER ::= { dlinkSwDnsMIB 0 }
dDnsMIBObjects OBJECT IDENTIFIER ::= { dlinkSwDnsMIB 1 }
dDnsGlobal OBJECT IDENTIFIER ::= { dDnsMIBObjects 1 }
dDnsResolverEnabled OBJECT-TYPE
SYNTAX TruthValue
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object indicates the DNS Resolver state."
::= { dDnsGlobal 1 }
dDnsResolverSourceInterface OBJECT-TYPE
SYNTAX InterfaceIndexOrZero
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object indicates the interface whose IP address will be
used as the source address for sending the DNS query packet."
::= { dDnsGlobal 2 }
dDnsResolverDomainName OBJECT-TYPE
SYNTAX SnmpAdminString
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object indicates default domain name used to qualify an
unqualified host name for resolving its IP address."
::= { dDnsGlobal 3 }
dDnsResolverTimeOut OBJECT-TYPE
SYNTAX Unsigned32 (1..60)
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object indicates the DNS Resolver name server time out."
::= { dDnsGlobal 4 }
dDnsCacheSrvEnabled OBJECT-TYPE
SYNTAX TruthValue
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object indicates if the DNS caching name server function is
enabled or disabled."
::= { dDnsGlobal 5 }
dDnsCacheSrvMaxForwarderQueue OBJECT-TYPE
SYNTAX Unsigned32 (0..1000000)
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object indicates maximum number of requests which can be
kept in the forwarder queue. The value of 0 means no limit.."
::= { dDnsGlobal 6 }
dDnsStaticHostLookupEnabled OBJECT-TYPE
SYNTAX TruthValue
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object indicates enable or disable lookup the dynamic cache
before ask the name server."
::= { dDnsGlobal 7 }
dDnsDynamicHostLookupEnabled OBJECT-TYPE
SYNTAX TruthValue
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object indicates enable or disable lookup the dynamic cache
before ask the name server."
::= { dDnsGlobal 8 }
dDnsNameSrv OBJECT IDENTIFIER ::= { dDnsMIBObjects 9 }
dDnsStaticNameSrvTable OBJECT-TYPE
SYNTAX SEQUENCE OF DDnsStaticNameSrvEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This table is a list of DNS static server IP address
configuration, which is manually specified."
::= { dDnsNameSrv 1 }
dDnsStaticNameSrvEntry OBJECT-TYPE
SYNTAX DDnsStaticNameSrvEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"An entry of dDnsStaticSrvIpTable."
INDEX { dDnsStaticNameSrvIpVrfName, dDnsStaticNameSrvIpType, dDnsStaticNameSrvIpAddr }
::= { dDnsStaticNameSrvTable 1 }
DDnsStaticNameSrvEntry ::=
SEQUENCE {
dDnsStaticNameSrvIpVrfName
SnmpAdminString,
dDnsStaticNameSrvIpType
InetAddressType,
dDnsStaticNameSrvIpAddr
InetAddress,
dDnsStaticNameSrvIpPriority
Integer32,
dDnsStaticNameSrvIpRowStatus
RowStatus
}
dDnsStaticNameSrvIpVrfName OBJECT-TYPE
SYNTAX SnmpAdminString (SIZE (1..32))
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This object indicates the name of the routing forwarding instance.
A zero length string indicates the VRF name is not specified."
::= { dDnsStaticNameSrvEntry 1 }
dDnsStaticNameSrvIpType OBJECT-TYPE
SYNTAX InetAddressType
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This node gives the type of the static DNS server IP address."
::= { dDnsStaticNameSrvEntry 2 }
dDnsStaticNameSrvIpAddr OBJECT-TYPE
SYNTAX InetAddress
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This node gives the IP address of the DNS server
specified by the user."
::= { dDnsStaticNameSrvEntry 3 }
dDnsStaticNameSrvIpPriority OBJECT-TYPE
SYNTAX Integer32 (1..2147483647)
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"This node gives the priority of the DNS server, according to the
creation order. The smaller the value is, the higher the priority
level is."
::= { dDnsStaticNameSrvEntry 4 }
dDnsStaticNameSrvIpRowStatus OBJECT-TYPE
SYNTAX RowStatus
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"
This node is used to operate a table entry.
"
::= { dDnsStaticNameSrvEntry 5 }
dDnsDynamicNameSrvTable OBJECT-TYPE
SYNTAX SEQUENCE OF DDnsDynamicNameSrvEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This table is a list of DNS dynamic server IP address
configuration, which is dynamically obtained through DHCP."
::= { dDnsNameSrv 2 }
dDnsDynamicNameSrvEntry OBJECT-TYPE
SYNTAX DDnsDynamicNameSrvEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"An entry of dDnsDynamicNameSrvIpTable."
INDEX { dDnsDynamicNameSrvIpVrfName, dDnsDynamicNameSrvIpType, dDnsDynamicNameSrvIpAddr }
::= { dDnsDynamicNameSrvTable 1 }
DDnsDynamicNameSrvEntry ::=
SEQUENCE {
dDnsDynamicNameSrvIpVrfName
SnmpAdminString,
dDnsDynamicNameSrvIpType
InetAddressType,
dDnsDynamicNameSrvIpAddr
InetAddress,
dDnsDynamicNameSrvIpPriority
Integer32
}
dDnsDynamicNameSrvIpVrfName OBJECT-TYPE
SYNTAX SnmpAdminString (SIZE (1..32))
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This object indicates the name of the routing forwarding instance.
A zero length string indicates the VRF name is not specified."
::= { dDnsDynamicNameSrvEntry 1 }
dDnsDynamicNameSrvIpType OBJECT-TYPE
SYNTAX InetAddressType
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This node gives the type of the dynamic DNS server IP address."
::= { dDnsDynamicNameSrvEntry 2 }
dDnsDynamicNameSrvIpAddr OBJECT-TYPE
SYNTAX InetAddress (SIZE (1..16))
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This node gives the IP address of the DNS server dynamically
obtained through DHCP."
::= { dDnsDynamicNameSrvEntry 3 }
dDnsDynamicNameSrvIpPriority OBJECT-TYPE
SYNTAX Integer32 (1..2147483647)
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"This node gives the priority of the DNS server, according to the
order obtained through DHCP. The smaller the value is, the higher
the priority level is."
::= { dDnsDynamicNameSrvEntry 4 }
dDnsHost OBJECT IDENTIFIER ::= { dDnsMIBObjects 10 }
dDnsStaticHostTable OBJECT-TYPE
SYNTAX SEQUENCE OF DDnsStaticHostEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This table contains DNS resolver static host information."
::= { dDnsHost 2 }
dDnsStaticHostEntry OBJECT-TYPE
SYNTAX DDnsStaticHostEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"A list of information about DNS resolver static host."
INDEX { dDnsStaticHostIndex }
::= { dDnsStaticHostTable 1 }
DDnsStaticHostEntry ::=
SEQUENCE {
dDnsStaticHostIndex
INTEGER,
dDnsStaticHostVrfName
SnmpAdminString,
dDnsStaticHostName
SnmpAdminString,
dDnsStaticHostIPType
InetAddressType,
dDnsStaticHostIPAddr
InetAddress,
dDnsStaticHostRowStatus
RowStatus
}
dDnsStaticHostIndex OBJECT-TYPE
SYNTAX INTEGER (1..2147483647)
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This object indicates the DNS resolver static host table index."
::= { dDnsStaticHostEntry 1 }
dDnsStaticHostVrfName OBJECT-TYPE
SYNTAX SnmpAdminString
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"This object indicates the name of the routing forwarding instance.
A zero length string indicates the VRF name is not specified."
::= { dDnsStaticHostEntry 2 }
dDnsStaticHostName OBJECT-TYPE
SYNTAX SnmpAdminString
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"This object indicates the DNS resolver static host name."
::= { dDnsStaticHostEntry 3 }
dDnsStaticHostIPType OBJECT-TYPE
SYNTAX InetAddressType
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"This object indicates the the DNS resolver static host IP address type."
::= { dDnsStaticHostEntry 4 }
dDnsStaticHostIPAddr OBJECT-TYPE
SYNTAX InetAddress (SIZE (1..16))
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"This object indicates the the DNS resolver static host IP address.
Note: current IPv6 doesn't support VRF."
::= { dDnsStaticHostEntry 5 }
dDnsStaticHostRowStatus OBJECT-TYPE
SYNTAX RowStatus
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"This object is used to operate a table entry."
::= { dDnsStaticHostEntry 7 }
dDnsDynamicHostTable OBJECT-TYPE
SYNTAX SEQUENCE OF DDnsDynamicHostEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This table contains DNS resolver dynamic host information."
::= { dDnsHost 5 }
dDnsDynamicHostEntry OBJECT-TYPE
SYNTAX DDnsDynamicHostEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"A list of information about DNS resolver dynamic host."
INDEX { dDnsDynamicHostIndex }
::= { dDnsDynamicHostTable 1 }
DDnsDynamicHostEntry ::=
SEQUENCE {
dDnsDynamicHostIndex
INTEGER,
dDnsDynamicHostVrfName
SnmpAdminString,
dDnsDynamicHostName
SnmpAdminString,
dDnsDynamicHostTTL
DnsTime,
dDnsDynamicHostIPType
InetAddressType,
dDnsDynamicHostIPAddr
InetAddress,
dDnsDynamicHostClearCtrl
INTEGER
}
dDnsDynamicHostIndex OBJECT-TYPE
SYNTAX INTEGER (1..2147483647)
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This object indicates the DNS resolver dynamic host index."
::= { dDnsDynamicHostEntry 1 }
dDnsDynamicHostVrfName OBJECT-TYPE
SYNTAX SnmpAdminString
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"This object indicates the name of the routing forwarding instance.
A zero length string indicates the VRF name is not specified."
::= { dDnsDynamicHostEntry 2 }
dDnsDynamicHostName OBJECT-TYPE
SYNTAX SnmpAdminString
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"This object indicates the DNS resolver dynamic host name."
::= { dDnsDynamicHostEntry 3 }
dDnsDynamicHostTTL OBJECT-TYPE
SYNTAX DnsTime
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"This object indicates the time of the dynamic host remained in caches to live."
::= { dDnsDynamicHostEntry 4 }
dDnsDynamicHostIPType OBJECT-TYPE
SYNTAX InetAddressType
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"This object indicates the DNS resolver dynamic host IP Address Type."
::= { dDnsDynamicHostEntry 5 }
dDnsDynamicHostIPAddr OBJECT-TYPE
SYNTAX InetAddress
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"This object indicates the DNS resolver dynamic host IP address.
Note: current IPv6 doesn't support VRF."
::= { dDnsDynamicHostEntry 6 }
dDnsDynamicHostClearCtrl OBJECT-TYPE
SYNTAX INTEGER
{
clear(1),
noOp(2)
}
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"Description: This object clears all counters, when set to 'clear'.
No action is taken if this object is set to 'noOp'.
When read, the value 'noOp' is returned"
::= { dDnsDynamicHostEntry 8 }
dDnsMIBConformance OBJECT IDENTIFIER ::= { dlinkSwDnsMIB 2 }
dDnsMIBCompliances OBJECT IDENTIFIER ::= { dDnsMIBConformance 1 }
dDnsMIBCompliance MODULE-COMPLIANCE
STATUS current
DESCRIPTION
"The compliance statement for the DoS Prevention MIB."
MODULE -- this module
MANDATORY-GROUPS { dDnsResolverGroup, dDnsStaticHostGroup, dDnsDynamicHostGroup, dDnsStaticNameSrvGroup }
GROUP dDnsDynamicNameSrvGroup
DESCRIPTION
" "
GROUP dDnsCacheSrvGroup
DESCRIPTION
" "
::= { dDnsMIBCompliances 1 }
dDnsMIBGroups OBJECT IDENTIFIER ::= { dDnsMIBConformance 2 }
dDnsResolverGroup OBJECT-GROUP
OBJECTS { dDnsResolverSourceInterface, dDnsResolverDomainName, dDnsResolverTimeOut, dDnsResolverEnabled }
STATUS current
DESCRIPTION
"The collection of objects provides control for resolver."
::= { dDnsMIBGroups 1 }
dDnsCacheSrvGroup OBJECT-GROUP
OBJECTS { dDnsCacheSrvMaxForwarderQueue, dDnsCacheSrvEnabled }
STATUS current
DESCRIPTION
"The collection of objects provides control for caching server."
::= { dDnsMIBGroups 2 }
dDnsStaticHostGroup OBJECT-GROUP
OBJECTS { dDnsStaticHostVrfName, dDnsStaticHostName, dDnsStaticHostRowStatus, dDnsStaticHostLookupEnabled, dDnsStaticHostIPType,
dDnsStaticHostIPAddr }
STATUS current
DESCRIPTION
"The collection of objects provides the control for static host group."
::= { dDnsMIBGroups 3 }
dDnsDynamicHostGroup OBJECT-GROUP
OBJECTS { dDnsDynamicHostVrfName, dDnsDynamicHostName, dDnsDynamicHostTTL, dDnsDynamicHostClearCtrl, dDnsDynamicHostLookupEnabled,
dDnsDynamicHostIPType, dDnsDynamicHostIPAddr }
STATUS current
DESCRIPTION
"The collection of objects provides information for dynamic host table."
::= { dDnsMIBGroups 4 }
dDnsStaticNameSrvGroup OBJECT-GROUP
OBJECTS { dDnsStaticNameSrvIpPriority, dDnsStaticNameSrvIpRowStatus }
STATUS current
DESCRIPTION
"The collection of objects provides control for static name server."
::= { dDnsMIBGroups 5 }
dDnsDynamicNameSrvGroup OBJECT-GROUP
OBJECTS { dDnsDynamicNameSrvIpPriority }
STATUS current
DESCRIPTION
"The collection of objects provides information for dynamic name server."
::= { dDnsMIBGroups 6 }
END
--
-- DLINKSW-DNS-MIB 20130509.mib
--

View File

@ -0,0 +1,398 @@
-- *****************************************************************
-- DLINKSW-DOS-PREVENT-MIB.mib : DoS (Denial of Service) Prevention MIB
--
-- Copyright (c) 2013 D-Link Corporation, all rights reserved.
--
-- *****************************************************************
DLINKSW-DOS-PREVENT-MIB DEFINITIONS ::= BEGIN
IMPORTS
TEXTUAL-CONVENTION
FROM SNMPv2-TC
MODULE-IDENTITY,OBJECT-TYPE,Unsigned32,Counter64,IpAddress
FROM SNMPv2-SMI
TruthValue
FROM SNMPv2-TC
MODULE-COMPLIANCE, OBJECT-GROUP
FROM SNMPv2-CONF
InterfaceIndexOrZero
FROM IF-MIB
dlinkIndustrialCommon
FROM DLINK-ID-REC-MIB;
dlinkSwDosPrevMIB MODULE-IDENTITY
LAST-UPDATED "201305300000Z"
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 DOS Protection
application of the device."
REVISION "201305300000Z"
DESCRIPTION
"Initial version of this MIB module."
::= { dlinkIndustrialCommon 59 }
--
-- Textual conventions
--
DosAttackType ::= TEXTUAL-CONVENTION
STATUS current
DESCRIPTION
"This data type indicates a well-known DoS type which can be detected.
Note that a particular agent may support only certain DoS attack
types. Thus, the valid values of this object are project
dependent. An agent may respond with an error
(e.g., 'inconsistentValue ') to a management SET operation which
attempts to modify the value to one which is not supported by the
managed device."
SYNTAX INTEGER{
landAttack(1),
blatAttack(2),
smurfAttack(3),
tcpNullScan(4),
tcpXmasScan(5),
tcpSynFin(6),
tcpSynSrcPortLess1024(7),
arpMacSaMismatch(8),
fraggleAttack(9),
icmpRedirectAttack(10),
icmpUnreachableAttack(11),
ipRouteRecordAttack(12),
ipSourceRouteAttack(13),
pingDeathAttack(14),
tcpFlagSynRst(15),
tcpOverMacMcbc(16),
tcpSynWithData(17),
tcpTinyFragAttack(18),
tcpUdpPortZero(19),
tracertAttack(20),
winNukeAttack(21),
pingFlood(22),
synFlood(23),
teardrop(24),
all(999) }
-- ***************************************************************************
-- Node definitions
-- ***************************************************************************
dDosPrevMIBNotifications OBJECT IDENTIFIER ::= { dlinkSwDosPrevMIB 0 }
dDosPrevMIBObjects OBJECT IDENTIFIER ::= { dlinkSwDosPrevMIB 1 }
dDosPrevMIBConformance OBJECT IDENTIFIER ::= { dlinkSwDosPrevMIB 2 }
-- ***************************************************************************
-- dDosPrevMIBObjects
-- ***************************************************************************
dDosPrevGlobalNotifsEnabled OBJECT-TYPE
SYNTAX TruthValue
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"Set to 'true' to enable global SNMP notification
for DoS prevention feature. Setting the object to
'false' will disable SNMP notifications."
DEFVAL { false }
::= { dDosPrevMIBObjects 1}
dDosPrevNotifyInfo OBJECT IDENTIFIER ::= { dDosPrevMIBObjects 2 }
dDosPrevNotiInfoDropFramesCount OBJECT-TYPE
SYNTAX Counter64
MAX-ACCESS accessible-for-notify
STATUS current
DESCRIPTION
"This object indicates the total dropped packets due to DoS attack
in the past 5 minutes."
::= { dDosPrevNotifyInfo 1 }
dDosPrevNotiInfoDropIpAddr OBJECT-TYPE
SYNTAX IpAddress
MAX-ACCESS accessible-for-notify
STATUS current
DESCRIPTION
"If the DoS packet is from the end station, represent the IP address of attacker;
otherwise represent the router's IP."
::= { dDosPrevNotifyInfo 2 }
dDosPrevNotiInfoDropPortNumber OBJECT-TYPE
SYNTAX INTEGER
MAX-ACCESS accessible-for-notify
STATUS current
DESCRIPTION
"This object indicates the attacked port number."
::= { dDosPrevNotifyInfo 3 }
dDosPrevCtrlTable OBJECT-TYPE
SYNTAX SEQUENCE OF DDosPrevCtrlEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"A table includes the settings of all DoS prevention
types supported by the Switch.
Note: the special attack type 'all' is not included
in this table."
::= { dDosPrevMIBObjects 3 }
dDosPrevCtrlEntry OBJECT-TYPE
SYNTAX DDosPrevCtrlEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"A single entry in the DoS prevention control table."
INDEX { dDoSPrevCtrlAttackType }
::= { dDosPrevCtrlTable 1 }
DDosPrevCtrlEntry ::= SEQUENCE {
dDoSPrevCtrlAttackType DosAttackType,
dDoSPrevCtrlEnabled TruthValue,
dDoSPrevCtrlActionType INTEGER,
dDoSPrevCtrlRedirectPort InterfaceIndexOrZero,
dDoSPrevCtrlRedirectPriority INTEGER,
dDoSPrevCtrlRedirectRateLimit Unsigned32
}
dDoSPrevCtrlAttackType OBJECT-TYPE
SYNTAX DosAttackType
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This object indicates the DoS attack type."
::= { dDosPrevCtrlEntry 1 }
dDoSPrevCtrlEnabled OBJECT-TYPE
SYNTAX TruthValue
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object indicates the state of the DoS attack type.
Setting this object to 'false' will reset other columnar
objects in the same row."
DEFVAL { false }
::= { dDosPrevCtrlEntry 2 }
dDoSPrevCtrlActionType OBJECT-TYPE
SYNTAX INTEGER {
drop(1),
redirect(2)
}
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object indicates the action for the DoS prevention type.
If this object is set to 'redirect' and dDoSPrevCtrlEnabled is
'true', the configuration will not take effect until a valid
redirect port (dDoSPrevCtrlRedirectPort) is specified. If redirect
port is not valid, the switch behaves same as 'drop' is set."
DEFVAL { drop }
::= { dDosPrevCtrlEntry 3 }
dDoSPrevCtrlRedirectPort OBJECT-TYPE
SYNTAX InterfaceIndexOrZero
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object indicates the port to which the attacking packet will
be redirected. A value of 0 means redirect port is unspecified.
This object can only be modified for entries whose value of
dDoSPrevCtrlEnabled is 'true' and dDoSPrevCtrlActionType is
'redirect'. Otherwise, inconsistentValue error will be returned."
DEFVAL { 0 }
::= { dDosPrevCtrlEntry 4 }
dDoSPrevCtrlRedirectPriority OBJECT-TYPE
SYNTAX INTEGER (0..8)
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object configures the priority for the redirected attacking
packets. Valid priority values are from 0 to 7.
A value of 8 indicates that the original priority will not be
changed when the packet is redirected.
This object can only be modified for entries whose value of
dDoSPrevCtrlEnabled is 'true', dDoSPrevCtrlActionType is
'redirect' and dDoSPrevCtrlRedirectPort is specified.
Otherwise, inconsistentValue error will be returned."
DEFVAL { 8 }
::= { dDosPrevCtrlEntry 5 }
dDoSPrevCtrlRedirectRateLimit OBJECT-TYPE
SYNTAX Unsigned32 (0..100000000)
UNITS "kbps"
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object indicates the rate-limit (kilobit per second) for
redirecting DoS attacking packets.
The valid range and granularity is project dependent.
A value of 0 indicates that there is no limit for redirecting
DoS attacking packets.
This object can only be modified for entries whose value of
dDoSPrevCtrlEnabled is 'true', dDoSPrevCtrlActionType is
'redirect' and dDoSPrevCtrlRedirectPort is specified.
Otherwise, inconsistentValue error will be returned."
DEFVAL { 0 }
::= { dDosPrevCtrlEntry 6 }
dDoSPrevCounterTable OBJECT-TYPE
SYNTAX SEQUENCE OF DDoSPrevCounterEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"The table contains the counters of DoS prevention
types supported by the Switch.
This table only contains one entry of attack type is 'all' if per
DoS-type counters is not supported."
::= { dDosPrevMIBObjects 4 }
dDoSPrevCounterEntry OBJECT-TYPE
SYNTAX DDoSPrevCounterEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"A single entry in the DoS prevention counter table."
INDEX { dDoSPrevCounterAttackType }
::= { dDoSPrevCounterTable 1 }
DDoSPrevCounterEntry ::= SEQUENCE {
dDoSPrevCounterAttackType DosAttackType,
dDoSPrevCounterFrameCount Counter64,
dDoSPrevCounterClearCounter INTEGER
}
dDoSPrevCounterAttackType OBJECT-TYPE
SYNTAX DosAttackType
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This object indicates the DoS attack type."
::= { dDoSPrevCounterEntry 1 }
dDoSPrevCounterFrameCount OBJECT-TYPE
SYNTAX Counter64
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"This object indicates the number of frames detected for
the DoS attack prevention type."
::= { dDoSPrevCounterEntry 2 }
dDoSPrevCounterClearCounter OBJECT-TYPE
SYNTAX INTEGER {
clear(1),
noOp(2)
}
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"This object is used to reset the counter of the specific
attack type when set to 'clear'.
No action is taken if this object is set to 'noOp'.
When read, the value 'noOp' is returned."
DEFVAL { noOp }
::= { dDoSPrevCounterEntry 3 }
-- ***************************************************************************
-- Notifications
-- ***************************************************************************
dDosPreveAttackDetected NOTIFICATION-TYPE
OBJECTS { dDosPrevNotiInfoDropFramesCount }
STATUS current
DESCRIPTION
"This trap is sent when dDosPrevGlobalNotifsEnabled is 'true' and
the DoS attack occurs in the past 5 minutes."
::= { dDosPrevMIBNotifications 1 }
dDosPreveAttackDetectedPacket NOTIFICATION-TYPE
OBJECTS {
dDoSPrevCtrlAttackType,
dDosPrevNotiInfoDropIpAddr,
dDosPrevNotiInfoDropPortNumber
}
STATUS current
DESCRIPTION
"This trap is sent when dDosPrevGlobalNotifsEnabled is 'true' and
the DoS attack occurs to detect the dropped attack packets."
::= { dDosPrevMIBNotifications 2 }
-- ***************************************************************************
-- Conformance
-- ***************************************************************************
dDosPrevMIBCompliances
OBJECT IDENTIFIER ::= { dDosPrevMIBConformance 1 }
dDosPrevMIBGroups
OBJECT IDENTIFIER ::= { dDosPrevMIBConformance 2 }
dDosPrevMIBCompliance MODULE-COMPLIANCE
STATUS current
DESCRIPTION
"The compliance statement for the DoS Prevention MIB."
MODULE -- this module
MANDATORY-GROUPS {
dDosPrevBasicGroup,
dDosPrevNotifyObjectGroup,
dDosPrevNotificationsGroup
}
GROUP dDosPrevActionRedirectCtrlGroup
DESCRIPTION
"This group need not be implemented if only support 'drop' for DoS
attack."
::= { dDosPrevMIBCompliances 1 }
dDosPrevBasicGroup OBJECT-GROUP
OBJECTS {
dDoSPrevCtrlEnabled,
dDoSPrevCounterFrameCount,
dDoSPrevCounterClearCounter
}
STATUS current
DESCRIPTION
"The collection of objects provides basic control for DoS
Prevention."
::= { dDosPrevMIBGroups 1 }
dDosPrevActionRedirectCtrlGroup OBJECT-GROUP
OBJECTS {
dDoSPrevCtrlActionType,
dDoSPrevCtrlRedirectPort,
dDoSPrevCtrlRedirectPriority,
dDoSPrevCtrlRedirectRateLimit
}
STATUS current
DESCRIPTION
"The collection of objects provides the advanced action control for
DoS Prevention."
::= { dDosPrevMIBGroups 2 }
dDosPrevNotifyObjectGroup OBJECT-GROUP
OBJECTS {
dDosPrevGlobalNotifsEnabled,
dDosPrevNotiInfoDropFramesCount,
dDosPrevNotiInfoDropIpAddr,
dDosPrevNotiInfoDropPortNumber
}
STATUS current
DESCRIPTION
"The collection of objects provides the control and information of
DoS notifications."
::= { dDosPrevMIBGroups 3 }
dDosPrevNotificationsGroup NOTIFICATION-GROUP
NOTIFICATIONS {
dDosPreveAttackDetected,
dDosPreveAttackDetectedPacket
}
STATUS current
DESCRIPTION
"The collection of objects provides DoS notifications."
::= { dDosPrevMIBGroups 4 }
END

View File

@ -0,0 +1,939 @@
-- *****************************************************************
-- DLINKSW-DOT1X-EXT-MIB.mib : 802.1X Extensions MIB
--
-- Copyright (c) 2013 D-Link Corporation, all rights reserved.
--
-- *****************************************************************
DLINKSW-DOT1X-EXT-MIB DEFINITIONS ::= BEGIN
IMPORTS
MODULE-IDENTITY, OBJECT-TYPE, Counter32, Counter64,
Unsigned32, TimeTicks
FROM SNMPv2-SMI
TruthValue, MacAddress, DisplayString
FROM SNMPv2-TC
MODULE-COMPLIANCE, OBJECT-GROUP, NOTIFICATION-GROUP
FROM SNMPv2-CONF
InterfaceIndex, InterfaceIndexOrZero
FROM IF-MIB
VlanId
FROM Q-BRIDGE-MIB
SnmpAdminString
FROM SNMP-FRAMEWORK-MIB
ifIndex
FROM IF-MIB
dnaSessionClientMacAddress, dnaSessionAuthVlan, dnaSessionAuthUserName
FROM DLINKSW-NETWORK-ACCESS-MIB
dlinkIndustrialCommon
FROM DLINK-ID-REC-MIB;
dlinkSwDot1xExtMIB MODULE-IDENTITY
LAST-UPDATED "201307190000Z"
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 module defines objects for managing IEEE 802.1X
extensions which cannot be covered by standard MIB
(IEEE8021-PAE-MIB)."
REVISION "201307190000Z"
DESCRIPTION
"This is the first version of the MIB file for IEEE 802.1X
extensions."
::= { dlinkIndustrialCommon 30 }
-- -----------------------------------------------------------------------------
dDot1xExtMIBNotifications OBJECT IDENTIFIER ::= { dlinkSwDot1xExtMIB 0 }
dDot1xExtMIBObjects OBJECT IDENTIFIER ::= { dlinkSwDot1xExtMIB 1 }
dDot1xExtMIBConformance OBJECT IDENTIFIER ::= { dlinkSwDot1xExtMIB 2 }
-- -----------------------------------------------------------------------------
dDot1xExtGenCtrl OBJECT IDENTIFIER ::= { dDot1xExtMIBObjects 1 }
dDot1xExtClearCounterByIf OBJECT-TYPE
SYNTAX InterfaceIndexOrZero
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object indicates the ifIndex of the interface on which
802.1X authentication and session statistics will be cleared.
When read, a value of 0 is returned."
::= { dDot1xExtGenCtrl 1 }
dDot1xExtInitByMacAddr OBJECT-TYPE
SYNTAX MacAddress
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object specifies a MAC address which will be initialized.
When read, a value of '000000000000'H is returned."
::= { dDot1xExtGenCtrl 2 }
dDot1xExtReAuthByMacAddr OBJECT-TYPE
SYNTAX MacAddress
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object specifies a MAC address which will be re-authenticated.
When read, a value of '000000000000'H is returned."
::= { dDot1xExtGenCtrl 3 }
dDot1xExtNotifEnabled OBJECT-TYPE
SYNTAX TruthValue
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"Setting to 'true' to enable global SNMP notification for 802.1X
authentication feature.
Setting the object to 'false' will disable SNMP notifications.
"
DEFVAL { false }
::= { dDot1xExtGenCtrl 4 }
-- -----------------------------------------------------------------------------
dDot1xExtPortMgmt OBJECT IDENTIFIER ::= { dDot1xExtMIBObjects 2 }
dDot1xExtPaePortTable OBJECT-TYPE
SYNTAX SEQUENCE OF DDot1xExtPaePortEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"A table contains a list of port-specific information for the 802.1X
extensions."
::= { dDot1xExtPortMgmt 1 }
dDot1xExtPaePortEntry OBJECT-TYPE
SYNTAX DDot1xExtPaePortEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"An entry in dDot1xExtPaePortTable indicates per port
802.1X extensions information which is not covered by
IEEE8021-PAE-MIB."
INDEX { dDot1xExtPaePortNumber }
::= { dDot1xExtPaePortTable 1}
DDot1xExtPaePortEntry ::= SEQUENCE {
dDot1xExtPaePortNumber InterfaceIndex,
dDot1xExtPaePortEnabled TruthValue,
dDot1xExtPaePortForwardPdu TruthValue
}
dDot1xExtPaePortNumber OBJECT-TYPE
SYNTAX InterfaceIndex
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This object indicates the ifIndex of the port."
::= { dDot1xExtPaePortEntry 1 }
dDot1xExtPaePortEnabled OBJECT-TYPE
SYNTAX TruthValue
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"This object is used to enable/disable IEEE 802.1X port access entity (PAE)
authenticator.
"
DEFVAL { false }
::= { dDot1xExtPaePortEntry 2 }
dDot1xExtPaePortForwardPdu OBJECT-TYPE
SYNTAX TruthValue
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"This object is used to enable/disable forwarding of IEEE 802.1X PDU.
'true' indicates the forwarding of 802.1X PDU is enabled.
'false' indicates the forwarding of 802.1X PDU is disabled.
"
DEFVAL { false }
::= { dDot1xExtPaePortEntry 3 }
-- -----------------------------------------------------------------------------
dDot1xExtAuthStatsTable OBJECT-TYPE
SYNTAX SEQUENCE OF DDot1xExtAuthStatsEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"A table that contains the statistics objects for the
Authenticator PAE associated with each Port/MAC/VLAN (for multi-auth
mode).
"
::= { dDot1xExtMIBObjects 3 }
dDot1xExtAuthStatsEntry OBJECT-TYPE
SYNTAX DDot1xExtAuthStatsEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"The statistics information for an Authenticator PAE, including
multi-auth mode."
INDEX { dDot1xExtPaePortNumber,
dDot1xExtAuthStatsMacAddr,
dDot1xExtAuthStatsVlanId
}
::= { dDot1xExtAuthStatsTable 1}
DDot1xExtAuthStatsEntry ::= SEQUENCE {
dDot1xExtAuthStatsMacAddr MacAddress,
dDot1xExtAuthStatsVlanId VlanId,
dDot1xExtAuthEapolFramesRx Counter32,
dDot1xExtAuthEapolFramesTx Counter32,
dDot1xExtAuthEapolStartFramesRx Counter32,
dDot1xExtAuthEapolLogoffFramesRx Counter32,
dDot1xExtAuthEapolRespIdFramesRx Counter32,
dDot1xExtAuthEapolRespFramesRx Counter32,
dDot1xExtAuthEapolReqIdFramesTx Counter32,
dDot1xExtAuthEapolReqFramesTx Counter32,
dDot1xExtAuthInvalidEapolFramesRx Counter32,
dDot1xExtAuthEapLengthErrorFramesRx Counter32,
dDot1xExtAuthLastEapolFrameVersion Unsigned32,
dDot1xExtAuthLastEapolFrameSource MacAddress
}
dDot1xExtAuthStatsMacAddr OBJECT-TYPE
SYNTAX MacAddress
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This object indicates the MAC address of the entry."
::= { dDot1xExtAuthStatsEntry 1 }
dDot1xExtAuthStatsVlanId OBJECT-TYPE
SYNTAX VlanId
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This object indicates the VLAN ID of the entry."
::= { dDot1xExtAuthStatsEntry 2 }
dDot1xExtAuthEapolFramesRx OBJECT-TYPE
SYNTAX Counter32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The number of valid EAPOL frames of any type
that have been received by this Authenticator."
::= { dDot1xExtAuthStatsEntry 3 }
dDot1xExtAuthEapolFramesTx OBJECT-TYPE
SYNTAX Counter32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The number of EAPOL frames of any type
that have been transmitted by this Authenticator."
::= { dDot1xExtAuthStatsEntry 4 }
dDot1xExtAuthEapolStartFramesRx OBJECT-TYPE
SYNTAX Counter32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The number of EAPOL Start frames that have
been received by this Authenticator."
::= { dDot1xExtAuthStatsEntry 5 }
dDot1xExtAuthEapolLogoffFramesRx OBJECT-TYPE
SYNTAX Counter32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The number of EAPOL Logoff frames that have
been received by this Authenticator."
::= { dDot1xExtAuthStatsEntry 6 }
dDot1xExtAuthEapolRespIdFramesRx OBJECT-TYPE
SYNTAX Counter32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The number of EAP Resp/Id frames that have
been received by this Authenticator."
::= { dDot1xExtAuthStatsEntry 7 }
dDot1xExtAuthEapolRespFramesRx OBJECT-TYPE
SYNTAX Counter32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The number of valid EAP Response frames
(other than Resp/Id frames) that have been
received by this Authenticator."
::= { dDot1xExtAuthStatsEntry 8 }
dDot1xExtAuthEapolReqIdFramesTx OBJECT-TYPE
SYNTAX Counter32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The number of EAP Req/Id frames that have been
transmitted by this Authenticator."
::= { dDot1xExtAuthStatsEntry 9 }
dDot1xExtAuthEapolReqFramesTx OBJECT-TYPE
SYNTAX Counter32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The number of EAP Request frames
(other than Rq/Id frames) that have been
transmitted by this Authenticator."
::= { dDot1xExtAuthStatsEntry 10 }
dDot1xExtAuthInvalidEapolFramesRx OBJECT-TYPE
SYNTAX Counter32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The number of EAPOL frames that have been
received by this Authenticator in which the
frame type is not recognized."
::= { dDot1xExtAuthStatsEntry 11 }
dDot1xExtAuthEapLengthErrorFramesRx OBJECT-TYPE
SYNTAX Counter32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The number of EAPOL frames that have been received
by this Authenticator in which the Packet Body
Length field is invalid."
::= { dDot1xExtAuthStatsEntry 12 }
dDot1xExtAuthLastEapolFrameVersion OBJECT-TYPE
SYNTAX Unsigned32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The protocol version number carried in the
most recently received EAPOL frame."
::= { dDot1xExtAuthStatsEntry 13 }
dDot1xExtAuthLastEapolFrameSource OBJECT-TYPE
SYNTAX MacAddress
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The source MAC address carried in the
most recently received EAPOL frame."
::= { dDot1xExtAuthStatsEntry 14 }
-- -----------------------------------------------------------------------------
dDot1xExtAuthDiagTable OBJECT-TYPE
SYNTAX SEQUENCE OF DDot1xExtAuthDiagEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"A table that contains the diagnostics objects for the
Authenticator PAE associated with each Port/MAC/VLAN (for multi-auth
mode).
"
::= { dDot1xExtMIBObjects 4 }
dDot1xExtAuthDiagEntry OBJECT-TYPE
SYNTAX DDot1xExtAuthDiagEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"The statistics information for an Authenticator PAE, including
multi-auth mode."
INDEX { dDot1xExtPaePortNumber,
dDot1xExtAuthDiagMacAddr,
dDot1xExtAuthDiagVlanId
}
::= { dDot1xExtAuthDiagTable 1}
DDot1xExtAuthDiagEntry ::= SEQUENCE {
dDot1xExtAuthDiagMacAddr MacAddress,
dDot1xExtAuthDiagVlanId VlanId,
dDot1xExtAuthEntersConnecting Counter32,
dDot1xExtAuthEapLogoffsWhileConnecting Counter32,
dDot1xExtAuthEntersAuthenticating Counter32,
dDot1xExtAuthAuthSuccessWhileAuthenticating Counter32,
dDot1xExtAuthAuthTimeoutsWhileAuthenticating Counter32,
dDot1xExtAuthAuthFailWhileAuthenticating Counter32,
dDot1xExtAuthAuthReauthsWhileAuthenticating Counter32,
dDot1xExtAuthAuthEapStartsWhileAuthenticating Counter32,
dDot1xExtAuthAuthEapLogoffWhileAuthenticating Counter32,
dDot1xExtAuthAuthReauthsWhileAuthenticated Counter32,
dDot1xExtAuthAuthEapStartsWhileAuthenticated Counter32,
dDot1xExtAuthAuthEapLogoffWhileAuthenticated Counter32,
dDot1xExtAuthBackendResponses Counter32,
dDot1xExtAuthBackendAccessChallenges Counter32,
dDot1xExtAuthBackendOtherRequestsToSupplicant Counter32,
dDot1xExtAuthBackendNonNakResponsesFromSupplicant Counter32,
dDot1xExtAuthBackendAuthSuccesses Counter32,
dDot1xExtAuthBackendAuthFails Counter32
}
dDot1xExtAuthDiagMacAddr OBJECT-TYPE
SYNTAX MacAddress
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This object indicates the MAC address of the entry."
::= { dDot1xExtAuthDiagEntry 1 }
dDot1xExtAuthDiagVlanId OBJECT-TYPE
SYNTAX VlanId
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This object indicates the VLAN ID of the entry."
::= { dDot1xExtAuthDiagEntry 2 }
dDot1xExtAuthEntersConnecting OBJECT-TYPE
SYNTAX Counter32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Counts the number of times that the state machine
transitions to the CONNECTING state from any other
state."
::= { dDot1xExtAuthDiagEntry 3 }
dDot1xExtAuthEapLogoffsWhileConnecting OBJECT-TYPE
SYNTAX Counter32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Counts the number of times that the state machine
transitions from CONNECTING to DISCONNECTED as a result
of receiving an EAPOL-Logoff message."
::= { dDot1xExtAuthDiagEntry 4 }
dDot1xExtAuthEntersAuthenticating OBJECT-TYPE
SYNTAX Counter32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Counts the number of times that the state machine
transitions from CONNECTING to AUTHENTICATING, as a
result of an EAP-Response/Identity message being
received from the Supplicant."
::= { dDot1xExtAuthDiagEntry 5 }
dDot1xExtAuthAuthSuccessWhileAuthenticating OBJECT-TYPE
SYNTAX Counter32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Counts the number of times that the state machine
transitions from AUTHENTICATING to AUTHENTICATED, as a
result of the Backend Authentication state machine
indicating successful authentication of the Supplicant
(authSuccess = TRUE)."
::= { dDot1xExtAuthDiagEntry 6 }
dDot1xExtAuthAuthTimeoutsWhileAuthenticating OBJECT-TYPE
SYNTAX Counter32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Counts the number of times that the state machine
transitions from AUTHENTICATING to ABORTING, as a result
of the Backend Authentication state machine indicating
authentication timeout (authTimeout = TRUE)."
::= { dDot1xExtAuthDiagEntry 7 }
dDot1xExtAuthAuthFailWhileAuthenticating OBJECT-TYPE
SYNTAX Counter32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Counts the number of times that the state machine
transitions from AUTHENTICATING to HELD, as a result
of the Backend Authentication state machine indicating
authentication failure (authFail = TRUE)."
::= { dDot1xExtAuthDiagEntry 8 }
dDot1xExtAuthAuthReauthsWhileAuthenticating OBJECT-TYPE
SYNTAX Counter32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Counts the number of times that the state machine
transitions from AUTHENTICATING to ABORTING, as a result
of a reauthentication request (reAuthenticate = TRUE)."
::= { dDot1xExtAuthDiagEntry 9 }
dDot1xExtAuthAuthEapStartsWhileAuthenticating OBJECT-TYPE
SYNTAX Counter32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Counts the number of times that the state machine
transitions from AUTHENTICATING to ABORTING, as a result
of an EAPOL-Start message being received
from the Supplicant."
::= { dDot1xExtAuthDiagEntry 10 }
dDot1xExtAuthAuthEapLogoffWhileAuthenticating OBJECT-TYPE
SYNTAX Counter32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Counts the number of times that the state machine
transitions from AUTHENTICATING to ABORTING, as a result
of an EAPOL-Logoff message being received
from the Supplicant."
::= { dDot1xExtAuthDiagEntry 11 }
dDot1xExtAuthAuthReauthsWhileAuthenticated OBJECT-TYPE
SYNTAX Counter32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Counts the number of times that the state machine
transitions from AUTHENTICATED to CONNECTING, as a
result of a reauthentication request
(reAuthenticate = TRUE)."
::= { dDot1xExtAuthDiagEntry 12 }
dDot1xExtAuthAuthEapStartsWhileAuthenticated OBJECT-TYPE
SYNTAX Counter32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Counts the number of times that the state machine
transitions from AUTHENTICATED to CONNECTING, as a
result of an EAPOL-Start message being received from the
Supplicant."
::= { dDot1xExtAuthDiagEntry 13 }
dDot1xExtAuthAuthEapLogoffWhileAuthenticated OBJECT-TYPE
SYNTAX Counter32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Counts the number of times that the state machine
transitions from AUTHENTICATED to DISCONNECTED, as a
result of an EAPOL-Logoff message being received from
the Supplicant."
::= { dDot1xExtAuthDiagEntry 14 }
dDot1xExtAuthBackendResponses OBJECT-TYPE
SYNTAX Counter32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Counts the number of times that the state machine sends
an initial Access-Request packet to the Authentication
server (i.e., executes sendRespToServer on entry to the
RESPONSE state). Indicates that the Authenticator
attempted communication with the Authentication Server."
::= { dDot1xExtAuthDiagEntry 15 }
dDot1xExtAuthBackendAccessChallenges OBJECT-TYPE
SYNTAX Counter32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Counts the number of times that the state machine
receives an initial Access-Challenge packet from the
Authentication server (i.e., aReq becomes TRUE,
causing exit from the RESPONSE state). Indicates that
the Authentication Server has communication with
the Authenticator."
::= { dDot1xExtAuthDiagEntry 16 }
dDot1xExtAuthBackendOtherRequestsToSupplicant OBJECT-TYPE
SYNTAX Counter32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Counts the number of times that the state machine
sends an EAP-Request packet (other than an Identity,
Notification, Failure or Success message) to the
Supplicant (i.e., executes txReq on entry to the
REQUEST state). Indicates that the Authenticator chose
an EAP-method."
::= { dDot1xExtAuthDiagEntry 17 }
dDot1xExtAuthBackendNonNakResponsesFromSupplicant OBJECT-TYPE
SYNTAX Counter32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Counts the number of times that the state machine
receives a response from the Supplicant to an initial
EAP-Request, and the response is something other than
EAP-NAK (i.e., rxResp becomes TRUE, causing the state
machine to transition from REQUEST to RESPONSE,
and the response is not an EAP-NAK). Indicates that
the Supplicant can respond to the Authenticator's
chosen EAP-method."
::= { dDot1xExtAuthDiagEntry 18 }
dDot1xExtAuthBackendAuthSuccesses OBJECT-TYPE
SYNTAX Counter32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Counts the number of times that the state machine
receives an EAP-Success message from the Authentication
Server (i.e., aSuccess becomes TRUE, causing a
transition from RESPONSE to SUCCESS). Indicates that
the Supplicant has successfully authenticated to
the Authentication Server."
::= { dDot1xExtAuthDiagEntry 19 }
dDot1xExtAuthBackendAuthFails OBJECT-TYPE
SYNTAX Counter32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Counts the number of times that the state machine
receives an EAP-Failure message from the Authentication
Server (i.e., aFail becomes TRUE, causing a transition
from RESPONSE to FAIL). Indicates that the Supplicant
has not authenticated to the Authentication Server."
::= { dDot1xExtAuthDiagEntry 20 }
-- -----------------------------------------------------------------------------
dDot1xExtAuthSessionStatsTable OBJECT-TYPE
SYNTAX SEQUENCE OF DDot1xExtAuthSessionStatsEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"A table that contains the diagnostics objects for the
Authenticator PAE associated with each Port/MAC/VLAN (for multi-auth
mode)."
::= { dDot1xExtMIBObjects 5 }
dDot1xExtAuthSessionStatsEntry OBJECT-TYPE
SYNTAX DDot1xExtAuthSessionStatsEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"The statistics information for an Authenticator PAE, including
multi-auth mode."
INDEX { dDot1xExtPaePortNumber,
dDot1xExtAuthSessionMacAddr,
dDot1xExtAuthSessionVlanId
}
::= { dDot1xExtAuthSessionStatsTable 1}
DDot1xExtAuthSessionStatsEntry ::= SEQUENCE {
dDot1xExtAuthSessionMacAddr MacAddress,
dDot1xExtAuthSessionVlanId VlanId,
dDot1xExtAuthSessionOctetsRx Counter64,
dDot1xExtAuthSessionOctetsTx Counter64,
dDot1xExtAuthSessionFramesRx Counter32,
dDot1xExtAuthSessionFramesTx Counter32,
dDot1xExtAuthSessionId SnmpAdminString,
dDot1xExtAuthSessionAuthenticMethod INTEGER,
dDot1xExtAuthSessionTime TimeTicks,
dDot1xExtAuthSessionTerminateCause INTEGER,
dDot1xExtAuthSessionUserName SnmpAdminString
}
dDot1xExtAuthSessionMacAddr OBJECT-TYPE
SYNTAX MacAddress
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This object indicates the MAC address of the entry."
::= { dDot1xExtAuthSessionStatsEntry 1 }
dDot1xExtAuthSessionVlanId OBJECT-TYPE
SYNTAX VlanId
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This object indicates the VLAN ID of the entry."
::= { dDot1xExtAuthSessionStatsEntry 2 }
dDot1xExtAuthSessionOctetsRx OBJECT-TYPE
SYNTAX Counter64
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The number of octets received in user data
frames on this Port during the session."
::= { dDot1xExtAuthSessionStatsEntry 3 }
dDot1xExtAuthSessionOctetsTx OBJECT-TYPE
SYNTAX Counter64
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The number of octets transmitted in user data
frames on this Port during the session."
::= { dDot1xExtAuthSessionStatsEntry 4 }
dDot1xExtAuthSessionFramesRx OBJECT-TYPE
SYNTAX Counter32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The number of user data frames received
on this Port during the session."
::= { dDot1xExtAuthSessionStatsEntry 5 }
dDot1xExtAuthSessionFramesTx OBJECT-TYPE
SYNTAX Counter32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The number of user data frames transmitted
on this Port during the session."
::= { dDot1xExtAuthSessionStatsEntry 6 }
dDot1xExtAuthSessionId OBJECT-TYPE
SYNTAX SnmpAdminString(SIZE(0..255))
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"A unique identifier for the session, in the
form of a printable ASCII string of at least
three characters."
::= { dDot1xExtAuthSessionStatsEntry 7 }
dDot1xExtAuthSessionAuthenticMethod OBJECT-TYPE
SYNTAX INTEGER {
remoteAuthServer(1),
localAuthServer(2)
}
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The authentication method used to establish the
session."
::= { dDot1xExtAuthSessionStatsEntry 8 }
dDot1xExtAuthSessionTime OBJECT-TYPE
SYNTAX TimeTicks
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The duration of the session in seconds."
::= { dDot1xExtAuthSessionStatsEntry 9 }
dDot1xExtAuthSessionTerminateCause OBJECT-TYPE
SYNTAX INTEGER {
supplicantLogoff(1),
portFailure(2),
supplicantRestart(3),
reauthFailed(4),
authControlForceUnauth(5),
portReInit(6),
portAdminDisabled(7),
notTerminatedYet(999)
}
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The reason for the session termination."
::= { dDot1xExtAuthSessionStatsEntry 10 }
dDot1xExtAuthSessionUserName OBJECT-TYPE
SYNTAX SnmpAdminString(SIZE(0..255))
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The User-Name representing the identity of the
Supplicant PAE."
::= { dDot1xExtAuthSessionStatsEntry 11 }
-- --------------------------------------------------------------------------
dDot1xExtNotifyInfo OBJECT IDENTIFIER ::= { dDot1xExtMIBObjects 6 }
dDot1xExtNotifyFailReason OBJECT-TYPE
SYNTAX DisplayString (SIZE(1..255))
MAX-ACCESS accessible-for-notify
STATUS current
DESCRIPTION
"The reason for failed authentication."
::= { dDot1xExtNotifyInfo 1 }
-- ***************************************************************************
-- Notifications
-- ***************************************************************************
dDot1xExtLoggedSuccess NOTIFICATION-TYPE
OBJECTS {
ifIndex,
dnaSessionClientMacAddress,
dnaSessionAuthVlan,
dnaSessionAuthUserName
}
STATUS current
DESCRIPTION
"The trap is sent when a host has successfully logged in (passed
802.1X authentication)."
::= { dDot1xExtMIBNotifications 1 }
dDot1xExtLoggedFail NOTIFICATION-TYPE
OBJECTS {
ifIndex,
dnaSessionClientMacAddress,
dnaSessionAuthVlan,
dnaSessionAuthUserName,
dDot1xExtNotifyFailReason
}
STATUS current
DESCRIPTION
"The trap is sent when a host failed to pass 802.1X authenitcation
(login failed)."
::= { dDot1xExtMIBNotifications 2 }
-- ***************************************************************************
-- Conformance
-- ***************************************************************************
dDot1xExtCompliances OBJECT IDENTIFIER ::= { dDot1xExtMIBConformance 1 }
dDot1xExtCompliance MODULE-COMPLIANCE
STATUS current
DESCRIPTION
"The compliance statement for entities which implement the
DLINKSW-DOT1X-EXT-MIB."
MODULE -- this module
MANDATORY-GROUPS {
dDot1xExtGeneralGroup,
dDot1xExtPortIfGroup
}
GROUP ddot1xExtPaeAuthStatsGroup
DESCRIPTION
"This group is mandatory for systems that support
the Authenticator functions of the PAE."
GROUP ddot1xExtPaeAuthDiagGroup
DESCRIPTION
"This group is optional for systems that support
the Authenticator functions of the PAE."
GROUP ddot1xExtPaeAuthSessionStatsGroup
DESCRIPTION
"This group is optional for systems that support
the Authenticator functions of the PAE."
::= { dDot1xExtCompliances 1 }
-- units of conformance
dDot1xExtGroups OBJECT IDENTIFIER ::= { dDot1xExtMIBConformance 2 }
dDot1xExtGeneralGroup OBJECT-GROUP
OBJECTS {
dDot1xExtClearCounterByIf,
dDot1xExtInitByMacAddr,
dDot1xExtReAuthByMacAddr,
dDot1xExtNotifyFailReason
}
STATUS current
DESCRIPTION
"A collection of objects providing the global configuration for
802.1X extensions."
::= { dDot1xExtGroups 1 }
dDot1xExtPortIfGroup OBJECT-GROUP
OBJECTS {
dDot1xExtPaePortEnabled,
dDot1xExtPaePortForwardPdu
}
STATUS current
DESCRIPTION
"A collection of objects providing the interface-specific
information for 802.1X extensions."
::= { dDot1xExtGroups 2 }
ddot1xExtPaeAuthStatsGroup OBJECT-GROUP
OBJECTS {
dDot1xExtAuthEapolFramesRx,
dDot1xExtAuthEapolFramesTx,
dDot1xExtAuthEapolStartFramesRx,
dDot1xExtAuthEapolLogoffFramesRx,
dDot1xExtAuthEapolRespIdFramesRx,
dDot1xExtAuthEapolRespFramesRx,
dDot1xExtAuthEapolReqIdFramesTx,
dDot1xExtAuthEapolReqFramesTx,
dDot1xExtAuthInvalidEapolFramesRx,
dDot1xExtAuthEapLengthErrorFramesRx,
dDot1xExtAuthLastEapolFrameVersion,
dDot1xExtAuthLastEapolFrameSource
}
STATUS current
DESCRIPTION
"A collection of objects providing statistics about an
Authenticator PAE, including the multi-auth mode."
::= { dDot1xExtGroups 3 }
ddot1xExtPaeAuthDiagGroup OBJECT-GROUP
OBJECTS {
dDot1xExtAuthEntersConnecting,
dDot1xExtAuthEapLogoffsWhileConnecting,
dDot1xExtAuthEntersAuthenticating,
dDot1xExtAuthAuthSuccessWhileAuthenticating,
dDot1xExtAuthAuthTimeoutsWhileAuthenticating,
dDot1xExtAuthAuthFailWhileAuthenticating,
dDot1xExtAuthAuthReauthsWhileAuthenticating,
dDot1xExtAuthAuthEapStartsWhileAuthenticating,
dDot1xExtAuthAuthEapLogoffWhileAuthenticating,
dDot1xExtAuthAuthReauthsWhileAuthenticated,
dDot1xExtAuthAuthEapStartsWhileAuthenticated,
dDot1xExtAuthAuthEapLogoffWhileAuthenticated,
dDot1xExtAuthBackendResponses,
dDot1xExtAuthBackendAccessChallenges,
dDot1xExtAuthBackendOtherRequestsToSupplicant,
dDot1xExtAuthBackendNonNakResponsesFromSupplicant,
dDot1xExtAuthBackendAuthSuccesses,
dDot1xExtAuthBackendAuthFails
}
STATUS current
DESCRIPTION
"A collection of objects providing diagnostic statistics
about an Authenticator PAE, including the multi-auth mode."
::= { dDot1xExtGroups 4 }
ddot1xExtPaeAuthSessionStatsGroup OBJECT-GROUP
OBJECTS {
dDot1xExtAuthSessionOctetsRx,
dDot1xExtAuthSessionOctetsTx,
dDot1xExtAuthSessionFramesRx,
dDot1xExtAuthSessionFramesTx,
dDot1xExtAuthSessionId,
dDot1xExtAuthSessionAuthenticMethod,
dDot1xExtAuthSessionTime,
dDot1xExtAuthSessionTerminateCause,
dDot1xExtAuthSessionUserName
}
STATUS current
DESCRIPTION
"A collection of objects providing statistics about the
current, or last session for an Authenticator PAE,
including the multi-auth mode."
::= { dDot1xExtGroups 5 }
ddot1xExtNotifyCfgGroup OBJECT-GROUP
OBJECTS {
dDot1xExtNotifEnabled
}
STATUS current
DESCRIPTION
"A collection of objects provides the configuration for notification
of 802.1X authentication."
::= { dDot1xExtGroups 6 }
dDot1xExtNotificationGroup NOTIFICATION-GROUP
NOTIFICATIONS {
dDot1xExtLoggedSuccess,
dDot1xExtLoggedFail
}
STATUS current
DESCRIPTION
"The collection of notifications used for monitoring the hosts under the
control of 802.1X authentication."
::= { dDot1xExtGroups 7 }
END

View File

@ -0,0 +1,916 @@
-- *****************************************************************
-- DLINKSW-ENTITY-EXT-MIB.mib : D-Link Entity Extensions MIB
--
-- Copyright (c) 2013 D-Link Corporation, all rights reserved.
--
-- *****************************************************************
DLINKSW-ENTITY-EXT-MIB DEFINITIONS ::= BEGIN
IMPORTS
MODULE-IDENTITY, OBJECT-TYPE, NOTIFICATION-TYPE, Unsigned32, Integer32
FROM SNMPv2-SMI
DisplayString
FROM SNMPv2-TC
MODULE-COMPLIANCE, OBJECT-GROUP, NOTIFICATION-GROUP
FROM SNMPv2-CONF
dlinkIndustrialCommon
FROM DLINK-ID-REC-MIB;
dlinkSwEntityExtMIB MODULE-IDENTITY
LAST-UPDATED "201309060000Z"
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 module provides essential information about the system
and defines the managed objects that support the monitoring of alarms
generated by physical entities, including temperature sensors, fans
and power supplies.
"
REVISION "201309060000Z"
DESCRIPTION
"Add dEntityExtFactoryResetButton to support factory reset button trap."
REVISION "201303130000Z"
DESCRIPTION
"This is the first version of this MIB."
::= { dlinkIndustrialCommon 5 }
-- -----------------------------------------------------------------------------
dEntityExtNotifications OBJECT IDENTIFIER ::= { dlinkSwEntityExtMIB 0 }
dEntityExtObjects OBJECT IDENTIFIER ::= { dlinkSwEntityExtMIB 1 }
dEntityExtConformance OBJECT IDENTIFIER ::= { dlinkSwEntityExtMIB 2 }
-- -----------------------------------------------------------------------------
dEntityExtEnvObjects OBJECT IDENTIFIER ::= { dEntityExtObjects 1 }
dEntityExtEnvTempTable OBJECT-TYPE
SYNTAX SEQUENCE OF DEntityExtEnvTempEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"The table consists of a list of temperature information."
::= { dEntityExtEnvObjects 1 }
dEntityExtEnvTempEntry OBJECT-TYPE
SYNTAX DEntityExtEnvTempEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"An entry represents the temperature status of a testpoint.
"
INDEX {
dEntityExtEnvTempUnitId,
dEntityExtEnvTempIndex
}
::= { dEntityExtEnvTempTable 1 }
DEntityExtEnvTempEntry ::= SEQUENCE {
dEntityExtEnvTempUnitId Unsigned32,
dEntityExtEnvTempIndex Integer32,
dEntityExtEnvTempDescr DisplayString,
dEntityExtEnvTempCurrent Integer32,
dEntityExtEnvTempThresholdLow Integer32,
dEntityExtEnvTempThresholdHigh Integer32,
dEntityExtEnvTempStatus INTEGER
}
dEntityExtEnvTempUnitId OBJECT-TYPE
SYNTAX Unsigned32 (1..65535)
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This object indicates the unit (stacking device) or slot (chassis
device) ID at which the testpoint is located."
::= { dEntityExtEnvTempEntry 1 }
dEntityExtEnvTempIndex OBJECT-TYPE
SYNTAX Integer32 (1..2147483647)
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This object is used to uniquely identify the testpoint
within a unit/slot.
This index is for SNMP purposes only, and has no intrinsic meaning."
::= { dEntityExtEnvTempEntry 2 }
dEntityExtEnvTempDescr OBJECT-TYPE
SYNTAX DisplayString (SIZE (0..32))
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"This object provides human-sensible identification for the testpoint.
e.g. 'Inlet', 'Center', 'Outlet'.
"
::= { dEntityExtEnvTempEntry 3 }
dEntityExtEnvTempCurrent OBJECT-TYPE
SYNTAX Integer32
UNITS "degrees Celsius"
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"This object indicates the current measurement of the testpoint."
::= { dEntityExtEnvTempEntry 4 }
dEntityExtEnvTempThresholdLow OBJECT-TYPE
SYNTAX Integer32
UNITS "degrees Celsius"
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"The object indicates the minimum acceptable reading of the
testpoint in degrees Celsius.
"
::= { dEntityExtEnvTempEntry 5 }
dEntityExtEnvTempThresholdHigh OBJECT-TYPE
SYNTAX Integer32
UNITS "degrees Celsius"
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"The object indicates the maximum acceptable reading of the
testpoint in degrees Celsius.
"
::= { dEntityExtEnvTempEntry 6 }
dEntityExtEnvTempStatus OBJECT-TYPE
SYNTAX INTEGER {
ok(1),
abnormal(2)
}
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The object indicates the current temperature is over the thresholds or not.
'abnormal' indicates the temperature is over the thresholds.
'ok' indicates the temperature is not over the thresholds."
::= { dEntityExtEnvTempEntry 7 }
-- -----------------------------------------------------------------------------
dEntityExtEnvFanTable OBJECT-TYPE
SYNTAX SEQUENCE OF DEntityExtEnvFanEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"The table is used to display the status of fans."
::= { dEntityExtEnvObjects 2 }
dEntityExtEnvFanEntry OBJECT-TYPE
SYNTAX DEntityExtEnvFanEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"An entry represents a fan status.
"
INDEX {
dEntityExtEnvFanUnitId,
dEntityExtEnvFanIndex
}
::= { dEntityExtEnvFanTable 1 }
DEntityExtEnvFanEntry ::= SEQUENCE {
dEntityExtEnvFanUnitId Unsigned32,
dEntityExtEnvFanIndex Integer32,
dEntityExtEnvFanDescr DisplayString,
dEntityExtEnvFanStatus INTEGER
}
dEntityExtEnvFanUnitId OBJECT-TYPE
SYNTAX Unsigned32 (1..65535)
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This object indicates the unit (stacking device) or slot (chassis
device) ID at which the fan is located."
::= { dEntityExtEnvFanEntry 1 }
dEntityExtEnvFanIndex OBJECT-TYPE
SYNTAX Integer32 (1..2147483647)
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This object is used to uniquely identify the fan
within a unit/slot.
This index is for SNMP purposes only, and has no intrinsic meaning."
::= { dEntityExtEnvFanEntry 2 }
dEntityExtEnvFanDescr OBJECT-TYPE
SYNTAX DisplayString (SIZE (0..32))
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"This object provides human-sensible identification for the fan.
e.g. 'Left 1' for the first fan on the left.
"
::= { dEntityExtEnvFanEntry 3 }
dEntityExtEnvFanStatus OBJECT-TYPE
SYNTAX INTEGER {
ok(1),
fault(2)
}
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"This object indicates the fan status."
::= { dEntityExtEnvFanEntry 4 }
-- -----------------------------------------------------------------------------
dEntityExtEnvPowerTable OBJECT-TYPE
SYNTAX SEQUENCE OF DEntityExtEnvPowerEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"The table is used to display the status of the power modules."
::= { dEntityExtEnvObjects 3 }
dEntityExtEnvPowerEntry OBJECT-TYPE
SYNTAX DEntityExtEnvPowerEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"An entry contains the information of a power module."
INDEX {
dEntityExtEnvPowerUnitId,
dEntityExtEnvPowerIndex
}
::= { dEntityExtEnvPowerTable 1 }
DEntityExtEnvPowerEntry ::= SEQUENCE {
dEntityExtEnvPowerUnitId Unsigned32,
dEntityExtEnvPowerIndex Unsigned32,
dEntityExtEnvPowerDescr DisplayString,
dEntityExtEnvPowerUsedPower Unsigned32,
dEntityExtEnvPowerMaxPower Unsigned32,
dEntityExtEnvPowerStatus INTEGER
}
dEntityExtEnvPowerUnitId OBJECT-TYPE
SYNTAX Unsigned32 (1..65535)
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This object indicates the unit (stacking device) or slot (chassis
device) ID at which the power module is located."
::= { dEntityExtEnvPowerEntry 1 }
dEntityExtEnvPowerIndex OBJECT-TYPE
SYNTAX Unsigned32 (1..2147483647)
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This object indicates the ID of the power module.
This object is used to uniquely identify the power module.
This index is for SNMP purposes only, and has no intrinsic meaning.
"
::= { dEntityExtEnvPowerEntry 2 }
dEntityExtEnvPowerDescr OBJECT-TYPE
SYNTAX DisplayString (SIZE (0..32))
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"This object provides human-sensible information for the power
module.
e.g. '#1 (internal)', '#2 (external)'.
"
::= { dEntityExtEnvPowerEntry 3 }
dEntityExtEnvPowerUsedPower OBJECT-TYPE
SYNTAX Unsigned32
UNITS "watts"
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"This object indicates the amount of the power that has been allocated.
"
::= { dEntityExtEnvPowerEntry 4 }
dEntityExtEnvPowerMaxPower OBJECT-TYPE
SYNTAX Unsigned32
UNITS "watts"
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"This object indicates maximum power which the power module can supply.
"
::= { dEntityExtEnvPowerEntry 5 }
dEntityExtEnvPowerStatus OBJECT-TYPE
SYNTAX INTEGER {
inOperation(1),
failed(2),
empty(3)
}
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"This object indicates the status of the power."
::= { dEntityExtEnvPowerEntry 6 }
-- -----------------------------------------------------------------------------
dEntityExtEnvAirFlowTable OBJECT-TYPE
SYNTAX SEQUENCE OF DEntityExtEnvAirFlowEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"The table is used to display the status of the air flow function."
::= { dEntityExtEnvObjects 4 }
dEntityExtEnvAirFlowEntry OBJECT-TYPE
SYNTAX DEntityExtEnvAirFlowEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"An entry contains the information of the air flow function."
INDEX {
dEntityExtEnvAirFlowUnitId
}
::= { dEntityExtEnvAirFlowTable 1 }
DEntityExtEnvAirFlowEntry ::= SEQUENCE {
dEntityExtEnvAirFlowUnitId Unsigned32,
dEntityExtEnvAirFlowStatus INTEGER
}
dEntityExtEnvAirFlowUnitId OBJECT-TYPE
SYNTAX Unsigned32 (1..65535)
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This object indicates the unit (stacking device) or slot (chassis
device) ID at which the air flow module is located."
::= { dEntityExtEnvAirFlowEntry 1 }
dEntityExtEnvAirFlowStatus OBJECT-TYPE
SYNTAX INTEGER
{ ok(1),
abnormal(2)
}
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"This object indicates the status of the air flow.
The fans' air flow direction must match the system's air flow
direction to form an integrated air flow.
For example: In DXS-3600, the normal fans' air flow direction must
match the power fan's air flow direction.
The power fan blow the cold air from outside to inside, all the
normal fans must blow the hot air from inside to outside. Or the
power fan blow the hot air from inside to outside, all the normal
fans must blow the cold air from outside to inside.
If one or more fans' air flow direction does not match the system's
air flow direction, it will form an abnormal air flow. Then this log
message will be triggered.
ok(1) : A recover event indicates the air flow back to normal.
abnormal(2): An alarm event indicates the air flow detects abnormal.
"
::= { dEntityExtEnvAirFlowEntry 2 }
-- -----------------------------------------------------------------------------
dEntityExtEnvTrap OBJECT IDENTIFIER ::= { dEntityExtObjects 2 }
dEntityExtEnvNotifyEnable OBJECT-TYPE
SYNTAX BITS {
fan(0),
power(1),
temperature(2)
}
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object indicates whether a specified notification is enabled
or not. If a bit corresponding to a notification is set to 1, then
the specified notification can be generated.
fan(0) - fan trap state for warning fan event (fan failed or fan
recover).
power(1) - power trap state for warning power event (power failure
or power recovery).
temperature(2) - temperature trap state for warning temperature event
(temperature exceeds the thresholds or temperature recover).
"
::= { dEntityExtEnvTrap 1 }
-- -----------------------------------------------------------------------------
dEntityExtUnitTable OBJECT-TYPE
SYNTAX SEQUENCE OF DEntityExtUnitEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"The table is used to display information of units."
::= { dEntityExtObjects 3 }
dEntityExtUnitEntry OBJECT-TYPE
SYNTAX DEntityExtUnitEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"An entry contains essential information of a unit."
INDEX { dEntityExtUnitIndex }
::= { dEntityExtUnitTable 1 }
DEntityExtUnitEntry ::= SEQUENCE {
dEntityExtUnitIndex Unsigned32,
dEntityExtUnitStatus INTEGER,
dEntityExtUnitUpTime Unsigned32
}
dEntityExtUnitIndex OBJECT-TYPE
SYNTAX Unsigned32 (1..65535)
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This object indicates the unit (stacking device) or slot (chassis
device) ID.
"
::= { dEntityExtUnitEntry 1 }
dEntityExtUnitStatus OBJECT-TYPE
SYNTAX INTEGER {
ok(1),
failed(2),
empty(3)
}
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"This object represents the status of the unit:
ok(1) - This indicates the unit is okay.
failed(2) - This indicates the unit fails due to some reason.
empty(3) - This indicates that the unit is provisioned but
currently not installed.
"
::= { dEntityExtUnitEntry 2 }
dEntityExtUnitUpTime OBJECT-TYPE
SYNTAX Unsigned32
UNITS "seconds"
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"This object provides the up time in units of seconds
for the unit since it was last re-initialized.
"
::= { dEntityExtUnitEntry 3 }
-- -----------------------------------------------------------------------------
dEntityExtMemoryUtilTable OBJECT-TYPE
SYNTAX SEQUENCE OF DEntityExtMemoryUtilEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"The table is used to display memory utilization information."
::= { dEntityExtObjects 4 }
dEntityExtMemoryUtilEntry OBJECT-TYPE
SYNTAX DEntityExtMemoryUtilEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"An entry contains memory utilization information.
"
INDEX {
dEntityExtMemUtilUnitId,
dEntityExtMemUtilType
}
::= { dEntityExtMemoryUtilTable 1 }
DEntityExtMemoryUtilEntry ::= SEQUENCE {
dEntityExtMemUtilUnitId Integer32,
dEntityExtMemUtilType INTEGER,
dEntityExtMemUtilTotal Unsigned32,
dEntityExtMemUtilUsed Unsigned32,
dEntityExtMemUtilFree Unsigned32
}
dEntityExtMemUtilUnitId OBJECT-TYPE
SYNTAX Integer32 (1..65535)
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This object indicates the unit (stacking device) or slot (chassis
device) ID.
"
::= { dEntityExtMemoryUtilEntry 1 }
dEntityExtMemUtilType OBJECT-TYPE
SYNTAX INTEGER {
dram(1),
flash(2),
nvram(3)
}
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"The object indicates the memory type of the entry."
::= { dEntityExtMemoryUtilEntry 2 }
dEntityExtMemUtilTotal OBJECT-TYPE
SYNTAX Unsigned32
UNITS "KB"
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"This object indicates the total memory size of the entry."
::= { dEntityExtMemoryUtilEntry 3 }
dEntityExtMemUtilUsed OBJECT-TYPE
SYNTAX Unsigned32
UNITS "KB"
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"This object indicates the used memory size of the entry."
::= { dEntityExtMemoryUtilEntry 4 }
dEntityExtMemUtilFree OBJECT-TYPE
SYNTAX Unsigned32
UNITS "KB"
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"This object indicates the free memory size of the entry."
::= { dEntityExtMemoryUtilEntry 5 }
-- -----------------------------------------------------------------------------
dEntityExtCpuUtilTable OBJECT-TYPE
SYNTAX SEQUENCE OF DEntityExtCpuUtilEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"The table is used to display CPU utilization information."
::= { dEntityExtObjects 7 }
dEntityExtCpuUtilEntry OBJECT-TYPE
SYNTAX DEntityExtCpuUtilEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"An entry contains CPU information."
INDEX {
dEntityExtCpuUtilUnitId,
dEntityExtCpuUtilCpuID
}
::= { dEntityExtCpuUtilTable 1 }
DEntityExtCpuUtilEntry ::= SEQUENCE {
dEntityExtCpuUtilUnitId Unsigned32,
dEntityExtCpuUtilCpuID Unsigned32,
dEntityExtCpuUtilFiveSeconds Unsigned32,
dEntityExtCpuUtilOneMinute Unsigned32,
dEntityExtCpuUtilFiveMinutes Unsigned32
}
dEntityExtCpuUtilUnitId OBJECT-TYPE
SYNTAX Unsigned32 (1..65535)
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This object indicates the unit (stacking device) or slot (chassis
device) ID.
"
::= { dEntityExtCpuUtilEntry 1 }
dEntityExtCpuUtilCpuID OBJECT-TYPE
SYNTAX Unsigned32 (1..65535)
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This object is used to uniquely identify the CPU within a unit
(multiprocessing system)."
::= { dEntityExtCpuUtilEntry 2 }
dEntityExtCpuUtilFiveSeconds OBJECT-TYPE
SYNTAX Unsigned32
UNITS "percentage"
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"This objects indicates the overall CPU busy percentage in the last
5 second period.
The value will be between 0% (idle) and 100% (very busy).
"
::= { dEntityExtCpuUtilEntry 3 }
dEntityExtCpuUtilOneMinute OBJECT-TYPE
SYNTAX Unsigned32
UNITS "percentage"
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"This objects indicates the overall CPU busy percentage in the last
1 minute period.
The value will be between 0% (idle) and 100% (very busy).
"
::= { dEntityExtCpuUtilEntry 4 }
dEntityExtCpuUtilFiveMinutes OBJECT-TYPE
SYNTAX Unsigned32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"This objects indicates the overall CPU busy percentage in the last
5 minute period.
The value will be between 0% (idle) and 100% (very busy).
"
::= { dEntityExtCpuUtilEntry 5 }
-- -----------------------------------------------------------------------------
dEntityExtVersionTable OBJECT-TYPE
SYNTAX SEQUENCE OF DEntityExtVersionEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"The table is used to display version information of units."
::= { dEntityExtObjects 8 }
dEntityExtVersionEntry OBJECT-TYPE
SYNTAX DEntityExtVersionEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"An entry contains version information of a unit."
INDEX { dEntityExtVersionUnitId}
::= { dEntityExtVersionTable 1 }
DEntityExtVersionEntry ::= SEQUENCE {
dEntityExtVersionUnitId Unsigned32,
dEntityExtVersionBootloader DisplayString,
dEntityExtVersionRuntime DisplayString
}
dEntityExtVersionUnitId OBJECT-TYPE
SYNTAX Unsigned32 (1..65535)
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This object indicates the unit (stacking device) or slot (chassis
device) ID.
"
::= { dEntityExtVersionEntry 1 }
dEntityExtVersionBootloader OBJECT-TYPE
SYNTAX DisplayString (SIZE (0..32))
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"This object indicates the bootloader version of the unit. "
::= { dEntityExtVersionEntry 2 }
dEntityExtVersionRuntime OBJECT-TYPE
SYNTAX DisplayString (SIZE (0..32))
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"This object indicates the firmware version of one unit. "
::= { dEntityExtVersionEntry 3 }
-- -----------------------------------------------------------------------------
-- Notifications
-- -----------------------------------------------------------------------------
dEntityExtFanStatusChg NOTIFICATION-TYPE
OBJECTS {
dEntityExtEnvFanUnitId,
dEntityExtEnvFanIndex,
dEntityExtEnvFanStatus
}
STATUS current
DESCRIPTION
"This trap indicates a fan fails (dEntityExtEnvFanStatus is 'fault') or
recovers (dEntityExtEnvFanStatus is 'ok'). "
::= { dEntityExtNotifications 1 }
dEntityExtThermalStatusChg NOTIFICATION-TYPE
OBJECTS {
dEntityExtEnvTempUnitId,
dEntityExtEnvTempIndex,
dEntityExtEnvTempStatus
}
STATUS current
DESCRIPTION
"This trap indicates a thermal alarms (dEntityExtEnvTempStatus
is 'abnormal') or recovers (dEntityExtEnvTempStatus is 'ok'). "
::= { dEntityExtNotifications 2 }
dEntityExtPowerStatusChg NOTIFICATION-TYPE
OBJECTS {
dEntityExtEnvPowerUnitId,
dEntityExtEnvPowerIndex,
dEntityExtEnvPowerStatus
}
STATUS current
DESCRIPTION
"This trap indicates a power module fails, recovers or is removed.
"
::= { dEntityExtNotifications 3 }
dEntityExtAirFlowChg NOTIFICATION-TYPE
OBJECTS {
dEntityExtEnvAirFlowUnitId,
dEntityExtEnvAirFlowStatus
}
STATUS current
DESCRIPTION
"This trap is triggered when the air flow status is changed from 'ok'
to 'abnormal' and vice versa. dEntityExtEnvAirFlowStatus indicates
the current (new) fan air flow state.
"
::= { dEntityExtNotifications 4 }
dEntityExtFactoryResetButton NOTIFICATION-TYPE
OBJECTS {
dEntityExtUnitIndex
}
STATUS current
DESCRIPTION
"This trap is triggered when the factory reset button was pressed.
"
::= { dEntityExtNotifications 5 }
-- -----------------------------------------------------------------------------
-- MIB Conformance statements
-- -----------------------------------------------------------------------------
dEntityExtMIBCompliances OBJECT IDENTIFIER ::= { dEntityExtConformance 1 }
dEntityExtMIBGroups OBJECT IDENTIFIER ::= { dEntityExtConformance 2 }
dEntityExtCompliance MODULE-COMPLIANCE
STATUS current
DESCRIPTION
"The compliance statement for entities which implement the
DLINKSW-ENTITY-EXT-MIB."
MODULE -- this module
MANDATORY-GROUPS {
dEntityExtSystemInfoGroup
}
GROUP dEntityExtTempGroup
DESCRIPTION
"This group is mandatory if monitoring environment temperature
is supported."
OBJECT dEntityExtEnvTempThresholdLow
MIN-ACCESS read-only
DESCRIPTION
"Write access is not required."
OBJECT dEntityExtEnvTempThresholdHigh
MIN-ACCESS read-only
DESCRIPTION
"Write access is not required."
GROUP dEntityExtThermalNotifGroup
DESCRIPTION
"This group is mandatory if monitoring environment temperature
is supported."
GROUP dEntityExtFanGroup
DESCRIPTION
"This group is mandatory if monitoring fan is supported."
GROUP dEntityExtFanNotifGroup
DESCRIPTION
"This group is mandatory if monitoring fan is supported."
GROUP dEntityExtPowerGroup
DESCRIPTION
"This group is mandatory if monitoring power is supported."
GROUP dEntityExtPowerNotifGroup
DESCRIPTION
"This group is mandatory if monitoring power is supported."
GROUP dEntityExtAirFlowNotifGroup
DESCRIPTION
"This group is mandatory if monitoring air flow is supported."
GROUP dEntityExtGenericNotifInfoGroup
DESCRIPTION
"This group is mandatory if one kind of notification is supported."
::= { dEntityExtMIBCompliances 1 }
-- Units of Conformance
dEntityExtTempGroup OBJECT-GROUP
OBJECTS {
dEntityExtEnvTempDescr,
dEntityExtEnvTempCurrent,
dEntityExtEnvTempThresholdLow,
dEntityExtEnvTempThresholdHigh,
dEntityExtEnvTempStatus
}
STATUS current
DESCRIPTION
"A collection of objects provides information of the system temperature."
::= { dEntityExtMIBGroups 1 }
dEntityExtFanGroup OBJECT-GROUP
OBJECTS {
dEntityExtEnvFanDescr,
dEntityExtEnvFanStatus
}
STATUS current
DESCRIPTION
"A collection of objects providing informations of fans."
::= { dEntityExtMIBGroups 2 }
dEntityExtPowerGroup OBJECT-GROUP
OBJECTS {
dEntityExtEnvPowerDescr,
dEntityExtEnvPowerUsedPower,
dEntityExtEnvPowerMaxPower,
dEntityExtEnvPowerStatus
}
STATUS current
DESCRIPTION
"A collection of objects providing information of power modules.
"
::= { dEntityExtMIBGroups 3 }
dEntityExtSystemInfoGroup OBJECT-GROUP
OBJECTS {
dEntityExtUnitStatus,
dEntityExtUnitUpTime,
dEntityExtMemUtilTotal,
dEntityExtMemUtilUsed,
dEntityExtMemUtilFree,
dEntityExtCpuUtilFiveSeconds,
dEntityExtCpuUtilOneMinute,
dEntityExtCpuUtilFiveMinutes,
dEntityExtVersionBootloader,
dEntityExtVersionRuntime
}
STATUS current
DESCRIPTION
"A collection of objects provides information of the system temperature."
::= { dEntityExtMIBGroups 4 }
dEntityExtGenericNotifInfoGroup OBJECT-GROUP
OBJECTS {
dEntityExtEnvNotifyEnable
}
STATUS current
DESCRIPTION
"A collection of objects provides generic information for binding variables
of notification.
"
::= { dEntityExtMIBGroups 5 }
dEntityExtFanNotifGroup NOTIFICATION-GROUP
NOTIFICATIONS { dEntityExtFanStatusChg }
STATUS current
DESCRIPTION
"A collection of notifications for indicating the status change of fans."
::= { dEntityExtMIBGroups 6 }
dEntityExtThermalNotifGroup NOTIFICATION-GROUP
NOTIFICATIONS { dEntityExtThermalStatusChg }
STATUS current
DESCRIPTION
"A collection of notifications for indicating the status change of thermals."
::= { dEntityExtMIBGroups 7 }
dEntityExtPowerNotifGroup NOTIFICATION-GROUP
NOTIFICATIONS { dEntityExtPowerStatusChg }
STATUS current
DESCRIPTION
"A collection of notifications for indicating the status change of power module."
::= { dEntityExtMIBGroups 8 }
dEntityExtAirFlowNotifGroup NOTIFICATION-GROUP
NOTIFICATIONS { dEntityExtAirFlowChg }
STATUS current
DESCRIPTION
"A collection of notifications for indicating the status change of the air flow."
::= { dEntityExtMIBGroups 9 }
dEntityExtFactoryResetButtonNotifGroup NOTIFICATION-GROUP
NOTIFICATIONS { dEntityExtFactoryResetButton }
STATUS current
DESCRIPTION
"A collection of notifications for indicating the factory reset button."
::= { dEntityExtMIBGroups 10 }
END

683
mibs/dlink/DLINKSW-ERPS-MIB Normal file
View File

@ -0,0 +1,683 @@
-- *****************************************************************
-- DLINKSW-ERPS-MIB.mib : Ethernet Ring Protection Switching MIB
--
-- Copyright (c) 2013 D-Link Corporation, all rights reserved.
--
-- *****************************************************************
DLINKSW-ERPS-MIB DEFINITIONS ::= BEGIN
IMPORTS
MODULE-IDENTITY, OBJECT-TYPE, Unsigned32
FROM SNMPv2-SMI
RowStatus,MacAddress,TruthValue,DisplayString
FROM SNMPv2-TC
NOTIFICATION-TYPE
FROM SNMPv2-SMI
MODULE-COMPLIANCE, OBJECT-GROUP
FROM SNMPv2-CONF
InterfaceIndexOrZero
FROM IF-MIB
VlanIdOrNone
FROM Q-BRIDGE-MIB
Dlink2kVlanList
FROM DLINKSW-TC-MIB
dlinkIndustrialCommon
FROM DLINK-ID-REC-MIB;
dlinkSwErpsMIB MODULE-IDENTITY
LAST-UPDATED "201301180000Z"
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
"The MIB module for managing Ethernet Ring Protection Switching."
REVISION "201301180000Z"
DESCRIPTION
"This is the first version of the MIB file for 'ERPS'
functionality."
::= { dlinkIndustrialCommon 78 }
-- -----------------------------------------------------------------------------
dErpsMIBNotification OBJECT IDENTIFIER ::= { dlinkSwErpsMIB 0 }
dErpsMIBObjects OBJECT IDENTIFIER ::= { dlinkSwErpsMIB 1 }
dErpsMIBConformance OBJECT IDENTIFIER ::= { dlinkSwErpsMIB 2 }
-- -----------------------------------------------------------------------------
dErpsGenCtrl OBJECT IDENTIFIER ::= { dErpsMIBObjects 1 }
dErpsNotificationEnabled OBJECT-TYPE
SYNTAX TruthValue
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object indicates whether sending notification for ERPS
state change or RPL owner conflict event."
::= { dErpsGenCtrl 3 }
-- -----------------------------------------------------------------------------
dErpsProfileTable OBJECT-TYPE
SYNTAX SEQUENCE OF DErpsProfileEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This table contains a list of G8032 profiles."
::= { dErpsMIBObjects 2 }
dErpsProfileEntry OBJECT-TYPE
SYNTAX DErpsProfileEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"An entry contains information about a G8032 profile.
An entry is created/removed when a G8032 profile is defined
or deleted."
INDEX { dErpsProfName }
::= { dErpsProfileTable 1 }
DErpsProfileEntry ::= SEQUENCE {
dErpsProfName DisplayString,
dErpsProfRowStatus RowStatus,
dErpsProfTcnPropagationEnabled TruthValue,
dErpsProfRevertiveEnabled TruthValue,
dErpsProfGuardTimer Unsigned32,
dErpsProfHoldOffTimer Unsigned32,
dErpsProfWtrTimer Unsigned32
}
dErpsProfName OBJECT-TYPE
SYNTAX DisplayString (SIZE(1..32))
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This object indicates the name of the G8032 profile."
::= { dErpsProfileEntry 1 }
dErpsProfRowStatus OBJECT-TYPE
SYNTAX RowStatus
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"The status of the conceptual row."
::= { dErpsProfileEntry 2 }
dErpsProfTcnPropagationEnabled OBJECT-TYPE
SYNTAX TruthValue
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"This object indicates whether the propagation of topology change
notification from sub ERP instance to major instance is enabled or
not for the G8032 profile."
DEFVAL { false }
::= { dErpsProfileEntry 3 }
dErpsProfRevertiveEnabled OBJECT-TYPE
SYNTAX TruthValue
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"This object indicates whether restoring to the working transport entity,
i.e. blocked on the RPL of the entry.
In non-revertive operation, the traffic channel continues to use the RPL,
if it is not failed, after a switch link defect condition has cleared."
DEFVAL { true }
::= { dErpsProfileEntry 4 }
dErpsProfGuardTimer OBJECT-TYPE
SYNTAX Unsigned32 ( 10..2000 )
UNITS "milliseconds"
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"This object configures the guard timer in milliseconds for an ERP domain.
The valid range is 10 to 2000. The value should be multiple of 10."
DEFVAL { 500 }
::= { dErpsProfileEntry 5 }
dErpsProfHoldOffTimer OBJECT-TYPE
SYNTAX Unsigned32 ( 0..10 )
UNITS "seconds"
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"This object configures the hold-off timer in seconds for an ERP domain.
The valid range is 0 to 10."
DEFVAL { 0 }
::= { dErpsProfileEntry 6 }
dErpsProfWtrTimer OBJECT-TYPE
SYNTAX Unsigned32 ( 1..12 )
UNITS "minutes"
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"This object configures the WTR timer in minutes for an ERP domain.
The valid range is 1 to 12."
DEFVAL { 5 }
::= { dErpsProfileEntry 7 }
-- -----------------------------------------------------------------------------
dErpsEtherRingTable OBJECT-TYPE
SYNTAX SEQUENCE OF DErpsEtherRingEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This table contains configuration of the G8032 physical rings."
::= { dErpsMIBObjects 3 }
dErpsEtherRingEntry OBJECT-TYPE
SYNTAX DErpsEtherRingEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"An entry contains G8032 physical ring inforamtion.
An entry is created/removed when a G8032 physical ring is defined
or deleted.
"
INDEX { dErpsEtherRingName }
::= { dErpsEtherRingTable 1 }
DErpsEtherRingEntry ::= SEQUENCE {
dErpsEtherRingName DisplayString,
dErpsEtherRingRowStatus RowStatus,
dErpsEtherRingAdminPort0IfIdx InterfaceIndexOrZero,
dErpsEtherRingAdminPort1IfIdx InterfaceIndexOrZero
}
dErpsEtherRingName OBJECT-TYPE
SYNTAX DisplayString (SIZE(1..32))
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This object indicates the name of the G8032 ring."
::= { dErpsEtherRingEntry 1 }
dErpsEtherRingRowStatus OBJECT-TYPE
SYNTAX RowStatus
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"The status of the conceptual row."
::= { dErpsEtherRingEntry 2 }
dErpsEtherRingAdminPort0IfIdx OBJECT-TYPE
SYNTAX InterfaceIndexOrZero
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"This object indicates the ifIndex of the interface which is the
configured first ring port of the physical ring.
The interface can be physical port or port-channel interface.
The special value of zero indicates the first ring port is not
specified.
"
DEFVAL { 0 }
::= { dErpsEtherRingEntry 3 }
dErpsEtherRingAdminPort1IfIdx OBJECT-TYPE
SYNTAX InterfaceIndexOrZero
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"This object indicates the ifIndex of the interface which is the
configured second ring port of the physical ring.
The interface can be physical port or port-channel interface.
Setting this object to 0xFFFFFFFF(4294967295) indicates that the
interconnect node is a local node endpoint of an open ring.
The special value of zero indicates the second ring port is not
specified."
DEFVAL { 0 }
::= { dErpsEtherRingEntry 4 }
-- -----------------------------------------------------------------------------
dErpsEtherSubRingTable OBJECT-TYPE
SYNTAX SEQUENCE OF DErpsEtherSubRingEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This table contains sub ring configuration of the G8032 physical rings."
::= { dErpsMIBObjects 4 }
dErpsEtherSubRingEntry OBJECT-TYPE
SYNTAX DErpsEtherSubRingEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"An entry contains a sub ring setting of a physical ring.
An entry is created/removed when a sub ring is specified or removed.
"
INDEX {
dErpsEtherRingName,
dErpsEtherSubRingName
}
::= { dErpsEtherSubRingTable 1 }
DErpsEtherSubRingEntry ::= SEQUENCE {
dErpsEtherSubRingName DisplayString,
dErpsEtherSubRingRowStatus RowStatus
}
dErpsEtherSubRingName OBJECT-TYPE
SYNTAX DisplayString (SIZE(1..32))
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This object indicates the name of the sub ring.
"
::= { dErpsEtherSubRingEntry 1 }
dErpsEtherSubRingRowStatus OBJECT-TYPE
SYNTAX RowStatus
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"The status of the conceptual row."
::= { dErpsEtherSubRingEntry 2 }
-- -----------------------------------------------------------------------------
dErpsInstTable OBJECT-TYPE
SYNTAX SEQUENCE OF DErpsInstEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This table contains a list of ERP instance configuration and
status information."
::= { dErpsMIBObjects 5 }
dErpsInstEntry OBJECT-TYPE
SYNTAX DErpsInstEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"An entry contains information about an ERP instance.
The first instance identifier index value (dErpsEtherRingName)
identifies the dErpsEtherRingEntry that an ERP instance (dErpsInstEntry)
belongs to. An entry is removed from this table when its
corresponding dErpsEtherRingEntry is deleted.
An entry is created/removed when an ERP instance is defined
or deleted."
INDEX {
dErpsEtherRingName,
dErpsInstInstanceId
}
::= { dErpsInstTable 1 }
DErpsInstEntry ::= SEQUENCE {
dErpsInstInstanceId Unsigned32,
dErpsInstRowStatus RowStatus,
dErpsInstDescription DisplayString,
dErpsInstMel Unsigned32,
dErpsInstProfile DisplayString,
dErpsInstApsChannelVlanId VlanIdOrNone,
dErpsInstIncludeVlansFirst2K Dlink2kVlanList,
dErpsInstIncludeVlansSecond2K Dlink2kVlanList,
dErpsInstAdminRplPort INTEGER,
dErpsInstOperRplPort INTEGER,
dErpsInstAdminRplNodeRole INTEGER,
dErpsInstOperRplNodeRole INTEGER,
dErpsInstOperPort0IfIdx InterfaceIndexOrZero,
dErpsInstOperPort0State INTEGER,
dErpsInstOperPort1IfIdx InterfaceIndexOrZero,
dErpsInstOperPort1State INTEGER,
dErpsInstAdminActivate TruthValue,
dErpsInstInstanceState INTEGER
}
dErpsInstInstanceId OBJECT-TYPE
SYNTAX Unsigned32 (1..32)
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This object indicates the name of the ERP instance."
::= { dErpsInstEntry 1 }
dErpsInstRowStatus OBJECT-TYPE
SYNTAX RowStatus
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"The status of the conceptual row."
::= { dErpsInstEntry 2 }
dErpsInstDescription OBJECT-TYPE
SYNTAX DisplayString (SIZE(0..64))
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"This object indicates a description for the ERP instance.
A zero length string indicates the description is not specified."
::= { dErpsInstEntry 3 }
dErpsInstMel OBJECT-TYPE
SYNTAX Unsigned32 (0..7)
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"This object indicates the ring MEL value of the ERP instance."
::= { dErpsInstEntry 4 }
dErpsInstProfile OBJECT-TYPE
SYNTAX DisplayString (SIZE(0..32))
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"This object indicates the name of the G8032 profile to be
associated with the ERP instance.
A zero length string indicates the associated profile is
not specified."
::= { dErpsInstEntry 5 }
dErpsInstApsChannelVlanId OBJECT-TYPE
SYNTAX VlanIdOrNone
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"This object indicates the APS channel VLAN for the ERP instance.
A special value of 0 indicates the APS channel VLAN is not
specified."
::= { dErpsInstEntry 6 }
dErpsInstIncludeVlansFirst2K OBJECT-TYPE
SYNTAX Dlink2kVlanList
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"This object specifies the service protected VLANs of ERP instance
in a string of octets containing one bit per VLAN for VLANs 1 to
2048.
If the bit is set to '1', then the VLAN is configured to be
protected by the Ethernet ring protection mechanism."
::= { dErpsInstEntry 7 }
dErpsInstIncludeVlansSecond2K OBJECT-TYPE
SYNTAX Dlink2kVlanList
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"This object specifies the service protected VLANs of ERP instance
in a string of octets containing one bit per VLAN for VLANs 2049 to
4094.
If the bit is set to '1', then the VLAN is configured to be
protected by the Ethernet ring protection mechanism."
::= { dErpsInstEntry 8 }
dErpsInstAdminRplPort OBJECT-TYPE
SYNTAX INTEGER{
port0(0),
port1(1),
none(2)
}
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"This object indicates the administratively configured RPL port of
the entry.
port0(0) - Specify port0 as the RPL port.
port1(1) - Specify port1 as the RPL port.
none(2) - The RPL port is not specified.
"
::= { dErpsInstEntry 9 }
dErpsInstOperRplPort OBJECT-TYPE
SYNTAX INTEGER {
port0(0),
port1(1),
none(2)
}
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"This object indicates the operational RPL port of the entry."
::= { dErpsInstEntry 10 }
dErpsInstAdminRplNodeRole OBJECT-TYPE
SYNTAX INTEGER{
none(0),
owner(1),
neighbor(2)
}
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"This object indicates the administratively configured node role.
This object has to be none(0) if administrative RPL port is
not specified."
::= { dErpsInstEntry 11 }
dErpsInstOperRplNodeRole OBJECT-TYPE
SYNTAX INTEGER{
none(0),
owner(1),
neighbor(2)
}
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"This object indicates the current ring node role."
::= { dErpsInstEntry 12 }
dErpsInstOperPort0IfIdx OBJECT-TYPE
SYNTAX InterfaceIndexOrZero
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"This object indicates the ifIndex of the operational first ring
port of the physical ring.
The value of administrative port0 inherits dErpsEtherRingAdminPort0IfIdx
of physical ring to which the instance belongs.
The special value of zero indicates the operational port0 is not
available."
::= { dErpsInstEntry 13 }
dErpsInstOperPort0State OBJECT-TYPE
SYNTAX INTEGER {
notApplicable(1),
forwarding(2),
blocked(3),
virtualChannel(4)
}
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"This object indicates the operational state of port0."
::= { dErpsInstEntry 14 }
dErpsInstOperPort1IfIdx OBJECT-TYPE
SYNTAX InterfaceIndexOrZero
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"This object indicates the ifIndex of the operational second ring
port of the physical ring.
The value of administrative port1 inherits dErpsEtherRingAdminPort1IfIdx
of physical ring to which the instance belongs.
The special value of zero indicates the operational port1 is not
available."
::= { dErpsInstEntry 15 }
dErpsInstOperPort1State OBJECT-TYPE
SYNTAX INTEGER {
notApplicable(1),
forwarding(2),
blocked(3),
virtualChannel(4)
}
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"This object indicates the operational state of port1."
::= { dErpsInstEntry 16 }
dErpsInstAdminActivate OBJECT-TYPE
SYNTAX TruthValue
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"This object indicates the administrative state of the ERP instance.
Setting this object to 'true' activates the ERP instance.
Setting this object to 'false' deactivates the ERP instance."
DEFVAL { false }
::= { dErpsInstEntry 17 }
dErpsInstInstanceState OBJECT-TYPE
SYNTAX INTEGER {
deactivated(0),
nonOperational(1),
init(2),
idle(3),
protection(4)
}
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"This object indicates the current ring node state of the ERP instance.
The state could be:
deactivated(0) : The ERP instance is deactivated.
nonOperational(1) : The ERP instance is enabled but is not activated
due to inconsistent setting.
init(2) : The instance is initializing.
idle(3) : The instance is in normal state. The RPL port
is blocked.
protection(4) : The instance detects failure at some ring port.
The RPL port is restored to protect the port."
::= { dErpsInstEntry 18 }
-- -----------------------------------------------------------------------------
dErpsEventInfo OBJECT IDENTIFIER ::= { dErpsMIBObjects 6 }
dErpsEventNodeId OBJECT-TYPE
SYNTAX MacAddress
MAX-ACCESS accessible-for-notify
STATUS current
DESCRIPTION
"The MAC address included in the notification currently being
sent, indicating the ring node that is involved the ERPS event."
::= { dErpsEventInfo 1 }
-- ***************************************************************************
-- Notifications
-- ***************************************************************************
dErpsFailuredetectedNotif NOTIFICATION-TYPE
OBJECTS {dErpsEventNodeId }
STATUS current
DESCRIPTION
"A dErpsFailureNotification is sent when dErpsNotificationEnabled
is 'true' and a signal failure is detected."
::= { dErpsMIBNotification 1 }
dErpsFailureClearedNotif NOTIFICATION-TYPE
OBJECTS {dErpsEventNodeId }
STATUS current
DESCRIPTION
"A dErpsFailureClearedNotif is sent when dErpsNotificationEnabled
is 'true' and a signal failure is cleared."
::= { dErpsMIBNotification 2 }
dErpsRPLOwnerConflictNotif NOTIFICATION-TYPE
OBJECTS {dErpsEventNodeId }
STATUS current
DESCRIPTION
"A dErpsOwnerConflictNotif is sent when dErpsNotificationEnabled
is 'true' and RPL owner conflict is detected."
::= { dErpsMIBNotification 3 }
-- ***************************************************************************
-- Conformance
-- ***************************************************************************
dErpsCompliances OBJECT IDENTIFIER ::= { dErpsMIBConformance 1 }
dErpsCompliance MODULE-COMPLIANCE
STATUS current
DESCRIPTION
"The compliance statement for entities which implement the
DLINKSW-ERPS-MIB."
MODULE -- this module
MANDATORY-GROUPS {
dErpsInstanceGroup,
dErpsProfileCfgGroup,
dErpsNotifyCfgGroup,
dErpsNotificationGroup
}
::= { dErpsCompliances 1 }
dErpsGroups OBJECT IDENTIFIER ::= { dErpsMIBConformance 2 }
dErpsInstanceGroup OBJECT-GROUP
OBJECTS {
dErpsEtherRingRowStatus,
dErpsEtherRingAdminPort0IfIdx,
dErpsEtherRingAdminPort1IfIdx,
dErpsEtherSubRingRowStatus,
dErpsInstRowStatus,
dErpsInstInstanceState,
dErpsInstDescription,
dErpsInstMel,
dErpsInstProfile,
dErpsInstApsChannelVlanId,
dErpsInstIncludeVlansFirst2K,
dErpsInstIncludeVlansSecond2K,
dErpsInstAdminRplPort,
dErpsInstOperRplPort,
dErpsInstAdminRplNodeRole,
dErpsInstOperRplNodeRole,
dErpsInstOperPort0IfIdx,
dErpsInstOperPort0State,
dErpsInstOperPort1IfIdx,
dErpsInstOperPort1State,
dErpsInstAdminActivate
}
STATUS current
DESCRIPTION
"A collection of objects provides the RPS instance configuration and
status information."
::= { dErpsGroups 1 }
dErpsProfileCfgGroup OBJECT-GROUP
OBJECTS {
dErpsProfRowStatus,
dErpsProfTcnPropagationEnabled,
dErpsProfRevertiveEnabled,
dErpsProfGuardTimer,
dErpsProfHoldOffTimer,
dErpsProfWtrTimer
}
STATUS current
DESCRIPTION
"A collection of objects provides the profile configuration for ERPS."
::= { dErpsGroups 2 }
dErpsNotifyCfgGroup OBJECT-GROUP
OBJECTS
{ dErpsNotificationEnabled,
dErpsEventNodeId
}
STATUS current
DESCRIPTION
"A collection of objects about the information for ERPS notification.
"
::= { dErpsGroups 3 }
dErpsNotificationGroup NOTIFICATION-GROUP
NOTIFICATIONS {
dErpsFailuredetectedNotif,
dErpsFailureClearedNotif,
dErpsRPLOwnerConflictNotif
}
STATUS current
DESCRIPTION
"The collection of notifications used for monitoring ERPS status"
::= { dErpsGroups 4 }
END

View File

@ -0,0 +1,419 @@
-- *****************************************************************
-- DLINKSW-ERROR-DISABLE-MIB.mib : Error Disable MIB
--
-- Copyright (c) 2013 D-Link Corporation, all rights reserved.
--
-- *****************************************************************
DLINKSW-ERROR-DISABLE-MIB DEFINITIONS ::= BEGIN
IMPORTS
MODULE-IDENTITY,
OBJECT-TYPE,
NOTIFICATION-TYPE,
Integer32,
Unsigned32
FROM SNMPv2-SMI
TEXTUAL-CONVENTION,
TruthValue
FROM SNMPv2-TC
MODULE-COMPLIANCE, OBJECT-GROUP, NOTIFICATION-GROUP
FROM SNMPv2-CONF
InterfaceIndex
FROM IF-MIB
VlanId,
VlanIdOrNone
FROM Q-BRIDGE-MIB
dlinkIndustrialCommon
FROM DLINK-ID-REC-MIB;
dlinkSwErrDisableMIB MODULE-IDENTITY
LAST-UPDATED "201307080000Z"
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 module defines objects for error disabled."
REVISION "201305020000Z"
DESCRIPTION
"This is the first version of the MIB file."
REVISION "201307080000Z"
DESCRIPTION
"Modified the object dErrDisIfStatusDisReason to
dErrDisIfStatusDisReasonIndex, make this object to be the third
index of dErrDisIfStatusEntry, to display more than one reason on
a port or vlan interface if more than one reason is recocovering
on the port or vlan interface."
REVISION "201404110000Z"
DESCRIPTION
"Add scheduledShutdown and scheduledHibernation into DErrDisReasonID.
Modify description of dErrDisIfStatusTimeLeft, using 0xFFFFFFFF to
indicates no automatic recovery."
::= { dlinkIndustrialCommon 45 }
--
-- Textual conventions
--
DErrDisReasonID ::= TEXTUAL-CONVENTION
STATUS current
DESCRIPTION
"An integer-value assigned to various conditions
that can error disable a system entity.
loopbackDetect: Loopback Detection
l2ptGuard: L2 Protocol Tunneling.
psecureViolation: Port Security violation.
stormControl: (broadcast/multicast/unicast)storm control.
bpduProtect: BPDU protected.
arpRateLimit: ARP rate limit.
dhcpRateLimit: DHCP rate limit.
ddm: Digital Diagnostics Monitoring
scheduledShutdown: Scheduled Port-shutdown by Power Saving
scheduledHibernation:Scheduled Hibernation by Power Saving
"
SYNTAX INTEGER
{ loopbackDetect(1),
l2ptGuard(2),
psecureViolation(3),
stormControl(4),
bpduProtect(5),
arpRateLimit(6),
dhcpRateLimit(7),
ddm(8),
scheduledShutdown(9),
scheduledHibernation(10)
}
-- -----------------------------------------------------------------------------
dErrDisableMIBNotifications OBJECT IDENTIFIER ::= { dlinkSwErrDisableMIB 0 }
dErrDisableMIBObjects OBJECT IDENTIFIER ::= { dlinkSwErrDisableMIB 1 }
dErrDisableMIBConformance OBJECT IDENTIFIER ::= { dlinkSwErrDisableMIB 2 }
-- -----------------------------------------------------------------------------
dErrDisRecoveryTable OBJECT-TYPE
SYNTAX SEQUENCE OF DErrDisRecoveryEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This table contains the recovery mechanism for the features with
error-disable functionality.
Transceiver monitoring module (the DErrDisReasonID is 'ddm') can also
put a SFP port which is in abnormal status in error disabled state.
This error disable cannot be auto recovered but can only be manually
recovered. As a result, there is no entry for error cause is 'ddm'
in this table.
"
::= { dErrDisableMIBObjects 1 }
dErrDisRecoveryEntry OBJECT-TYPE
SYNTAX DErrDisRecoveryEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"An entry is created for each feature which has error-disable
functionality."
INDEX { dErrDisRecoveryIndex }
::= { dErrDisRecoveryTable 1 }
DErrDisRecoveryEntry ::= SEQUENCE {
dErrDisRecoveryIndex DErrDisReasonID,
dErrDisRecoveryEnable TruthValue,
dErrDisRecoveryInterval Integer32
}
dErrDisRecoveryIndex OBJECT-TYPE
SYNTAX DErrDisReasonID
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This object indicates the cause of error-disable."
::= { dErrDisRecoveryEntry 1 }
dErrDisRecoveryEnable OBJECT-TYPE
SYNTAX TruthValue
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object specifies whether the system can
automatically recover a system entity that has been
disabled by the cause."
DEFVAL { false }
::= { dErrDisRecoveryEntry 2 }
dErrDisRecoveryInterval OBJECT-TYPE
SYNTAX Integer32 (5..86400)
UNITS "seconds"
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"Specifies the error-recovery time interval on specific cause
to recover the port/interface from the error disabled situation."
DEFVAL { 300 }
::= { dErrDisRecoveryEntry 3 }
-- -----------------------------------------------------------------------------
dErrDisIfStatusTableNum OBJECT-TYPE
SYNTAX Unsigned32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Indicates the number of entries present in the dErrDisIfStatusTable."
::= { dErrDisableMIBObjects 2 }
dErrDisIfStatusTable OBJECT-TYPE
SYNTAX SEQUENCE OF DErrDisIfStatusEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This table provides next recovery timeout information about an interface
disabled by a feature."
::= { dErrDisableMIBObjects 3 }
dErrDisIfStatusEntry OBJECT-TYPE
SYNTAX DErrDisIfStatusEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"An entry indicates next recovery timeout information about an interface
or (interface, vlan) disabled by a feature."
INDEX
{ dErrDisIfStatusIfIndex,
dErrDisIfStatusVlanIndex,
dErrDisIfStatusDisReasonIndex }
::= { dErrDisIfStatusTable 1 }
DErrDisIfStatusEntry ::= SEQUENCE {
dErrDisIfStatusIfIndex InterfaceIndex,
dErrDisIfStatusVlanIndex VlanIdOrNone,
dErrDisIfStatusDisReasonIndex DErrDisReasonID,
dErrDisIfStatusTimeLeft Unsigned32
}
dErrDisIfStatusIfIndex OBJECT-TYPE
SYNTAX InterfaceIndex
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This object is the interface index of the interface disabled by a feature."
::= { dErrDisIfStatusEntry 1 }
dErrDisIfStatusVlanIndex OBJECT-TYPE
SYNTAX VlanIdOrNone
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This object indicates the VLAN in the given interface
that has been error-disabled. If the physical interface is
error-disabled then the value of this object is 0."
::= { dErrDisIfStatusEntry 2 }
dErrDisIfStatusDisReasonIndex OBJECT-TYPE
SYNTAX DErrDisReasonID
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This object indicates the reason which cause the interface disabled."
::= { dErrDisIfStatusEntry 3 }
dErrDisIfStatusTimeLeft OBJECT-TYPE
SYNTAX Unsigned32
UNITS "seconds"
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"This object indicates the time left that the interface will be
automatically recovered. Value 0xFFFFFFFF indicates the interface
won't be automatically recovered."
::= { dErrDisIfStatusEntry 4 }
-- -----------------------------------------------------------------------------
dErrDisNotificationEnable OBJECT-TYPE
SYNTAX BITS {
errDisableAsserted(0),
errDisableCleared(1)
}
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object indicates whether a specified notification is enabled or not.
If a bit corresponding to a notification is set to 1, then
the specified notification can be generated.
errDisableAsserted(0) - Controls the notifications for a port/vlan
entering into error disabled state.
errDisableCleared(1) - Controls the notifications for a port/vlan
exiting from error disabled state.
"
::= { dErrDisableMIBObjects 4 }
dErrDisNotifRate OBJECT-TYPE
SYNTAX Unsigned32 (0..1000)
UNITS "notifications per minute"
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"Expressed in the number of notifications can be generated
per minute.
This object configures the rate-limit of SNMP Notification for
errDisable feature.
A value of 0 indicates that an SNMP Notification is generated
for every error disabled event."
DEFVAL { 0 }
::= { dErrDisableMIBObjects 5 }
-- -----------------------------------------------------------------------------
dErrDisNotifyInfo OBJECT IDENTIFIER ::= { dErrDisableMIBObjects 6 }
dErrDisNotifyInfoPortIfIndex OBJECT-TYPE
SYNTAX InterfaceIndex
MAX-ACCESS accessible-for-notify
STATUS current
DESCRIPTION
"This object indicates the port number of error disabled port."
::= { dErrDisNotifyInfo 1 }
dErrDisNotifyInfoLoopDetectedVID OBJECT-TYPE
SYNTAX VlanId
MAX-ACCESS accessible-for-notify
STATUS current
DESCRIPTION
"This object indicates the VLAN ID that has detected a loopback."
::= { dErrDisNotifyInfo 2 }
dErrDisNotifyInfoReasonID OBJECT-TYPE
SYNTAX DErrDisReasonID
MAX-ACCESS accessible-for-notify
STATUS current
DESCRIPTION
"This object indicates the condition which cause a port/vlan enter
into error disabled state."
::= { dErrDisNotifyInfo 3 }
-- ***************************************************************************
-- Notifications
-- ***************************************************************************
dErrDisNotifyPortDisabledAssert NOTIFICATION-TYPE
OBJECTS {
dErrDisNotifyInfoPortIfIndex,
dErrDisNotifyInfoReasonID
}
STATUS current
DESCRIPTION
"The trap is sent when a port enters into error disabled state."
::= { dErrDisableMIBNotifications 1 }
dErrDisNotifyPortDisabledClear NOTIFICATION-TYPE
OBJECTS {
dErrDisNotifyInfoPortIfIndex,
dErrDisNotifyInfoReasonID
}
STATUS current
DESCRIPTION
"The trap is sent when a port loop restarts after the interval time."
::= { dErrDisableMIBNotifications 2 }
dErrDisNotifyVlanDisabledAssert NOTIFICATION-TYPE
OBJECTS {
dErrDisNotifyInfoPortIfIndex,
dErrDisNotifyInfoReasonID,
dErrDisNotifyInfoLoopDetectedVID
}
STATUS current
DESCRIPTION
"The trap is sent when a Port with a VID loop occurs."
::= { dErrDisableMIBNotifications 3 }
dErrDisNotifyVlanDisabledClear NOTIFICATION-TYPE
OBJECTS {
dErrDisNotifyInfoPortIfIndex,
dErrDisNotifyInfoReasonID,
dErrDisNotifyInfoLoopDetectedVID
}
STATUS current
DESCRIPTION
"The trap is sent when a Port with a VID restarts after the interval time."
::= { dErrDisableMIBNotifications 4 }
-- ***************************************************************************
-- Conformance
-- ***************************************************************************
dErrDisMIBCompliances OBJECT IDENTIFIER
::= { dErrDisableMIBConformance 1 }
dErrDisMIBGroups OBJECT IDENTIFIER
::= { dErrDisableMIBConformance 2 }
dErrDisMIBCompliance MODULE-COMPLIANCE
STATUS current
DESCRIPTION
"The compliance statement for entities which implement the
DLINKSW-ERROR-DISABLE-MIB."
MODULE -- this module
MANDATORY-GROUPS
{ dErrDisRecoveryCfgGroup,
dErrDisIfStatusGroup,
dErrDisNotifyCfgGroup,
dErrDisNotificationGroup
}
::= { dErrDisMIBCompliances 1 }
dErrDisRecoveryCfgGroup OBJECT-GROUP
OBJECTS
{ dErrDisRecoveryEnable,
dErrDisRecoveryInterval
}
STATUS current
DESCRIPTION
"A collection of objects to configure the error recovery of the
error-disable feature."
::= { dErrDisMIBGroups 1 }
dErrDisIfStatusGroup OBJECT-GROUP
OBJECTS
{ dErrDisIfStatusTableNum,
dErrDisIfStatusTimeLeft
}
STATUS current
DESCRIPTION
"A collection of objects which indicate error-disable interface
status."
::= { dErrDisMIBGroups 2 }
dErrDisNotifyCfgGroup OBJECT-GROUP
OBJECTS
{ dErrDisNotificationEnable,
dErrDisNotifRate,
dErrDisNotifyInfoPortIfIndex,
dErrDisNotifyInfoReasonID,
dErrDisNotifyInfoLoopDetectedVID
}
STATUS current
DESCRIPTION
"A collection of objects to configure the error recovery of the
error-disable feature."
::= { dErrDisMIBGroups 3 }
dErrDisNotificationGroup NOTIFICATION-GROUP
NOTIFICATIONS {
dErrDisNotifyPortDisabledAssert,
dErrDisNotifyPortDisabledClear,
dErrDisNotifyVlanDisabledAssert,
dErrDisNotifyVlanDisabledClear
}
STATUS current
DESCRIPTION
"The collection of notifications used for monitoring ErrDisable status"
::= { dErrDisMIBGroups 4 }
END

378
mibs/dlink/DLINKSW-FS-MIB Normal file
View File

@ -0,0 +1,378 @@
-- *****************************************************************
-- DLINKSW-FS-MIB.mib : File System MIB
--
-- Copyright (c) 2013 D-Link Corporation, all rights reserved.
--
-- -----------------------------------------------------------------------------
-- MODIFICTION HISTORY:
-- -----------------------------------------------------------------------------
-- Version 2.01, 2013/06/14, Eric Liu
-- Description:
-- [Modification]
-- 1. Change the DisplayString SIZE of dFsDriveInfoLabel
-- from 32 to 11.
-- *****************************************************************
DLINKSW-FS-MIB DEFINITIONS ::= BEGIN
IMPORTS
MODULE-IDENTITY,
OBJECT-TYPE,
Unsigned32
FROM SNMPv2-SMI
RowStatus, TruthValue, DisplayString, DateAndTime
FROM SNMPv2-TC
OBJECT-GROUP, MODULE-COMPLIANCE
FROM SNMPv2-CONF
dlinkIndustrialCommon
FROM DLINK-ID-REC-MIB;
dlinkSwFsMIB MODULE-IDENTITY
LAST-UPDATED "201306140000Z"
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 module defines objects for File System (FS)."
REVISION "201304170000Z"
DESCRIPTION
"This is the first version of the MIB file."
::= { dlinkIndustrialCommon 18 }
-- -----------------------------------------------------------------------------
dFsNotifications OBJECT IDENTIFIER ::= { dlinkSwFsMIB 0 }
dFsObjects OBJECT IDENTIFIER ::= { dlinkSwFsMIB 1 }
dFsConformance OBJECT IDENTIFIER ::= { dlinkSwFsMIB 2 }
-- -----------------------------------------------------------------------------
dFsBasicInfoCtrlStatus OBJECT-TYPE
SYNTAX DisplayString
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"This object indicates the result for file operation, e.g. deleting
files, making directories, deleting directories and renaming files.
"
::= { dFsObjects 1 }
-- -----------------------------------------------------------------------------
dFsBasicOperation OBJECT IDENTIFIER ::= { dFsObjects 2 }
dFsCurrentDirUrl OBJECT-TYPE
SYNTAX OCTET STRING (SIZE (0..799))
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object indicates the URL of current directory.
"
::= { dFsBasicOperation 1 }
dFsCurrentDirectoryTable OBJECT-TYPE
SYNTAX SEQUENCE OF DFsCurrentDirectoryEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This table consists of a list of directories or files in
the current directory.
This table takes the advantage of RowStatus textual convention to
delete a file or add/delete a directory (mkdir/rmdir)."
::= { dFsBasicOperation 2 }
dFsCurrentDirectoryEntry OBJECT-TYPE
SYNTAX DFsCurrentDirectoryEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"An entry indicates the information for a file or directory
at current directory."
INDEX {
dFsCurrentDirItemName
}
::= { dFsCurrentDirectoryTable 1 }
DFsCurrentDirectoryEntry ::= SEQUENCE {
dFsCurrentDirItemName DisplayString,
dFsCurrentDirItemMode BITS,
dFsCurrentDirItemSize Unsigned32,
dFsCurrentDirItemTime DateAndTime,
dFsCurrentDirItemRawStatus RowStatus
}
dFsCurrentDirItemName OBJECT-TYPE
SYNTAX DisplayString
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"The name of file or directory."
::= { dFsCurrentDirectoryEntry 1 }
dFsCurrentDirItemMode OBJECT-TYPE
SYNTAX BITS {
directory(0),
readable(1),
writeable(2)
}
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"This object indicates the mode of the entry.
"
::= { dFsCurrentDirectoryEntry 2 }
dFsCurrentDirItemSize OBJECT-TYPE
SYNTAX Unsigned32
UNITS "bytes"
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"This object indicates the file size (in bytes).
If the entry is a directory, the value is 0.
"
::= { dFsCurrentDirectoryEntry 3 }
dFsCurrentDirItemTime OBJECT-TYPE
SYNTAX DateAndTime
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"This object indicates the time of creation or modification of
this file or directory."
::= { dFsCurrentDirectoryEntry 4 }
dFsCurrentDirItemRawStatus OBJECT-TYPE
SYNTAX RowStatus
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"The status of this conceptual row."
::= { dFsCurrentDirectoryEntry 5 }
-- -----------------------------------------------------------------------------
dFsFileRenameCtrl OBJECT IDENTIFIER ::= { dFsBasicOperation 3 }
dFsFileRenameSourceUrl OBJECT-TYPE
SYNTAX OCTET STRING (SIZE (0..799))
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object indicates the URL for the file to be renamed."
::= { dFsFileRenameCtrl 1 }
dFsFileRenameTargetUrl OBJECT-TYPE
SYNTAX OCTET STRING (SIZE (0..799))
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object indicates the URL after file renaming."
::= { dFsFileRenameCtrl 2 }
dFsFileRenameActivity OBJECT-TYPE
SYNTAX INTEGER {
rename(1),
noOp(2)
}
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object renames the file indicated by dFsFileRenameSourceUrl,
when set to 'rename'.
The object dFsBasicInfoCtrlStatus indicates the processing result.
No action is taken if this object is set to 'noOp'.
When read, the value 'noOp' is returned."
::= { dFsFileRenameCtrl 3 }
-- -----------------------------------------------------------------------------
dFsDriveCtrl OBJECT IDENTIFIER ::= { dFsObjects 3 }
dFsDriveInfoTable OBJECT-TYPE
SYNTAX SEQUENCE OF DFsDriveInfoEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This table consists of a list the information of the storage media
available on the system."
::= { dFsDriveCtrl 1 }
dFsDriveInfoEntry OBJECT-TYPE
SYNTAX DFsDriveInfoEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"The entry indicates the information for a drive."
INDEX {
dFsDriveInfoUnitID,
dFsDriveInfoDriveID
}
::= { dFsDriveInfoTable 1 }
DFsDriveInfoEntry ::= SEQUENCE {
dFsDriveInfoUnitID Unsigned32,
dFsDriveInfoDriveID INTEGER,
dFsDriveInfoMediaType DisplayString,
dFsDriveInfoSize Unsigned32,
dFsDriveInfoFsType INTEGER,
dFsDriveInfoLabel DisplayString,
dFsDriveInfoFormatDrive INTEGER
}
dFsDriveInfoUnitID OBJECT-TYPE
SYNTAX Unsigned32 (1..65535)
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This object indicates the unit (stacking device) or slot (chassis
device) ID.
"
::= { dFsDriveInfoEntry 1 }
dFsDriveInfoDriveID OBJECT-TYPE
SYNTAX INTEGER {
a(1),
b(2),
c(3),
d(4),
e(5),
f(6),
g(7),
h(8),
i(9),
j(10),
k(11),
l(12),
m(13),
n(14),
o(15),
p(16),
q(17),
r(18),
s(19),
t(20),
u(21),
v(22),
w(23),
x(24),
y(25),
z(26)
}
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This object indicates the drive ID of the entry."
::= { dFsDriveInfoEntry 2 }
dFsDriveInfoMediaType OBJECT-TYPE
SYNTAX DisplayString
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Indicates the media type of drive."
::= { dFsDriveInfoEntry 3 }
dFsDriveInfoSize OBJECT-TYPE
SYNTAX Unsigned32
UNITS "Mbytes"
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Indicates the total size (in MBytes) of the drive."
::= { dFsDriveInfoEntry 4 }
dFsDriveInfoFsType OBJECT-TYPE
SYNTAX INTEGER {
other(0),
ffs(1),
fat16(2),
fat32(3)
}
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Indicates the FS type on the drive.
The special value of 'other' indicates this drive has not be formated.
"
::= { dFsDriveInfoEntry 5 }
dFsDriveInfoLabel OBJECT-TYPE
SYNTAX DisplayString (SIZE (0..11))
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"Indicates the label of drive.
This object cannot be modified after a drive is formated.
"
::= { dFsDriveInfoEntry 6 }
dFsDriveInfoFormatDrive OBJECT-TYPE
SYNTAX INTEGER {
format(1),
noOp(2)
}
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object formats the drive of the entry.
The object dFsBasicInfoCtrlStatus indicates the processing result.
No action is taken if this object is set to 'noOp'.
When read, the value 'noOp' is returned.
"
::= { dFsDriveInfoEntry 7 }
-- -----------------------------------------------------------------------------
-- Conformance
-- -----------------------------------------------------------------------------
dFsCompliances OBJECT IDENTIFIER ::= { dFsConformance 1 }
dFsGroups OBJECT IDENTIFIER ::= { dFsConformance 2 }
dFsMIBCompliance MODULE-COMPLIANCE
STATUS current
DESCRIPTION
"The compliance statement for entities which
implement the DLINKSW-FS-MIB."
MODULE MANDATORY-GROUPS {
dFsBasicGroup,
dFsDriveGroup
}
::= { dFsCompliances 1 }
dFsBasicGroup OBJECT-GROUP
OBJECTS
{ dFsBasicInfoCtrlStatus,
dFsCurrentDirUrl,
dFsCurrentDirItemMode,
dFsCurrentDirItemSize,
dFsCurrentDirItemTime,
dFsCurrentDirItemRawStatus,
dFsFileRenameSourceUrl,
dFsFileRenameTargetUrl,
dFsFileRenameActivity
}
STATUS current
DESCRIPTION
"A collection of objects executes basic operation of FS."
::= { dFsGroups 1 }
dFsDriveGroup OBJECT-GROUP
OBJECTS {
dFsDriveInfoMediaType,
dFsDriveInfoSize,
dFsDriveInfoFsType,
dFsDriveInfoLabel,
dFsDriveInfoFormatDrive
}
STATUS current
DESCRIPTION
"A collection of objects executes drive operation of FS."
::= { dFsGroups 2 }
END

View File

@ -0,0 +1,91 @@
-- *****************************************************************
-- DLINKSW-GENMGMT-MIB : D-Link General Management MIB
--
-- Copyright (c) 2013 D-Link Corporation, all rights reserved.
--
-- *****************************************************************
DLINKSW-GENMGMT-MIB DEFINITIONS ::= BEGIN
IMPORTS
MODULE-IDENTITY,
OBJECT-TYPE,
NOTIFICATION-TYPE,
Unsigned32
FROM SNMPv2-SMI
DisplayString
FROM SNMPv2-TC
dlinkIndustrialCommon
FROM DLINK-ID-REC-MIB;
dlinkSwGenMgmtMIB MODULE-IDENTITY
LAST-UPDATED "201309130000Z"
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 is the first version of the MIB file."
::= { dlinkIndustrialCommon 165 }
-- -----------------------------------------------------------------------------
dGenMgmtMIBNotifications OBJECT IDENTIFIER ::= { dlinkSwGenMgmtMIB 0 }
dGenMgmtMIBObjects OBJECT IDENTIFIER ::= { dlinkSwGenMgmtMIB 1 }
dGenMgmtMIBConformance OBJECT IDENTIFIER ::= { dlinkSwGenMgmtMIB 2 }
-- -----------------------------------------------------------------------------
-- MIB Objects statements
-- -----------------------------------------------------------------------------
-- -----------------------------------------------------------------------------
-- MIB Notifications statements
-- -----------------------------------------------------------------------------
dGenMgmtLoginFail NOTIFICATION-TYPE
OBJECTS {
dGenMgmtNotifyInfoLoginType,
dGenMgmtNotifyInfoUserName
}
STATUS current
DESCRIPTION
"Generated when the user login failed to the switch."
::= { dGenMgmtMIBNotifications 1 }
-- -----------------------------------------------------------------------------
dGenMgmtNotifyInfos OBJECT IDENTIFIER ::= { dGenMgmtMIBObjects 1 }
dGenMgmtNotifyInfoLoginType OBJECT-TYPE
SYNTAX INTEGER {
console(1),
telnet(2),
ssh(3),
web(4)
}
MAX-ACCESS accessible-for-notify
STATUS current
DESCRIPTION
"The type is the user login method type."
::= { dGenMgmtNotifyInfos 1 }
dGenMgmtNotifyInfoUserName OBJECT-TYPE
SYNTAX DisplayString
MAX-ACCESS accessible-for-notify
STATUS current
DESCRIPTION
"This object is the name of the user that login to the switch."
::= { dGenMgmtNotifyInfos 2 }
-- -----------------------------------------------------------------------------
-- MIB Conformance statements
-- -----------------------------------------------------------------------------
END

405
mibs/dlink/DLINKSW-GVRP-MIB Normal file
View File

@ -0,0 +1,405 @@
-- *****************************************************************
-- DLINKSW-GVRP-MIB.mib : GVRP MIB
--
-- Copyright (c) 2013 D-Link Corporation, all rights reserved.
--
-- *****************************************************************
DLINKSW-GVRP-MIB DEFINITIONS ::= BEGIN
IMPORTS
MODULE-IDENTITY,
OBJECT-TYPE,
Unsigned32
FROM SNMPv2-SMI
TruthValue,RowStatus
FROM SNMPv2-TC
MODULE-COMPLIANCE, OBJECT-GROUP
FROM SNMPv2-CONF
dot1dBasePort
FROM BRIDGE-MIB
Dlink2kVlanList
FROM DLINKSW-TC-MIB
dlinkIndustrialCommon
FROM DLINK-ID-REC-MIB;
dlinkSwGvrpMIB MODULE-IDENTITY
LAST-UPDATED "201304170000Z"
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 module defines objects for GVRP."
REVISION "201304170000Z"
DESCRIPTION
"This is the first version of the MIB file."
::= { dlinkIndustrialCommon 33 }
-- -----------------------------------------------------------------------------
dGvrpMIBNotifications OBJECT IDENTIFIER ::= { dlinkSwGvrpMIB 0 }
dGvrpMIBObjects OBJECT IDENTIFIER ::= { dlinkSwGvrpMIB 1 }
dGvrpMIBConformance OBJECT IDENTIFIER ::= { dlinkSwGvrpMIB 2 }
-- -----------------------------------------------------------------------------
dGvrpGlobalMgmt OBJECT IDENTIFIER ::={dGvrpMIBObjects 1}
dGvrpDynamicVlanCreation OBJECT-TYPE
SYNTAX TruthValue
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object indicates whether dynamic VLAN creation is enabled."
::= { dGvrpGlobalMgmt 1 }
dGvrpNniGvrpBpduAddress OBJECT-TYPE
SYNTAX INTEGER {
dot1d(1),
dot1ad(2)
}
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object indicates the GVRP BPDU address in service provider
site.
'dot1d' - The GVRP BPDU protocol address is 802.1d GVRP address:
01:80:CC:00:00:21
'dot1ad' - The GVRP BPDU protocol address is 802.1ad GVRP address:
01:80:CC:00:00:0D
"
::= { dGvrpGlobalMgmt 2 }
-- -----------------------------------------------------------------------------
dGvrpInterface OBJECT IDENTIFIER ::= { dGvrpMIBObjects 2 }
dGvrpInterfaceTable OBJECT-TYPE
SYNTAX SEQUENCE OF DGvrpInterfaceEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This table contains the interface-specific GVRP parameters."
::= { dGvrpInterface 1 }
dGvrpInterfaceEntry OBJECT-TYPE
SYNTAX DGvrpInterfaceEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"An entry indicates the GVRP parameters for a port/port-channel."
INDEX { dot1dBasePort }
::= { dGvrpInterfaceTable 1 }
DGvrpInterfaceEntry ::=
SEQUENCE {
dGvrpIfAdvertiseVlanLstFirst2K Dlink2kVlanList,
dGvrpIfAdvertiseVlanLstSecond2K Dlink2kVlanList,
dGvrpIfForbiddenVlanLstFirst2K Dlink2kVlanList,
dGvrpIfForbiddenVlanLstSecond2K Dlink2kVlanList
}
dGvrpIfAdvertiseVlanLstFirst2K OBJECT-TYPE
SYNTAX Dlink2kVlanList
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object specifies the VLANs in a string of octets containing
one bit per VLAN for VLANs 1 to 2048.
If the bit is set to '1', then the VLAN is allowed to be
advertised by the GVRP protocol on the interface.
"
::= { dGvrpInterfaceEntry 1 }
dGvrpIfAdvertiseVlanLstSecond2K OBJECT-TYPE
SYNTAX Dlink2kVlanList
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object specifies the VLANs in a string of octets containing
one bit per VLAN for VLANs 2049 to 4094.
If the bit is set to '1', then the VLAN is allowed to be
advertised by the GVRP protocol on the interface.
"
::= { dGvrpInterfaceEntry 2 }
dGvrpIfForbiddenVlanLstFirst2K OBJECT-TYPE
SYNTAX Dlink2kVlanList
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object specifies the VLANs in a string of octets containing
one bit per VLAN for VLANs 1 to 2048.
If the bit is set to '1', then the interface is forbidden to be the
VLAN's member."
::= { dGvrpInterfaceEntry 3 }
dGvrpIfForbiddenVlanLstSecond2K OBJECT-TYPE
SYNTAX Dlink2kVlanList
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object specifies the VLANs in a string of octets containing
one bit per VLAN for VLANs 2049 to 4094.
If the bit is set to '1', then the interface is forbidden to be the
VLAN's member."
::= { dGvrpInterfaceEntry 4 }
-- -----------------------------------------------------------------------------
dGvrpStatistics OBJECT IDENTIFIER ::= { dGvrpMIBObjects 3 }
dGvrpClearAllStatistics OBJECT-TYPE
SYNTAX INTEGER {
clear(1),
noOp(2)
}
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object is used to clear GVRP statistics on all interfaces when
set to 'clear'.
No action is taken if this object is set to 'noOp'.
When read, the value 'noOp' is returned."
::= { dGvrpStatistics 1 }
-- -----------------------------------------------------------------------------
dGvrpIfStatisticsTable OBJECT-TYPE
SYNTAX SEQUENCE OF DGvrpIfStatisticsEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This table contains the statistics for GVRP capable ports.
"
::= { dGvrpStatistics 2 }
dGvrpIfStatisticsEntry OBJECT-TYPE
SYNTAX DGvrpIfStatisticsEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"An entry represents the statistics of a GVRP capable port."
INDEX { dot1dBasePort }
::= { dGvrpIfStatisticsTable 1 }
DGvrpIfStatisticsEntry ::= SEQUENCE {
dGvrpIfStatRxJoinEmpty Unsigned32,
dGvrpIfStatRxJoinIn Unsigned32,
dGvrpIfStatRxLeaveEmpty Unsigned32,
dGvrpIfStatRxLeaveIn Unsigned32,
dGvrpIfStatRxLeaveAll Unsigned32,
dGvrpIfStatRxEmpty Unsigned32,
dGvrpIfStatTxJoinEmpty Unsigned32,
dGvrpIfStatTxJoinIn Unsigned32,
dGvrpIfStatTxLeaveEmpty Unsigned32,
dGvrpIfStatTxLeaveIn Unsigned32,
dGvrpIfStatTxLeaveAll Unsigned32,
dGvrpIfStatTxEmpty Unsigned32,
dGvrpIfStatClear INTEGER
}
dGvrpIfStatRxJoinEmpty OBJECT-TYPE
SYNTAX Unsigned32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"This object indicates the number of GVRP JoinEmpty message received
on the interface."
::= { dGvrpIfStatisticsEntry 1}
dGvrpIfStatRxJoinIn OBJECT-TYPE
SYNTAX Unsigned32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"This object indicates the number of GVRP JoinIn message received
on the interface."
::= { dGvrpIfStatisticsEntry 2 }
dGvrpIfStatRxLeaveEmpty OBJECT-TYPE
SYNTAX Unsigned32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"This object indicates the number of GVRP LeaveEmpty message received
on the interface."
::= { dGvrpIfStatisticsEntry 3 }
dGvrpIfStatRxLeaveIn OBJECT-TYPE
SYNTAX Unsigned32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"This object indicates the number of GVRP LeaveIn message received
on the interface."
::= { dGvrpIfStatisticsEntry 4 }
dGvrpIfStatRxLeaveAll OBJECT-TYPE
SYNTAX Unsigned32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"This object indicates the number of GVRP LeaveAll message received
on the interface."
::= { dGvrpIfStatisticsEntry 5 }
dGvrpIfStatRxEmpty OBJECT-TYPE
SYNTAX Unsigned32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"This object indicates the number of GVRP Empty message received
on the interface."
::= { dGvrpIfStatisticsEntry 6 }
dGvrpIfStatTxJoinEmpty OBJECT-TYPE
SYNTAX Unsigned32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"This object indicates the number of GVRP JoinEmpty message transmitted
on the interface."
::= { dGvrpIfStatisticsEntry 7 }
dGvrpIfStatTxJoinIn OBJECT-TYPE
SYNTAX Unsigned32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"This object indicates the number of GVRP JoinIn message transmitted
on the interface."
::= { dGvrpIfStatisticsEntry 8 }
dGvrpIfStatTxLeaveEmpty OBJECT-TYPE
SYNTAX Unsigned32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"This object indicates the number of GVRP LeaveEmpty message transmitted
on the interface."
::= { dGvrpIfStatisticsEntry 9 }
dGvrpIfStatTxLeaveIn OBJECT-TYPE
SYNTAX Unsigned32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"This object indicates the number of GVRP LeaveIn message transmitted
on the interface."
::= { dGvrpIfStatisticsEntry 10 }
dGvrpIfStatTxLeaveAll OBJECT-TYPE
SYNTAX Unsigned32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"This object indicates the number of GVRP LeaveAll message transmitted
on the interface."
::= { dGvrpIfStatisticsEntry 11 }
dGvrpIfStatTxEmpty OBJECT-TYPE
SYNTAX Unsigned32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"This object indicates the number of GVRP Empty message transmitted
on the interface."
::= { dGvrpIfStatisticsEntry 12 }
dGvrpIfStatClear OBJECT-TYPE
SYNTAX INTEGER {
clear(1),
noOp(2)
}
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object is used to clear GVRP statistics on the interface when
set to 'clear'.
No action is taken if this object is set to 'noOp'.
When read, the value 'noOp' is returned."
::= { dGvrpIfStatisticsEntry 13 }
-- ***************************************************************************
-- Conformance
-- ***************************************************************************
dGvrpCompliances OBJECT IDENTIFIER ::= { dGvrpMIBConformance 1 }
dGvrpGroups OBJECT IDENTIFIER ::= { dGvrpMIBConformance 2 }
dGvrpCompliance MODULE-COMPLIANCE
STATUS current
DESCRIPTION
"The compliance statement for entities which implement the
DLINKSW-GVRP-MIB."
MODULE -- this module
MANDATORY-GROUPS {
dGvrpBasicCfgGroup
}
GROUP dGvrpServiceProviderCfgGroup
DESCRIPTION
"This group is mandatory only for the platform which supports
the VLAN tunnel.
"
GROUP dGvrpStatisticsGroup
DESCRIPTION
"This group is mandatory only for the platform which supports
the management of GVRP statistics.
"
::= { dGvrpCompliances 1 }
dGvrpBasicCfgGroup OBJECT-GROUP
OBJECTS {
dGvrpDynamicVlanCreation,
dGvrpIfAdvertiseVlanLstFirst2K,
dGvrpIfAdvertiseVlanLstSecond2K,
dGvrpIfForbiddenVlanLstFirst2K,
dGvrpIfForbiddenVlanLstSecond2K
}
STATUS current
DESCRIPTION
"A collection of objects configures basic GVRP functions."
::= { dGvrpGroups 1 }
dGvrpServiceProviderCfgGroup OBJECT-GROUP
OBJECTS {
dGvrpNniGvrpBpduAddress
}
STATUS current
DESCRIPTION
"A collection of objects configures GVRP in service provider site."
::= { dGvrpGroups 2 }
dGvrpStatisticsGroup OBJECT-GROUP
OBJECTS {
dGvrpClearAllStatistics,
dGvrpIfStatRxJoinEmpty,
dGvrpIfStatRxJoinIn,
dGvrpIfStatRxLeaveEmpty,
dGvrpIfStatRxLeaveIn,
dGvrpIfStatRxLeaveAll,
dGvrpIfStatRxEmpty,
dGvrpIfStatTxJoinEmpty,
dGvrpIfStatTxJoinIn,
dGvrpIfStatTxLeaveEmpty,
dGvrpIfStatTxLeaveIn,
dGvrpIfStatTxLeaveAll,
dGvrpIfStatTxEmpty,
dGvrpIfStatClear
}
STATUS current
DESCRIPTION
"A collection of objects provides the management of GVRP statistics.
"
::= { dGvrpGroups 4 }
END

View File

@ -0,0 +1,949 @@
-- *****************************************************************
-- DLINKSW-IF-COUNTER-MIB.mib : Interface Counters MIB
--
-- Copyright (c) 2013 D-Link Corporation, all rights reserved.
--
-- *****************************************************************
DLINKSW-IF-COUNTER-MIB DEFINITIONS ::= BEGIN
IMPORTS
MODULE-IDENTITY,
OBJECT-TYPE,
NOTIFICATION-TYPE,
Unsigned32,
Counter64
FROM SNMPv2-SMI
MODULE-COMPLIANCE,
OBJECT-GROUP
FROM SNMPv2-CONF
ifIndex,
InterfaceIndexOrZero
FROM IF-MIB
dlinkIndustrialCommon
FROM DLINK-ID-REC-MIB;
dlinkSwIfCounterMIB MODULE-IDENTITY
LAST-UPDATED "201302050000Z"
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 module defines objects for displaying counters."
REVISION "201302050000Z"
DESCRIPTION
"This is the first version of the MIB file."
::= { dlinkIndustrialCommon 66 }
-- -----------------------------------------------------------------------------
dIfCounterNotifications OBJECT IDENTIFIER ::= { dlinkSwIfCounterMIB 0 }
dIfCounterObjects OBJECT IDENTIFIER ::= { dlinkSwIfCounterMIB 1 }
dIfCounterConformance OBJECT IDENTIFIER ::= { dlinkSwIfCounterMIB 2 }
-- -----------------------------------------------------------------------------
-- Objects
-- -----------------------------------------------------------------------------
dIfCounterGernal OBJECT IDENTIFIER ::= {dIfCounterObjects 1}
dIfCounterClearCtrl OBJECT IDENTIFIER ::= {dIfCounterObjects 2}
dIfCounterRxStatistics OBJECT IDENTIFIER ::= {dIfCounterObjects 3}
dIfCounterTxStatistics OBJECT IDENTIFIER ::= {dIfCounterObjects 4}
-- -----------------------------------------------------------------------------
dIfCounterIfLinkChangeTable OBJECT-TYPE
SYNTAX SEQUENCE OF DIfCounterIfLinkChangeEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This table is used to display the number of interface link
change events."
::= { dIfCounterGernal 1}
dIfCounterIfLinkChangeEntry OBJECT-TYPE
SYNTAX DIfCounterIfLinkChangeEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"Entry containing the number of interface link change events for a
particular interface."
INDEX { ifIndex }
::= { dIfCounterIfLinkChangeTable 1 }
DIfCounterIfLinkChangeEntry ::= SEQUENCE {
dIfCounterIfLinkChange Counter64
}
dIfCounterIfLinkChange OBJECT-TYPE
SYNTAX Counter64
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The number of interface link change events."
::= { dIfCounterIfLinkChangeEntry 1 }
-- -----------------------------------------------------------------------------
dIfCounterIfUtilizationTable OBJECT-TYPE
SYNTAX SEQUENCE OF DIfCounterIfUtilizationEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This table is used to display the utilization of ports."
::= { dIfCounterGernal 2}
dIfCounterIfUtilizationEntry OBJECT-TYPE
SYNTAX DIfCounterIfUtilizationEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"Entry contains the utilization information of a port."
INDEX { ifIndex }
::= { dIfCounterIfUtilizationTable 1 }
DIfCounterIfUtilizationEntry ::= SEQUENCE {
dIfCounterIfUtilizationRx Unsigned32,
dIfCounterIfUtilizationTx Unsigned32,
dIfCounterIfUtilizationUtil Unsigned32
}
dIfCounterIfUtilizationRx OBJECT-TYPE
SYNTAX Unsigned32
UNITS "packets per second"
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"This object indicates the current rate of received frames on the
interface."
::= { dIfCounterIfUtilizationEntry 1 }
dIfCounterIfUtilizationTx OBJECT-TYPE
SYNTAX Unsigned32
UNITS "packets per second"
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"This object indicates the current rate of transmitted frames on the
interface."
::= { dIfCounterIfUtilizationEntry 2 }
dIfCounterIfUtilizationUtil OBJECT-TYPE
SYNTAX Unsigned32 (0..100)
UNITS "percentage"
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"This object indicates the percentage of the utilization on the
interface."
::= { dIfCounterIfUtilizationEntry 3 }
-- -----------------------------------------------------------------------------
dIfCounterClearAll OBJECT-TYPE
SYNTAX INTEGER {
clear(1),
noOp(2)
}
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object clears all counters, when set to 'clear'.
No action is taken if this object is set to 'noOp'.
When read, the value 'noOp' is returned."
::= { dIfCounterClearCtrl 1}
dIfCounterClearIf OBJECT-TYPE
SYNTAX InterfaceIndexOrZero
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object indicates the ifIndex of the physical
port interface on which the counters will be cleared.
When read, a value of 0 is returned."
::= { dIfCounterClearCtrl 2 }
-- -----------------------------------------------------------------------------
dIfRxStatsTable OBJECT-TYPE
SYNTAX SEQUENCE OF DIfRxStatsEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This table is used to display the receiving statistics
not covered in standard MIBs (IF-MIB,
RMON, BRIDGE-MIB, Etherlike-MIB) or extend the standard defined
objects to 64 bits."
::= { dIfCounterRxStatistics 1}
dIfRxStatsEntry OBJECT-TYPE
SYNTAX DIfRxStatsEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"An entry contains receiving statistics on an interface."
INDEX { ifIndex }
::= { dIfRxStatsTable 1 }
DIfRxStatsEntry ::= SEQUENCE {
dIfRxStatsHCPkts Counter64,
dIfRxStatsHCPkts64Octets Counter64,
dIfRxStatsHCPkts65to127Octets Counter64,
dIfRxStatsHCPkts128to255Octets Counter64,
dIfRxStatsHCPkts256to511Octets Counter64,
dIfRxStatsHCPkts512to1023Octets Counter64,
dIfRxStatsHCPkts1024to1518Octets Counter64,
dIfRxStatsHCPkts1519to1522Octets Counter64,
dIfRxStatsHCPkts1519to2047Octets Counter64,
dIfRxStatsHCPkts2048to4095Octets Counter64,
dIfRxStatsHCPkts4096to9216Octets Counter64
}
dIfRxStatsHCPkts OBJECT-TYPE
SYNTAX Counter64
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The number of packets received on the interface.
This object is a 64-bit version of etherStatsPkts.
Discontinuities in the value of this counter can occur at
re-initialization of the management system, and at other
times as indicated by the value of
ifCounterDiscontinuityTime."
::= { dIfRxStatsEntry 1 }
dIfRxStatsHCPkts64Octets OBJECT-TYPE
SYNTAX Counter64
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The total number of packets (including bad packets)
received that were 64 octets in length (excluding
framing bits but including FCS octets).
This object is a 64-bit version of etherStatsPkts64Octets.
Discontinuities in the value of this counter can occur at
re-initialization of the management system, and at other
times as indicated by the value of
ifCounterDiscontinuityTime."
::= { dIfRxStatsEntry 2 }
dIfRxStatsHCPkts65to127Octets OBJECT-TYPE
SYNTAX Counter64
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The total number of packets (including bad packets)
received that were between 65 and 127 octets in length
inclusive (excluding framing bits but including FCS octets).
This object is a 64-bit version of etherStatsPkts65to127Octets.
Discontinuities in the value of this counter can occur at
re-initialization of the management system, and at other
times as indicated by the value of
ifCounterDiscontinuityTime."
::= { dIfRxStatsEntry 3 }
dIfRxStatsHCPkts128to255Octets OBJECT-TYPE
SYNTAX Counter64
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The total number of packets (including bad packets)
received that were between 128 and 255 octets in length
inclusive (excluding framing bits but including FCS octets).
This object is a 64-bit version of etherStatsPkts128to255Octets.
Discontinuities in the value of this counter can occur at
re-initialization of the management system, and at other
times as indicated by the value of
ifCounterDiscontinuityTime."
::= { dIfRxStatsEntry 4 }
dIfRxStatsHCPkts256to511Octets OBJECT-TYPE
SYNTAX Counter64
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The total number of packets (including bad packets)
received that were between 256 and 511 octets in length
inclusive (excluding framing bits but including FCS octets).
This object is a 64-bit version of etherStatsPkts256to511Octets.
Discontinuities in the value of this counter can occur at
re-initialization of the management system, and at other
times as indicated by the value of
ifCounterDiscontinuityTime."
::= { dIfRxStatsEntry 5 }
dIfRxStatsHCPkts512to1023Octets OBJECT-TYPE
SYNTAX Counter64
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The total number of packets (including bad packets)
received that were between 512 and 1023 octets in length
inclusive (excluding framing bits but including FCS octets.
This object is a 64-bit version of etherStatsPkts512to1023Octets.
Discontinuities in the value of this counter can occur at
re-initialization of the management system, and at other
times as indicated by the value of
ifCounterDiscontinuityTime."
::= { dIfRxStatsEntry 6 }
dIfRxStatsHCPkts1024to1518Octets OBJECT-TYPE
SYNTAX Counter64
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The total number of packets (including bad packets)
received that were between 1024 and 1518 octets in length
inclusive (excluding framing bits but including FCS octets).
This object is a 64-bit version of etherStatsPkts1024to1518Octets.
Discontinuities in the value of this counter can occur at
re-initialization of the management system, and at other
times as indicated by the value of
ifCounterDiscontinuityTime."
::= { dIfRxStatsEntry 7 }
dIfRxStatsHCPkts1519to1522Octets OBJECT-TYPE
SYNTAX Counter64
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The total number of good VLAN packets received that were
between 1519 and 1522 octets in length inclusive
(excluding framing bits but including FCS octets).
Discontinuities in the value of this counter can occur at
re-initialization of the management system, and at other
times as indicated by the value of
ifCounterDiscontinuityTime."
::= { dIfRxStatsEntry 8 }
dIfRxStatsHCPkts1519to2047Octets OBJECT-TYPE
SYNTAX Counter64
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The total number of packets (including bad packets)
received that were between 1519 and 2047 octets in length
inclusive (excluding framing bits but including FCS octets).
Discontinuities in the value of this counter can occur at
re-initialization of the management system, and at other
times as indicated by the value of
ifCounterDiscontinuityTime."
::= { dIfRxStatsEntry 9 }
dIfRxStatsHCPkts2048to4095Octets OBJECT-TYPE
SYNTAX Counter64
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The total number of packets (including bad packets)
received that were between 2048 and 4095 octets in length
inclusive (excluding framing bits but including FCS octets).
Discontinuities in the value of this counter can occur at
re-initialization of the management system, and at other
times as indicated by the value of
ifCounterDiscontinuityTime."
::= { dIfRxStatsEntry 10 }
dIfRxStatsHCPkts4096to9216Octets OBJECT-TYPE
SYNTAX Counter64
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The total number of packets (including bad packets)
received that were between 4096 and 9216 octets in length
inclusive (excluding framing bits but including FCS octets).
Discontinuities in the value of this counter can occur at
re-initialization of the management system, and at other
times as indicated by the value of
ifCounterDiscontinuityTime."
::= { dIfRxStatsEntry 11 }
-- -----------------------------------------------------------------------------
dIfCounterRxDropTable OBJECT-TYPE
SYNTAX SEQUENCE OF DIfCounterRxDropEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This table consists of a list of receiving statistics for discarded
packets on interfaces."
::= { dIfCounterRxStatistics 2 }
dIfCounterRxDropEntry OBJECT-TYPE
SYNTAX DIfCounterRxDropEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"An entry contains the receiving statistics for discarded packets on
an interface."
INDEX { ifIndex }
::= { dIfCounterRxDropTable 1 }
DIfCounterRxDropEntry ::= SEQUENCE {
dIfCounterRxBufferFullDrops Counter64,
dIfCounterRxACLDrops Counter64,
dIfCounterRxMulticastDrops Counter64,
dIfCounterRxVLANIngressDrops Counter64,
dIfCounterRxIPv6Drops Counter64,
dIfCounterRxSTPDrops Counter64,
dIfCounterRxStormAndTableDiscard Counter64,
dIfCounterRxMTUDrops Counter64,
dIfCounterRxInvalidDestPort Counter64,
dIfCounterRxBandwidthCtrlDrops Counter64
}
dIfCounterRxBufferFullDrops OBJECT-TYPE
SYNTAX Counter64
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The total number of packets discarded while input buffer full."
::= { dIfCounterRxDropEntry 1 }
dIfCounterRxACLDrops OBJECT-TYPE
SYNTAX Counter64
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The total number of received packets denied by ACLs."
::= { dIfCounterRxDropEntry 2 }
dIfCounterRxMulticastDrops OBJECT-TYPE
SYNTAX Counter64
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The total number of received multicast packet that is discarded."
::= { dIfCounterRxDropEntry 3 }
dIfCounterRxVLANIngressDrops OBJECT-TYPE
SYNTAX Counter64
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The total number of packets discarded by VLAN ingress checking."
::= { dIfCounterRxDropEntry 4 }
dIfCounterRxIPv6Drops OBJECT-TYPE
SYNTAX Counter64
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The total number of IPv6 packets dropped by routing process."
::= { dIfCounterRxDropEntry 5 }
dIfCounterRxSTPDrops OBJECT-TYPE
SYNTAX Counter64
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The total number of packets discarded when ingress
port is not in forwarding state."
::= { dIfCounterRxDropEntry 6 }
dIfCounterRxStormAndTableDiscard OBJECT-TYPE
SYNTAX Counter64
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The total number of packets discarded by receiving policy
(e.g. the source or destination MAC is not allowed, rate limit, etc.)"
::= { dIfCounterRxDropEntry 7 }
dIfCounterRxMTUDrops OBJECT-TYPE
SYNTAX Counter64
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The total number of packets discarded by frames received, which
exceeds Maximum Frame in length and contains a valid or invalid FCS."
::= { dIfCounterRxDropEntry 8 }
dIfCounterRxInvalidDestPort OBJECT-TYPE
SYNTAX Counter64
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The total number of packets dropped due to no destination port can
be forwarded to."
::= { dIfCounterRxDropEntry 9 }
dIfCounterRxBandwidthCtrlDrops OBJECT-TYPE
SYNTAX Counter64
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The total number of packets discarded by port ingress bandwidth
control."
::= { dIfCounterRxDropEntry 10 }
-- -----------------------------------------------------------------------------
dIfTxStatsTable OBJECT-TYPE
SYNTAX SEQUENCE OF DIfTxStatsEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This table is used to display the transmitting statistics
information not covered in standard MIBs (IF-MIB,
RMON, BRIDGE-MIB, Etherlike-MIB) or extend the standard defined
objects to 64 bits.
"
::= { dIfCounterTxStatistics 1}
dIfTxStatsEntry OBJECT-TYPE
SYNTAX DIfTxStatsEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"An entry contains transmitting statistics on an interface."
INDEX { ifIndex }
::= { dIfTxStatsTable 1 }
DIfTxStatsEntry ::= SEQUENCE {
dIfTxStatsHCPkts Counter64,
dIfTxStatsHCPkts64Octets Counter64,
dIfTxStatsHCPkts65to127Octets Counter64,
dIfTxStatsHCPkts128to255Octets Counter64,
dIfTxStatsHCPkts256to511Octets Counter64,
dIfTxStatsHCPkts512to1023Octets Counter64,
dIfTxStatsHCPkts1024to1518Octets Counter64,
dIfTxStatsHCPkts1519to1522Octets Counter64,
dIfTxStatsHCPkts1519to2047Octets Counter64,
dIfTxStatsHCPkts2048to4095Octets Counter64,
dIfTxStatsHCPkts4096to9216Octets Counter64,
dIfTxStatsFCSErrors Counter64
}
dIfTxStatsHCPkts OBJECT-TYPE
SYNTAX Counter64
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The number of packets transmitted on the interface.
Discontinuities in the value of this counter can occur at
re-initialization of the management system, and at other
times as indicated by the value of
ifCounterDiscontinuityTime."
::= { dIfTxStatsEntry 1 }
dIfTxStatsHCPkts64Octets OBJECT-TYPE
SYNTAX Counter64
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The total number of packets (including bad packets)
transmitted that were 64 octets in length (excluding
framing bits but including FCS octets).
Discontinuities in the value of this counter can occur at
re-initialization of the management system, and at other
times as indicated by the value of
ifCounterDiscontinuityTime."
::= { dIfTxStatsEntry 2 }
dIfTxStatsHCPkts65to127Octets OBJECT-TYPE
SYNTAX Counter64
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The total number of packets (including bad packets)
transmitted that were between 65 and 127 octets in length
inclusive (excluding framing bits but including FCS octets).
Discontinuities in the value of this counter can occur at
re-initialization of the management system, and at other
times as indicated by the value of
ifCounterDiscontinuityTime."
::= { dIfTxStatsEntry 3 }
dIfTxStatsHCPkts128to255Octets OBJECT-TYPE
SYNTAX Counter64
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The total number of packets (including bad packets)
transmitted that were between 128 and 255 octets in length
inclusive (excluding framing bits but including FCS octets).
Discontinuities in the value of this counter can occur at
re-initialization of the management system, and at other
times as indicated by the value of
ifCounterDiscontinuityTime."
::= { dIfTxStatsEntry 4 }
dIfTxStatsHCPkts256to511Octets OBJECT-TYPE
SYNTAX Counter64
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The total number of packets (including bad packets)
transmitted that were between 256 and 511 octets in length
inclusive (excluding framing bits but including FCS octets).
Discontinuities in the value of this counter can occur at
re-initialization of the management system, and at other
times as indicated by the value of
ifCounterDiscontinuityTime."
::= { dIfTxStatsEntry 5 }
dIfTxStatsHCPkts512to1023Octets OBJECT-TYPE
SYNTAX Counter64
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The total number of packets (including bad packets)
transmitted that were between 512 and 1023 octets in length
inclusive (excluding framing bits but including FCS octets).
Discontinuities in the value of this counter can occur at
re-initialization of the management system, and at other
times as indicated by the value of
ifCounterDiscontinuityTime."
::= { dIfTxStatsEntry 6 }
dIfTxStatsHCPkts1024to1518Octets OBJECT-TYPE
SYNTAX Counter64
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The total number of packets (including bad packets)
transmitted that were between 1024 and 1518 octets in length
inclusive (excluding framing bits but including FCS octets).
Discontinuities in the value of this counter can occur at
re-initialization of the management system, and at other
times as indicated by the value of
ifCounterDiscontinuityTime."
::= { dIfTxStatsEntry 7 }
dIfTxStatsHCPkts1519to1522Octets OBJECT-TYPE
SYNTAX Counter64
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The total number of good VLAN packets transmitted that were
between 1519 and 1522 octets in length inclusive
(excluding framing bits but including FCS octets).
Discontinuities in the value of this counter can occur at
re-initialization of the management system, and at other
times as indicated by the value of
ifCounterDiscontinuityTime."
::= { dIfTxStatsEntry 8 }
dIfTxStatsHCPkts1519to2047Octets OBJECT-TYPE
SYNTAX Counter64
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The total number of packets (including bad packets)
transmitted that were between 1519 and 2047 octets in length
inclusive (excluding framing bits but including FCS octets).
Discontinuities in the value of this counter can occur at
re-initialization of the management system, and at other
times as indicated by the value of
ifCounterDiscontinuityTime."
::= { dIfTxStatsEntry 9 }
dIfTxStatsHCPkts2048to4095Octets OBJECT-TYPE
SYNTAX Counter64
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The total number of packets (including bad packets)
transmitted that were between 2048 and 4095 octets in length
inclusive (excluding framing bits but including FCS octets).
Discontinuities in the value of this counter can occur at
re-initialization of the management system, and at other
times as indicated by the value of
ifCounterDiscontinuityTime."
::= { dIfTxStatsEntry 10 }
dIfTxStatsHCPkts4096to9216Octets OBJECT-TYPE
SYNTAX Counter64
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The total number of packets (including bad packets)
transmitted that were between 4096 and 9216 octets in length
inclusive (excluding framing bits but including FCS octets).
Discontinuities in the value of this counter can occur at
re-initialization of the management system, and at other
times as indicated by the value of
ifCounterDiscontinuityTime."
::= { dIfTxStatsEntry 11 }
dIfTxStatsFCSErrors OBJECT-TYPE
SYNTAX Counter64
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The total number of packets to be transmitted that
are not pass the FCS check."
::= { dIfTxStatsEntry 12 }
-- -----------------------------------------------------------------------------
dIfCounterTxDropTable OBJECT-TYPE
SYNTAX SEQUENCE OF DIfCounterTxDropEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This table is used to display transmiting statistics for
discarded packets on interfaces."
::= { dIfCounterTxStatistics 2}
dIfCounterTxDropEntry OBJECT-TYPE
SYNTAX DIfCounterTxDropEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"An entry contains transmiting statistics for discarded packets
on an interface"
INDEX { ifIndex }
::= { dIfCounterTxDropTable 1 }
DIfCounterTxDropEntry ::= SEQUENCE
{
dIfCounterTxSTPDrops Counter64,
dIfCounterTxHOLDrops Counter64,
dIfCounterTxCOS0Drops Counter64,
dIfCounterTxCOS1Drops Counter64,
dIfCounterTxCOS2Drops Counter64,
dIfCounterTxCOS3Drops Counter64,
dIfCounterTxCOS4Drops Counter64,
dIfCounterTxCOS5Drops Counter64,
dIfCounterTxCOS6Drops Counter64,
dIfCounterTxCOS7Drops Counter64
}
dIfCounterTxSTPDrops OBJECT-TYPE
SYNTAX Counter64
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Incremented for packets dropped when egress port is
not in forwarding state."
::= { dIfCounterTxDropEntry 1}
dIfCounterTxHOLDrops OBJECT-TYPE
SYNTAX Counter64
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Incremented for each packet dropped due to Head Of Line blocking."
::= { dIfCounterTxDropEntry 2 }
dIfCounterTxCOS0Drops OBJECT-TYPE
SYNTAX Counter64
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Incremented for each packet dropped due to Head of Line blocking
on the egress CoS queue 0."
::= { dIfCounterTxDropEntry 3 }
dIfCounterTxCOS1Drops OBJECT-TYPE
SYNTAX Counter64
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Incremented for each packet drop due to Head of Line blocking
on the egress CoS queue 1."
::= { dIfCounterTxDropEntry 4 }
dIfCounterTxCOS2Drops OBJECT-TYPE
SYNTAX Counter64
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Incremented for each packet drop due to
Head of Line blocking on the egress CoS queue 2."
::= { dIfCounterTxDropEntry 5 }
dIfCounterTxCOS3Drops OBJECT-TYPE
SYNTAX Counter64
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Incremented for each packet drop due to
Head of Line blocking on the egress CoS queue 3."
::= { dIfCounterTxDropEntry 6 }
dIfCounterTxCOS4Drops OBJECT-TYPE
SYNTAX Counter64
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Incremented for each packet drop due to
Head of Line blocking on the egress CoS queue 4."
::= { dIfCounterTxDropEntry 7 }
dIfCounterTxCOS5Drops OBJECT-TYPE
SYNTAX Counter64
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Incremented for each packet drop due to
Head of Line blocking on the egress CoS queue 5."
::= { dIfCounterTxDropEntry 8 }
dIfCounterTxCOS6Drops OBJECT-TYPE
SYNTAX Counter64
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Incremented for each packet drop due to
Head of Line blocking on the egress CoS queue 6."
::= { dIfCounterTxDropEntry 9 }
dIfCounterTxCOS7Drops OBJECT-TYPE
SYNTAX Counter64
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Incremented for each packet drop due to
Head of Line blocking on the egress CoS queue 7."
::= { dIfCounterTxDropEntry 10 }
-- -----------------------------------------------------------------------------
dIfCounterCompliances OBJECT IDENTIFIER ::= { dIfCounterConformance 1 }
dIfCounterGroups OBJECT IDENTIFIER ::= { dIfCounterConformance 2 }
-- compliance statements
dIfCounterCompliance MODULE-COMPLIANCE
STATUS current
DESCRIPTION
"The compliance statement for entities which implement the
DLINKSW-IF-COUNTER-MIB."
MODULE -- this module
MANDATORY-GROUPS
{
dIfCounterUtilizationGroup,
dIfCounterClearCtrlGroup,
dIfCounterHCStatsGroup
}
GROUP dIfCounterIfLinkChangeGroup
DESCRIPTION
"This group is mandatory for those devices support counting
the number of link change events."
GROUP dIfCounterDropStatsGroup
DESCRIPTION
"This group is mandatory for those devices support statistics
information dropped by specified interface."
::= { dIfCounterCompliances 1 }
-- units of conformance
dIfCounterIfLinkChangeGroup OBJECT-GROUP
OBJECTS {
dIfCounterIfLinkChange
}
STATUS current
DESCRIPTION
"A collection of objects providing information about
interface link change."
::= { dIfCounterGroups 1 }
dIfCounterUtilizationGroup OBJECT-GROUP
OBJECTS {
dIfCounterIfUtilizationRx,
dIfCounterIfUtilizationTx,
dIfCounterIfUtilizationUtil
}
STATUS current
DESCRIPTION
"A collection of objects providing information about
interface utilization."
::= { dIfCounterGroups 2 }
dIfCounterClearCtrlGroup OBJECT-GROUP
OBJECTS {
dIfCounterClearAll,
dIfCounterClearIf
}
STATUS current
DESCRIPTION
"A collection of objects for clearing counters on interfaces."
::= { dIfCounterGroups 3 }
dIfCounterHCStatsGroup OBJECT-GROUP
OBJECTS {
dIfRxStatsHCPkts,
dIfRxStatsHCPkts64Octets,
dIfRxStatsHCPkts65to127Octets,
dIfRxStatsHCPkts128to255Octets,
dIfRxStatsHCPkts256to511Octets,
dIfRxStatsHCPkts512to1023Octets,
dIfRxStatsHCPkts1024to1518Octets,
dIfRxStatsHCPkts1519to1522Octets,
dIfRxStatsHCPkts1519to2047Octets,
dIfRxStatsHCPkts2048to4095Octets,
dIfRxStatsHCPkts4096to9216Octets,
dIfTxStatsHCPkts,
dIfTxStatsHCPkts64Octets,
dIfTxStatsHCPkts65to127Octets,
dIfTxStatsHCPkts128to255Octets,
dIfTxStatsHCPkts256to511Octets,
dIfTxStatsHCPkts512to1023Octets,
dIfTxStatsHCPkts1024to1518Octets,
dIfTxStatsHCPkts1519to1522Octets,
dIfTxStatsHCPkts1519to2047Octets,
dIfTxStatsHCPkts2048to4095Octets,
dIfTxStatsHCPkts4096to9216Octets,
dIfTxStatsFCSErrors
}
STATUS current
DESCRIPTION
"A collection of objects providing additional statistics which are
not covered in standard MIBs."
::= { dIfCounterGroups 4 }
dIfCounterDropStatsGroup OBJECT-GROUP
OBJECTS {
dIfCounterRxBufferFullDrops,
dIfCounterRxACLDrops,
dIfCounterRxMulticastDrops,
dIfCounterRxVLANIngressDrops,
dIfCounterRxIPv6Drops,
dIfCounterRxSTPDrops,
dIfCounterRxStormAndTableDiscard,
dIfCounterRxMTUDrops,
dIfCounterRxInvalidDestPort,
dIfCounterRxBandwidthCtrlDrops,
dIfCounterTxSTPDrops,
dIfCounterTxHOLDrops,
dIfCounterTxCOS0Drops,
dIfCounterTxCOS1Drops,
dIfCounterTxCOS2Drops,
dIfCounterTxCOS3Drops,
dIfCounterTxCOS4Drops,
dIfCounterTxCOS5Drops,
dIfCounterTxCOS6Drops,
dIfCounterTxCOS7Drops
}
STATUS current
DESCRIPTION
"A collection of objects providing interface-specific statistics for
dropped packets."
::= { dIfCounterGroups 5 }
END

315
mibs/dlink/DLINKSW-IMPB-MIB Normal file
View File

@ -0,0 +1,315 @@
-- *****************************************************************
-- DLINKSW-IMPB-MIB.mib : IP-MAC-Port Binding MIB
--
-- Copyright (c) 2013 D-Link Corporation, all rights reserved.
--
-- *****************************************************************
DLINKSW-IMPB-MIB DEFINITIONS ::= BEGIN
IMPORTS
MODULE-IDENTITY,
OBJECT-TYPE
FROM SNMPv2-SMI
MODULE-COMPLIANCE,
OBJECT-GROUP
FROM SNMPv2-CONF
MacAddress,
TruthValue
FROM SNMPv2-TC
InetAddress,
InetAddressType
FROM INET-ADDRESS-MIB
ifIndex,
InterfaceIndexOrZero
FROM IF-MIB
VlanId
FROM Q-BRIDGE-MIB
dlinkIndustrialCommon
FROM DLINK-ID-REC-MIB;
dlinkSwImpbMIB MODULE-IDENTITY
LAST-UPDATED "201511060000Z"
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
"The MIB module defines objects for IP-MAC-Port Binding feature."
REVISION "201511060000Z"
DESCRIPTION
"Correct groups name:
from 'digImpbClearViolationLogGroup' to 'dImpbClearViolationLogGroup'
from 'digImpbNotificationsGroup' to 'dImpbNotificationsGroup'
from 'digImpbConfigGroup' to 'dImpbConfigGroup'
"
REVISION "201310160000Z"
DESCRIPTION
"Initial revision of this MIB module."
::= { dlinkIndustrialCommon 22 }
dImpbNotifications OBJECT IDENTIFIER
::= { dlinkSwImpbMIB 0 }
dImpbObjects OBJECT IDENTIFIER
::= { dlinkSwImpbMIB 1 }
dImpbConformance OBJECT IDENTIFIER
::= { dlinkSwImpbMIB 2 }
-- -----------------------------------------------------------------------------
dImpbNotifyInfo OBJECT IDENTIFIER ::= { dImpbObjects 1 }
dImpbGlobalNotifyEnabled OBJECT-TYPE
SYNTAX TruthValue
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"Set to 'true' to enable global SNMP notification
for IP-MAC-Port Binding feature. Setting the object to
'false' will disable SNMP notifications."
DEFVAL { false }
::= { dImpbNotifyInfo 1}
dImpbViolationIpAddrType OBJECT-TYPE
SYNTAX InetAddressType
MAX-ACCESS accessible-for-notify
STATUS current
DESCRIPTION
"This object indicates the type of the violation IP address."
::= { dImpbNotifyInfo 2 }
dImpbViolationIpAddress OBJECT-TYPE
SYNTAX InetAddress
MAX-ACCESS accessible-for-notify
STATUS current
DESCRIPTION
"This object indicates the IP address of the violation entry."
::= { dImpbNotifyInfo 3 }
dImpbIfConfigTable OBJECT-TYPE
SYNTAX SEQUENCE OF DImpbIfConfigEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"A table provides the mechanism to enable or disable
IP-MAC-Port Binding at each physical interface capable of
this feature.
For IPV4 network, IP-MAC-Port Binding must co-work with
both IPv4 source guard and Dynamic ARP inspection are enabled.
For IPv6 network, IP-MAC-Port Binding must co-work with
both IPv6 source guard and ND inspection.
"
::= { dImpbObjects 2 }
dImpbIfConfigEntry OBJECT-TYPE
SYNTAX DImpbIfConfigEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"A row instance contains the configuration to enable
or disable IP-MAC-Port Binding as well as the configuration
of the filter type at each physical interface capable
of IP-MAC-Port Binding feature."
INDEX { ifIndex }
::= { dImpbIfConfigTable 1 }
DImpbIfConfigEntry ::= SEQUENCE {
dImpbIfBindMode INTEGER
}
dImpbIfBindMode OBJECT-TYPE
SYNTAX INTEGER {
disable(1),
strict(2),
loose(3)
}
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object indicates the IP-MAC-Port Binding access control applied
at this interface.
'disable' indicates that IP-MAC-Port Binding feature is disabled.
'strict' indicates performing strict-mode access control.
'loose' indicates to perform loose-mode access control.
For IPv6 network, IP-MAC-Port Binding must operate in strict mode,
otherwise IPv6 source guard and ND inspection cannot be enabled."
::= { dImpbIfConfigEntry 1 }
-- ---------------------------------------------------------------------------------------------
dImpbViolationLogTable OBJECT-TYPE
SYNTAX SEQUENCE OF DImpbViolationLogEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"A table provides the information about the violation of IP-MAC-Port Binding."
::= { dImpbObjects 3 }
dImpbViolationLogEntry OBJECT-TYPE
SYNTAX DImpbViolationLogEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"A row instance contains the blocked entry of IP-MAC-Port Binding."
INDEX {
ifIndex,
dImpbViolationVlan,
dImpbViolationMacAddress
}
::= { dImpbViolationLogTable 1 }
DImpbViolationLogEntry ::= SEQUENCE {
dImpbViolationVlan VlanId,
dImpbViolationMacAddress MacAddress,
dImpbViolationAction INTEGER
}
dImpbViolationVlan OBJECT-TYPE
SYNTAX VlanId
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This object indicates the VLAN of this entry."
::= { dImpbViolationLogEntry 1 }
dImpbViolationMacAddress OBJECT-TYPE
SYNTAX MacAddress
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This object indicates the MAC address of this entry."
::= { dImpbViolationLogEntry 2 }
dImpbViolationAction OBJECT-TYPE
SYNTAX INTEGER {
clear(1),
noOp(2)
}
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object is used to remove a specific violation entry when set
to 'clear'.
No action is taken if this object is set to 'noOp'.
When read, the value 'noOp' is returned."
::= { dImpbViolationLogEntry 99 }
-- ---------------------------------------------------------------------------------------------
dImpbClearObjects OBJECT IDENTIFIER ::= { dImpbObjects 4 }
dImpbClearAllViolation OBJECT-TYPE
SYNTAX INTEGER {
clear(1),
noOp(2)
}
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object is used to clear all violations of IP-MAC-Port Binding when set
to 'clear'.
No action is taken if this object is set to 'noOp'.
When read, the value 'noOp' is returned."
::= { dImpbClearObjects 1 }
dImpbClearViolationByIf OBJECT-TYPE
SYNTAX InterfaceIndexOrZero
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object indicates the ifIndex on which all violations will be cleared.
When read, the special value 0 is returned."
::= { dImpbClearObjects 2 }
-- Notifications
dImpbViolationTrap NOTIFICATION-TYPE
OBJECTS {
ifIndex,
dImpbViolationIpAddrType,
dImpbViolationIpAddress,
dImpbViolationMacAddress,
dImpbViolationVlan
}
STATUS current
DESCRIPTION
"The address violation notification is generated when IP-MAC-Port Binding
address violation is detected."
::= { dImpbNotifications 1 }
-- Conformance
dImpbMIBCompliances OBJECT IDENTIFIER
::= { dImpbConformance 1 }
dImpbMIBGroups OBJECT IDENTIFIER
::= { dImpbConformance 2 }
dImpbMIBCompliance MODULE-COMPLIANCE
STATUS current
DESCRIPTION
"The compliance statement for the DLINKSW-IMPB-MIB"
MODULE -- this module
MANDATORY-GROUPS {
dImpbConfigGroup,
dImpbNotificationsGroup
}
GROUP dImpbClearViolationLogGroup
DESCRIPTION
"This group is mandatory only for platforms which support
clearing violation of IP-MAC-Port Binding."
::= { dImpbMIBCompliances 1 }
-- Units of Conformance
dImpbConfigGroup OBJECT-GROUP
OBJECTS {
dImpbIfBindMode
}
STATUS current
DESCRIPTION
"A collection of objects which are used to configure
as well as show information regarding the IP-MAC-Port Binding."
::= { dImpbMIBGroups 1 }
dImpbClearViolationLogGroup OBJECT-GROUP
OBJECTS {
dImpbViolationAction,
dImpbClearAllViolation,
dImpbClearViolationByIf
}
STATUS current
DESCRIPTION
"A collection of objects which are used to clear violation
information."
::= { dImpbMIBGroups 2 }
dImpbNotificationsGroup NOTIFICATION-GROUP
NOTIFICATIONS {
dImpbViolationTrap
}
STATUS current
DESCRIPTION
"The collection of objects provides IP-MAC-Port Binding notifications."
::= { dImpbMIBGroups 3 }
END

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,464 @@
-- *****************************************************************
-- DLINKSW-IP-SOURCE-GUARD-MIB.mib : IP Source Guard MIB
--
-- Copyright (c) 2013 D-Link Corporation, all rights reserved.
--
-- *****************************************************************
DLINKSW-IP-SOURCE-GUARD-MIB DEFINITIONS ::= BEGIN
IMPORTS
MODULE-IDENTITY,
OBJECT-TYPE,
Unsigned32
FROM SNMPv2-SMI
MODULE-COMPLIANCE,
OBJECT-GROUP
FROM SNMPv2-CONF
MacAddress,
RowStatus
FROM SNMPv2-TC
ifIndex,
InterfaceIndex
FROM IF-MIB
InetAddressIPv4
FROM INET-ADDRESS-MIB
VlanId
FROM Q-BRIDGE-MIB
Dlink2kVlanList
FROM DLINKSW-TC-MIB
dlinkIndustrialCommon
FROM DLINK-ID-REC-MIB;
dlinkSwIpSourceGuardMIB MODULE-IDENTITY
LAST-UPDATED "201307180000Z"
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
"The MIB module is for configuration of IP Source Guard feature."
REVISION "201307180000Z"
DESCRIPTION
"Initial revision of this MIB module."
::= { dlinkIndustrialCommon 132 }
dIpSourceGuardMIBNotifs OBJECT IDENTIFIER ::= { dlinkSwIpSourceGuardMIB 0 }
dIpSourceGuardMIBObjects OBJECT IDENTIFIER ::= { dlinkSwIpSourceGuardMIB 1 }
dIpSourceGuardMIBConformance OBJECT IDENTIFIER ::= { dlinkSwIpSourceGuardMIB 2 }
-- -----------------------------------------------------------------------------
dIpsgBindings OBJECT IDENTIFIER ::= { dIpSourceGuardMIBObjects 1 }
dIpsgSrcGuard OBJECT IDENTIFIER ::= { dIpSourceGuardMIBObjects 2 }
-- -----------------------------------------------------------------------------
dIpsgStaticBindingsTable OBJECT-TYPE
SYNTAX SEQUENCE OF DigStaticBindingsEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"A table provides the manual bindings information.
e.g.
VLAN MAC Address IP Address Interface
---- ----------------- ---------- ---------
2000 00.01.02.03.04.05 172.18.1.1 8
3000 00.05.06.07.08.09 10.1.1.1 3
4094 00.10.20.30.40.55 1.1.1.1 5
4094 00.10.20.30.40.55 1.1.1.1 6
4094 00.10.20.30.40.55 1.1.1.1 8
"
::= { dIpsgBindings 1 }
dIpsgStaticBindingsEntry OBJECT-TYPE
SYNTAX DigStaticBindingsEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"An entry defines a manual binding.
"
INDEX {
dIpsgStaticBindingsVlan,
dIpsgStaticBindingsMacAddress,
dIpsgStaticBindingsIpAddress,
dIpsgStaticBindingsInterface
}
::= { dIpsgStaticBindingsTable 1 }
DigStaticBindingsEntry ::= SEQUENCE {
dIpsgStaticBindingsVlan VlanId,
dIpsgStaticBindingsMacAddress MacAddress,
dIpsgStaticBindingsIpAddress InetAddressIPv4,
dIpsgStaticBindingsInterface InterfaceIndex,
dIpsgStaticBindingsRowStatus RowStatus
}
dIpsgStaticBindingsVlan OBJECT-TYPE
SYNTAX VlanId
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This object indicates the VLAN to which a host belongs."
::= { dIpsgStaticBindingsEntry 1 }
dIpsgStaticBindingsMacAddress OBJECT-TYPE
SYNTAX MacAddress
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This object indicates the MAC address of a host."
::= { dIpsgStaticBindingsEntry 2 }
dIpsgStaticBindingsIpAddress OBJECT-TYPE
SYNTAX InetAddressIPv4
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This object indicates the allocated IP address of host."
::= { dIpsgStaticBindingsEntry 3 }
dIpsgStaticBindingsInterface OBJECT-TYPE
SYNTAX InterfaceIndex
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This object indicates the ifIndex value of the interface
where a host connects to."
::= { dIpsgStaticBindingsEntry 4 }
dIpsgStaticBindingsRowStatus OBJECT-TYPE
SYNTAX RowStatus
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"This object is used to manage the creation and deletion
of rows in this table.
"
::= { dIpsgStaticBindingsEntry 99 }
-- -----------------------------------------------------------------------------
dIpsgIfSrcGuardConfigTable OBJECT-TYPE
SYNTAX SEQUENCE OF DigIfSrcGuardConfigEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"A table provides the mechanism to enable or disable
IP Source Guard at every interface capable of
this feature.
When DHCP Snooping is enabled at an interface, a list of
IP addresses is obtained through DHCP Snooping for this
particular interface. If IP Source Guard is enabled, only
traffic from these IP addresses is allowed to pass through
the interface."
::= { dIpsgSrcGuard 1 }
dIpsgIfSrcGuardConfigEntry OBJECT-TYPE
SYNTAX DigIfSrcGuardConfigEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"A row instance contains the configuration to enable
or disable IP Source Guard as well as the configuration
of the filter type at each interface capable
of IP Source Guard feature."
INDEX { ifIndex }
::= { dIpsgIfSrcGuardConfigTable 1 }
DigIfSrcGuardConfigEntry ::= SEQUENCE {
dIpsgIfSrcGuardFilterType INTEGER
}
dIpsgIfSrcGuardFilterType OBJECT-TYPE
SYNTAX INTEGER {
disable(1),
ip(2),
ipMac(3)
}
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object indicates the traffic filter type applied
at this interface.
'disable' - indicates that IP Source Guard feature is disabled.
'ip' - the validation is based on source IP address and VLAN only.
'ipMac' - the validation is based on the source MAC address, VLAN and IP address.
"
::= { dIpsgIfSrcGuardConfigEntry 1 }
-- -----------------------------------------------------------------------------
dIpsgIfSrcGuardAddrTable OBJECT-TYPE
SYNTAX SEQUENCE OF DigIfSrcGuardAddrEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"A table provides the information on IP addresses used
for IP Source Guard purpose at every interface capable of this
feature."
::= { dIpsgSrcGuard 2 }
dIpsgIfSrcGuardAddrEntry OBJECT-TYPE
SYNTAX DigIfSrcGuardAddrEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"An entry defines a binding information that is used to guard the
IP traffic.
The binding entry may be either manually configured or
automatically learned via DHCP snooping.
"
INDEX {
ifIndex,
dIpsgIfSrcGuardIndex
}
::= { dIpsgIfSrcGuardAddrTable 1 }
DigIfSrcGuardAddrEntry ::= SEQUENCE {
dIpsgIfSrcGuardIndex Unsigned32,
dIpsgIfSrcGuardFilterMode INTEGER,
dIpsgIfSrcGuardIpAddress InetAddressIPv4,
dIpsgIfSrcGuardIpFilterAction INTEGER,
dIpsgIfSrcGuardMacAddress MacAddress,
dIpsgIfSrcGuardMacFilterAction INTEGER,
dIpsgIfSrcGuardVlansFirst2K Dlink2kVlanList,
dIpsgIfSrcGuardVlansSecond2K Dlink2kVlanList
}
dIpsgIfSrcGuardIndex OBJECT-TYPE
SYNTAX Unsigned32 ( 1 ..65535 )
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This object is used to index the dIpsgIfSrcGuardAddrTable.
This index is for SNMP purposes only, and has no intrinsic meaning."
::= { dIpsgIfSrcGuardAddrEntry 1 }
dIpsgIfSrcGuardFilterMode OBJECT-TYPE
SYNTAX INTEGER {
active(1),
inactiveTrustPort(2),
inactiveNoSnoopingVlan(3)
}
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"This object indicates the Source Guard filter mode at
this interface.
active(1) indicates that the Source Guard feature is
active at this interface.
inactiveTrustPort(2) indicates that the Source Guard
feature is inactive because this interface is a DHCP
Snooping trust interface and all IP traffic is permitted.
In this case, dIpsgIfSrcGuardIpFilterAction is 'permitAllIpAdress'.
inactiveNoSnoopingVlan(3) indicates that the Source
Guard feature is inactive because this interface
does not have a VLAN which has DHCP Snooping enabled and
no IP source verify entry is active. In this case, all IP traffic
is denied and dIpsgIfSrcGuardIpFilterAction is 'denyAllIpAddress'.
If this object is not 'active', the entry is a special entry:
traffic from any VLANs on the interface has the same behavior
indicated by dIpsgIfSrcGuardIpFilterAction and both
dIpsgIfSrcGuardVlansFirst2K and dIpsgIfSrcGuardVlansSecond2K
are empty.
"
::= { dIpsgIfSrcGuardAddrEntry 2 }
dIpsgIfSrcGuardIpAddress OBJECT-TYPE
SYNTAX InetAddressIPv4
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"This object indicates the IP address of the entry.
A special value of '0.0.0.0' indicates this object is meaningless.
"
::= { dIpsgIfSrcGuardAddrEntry 3 }
dIpsgIfSrcGuardIpFilterAction OBJECT-TYPE
SYNTAX INTEGER {
permitIpAddress(1),
permitAllIpAdress(2),
denyAllIpAddress(3)
}
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"This object indicates the IP Source Guard action
applied at this interface with respect to IP traffic.
permitIpAddress(1) - indicates that matching IP traffic will be allowed
to go through. What is matching traffic depends on the value of
dIpsgIfSrcGuardMacFilterAction.
permitAllIpAdress(2) indicates that all IP traffic coming to this
interface will be allowed. In this case, dIpsgIfSrcGuardIpAddress
is 0.0.0.0.
denyAllIpAdress(3) indicates that all IP traffic coming to this
interface will be dropped. In this case, dIpsgIfSrcGuardIpAddress
is 0.0.0.0.
When this object is not 'permitIpAddress', the value of
dIpsgIfSrcGuardMacFilterAction is meaningless.
"
::= { dIpsgIfSrcGuardAddrEntry 4 }
dIpsgIfSrcGuardMacAddress OBJECT-TYPE
SYNTAX MacAddress
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"This object indicates the MAC address of the entry.
A special value of '000000000000'H indicates this object is
meaningless.
"
::= { dIpsgIfSrcGuardAddrEntry 5 }
dIpsgIfSrcGuardMacFilterAction OBJECT-TYPE
SYNTAX INTEGER {
allowMacAddress(1),
permitAllMacAddresses(2)
}
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"This object indicates the Source Guard action
applied when the traffic matching the entry:
allowMacAddress(1) - indicates that the IP traffic (compared
source IP and source MAC with dIpsgIfSrcGuardIpAddress and
dIpsgIfSrcGuardMacAddress respectively) will be allowed
to go through.
permitAllMacAddresses(2) - If dIpsgIfSrcGuardIpFilterAction is
'permitIpAddress', this value indicates that all the IP matching
traffic (compared source IP with dIpsgIfSrcGuardIpAddress only)
will be allowed to go through.
When dIpsgIfSrcGuardIpFilterAction is 'permitAllIpAdress' or
'denyAllIpAdress', this object is meaningless.
When dIpsgIfSrcGuardMacFilterAction is 'permitAllMacAddresses',
dIpsgIfSrcGuardMacAddress is meaningless and
'000000000000'H is used to indicate it.
"
::= { dIpsgIfSrcGuardAddrEntry 6 }
dIpsgIfSrcGuardVlansFirst2K OBJECT-TYPE
SYNTAX Dlink2kVlanList
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"This object specifies the VLANs the entry is applied to in a
string of octets containing one bit per VLAN for VLANs 1 to 2048.
If the bit is set to '1', then the IP Source Guard is enabled on
the VLAN.
"
::= { dIpsgIfSrcGuardAddrEntry 7 }
dIpsgIfSrcGuardVlansSecond2K OBJECT-TYPE
SYNTAX Dlink2kVlanList
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"This object specifies the VLANs the entry is applied to in a
string of octets containing one bit per VLAN for VLANs 2049 to 4094.
If the bit is set to '1', then the IP Source Guard is enabled on
the VLAN.
"
::= { dIpsgIfSrcGuardAddrEntry 8 }
-- Conformance
dIpsgMIBCompliances OBJECT IDENTIFIER ::= { dIpSourceGuardMIBConformance 1 }
dIpsgMIBGroups OBJECT IDENTIFIER ::= { dIpSourceGuardMIBConformance 2 }
dIpsgMIBCompliance MODULE-COMPLIANCE
STATUS current
DESCRIPTION
"The compliance statement for the DLINKSW-IP-SOURCE-GUARD-MIB."
MODULE -- this module
MANDATORY-GROUPS {
dIpsgIfSrcGuardTrafficFilterGroup,
dIpsgVerifySrcInfoGroup
}
GROUP dIpsgStaticBindingsGroup
DESCRIPTION
"This group is mandatory only for platforms which support
the DHCP bindings data statically configured by (local
or network) management."
GROUP dIpsgVerifySrcInfoExtGroup
DESCRIPTION
"This group is mandatory only for platforms which support
interface IP and MAC source guard feature."
::= { dIpsgMIBCompliances 1 }
-- Units of Conformance
dIpsgStaticBindingsGroup OBJECT-GROUP
OBJECTS {
dIpsgStaticBindingsRowStatus
}
STATUS current
DESCRIPTION
"A collection of objects which are used to configure
as well as show information regarding the static binding data
for IP Source Guard."
::= { dIpsgMIBGroups 1 }
dIpsgVerifySrcInfoGroup OBJECT-GROUP
OBJECTS {
dIpsgIfSrcGuardIpAddress,
dIpsgIfSrcGuardIpFilterAction,
dIpsgIfSrcGuardFilterMode
}
STATUS current
DESCRIPTION
"A collection of objects which are used to show information
regarding interface IP source guard purpose."
::= { dIpsgMIBGroups 2 }
dIpsgVerifySrcInfoExtGroup OBJECT-GROUP
OBJECTS {
dIpsgIfSrcGuardMacAddress,
dIpsgIfSrcGuardMacFilterAction,
dIpsgIfSrcGuardVlansFirst2K,
dIpsgIfSrcGuardVlansSecond2K
}
STATUS current
DESCRIPTION
"A collection of objects which are used to indicate additional
information regarding the IP source guard feature."
::= { dIpsgMIBGroups 3 }
dIpsgIfSrcGuardTrafficFilterGroup OBJECT-GROUP
OBJECTS { dIpsgIfSrcGuardFilterType }
STATUS current
DESCRIPTION
"A collection of objects which are used to configure the
type of traffic to be filtered by IP source guard feature."
::= { dIpsgMIBGroups 4 }
END

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,269 @@
-- *****************************************************************
-- DLINKSW-IPV6-SNOOPING-MIB: IPv6 Snooping MIB
--
-- Copyright (c) 2013 D-Link Corporation, all rights reserved.
--
-- *****************************************************************
DLINKSW-IPV6-SNOOPING-MIB DEFINITIONS ::= BEGIN
IMPORTS
MODULE-IDENTITY,
Unsigned32,
OBJECT-TYPE
FROM SNMPv2-SMI
MODULE-COMPLIANCE,
OBJECT-GROUP
FROM SNMPv2-CONF
TruthValue,
RowStatus,
DisplayString
FROM SNMPv2-TC
VlanId
FROM Q-BRIDGE-MIB
dlinkIndustrialCommon
FROM DLINK-ID-REC-MIB;
dlinkSwIpv6SnoopMIB MODULE-IDENTITY
LAST-UPDATED "201307180000Z"
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 module defines objects for IPv6 Snooping."
REVISION "201307180000Z"
DESCRIPTION
"This is the first version of the MIB file.
"
::= { dlinkIndustrialCommon 143 }
--
-- Textual Conventions
--
-- -----------------------------------------------------------------------------
dIpv6SnoopNotifications OBJECT IDENTIFIER ::= { dlinkSwIpv6SnoopMIB 0 }
dIpv6SnoopObjects OBJECT IDENTIFIER ::= { dlinkSwIpv6SnoopMIB 1 }
dIpv6SnoopConformance OBJECT IDENTIFIER ::= { dlinkSwIpv6SnoopMIB 2 }
dIpv6SnoopGlobal OBJECT IDENTIFIER ::= { dIpv6SnoopObjects 1 }
dIpv6SnoopPolicy OBJECT IDENTIFIER ::= { dIpv6SnoopObjects 2 }
dIpv6SnoopInterface OBJECT IDENTIFIER ::= { dIpv6SnoopObjects 3 }
-- -----------------------------------------------------------------------------
dIpv6SnoopStationMoveEnabled OBJECT-TYPE
SYNTAX TruthValue
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object indicates whether station move function for IPv6
snooping entries is enabled.
When station-move is enabled, the dynamic snooping binding entry
with same VLAN ID and MAC address on specific port can move to another
port if the Switch detects it.
"
::= { dIpv6SnoopGlobal 1 }
-- -----------------------------------------------------------------------------
dIpv6SnoopPolicyNumber OBJECT-TYPE
SYNTAX Unsigned32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Indicates the number of entries present in IPv6 snooping policy
table."
::= { dIpv6SnoopPolicy 1 }
dIpv6SnoopPolicyTable OBJECT-TYPE
SYNTAX SEQUENCE OF DIpv6SnoopPolicyEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"The table contains information about IPv6 snooping policies."
::= { dIpv6SnoopPolicy 2 }
dIpv6SnoopPolicyEntry OBJECT-TYPE
SYNTAX DIpv6SnoopPolicyEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"An entry defined in dIpv6SnoopPolicyTable. An entry is
created/removed when an IPv6 snooping policy is created/deleted."
INDEX { dIpv6SnoopPolicyName }
::= { dIpv6SnoopPolicyTable 1 }
DIpv6SnoopPolicyEntry ::= SEQUENCE {
dIpv6SnoopPolicyName DisplayString,
dIpv6SnoopPolicyProtocol BITS,
dIpv6SnoopPolicyLimitAddrCount Unsigned32,
dIpv6SnoopPolicyRowStatus RowStatus
}
dIpv6SnoopPolicyName OBJECT-TYPE
SYNTAX DisplayString (SIZE (1..32))
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This object indicates the name of the IPv6 snooping policy."
::= { dIpv6SnoopPolicyEntry 1 }
dIpv6SnoopPolicyProtocol OBJECT-TYPE
SYNTAX BITS {
ndp(0),
dhcp(1)
}
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"This object indicates whether the protocol is snooped in the policy.
"
::= { dIpv6SnoopPolicyEntry 2 }
dIpv6SnoopPolicyLimitAddrCount OBJECT-TYPE
SYNTAX Unsigned32
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"Indicates the maximum number of IPv6 snooping binding entries.
"
::= { dIpv6SnoopPolicyEntry 3 }
dIpv6SnoopPolicyRowStatus OBJECT-TYPE
SYNTAX RowStatus
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"This object allows the dynamic creation and deletion of a policy."
::= { dIpv6SnoopPolicyEntry 99 }
-- -----------------------------------------------------------------------------
dIpv6SnoopPolicyAttachTable OBJECT-TYPE
SYNTAX SEQUENCE OF DIpv6SnoopPolicyAttachEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"A table provides the mechanism to attach an IPv6 snooping policy
at each interface capable of this feature.
"
::= { dIpv6SnoopInterface 1 }
dIpv6SnoopPolicyAttachEntry OBJECT-TYPE
SYNTAX DIpv6SnoopPolicyAttachEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"A row instance contains the configuration to policy attaching
state for IPv6 Snooping at each interface capable of this feature.
"
INDEX { dIpv6SnoopPolicyAttachVlanId }
::= { dIpv6SnoopPolicyAttachTable 1 }
DIpv6SnoopPolicyAttachEntry ::= SEQUENCE {
dIpv6SnoopPolicyAttachVlanId VlanId,
dIpv6SnoopPolicyAttachPolicy DisplayString,
dIpv6SnoopPolicyAttachRowStatus RowStatus
}
dIpv6SnoopPolicyAttachVlanId OBJECT-TYPE
SYNTAX VlanId
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"The VLAN-ID of the VLAN with which the IPv6 snooping policy
is attached."
::= { dIpv6SnoopPolicyAttachEntry 1 }
dIpv6SnoopPolicyAttachPolicy OBJECT-TYPE
SYNTAX DisplayString (SIZE (1..32))
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"This object indicates the name of the snooping policy.
"
::= { dIpv6SnoopPolicyAttachEntry 2 }
dIpv6SnoopPolicyAttachRowStatus OBJECT-TYPE
SYNTAX RowStatus
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"The row status variable, used according to installation
and removal conventions for conceptual rows."
::= { dIpv6SnoopPolicyAttachEntry 99 }
-- -----------------------------------------------------------------------------
-- Conformance
dIpv6SnoopMIBCompliances OBJECT IDENTIFIER ::= { dIpv6SnoopConformance 1 }
dIpv6SnoopMIBGroups OBJECT IDENTIFIER ::= { dIpv6SnoopConformance 2 }
dIpv6SnoopMIBCompliance MODULE-COMPLIANCE
STATUS current
DESCRIPTION
"The compliance statement for DLINKSW-IPV6-SNOOPING-MIB"
MODULE
MANDATORY-GROUPS {
dIpv6SnoopPolicyGroup,
dIpv6SnoopPolicyAttachGroup
}
GROUP dIpv6SnoopStationMoveCfgGroup
DESCRIPTION
"This group is optional."
::= { dIpv6SnoopMIBCompliances 1 }
-- Units of Conformance
dIpv6SnoopPolicyGroup OBJECT-GROUP
OBJECTS {
dIpv6SnoopPolicyNumber,
dIpv6SnoopPolicyProtocol,
dIpv6SnoopPolicyLimitAddrCount,
dIpv6SnoopPolicyRowStatus
}
STATUS current
DESCRIPTION
"A collection of object which are used to configure as
well as show information regarding the IPv6 snooping policy."
::= { dIpv6SnoopMIBGroups 1 }
dIpv6SnoopPolicyAttachGroup OBJECT-GROUP
OBJECTS {
dIpv6SnoopPolicyAttachPolicy,
dIpv6SnoopPolicyAttachRowStatus
}
STATUS current
DESCRIPTION
"A collection of object which are used to configure as
well as show information regarding the attaching policy
of interface."
::= { dIpv6SnoopMIBGroups 2 }
dIpv6SnoopStationMoveCfgGroup OBJECT-GROUP
OBJECTS {
dIpv6SnoopStationMoveEnabled
}
STATUS current
DESCRIPTION
"A collection of objects configuring the station move function.
"
::= { dIpv6SnoopMIBGroups 3 }
END

View File

@ -0,0 +1,503 @@
-- *****************************************************************
-- DLINKSW-IPV6-SRC-GUARD-MIB: IPv6 Source Guard MIB
--
-- Copyright (c) 2013 D-Link Corporation, all rights reserved.
--
-- *****************************************************************
DLINKSW-IPV6-SRC-GUARD-MIB DEFINITIONS ::= BEGIN
IMPORTS
MODULE-IDENTITY,
Unsigned32,
OBJECT-TYPE
FROM SNMPv2-SMI
MODULE-COMPLIANCE,
OBJECT-GROUP
FROM SNMPv2-CONF
TruthValue,
RowStatus,
MacAddress,
DisplayString
FROM SNMPv2-TC
InetAddressIPv6
FROM INET-ADDRESS-MIB
ifIndex,
InterfaceIndex
FROM IF-MIB
VlanId
FROM Q-BRIDGE-MIB
dlinkIndustrialCommon
FROM DLINK-ID-REC-MIB;
dlinkSwIpv6SourceGuardMIB MODULE-IDENTITY
LAST-UPDATED "201307180000Z"
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 module defines objects for IPv6 Source Guard."
REVISION "201307180000Z"
DESCRIPTION
"This is the first version of the MIB file.
"
::= { dlinkIndustrialCommon 145 }
--
-- Textual Conventions
--
-- -----------------------------------------------------------------------------
dIpv6sgNotifications OBJECT IDENTIFIER ::= { dlinkSwIpv6SourceGuardMIB 0 }
dIpv6sgObjects OBJECT IDENTIFIER ::= { dlinkSwIpv6SourceGuardMIB 1 }
dIpv6sgConformance OBJECT IDENTIFIER ::= { dlinkSwIpv6SourceGuardMIB 2 }
dIpv6sgPolicy OBJECT IDENTIFIER ::= { dIpv6sgObjects 1 }
dIpv6sgInterface OBJECT IDENTIFIER ::= { dIpv6sgObjects 2 }
dIpv6sgBindings OBJECT IDENTIFIER ::= { dIpv6sgObjects 3 }
-- -----------------------------------------------------------------------------
dIpv6sgPolicyNumber OBJECT-TYPE
SYNTAX Unsigned32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Indicates the number of entries present in IPv6 source-guard policy
table."
::= { dIpv6sgPolicy 1 }
dIpv6sgPolicyTable OBJECT-TYPE
SYNTAX SEQUENCE OF DIpv6sgPolicyEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"The table contains information about IPv6 source-guard policies."
::= { dIpv6sgPolicy 2 }
dIpv6sgPolicyEntry OBJECT-TYPE
SYNTAX DIpv6sgPolicyEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"An entry defined in dIpv6sgPolicyTable. An entry is
created/removed when an IPv6 source-guard policy is created/deleted."
INDEX { dIpv6sgPolicyName }
::= { dIpv6sgPolicyTable 1 }
DIpv6sgPolicyEntry ::= SEQUENCE {
dIpv6sgPolicyName DisplayString,
dIpv6sgPolicyDenyAutoConfig TruthValue,
dIpv6sgPolicyPermitLinkLocal TruthValue,
dIpv6sgPolicyRowStatus RowStatus
}
dIpv6sgPolicyName OBJECT-TYPE
SYNTAX DisplayString (SIZE (1..32))
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"The name of the IPv6 source-guard policy."
::= { dIpv6sgPolicyEntry 1 }
dIpv6sgPolicyDenyAutoConfig OBJECT-TYPE
SYNTAX TruthValue
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"Indicates whether deny data traffic from auto-configured global address.
It is useful when all global addresses on a link are assigned
by DHCP and the administrator wants to block hosts
with self-configured addresses sending traffic.
"
DEFVAL { false }
::= { dIpv6sgPolicyEntry 2 }
dIpv6sgPolicyPermitLinkLocal OBJECT-TYPE
SYNTAX TruthValue
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"Indicates whether allow hardware permit data traffic sent by link-local address.
"
DEFVAL { false }
::= { dIpv6sgPolicyEntry 3 }
dIpv6sgPolicyRowStatus OBJECT-TYPE
SYNTAX RowStatus
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"This object allows the dynamic creation and deletion of a policy."
::= { dIpv6sgPolicyEntry 99 }
-- -----------------------------------------------------------------------------
dIpv6sgIfConfigTable OBJECT-TYPE
SYNTAX SEQUENCE OF DIpv6sgIfConfigEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"A table provides the mechanism to configure the IPv6 source-guard
state at every interface capable of this feature.
"
::= { dIpv6sgInterface 1 }
dIpv6sgIfConfigEntry OBJECT-TYPE
SYNTAX DIpv6sgIfConfigEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"A row instance contains the configuration to enable or
disable IPv6 source-guard on an interface.
"
INDEX { ifIndex }
::= { dIpv6sgIfConfigTable 1 }
DIpv6sgIfConfigEntry ::= SEQUENCE {
dIpv6sgIfEnabled TruthValue
}
dIpv6sgIfEnabled OBJECT-TYPE
SYNTAX TruthValue
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object enables IPv6 source-guard on the interface, if set this
object to 'true'.
Setting this object to 'false' disables the IPv6 source-guard on the
interface.
"
::= { dIpv6sgIfConfigEntry 1 }
-- -----------------------------------------------------------------------------
dIpv6sgIfAttachTable OBJECT-TYPE
SYNTAX SEQUENCE OF DIpv6sgIfAttachEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"A table provides the mechanism to attach an IPv6 source-guard policy
at each interface capable of this feature.
"
::= { dIpv6sgInterface 2 }
dIpv6sgIfAttachEntry OBJECT-TYPE
SYNTAX DIpv6sgIfAttachEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"A row instance contains the configuration of attaching IPv6 source-guard
policy on the interface.
"
INDEX { ifIndex }
::= { dIpv6sgIfAttachTable 1 }
DIpv6sgIfAttachEntry ::= SEQUENCE {
dIpv6sgIfAttachPolicy DisplayString,
dIpv6sgIfAttachRowStatus RowStatus
}
dIpv6sgIfAttachPolicy OBJECT-TYPE
SYNTAX DisplayString (SIZE (1..32))
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"This object indicates the name of the attached IPv6 source-guard policy.
"
::= { dIpv6sgIfAttachEntry 1 }
dIpv6sgIfAttachRowStatus OBJECT-TYPE
SYNTAX RowStatus
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"The row status variable, used according to installation
and removal conventions for conceptual rows."
::= { dIpv6sgIfAttachEntry 99 }
-- -----------------------------------------------------------------------------
dIpv6sgStaticBindingsTable OBJECT-TYPE
SYNTAX SEQUENCE OF DIpv6sgStaticBindingsEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"A table provides the manual bindings information.
e.g.
VLAN MAC Address IP Address Interface
---- ----------------- ---------- ---------
2000 00.01.02.03.04.05 2000::1 8
3000 00.05.06.07.08.09 3000::2 3
4094 00.10.20.30.40.55 2134::7 5
4094 00.10.20.30.40.55 2134::8 6
4094 00.10.20.30.40.55 2134::9 8
"
::= { dIpv6sgBindings 1 }
dIpv6sgStaticBindingsEntry OBJECT-TYPE
SYNTAX DIpv6sgStaticBindingsEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"An entry defines a manual binding.
"
INDEX {
dIpv6sgStaticBindingsVlan,
dIpv6sgStaticBindingsMacAddress,
dIpv6sgStaticBindingsIpAddress,
dIpv6sgStaticBindingsInterface
}
::= { dIpv6sgStaticBindingsTable 1 }
DIpv6sgStaticBindingsEntry ::= SEQUENCE {
dIpv6sgStaticBindingsVlan VlanId,
dIpv6sgStaticBindingsMacAddress MacAddress,
dIpv6sgStaticBindingsIpAddress InetAddressIPv6,
dIpv6sgStaticBindingsInterface InterfaceIndex,
dIpv6sgStaticBindingsRowStatus RowStatus
}
dIpv6sgStaticBindingsVlan OBJECT-TYPE
SYNTAX VlanId
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This object indicates the VLAN to which a host belongs."
::= { dIpv6sgStaticBindingsEntry 1 }
dIpv6sgStaticBindingsMacAddress OBJECT-TYPE
SYNTAX MacAddress
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This object indicates the MAC address of the entry."
::= { dIpv6sgStaticBindingsEntry 2 }
dIpv6sgStaticBindingsIpAddress OBJECT-TYPE
SYNTAX InetAddressIPv6
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This object indicates the allocated IPv6 address of the entry."
::= { dIpv6sgStaticBindingsEntry 3 }
dIpv6sgStaticBindingsInterface OBJECT-TYPE
SYNTAX InterfaceIndex
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This object indicates the ifIndex value of the interface
where the host connects to."
::= { dIpv6sgStaticBindingsEntry 4 }
dIpv6sgStaticBindingsRowStatus OBJECT-TYPE
SYNTAX RowStatus
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"This object is used to manage the creation and deletion
of rows in this table.
"
::= { dIpv6sgStaticBindingsEntry 99 }
-- -----------------------------------------------------------------------------
dIpv6sgBindingsTable OBJECT-TYPE
SYNTAX SEQUENCE OF DIpv6sgBindingsEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"A table provides the bindings information regarding IPv6 Snooping.
e.g.
Onwer IPv6 Address MAC Address Interface VLAN TimeLeft
----- ------------------------- ---------------- --------- ---- --------
NDP FE80::A8BB:CCFF:FE01:F500 AABB.CC01.F500 1 100 8850
Static FE80::21D:71FF:FE99:4900 001D.7199.4900 2 100 0
NDP 2001:600::1 AABB.CC01.F500 1 100 3181
DHCP 2001:300::1 AABB.CC01.F500 1 100 9559
DHCP 2001:100::2 AABB.CC01.F600 1 200 9196
DHCP 2001:400::1 001D.7199.4900 2 100 1568
Static 2001:500::1 000A.000B.000C 13 300 0
"
::= { dIpv6sgBindings 2 }
dIpv6sgBindingsEntry OBJECT-TYPE
SYNTAX DIpv6sgBindingsEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"An entry contains information of a binding instance.
"
INDEX {
dIpv6sgBindingsOwner,
dIpv6sgBindingsIpAddress,
dIpv6sgBindingsMacAddress,
dIpv6sgBindingsInterface,
dIpv6sgBindingsVlan
}
::= { dIpv6sgBindingsTable 1 }
DIpv6sgBindingsEntry ::= SEQUENCE {
dIpv6sgBindingsOwner INTEGER,
dIpv6sgBindingsIpAddress InetAddressIPv6,
dIpv6sgBindingsMacAddress MacAddress,
dIpv6sgBindingsInterface InterfaceIndex,
dIpv6sgBindingsVlan VlanId,
dIpv6sgBindingsTimeleft Unsigned32
}
dIpv6sgBindingsOwner OBJECT-TYPE
SYNTAX INTEGER {
static(1),
ndp(2),
dhcp(3)
}
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This object indicates the IPv6 snooping owner."
::= { dIpv6sgBindingsEntry 1 }
dIpv6sgBindingsIpAddress OBJECT-TYPE
SYNTAX InetAddressIPv6
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This object indicates the IPv6 address of the entry."
::= { dIpv6sgBindingsEntry 2 }
dIpv6sgBindingsMacAddress OBJECT-TYPE
SYNTAX MacAddress
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This object indicates the MAC address of the entry."
::= { dIpv6sgBindingsEntry 3 }
dIpv6sgBindingsInterface OBJECT-TYPE
SYNTAX InterfaceIndex
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This object indicates the ifIndex value of the interface
where a host connects to."
::= { dIpv6sgBindingsEntry 4 }
dIpv6sgBindingsVlan OBJECT-TYPE
SYNTAX VlanId
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This object indicates the VLAN to which the host belongs."
::= { dIpv6sgBindingsEntry 5 }
dIpv6sgBindingsTimeleft OBJECT-TYPE
SYNTAX Unsigned32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"This object indicates the time left for the dynamic hosts.
It is meaningless when dIpv6sgBindingsOwner is 'static',
it is always be zero."
::= { dIpv6sgBindingsEntry 6 }
-- Conformance
dIpv6sgMIBCompliances OBJECT IDENTIFIER ::= { dIpv6sgConformance 1 }
dIpv6sgMIBGroups OBJECT IDENTIFIER ::= { dIpv6sgConformance 2 }
dIpv6sgMIBCompliance MODULE-COMPLIANCE
STATUS current
DESCRIPTION
"The compliance statement for DLINKSW-IPV6-SRC-GUARD-MIB"
MODULE
MANDATORY-GROUPS {
dIpv6sgIfConfigGroup
}
GROUP dIpv6sgPolicyGroup
DESCRIPTION
"This group is mandatory only for the platform which provides the
configuration of IPv6 source-guard policy."
GROUP dIpv6sgIfAttachGroup
DESCRIPTION
"This group is mandatory only for the platform which supports
interface-specific configuration of attaching IPv6 source-guard policy."
GROUP dIpv6sgStaticBindingsGroup
DESCRIPTION
"This group is mandatory only for platforms which support
configuring the static bindings."
::= { dIpv6sgMIBCompliances 1 }
-- Units of Conformance
-- IPv6 Source Guard Group
dIpv6sgIfConfigGroup OBJECT-GROUP
OBJECTS {
dIpv6sgIfEnabled
}
STATUS current
DESCRIPTION
"A collection of objects which are used to configure as
well as show information regarding the IPv6 Source Guard feature
per interface."
::= { dIpv6sgMIBGroups 1 }
dIpv6sgBindingsGroup OBJECT-GROUP
OBJECTS {
dIpv6sgBindingsTimeleft
}
STATUS current
DESCRIPTION
"A collection of objects which are used to show information
regarding the IPv6 Snooping binding data."
::= { dIpv6sgMIBGroups 2 }
dIpv6sgPolicyGroup OBJECT-GROUP
OBJECTS {
dIpv6sgPolicyNumber,
dIpv6sgPolicyDenyAutoConfig,
dIpv6sgPolicyPermitLinkLocal,
dIpv6sgPolicyRowStatus
}
STATUS current
DESCRIPTION
"A collection of object which are used to configure as
well as show information regarding the IPv6 source-guard policy."
::= { dIpv6sgMIBGroups 3 }
dIpv6sgIfAttachGroup OBJECT-GROUP
OBJECTS {
dIpv6sgIfAttachPolicy,
dIpv6sgIfAttachRowStatus
}
STATUS current
DESCRIPTION
"A collection of object which are used to configure as
well as show information regarding the attaching policy
per interface."
::= { dIpv6sgMIBGroups 4 }
dIpv6sgStaticBindingsGroup OBJECT-GROUP
OBJECTS {
dIpv6sgStaticBindingsRowStatus
}
STATUS current
DESCRIPTION
"A collection of objects which are used to configure
as well as show information regarding the static binding data
for IPv6 Source Guard."
::= { dIpv6sgMIBGroups 5 }
END

583
mibs/dlink/DLINKSW-JWAC-MIB Normal file
View File

@ -0,0 +1,583 @@
-- *****************************************************************
-- DLINKSW-JWAC-MIB.mib : Japanese Web-Based Access Control MIB
--
-- Copyright (c) 2013 D-Link Corporation, all rights reserved.
--
-- *****************************************************************
DLINKSW-JWAC-MIB DEFINITIONS ::= BEGIN
IMPORTS
MODULE-IDENTITY,
OBJECT-TYPE,
Unsigned32 FROM SNMPv2-SMI
TruthValue,
RowStatus FROM SNMPv2-TC
SnmpAdminString FROM SNMP-FRAMEWORK-MIB
MODULE-COMPLIANCE,
OBJECT-GROUP,
NOTIFICATION-GROUP FROM SNMPv2-CONF
ifIndex FROM IF-MIB
InetAddressIPv4,
InetAddressIPv6,
InetAddressType,
InetAddress,
InetAddressPrefixLength FROM INET-ADDRESS-MIB
dlinkIndustrialCommon FROM DLINK-ID-REC-MIB;
dlinkSwJwacMIB MODULE-IDENTITY
LAST-UPDATED "201310080000Z"
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 module defines objects for Japanese Web-Based Access Control.
ABBREVIATIONS and ACRONYMS:
JWAC - Japanese Web-Based Access Control
Qserver - quarantine server
"
REVISION "201310080000Z"
DESCRIPTION
"This is the first version of the MIB file."
::= { dlinkIndustrialCommon 155 }
-- ----------------------------------------------------------------------------------------------
dJwacNotifications OBJECT IDENTIFIER ::= { dlinkSwJwacMIB 0 }
dJwacObjects OBJECT IDENTIFIER ::= { dlinkSwJwacMIB 1 }
dJwacConformance OBJECT IDENTIFIER ::= { dlinkSwJwacMIB 2 }
-- ----------------------------------------------------------------------------------------------
-- ----------------------------------------------------------------------------------------------
dJwacCommonCtrl OBJECT IDENTIFIER ::= { dJwacObjects 1 }
dJwacInterfaceCtrl OBJECT IDENTIFIER ::= { dJwacObjects 2 }
dJwacPageElementsCtrl OBJECT IDENTIFIER ::= { dJwacObjects 3 }
dJwacUpdateServerCtrl OBJECT IDENTIFIER ::= { dJwacObjects 4 }
dJwacSystemAuthEnabled OBJECT-TYPE
SYNTAX TruthValue
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object indicates the global status of JWAC on the device."
::= { dJwacCommonCtrl 1 }
dJwacVirtualIpv4 OBJECT-TYPE
SYNTAX InetAddressIPv4
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object indicates the virtual IPv4 address which is used to accept
authentication requests from an unauthenticated host.
The virtual IP of JWAC is used to accept authentication requests
from an unauthenticated host. Only requests sent to this IP will
get a correct response.
NOTE: This IP does not respond to ARP requests or ICMP packets."
::= { dJwacCommonCtrl 2 }
dJwacVirtualIpv6 OBJECT-TYPE
SYNTAX InetAddressIPv6
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object indicates the virtual IPv6 address which is used to accept
authentication requests from an unauthenticated host.
The virtual IP of WAC is used to accept authentication requests
from an unauthenticated host. Only requests sent to this IP will
get a correct response.
NOTE: This IP does not respond to ICMPv6 packets."
::= { dJwacCommonCtrl 3 }
dJwacVirtualUrl OBJECT-TYPE
SYNTAX SnmpAdminString
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object indicates the FQDN URL for the virtual IP address.
The defined URL only takes effect when the virtual IP address is
configured. The user gets the FQDN URL stored on the DNS server
to get the virtual IP address. The obtained IP address must match
the virtual IP address."
::= { dJwacCommonCtrl 4 }
dJwacAuthMethod OBJECT-TYPE
SYNTAX INTEGER {
md5(1),
chap(2),
pap(3),
msChap(4),
msChapv2(5)
}
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object indicates the JWAC authentication method.
"
::= { dJwacCommonCtrl 5 }
dJwacForcibleLogout OBJECT-TYPE
SYNTAX TruthValue
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object indicates the state of JWAC forcible logout function."
::= { dJwacCommonCtrl 6 }
dJwacQserverV4Url OBJECT-TYPE
SYNTAX SnmpAdminString
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object indicates the URL on quarantine server for IPv4 access
authentication."
::= { dJwacCommonCtrl 7 }
dJwacQserverV6Url OBJECT-TYPE
SYNTAX SnmpAdminString
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object indicates the URL on quarantine server for IPv6 access
authentication."
::= { dJwacCommonCtrl 8 }
dJwacQserverMonitorEnabled OBJECT-TYPE
SYNTAX TruthValue
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object indicates the state of JWAC Quarantine Server monitor
function."
::= { dJwacCommonCtrl 9 }
dJwacQserverTimeOut OBJECT-TYPE
SYNTAX Unsigned32 (5..300)
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object indicates the JWAC Quarantine Server timeout period."
::= { dJwacCommonCtrl 10 }
dJwacRedirectEnabled OBJECT-TYPE
SYNTAX TruthValue
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object indicates the state of JWAC redirect function."
::= { dJwacCommonCtrl 11 }
dJwacRedirectDestination OBJECT-TYPE
SYNTAX INTEGER {
quarantineServer(1),
jwacLoginPage(2)
}
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object indicates the destination which the unauthenticated
host will be redirected to."
::= { dJwacCommonCtrl 12 }
dJwacRedirectDelayTime OBJECT-TYPE
SYNTAX Unsigned32 (0..10)
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object indicates the time period after which the unauthenticated
host will be redirected.
NOTE: 0 means redirect without delaying."
::= { dJwacCommonCtrl 13 }
dJwacUdpFiltering OBJECT-TYPE
SYNTAX TruthValue
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object indicates the state of JWAC UDP Filtering function."
::= { dJwacCommonCtrl 14 }
dJwacAuthPageLanguage OBJECT-TYPE
SYNTAX INTEGER {
japanese(1),
english(2)
}
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object indicates the authenticate page language for JWAC."
::= { dJwacCommonCtrl 15 }
-- ----------------------------------------------------------------------------------------------
dJwacIfCfgTable OBJECT-TYPE
SYNTAX SEQUENCE OF DJwacIfCfgEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"A list of JWAC interface information entries."
::= { dJwacInterfaceCtrl 1 }
dJwacIfCfgEntry OBJECT-TYPE
SYNTAX DJwacIfCfgEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"An entry indicates the setting of JWAC on an interface."
INDEX { ifIndex }
::= { dJwacIfCfgTable 1 }
DJwacIfCfgEntry ::= SEQUENCE {
dJwacIfAuthEnabled TruthValue,
dJwacMaxAuthingUser Unsigned32
}
dJwacIfAuthEnabled OBJECT-TYPE
SYNTAX TruthValue
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object indicates the JWAC state on the interface."
::= { dJwacIfCfgEntry 1 }
dJwacMaxAuthingUser OBJECT-TYPE
SYNTAX Unsigned32 (1..65535)
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object indicates the maximum authenticating user number on the
interface."
::= { dJwacIfCfgEntry 2 }
-- ----------------------------------------------------------------------------------------------
dJwacPageElementTable OBJECT-TYPE
SYNTAX SEQUENCE OF DJwacPageElementEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"A list of JWAC page elements entries."
::= { dJwacPageElementsCtrl 1 }
dJwacPageElementEntry OBJECT-TYPE
SYNTAX DJwacPageElementEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"An entry indicates the setting of JWAC authenticate page elements."
INDEX { dJwacPageLanguage }
::= { dJwacPageElementTable 1 }
DJwacPageElementEntry ::= SEQUENCE
{
dJwacPageLanguage INTEGER,
dJwacPageTitle SnmpAdminString,
dJwacPageLoginWindowTitle SnmpAdminString,
dJwacPageUserName SnmpAdminString,
dJwacPagePassWord SnmpAdminString,
dJwacPageLogoutWindowTitle SnmpAdminString,
dJwacPageCopyrightLine1 SnmpAdminString,
dJwacPageCopyrightLine2 SnmpAdminString,
dJwacPageCopyrightLine3 SnmpAdminString,
dJwacPageCopyrightLine4 SnmpAdminString,
dJwacPageCopyrightLine5 SnmpAdminString
}
dJwacPageLanguage OBJECT-TYPE
SYNTAX INTEGER {
japanese(1),
english(2)
}
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This object indicates the language of JWAC authenticate page."
::= { dJwacPageElementEntry 1 }
dJwacPageTitle OBJECT-TYPE
SYNTAX SnmpAdminString
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object indicates the title of the JWAC authentication page."
::= { dJwacPageElementEntry 2 }
dJwacPageLoginWindowTitle OBJECT-TYPE
SYNTAX SnmpAdminString
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object indicates the title of the JWAC authentication login
window."
::= { dJwacPageElementEntry 3 }
dJwacPageUserName OBJECT-TYPE
SYNTAX SnmpAdminString
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object indicates the user name title of JWAC authentication
login window."
::= { dJwacPageElementEntry 4 }
dJwacPagePassWord OBJECT-TYPE
SYNTAX SnmpAdminString
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object indicates the password title of JWAC authentication
login window."
::= { dJwacPageElementEntry 5 }
dJwacPageLogoutWindowTitle OBJECT-TYPE
SYNTAX SnmpAdminString
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object indicates the title of the JWAC authentication logout
window. "
::= { dJwacPageElementEntry 6 }
dJwacPageCopyrightLine1 OBJECT-TYPE
SYNTAX SnmpAdminString
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object indicates the first line of copyright information in
JWAC authentication pages."
::= { dJwacPageElementEntry 7 }
dJwacPageCopyrightLine2 OBJECT-TYPE
SYNTAX SnmpAdminString
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object indicates the second line of copyright information in
JWAC authentication pages."
::= { dJwacPageElementEntry 8 }
dJwacPageCopyrightLine3 OBJECT-TYPE
SYNTAX SnmpAdminString
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object indicates the third line of copyright information in
JWAC authentication pages."
::= { dJwacPageElementEntry 9 }
dJwacPageCopyrightLine4 OBJECT-TYPE
SYNTAX SnmpAdminString
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object indicates the fourth line of copyright information in
JWAC authentication pages."
::= { dJwacPageElementEntry 10 }
dJwacPageCopyrightLine5 OBJECT-TYPE
SYNTAX SnmpAdminString
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object indicates the fifth line of copyright information in
JWAC authentication pages."
::= { dJwacPageElementEntry 11 }
-- ----------------------------------------------------------------------------------------------
dJwacUpdateServerTable OBJECT-TYPE
SYNTAX SEQUENCE OF DJwacUpdateServerEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This table consists of a list of JWAC update servers."
::= { dJwacUpdateServerCtrl 1 }
dJwacUpdateServerEntry OBJECT-TYPE
SYNTAX DJwacUpdateServerEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"An entry indicates a JWAC update server."
INDEX {
dJwacUpdateServerAddrType,
dJwacUpdateServerAddr,
dJwacUpdateServerPrefixLen,
dJwacUpdateServerProtocol,
dJwacUpdateServerPort
}
::= { dJwacUpdateServerTable 1 }
DJwacUpdateServerEntry ::= SEQUENCE
{
dJwacUpdateServerAddrType InetAddressType,
dJwacUpdateServerAddr InetAddress,
dJwacUpdateServerPrefixLen InetAddressPrefixLength,
dJwacUpdateServerProtocol INTEGER,
dJwacUpdateServerPort Unsigned32,
dJwacupdateServerRowStatus RowStatus
}
dJwacUpdateServerAddrType OBJECT-TYPE
SYNTAX InetAddressType
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"This object indicates the IP address type of JWAC update server."
::= { dJwacUpdateServerEntry 1 }
dJwacUpdateServerAddr OBJECT-TYPE
SYNTAX InetAddress
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"This object indicates the IPv4 or IPv6 address of JWAC update server."
::= { dJwacUpdateServerEntry 2 }
dJwacUpdateServerPrefixLen OBJECT-TYPE
SYNTAX InetAddressPrefixLength
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"This object indicates the prefix length of the entry.
If this value is smaller than 32(IPv4) or 128(IPv6), it indicates
dJwacUpdateServerAddr is a network address.
By adding the network address, an entry can serve multiple update
servers on the same network.
"
::= { dJwacUpdateServerEntry 3 }
dJwacUpdateServerProtocol OBJECT-TYPE
SYNTAX INTEGER {
all(1),
tcp(2),
udp(3)
}
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"This object indicates the protocol of the entry."
::= { dJwacUpdateServerEntry 4 }
dJwacUpdateServerPort OBJECT-TYPE
SYNTAX Unsigned32 (0..65535)
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"This object indicates the port of the entry."
::= { dJwacUpdateServerEntry 5 }
dJwacupdateServerRowStatus OBJECT-TYPE
SYNTAX RowStatus
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"This object indicates the status of the entry."
::= { dJwacUpdateServerEntry 99 }
-- -----------------------------------------------------------------------------
-- MIB Conformance statements
-- -----------------------------------------------------------------------------
dJwacMIBCompliances OBJECT IDENTIFIER
::= { dJwacConformance 1 }
dJwacMIBGroups OBJECT IDENTIFIER
::= { dJwacConformance 2 }
dJwacMIBCompliance MODULE-COMPLIANCE
STATUS current
DESCRIPTION
"The compliance statement for entities which implement the
DLINKSW-JWAC-MIB."
MODULE -- this module
MANDATORY-GROUPS
{
dJwacCfgGroup,
dJwacIfCfgGroup,
dJwacPageElementsGroup,
dJwacUpdateServerGroup
}
::= { dJwacMIBCompliances 1 }
-- -----------------------------------------------------------------------------
dJwacCfgGroup OBJECT-GROUP
OBJECTS
{
dJwacSystemAuthEnabled,
dJwacVirtualIpv4,
dJwacVirtualIpv6,
dJwacVirtualUrl,
dJwacAuthMethod,
dJwacForcibleLogout,
dJwacQserverV4Url,
dJwacQserverV6Url,
dJwacQserverMonitorEnabled,
dJwacQserverTimeOut,
dJwacRedirectEnabled,
dJwacRedirectDestination,
dJwacRedirectDelayTime,
dJwacUdpFiltering,
dJwacAuthPageLanguage
}
STATUS current
DESCRIPTION
"A collection of objects providing management of the JWAC feature."
::= { dJwacMIBGroups 1 }
dJwacIfCfgGroup OBJECT-GROUP
OBJECTS
{
dJwacIfAuthEnabled,
dJwacMaxAuthingUser
}
STATUS current
DESCRIPTION
"A collection of objects providing the interface's configuration of
JWAC."
::= { dJwacMIBGroups 2 }
dJwacPageElementsGroup OBJECT-GROUP
OBJECTS
{
dJwacPageTitle,
dJwacPageLoginWindowTitle,
dJwacPageUserName,
dJwacPagePassWord,
dJwacPageLogoutWindowTitle,
dJwacPageCopyrightLine1,
dJwacPageCopyrightLine2,
dJwacPageCopyrightLine3,
dJwacPageCopyrightLine4,
dJwacPageCopyrightLine5
}
STATUS current
DESCRIPTION
"A collection of objects providing the authenticate page elements information
of JWAC."
::= { dJwacMIBGroups 3 }
dJwacUpdateServerGroup OBJECT-GROUP
OBJECTS
{
dJwacUpdateServerAddrType,
dJwacUpdateServerAddr,
dJwacUpdateServerPrefixLen,
dJwacUpdateServerProtocol,
dJwacUpdateServerPort,
dJwacupdateServerRowStatus
}
STATUS current
DESCRIPTION
"A collection of objects providing the update server information of JWAC."
::= { dJwacMIBGroups 4 }
END

View File

@ -0,0 +1,578 @@
-- *****************************************************************
-- DLINKSW-L2FDB-MIB.mib : L2 FDB MIB
--
-- Copyright (c) 2012 D-Link Corporation, all rights reserved.
--
-- *****************************************************************
DLINKSW-L2FDB-MIB DEFINITIONS ::= BEGIN
IMPORTS
MODULE-IDENTITY, OBJECT-TYPE, NOTIFICATION-TYPE,Unsigned32,
Integer32
FROM SNMPv2-SMI
RowStatus,DisplayString,TruthValue,MacAddress
FROM SNMPv2-TC
MODULE-COMPLIANCE, OBJECT-GROUP, NOTIFICATION-GROUP
FROM SNMPv2-CONF
ifIndex, InterfaceIndex, InterfaceIndexOrZero
FROM IF-MIB
dot1qFdbId, dot1qStaticUnicastAddress,
VlanId, PortList
FROM Q-BRIDGE-MIB
dlinkIndustrialCommon
FROM DLINK-ID-REC-MIB;
dlinkSwL2FdbMIB MODULE-IDENTITY
LAST-UPDATED "201212260000Z"
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 module defines objects for L2FDB."
REVISION "201212260000Z"
DESCRIPTION
"This is the first version of the MIB file for 'L2FDB'
functionality."
::= { dlinkIndustrialCommon 3 }
--
-- MIB OBJECTS
--
dL2FdbMIBNotifications OBJECT IDENTIFIER ::= { dlinkSwL2FdbMIB 0 }
dL2FdbMIBObjects OBJECT IDENTIFIER ::= { dlinkSwL2FdbMIB 1 }
dL2FdbMIBConformance OBJECT IDENTIFIER ::= { dlinkSwL2FdbMIB 2 }
-- -----------------------------------------------------------------------------
dL2FdbGblCtrl OBJECT IDENTIFIER ::= { dL2FdbMIBObjects 1 }
dL2FdbClearCtrl OBJECT IDENTIFIER ::= { dL2FdbGblCtrl 1 }
dL2FdbClearMacAddrByMacAddr OBJECT-TYPE
SYNTAX MacAddress
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object specifies a MAC address which will be cleared.
When read, a value of '000000000000'H is returned."
::= { dL2FdbClearCtrl 1 }
dL2FdbClearMacAddrByIf OBJECT-TYPE
SYNTAX InterfaceIndexOrZero
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object indicates the ifIndex of the physical
port/port-channel/vlan interface on which
the dynamic MAC address(es) will be cleared.
When read, a value of 0 is returned."
::= { dL2FdbClearCtrl 2 }
dL2FdbClearAllMacAddr OBJECT-TYPE
SYNTAX INTEGER{
clear(1),
noOp(2)
}
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object clears all of the dynamic FDB entries, when set to 'clear'.
No action is taken if this object is set to 'noOp'.
When read, the value 'noOp' is returned."
::= { dL2FdbClearCtrl 3 }
dL2FdbAgingTime OBJECT-TYPE
SYNTAX Unsigned32 ( 0 | 5..1000000 )
UNITS "second"
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"Specify the aging time in seconds.
The valid range is 5 to 1000000 seconds.
The special valie of 0 indicates the ging out function is disabled.
"
DEFVAL { 300 }
::= { dL2FdbGblCtrl 2 }
dL2FdbMacChangeEnabled OBJECT-TYPE
SYNTAX TruthValue
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object indicates the status of MAC address notification feature
on the Switch."
DEFVAL { false }
::= { dL2FdbGblCtrl 3 }
dL2FdbMacChangeNotifInterval OBJECT-TYPE
SYNTAX Unsigned32 ( 1..2147483647 )
UNITS "second"
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"Specifies the interval between two consecutive MAC address change notifications."
DEFVAL { 1 }
::= { dL2FdbGblCtrl 4 }
dL2FdbMacChangeNotifyEnabled OBJECT-TYPE
SYNTAX TruthValue
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"Indicates whether cmnMacChangedNotification notifications
will or will not be sent when there are MAC addresses
learnt or removed from the forwarding table.
"
DEFVAL { false }
::= { dL2FdbGblCtrl 5 }
dL2FdbMacChangeHistorySize OBJECT-TYPE
SYNTAX Unsigned32 ( 0..500 )
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"Specifies the maximum number of the entries in the MAC history
notification table."
DEFVAL { 1 }
::= { dL2FdbGblCtrl 6 }
dL2FdbDestHitEnabled OBJECT-TYPE
SYNTAX TruthValue
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object indicates the state whether the destination MAC
address will trigger update function."
DEFVAL {false }
::= { dL2FdbGblCtrl 7 }
-- -----------------------------------------------------------------------------
dL2FdbStaticUnicastTable OBJECT-TYPE
SYNTAX SEQUENCE OF DL2FdbStaticUnicastEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This table contains a list of configuration for
static unicast MAC addresses."
::= { dL2FdbMIBObjects 2 }
dL2FdbStaticUnicastEntry OBJECT-TYPE
SYNTAX DL2FdbStaticUnicastEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"A table entry represents configuration for a static
unicast MAC address information."
INDEX {
dL2FdbStaticUnicastVlanID,
dL2FdbStaticUnicastMacAddr
}
::= { dL2FdbStaticUnicastTable 1 }
DL2FdbStaticUnicastEntry ::= SEQUENCE {
dL2FdbStaticUnicastVlanID VlanId,
dL2FdbStaticUnicastMacAddr MacAddress,
dL2FdbStaticUnicastType INTEGER,
dL2FdbStaticUnicastPortNum Integer32,
dL2FdbStaticUnicastRowStatus RowStatus
}
dL2FdbStaticUnicastVlanID OBJECT-TYPE
SYNTAX VlanId
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"The VLAN ID of the entry."
::= { dL2FdbStaticUnicastEntry 1 }
dL2FdbStaticUnicastMacAddr OBJECT-TYPE
SYNTAX MacAddress
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"The MAC address of the entry."
::= { dL2FdbStaticUnicastEntry 2 }
dL2FdbStaticUnicastType OBJECT-TYPE
SYNTAX INTEGER {
self(1),
permanent(2),
permanentDrop(3)
}
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"This object indicates the status of this entry.
self(1) - This entry is currently in use by the device's
MAC address.
permanent(2) - This entry is currently in use and will remain so
until after the next reset of the device.
permanentDrop(3) - This entry will filter the packet with the specified
MAC address as the source MAC or as the destination MAC.
The entry is currently in use and will remain so after the
next reboot of the device.
The value of this object MUST be retained across
reinitializations of the management system."
::= { dL2FdbStaticUnicastEntry 3 }
dL2FdbStaticUnicastPortNum OBJECT-TYPE
SYNTAX Integer32
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"The port number of the static unicast address.
The value of 0 indicates the CPU port.
The value of -1 indicates mac filter entry with permanentDrop type."
::= { dL2FdbStaticUnicastEntry 4 }
dL2FdbStaticUnicastRowStatus OBJECT-TYPE
SYNTAX RowStatus
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"This object indicates the RowStatus of this entry."
::= { dL2FdbStaticUnicastEntry 5 }
-- -----------------------------------------------------------------------------
dL2FdbIfCtrlTable OBJECT-TYPE
SYNTAX SEQUENCE OF DL2FdbIfCtrlEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This table contains a list of interface-specific configuration for
L2 FDB."
::= { dL2FdbMIBObjects 3 }
dL2FdbIfCtrlEntry OBJECT-TYPE
SYNTAX DL2FdbIfCtrlEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"An entry represents interface L2 FDB configuration."
INDEX { ifIndex }
::= { dL2FdbIfCtrlTable 1 }
DL2FdbIfCtrlEntry ::= SEQUENCE {
dL2FdbIfCtrlNotifyEnable BITS,
dL2FdbIfMacLearningEnabled TruthValue
}
dL2FdbIfCtrlNotifyEnable OBJECT-TYPE
SYNTAX BITS {
added(0),
removed(1)
}
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object indicates whether a specified notification is enabled or not.
If a bit corresponding to a notification is set to 1, then
the specified notification can be generated.
added(0) - the MAC change notification when a MAC address is added
on the interface.
removed(1) - the MAC change notification when a MAC address is removed
from the interface.
"
::= { dL2FdbIfCtrlEntry 1 }
dL2FdbIfMacLearningEnabled OBJECT-TYPE
SYNTAX TruthValue
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object indicates whether the MAC-address learning is enabled or not
on the physical interface."
::= { dL2FdbIfCtrlEntry 2 }
-- -----------------------------------------------------------------------------
dL2FdbMulticastFilterModeTable OBJECT-TYPE
SYNTAX SEQUENCE OF DL2FdbMulticastFilterModeEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This table contains a list of multicast filter mode configuration
of interfaces.
Only applicable interfaces will present on this table.
"
::= { dL2FdbMIBObjects 4 }
dL2FdbMulticastFilterModeEntry OBJECT-TYPE
SYNTAX DL2FdbMulticastFilterModeEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"An entry represents multicast filter mode on an interface."
INDEX { dL2FdbMcastFilterModeIfIndex }
::= { dL2FdbMulticastFilterModeTable 1 }
DL2FdbMulticastFilterModeEntry ::= SEQUENCE {
dL2FdbMcastFilterModeIfIndex InterfaceIndex,
dL2FdbMcastFilterMode INTEGER
}
dL2FdbMcastFilterModeIfIndex OBJECT-TYPE
SYNTAX InterfaceIndex
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This object indicates the ifIndex of the interface.
If support vlan-based filtering mode: The valid interfaces are VLANs.
If support port-based filtering mode: The valid interfaces are physical
port.
"
::= { dL2FdbMulticastFilterModeEntry 1 }
dL2FdbMcastFilterMode OBJECT-TYPE
SYNTAX INTEGER {
forwardAll(1),
forwardUnregistered(2),
filterUnregistered(3)
}
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object indicates the handling method for multicast packets
on the corresponding interface."
::= { dL2FdbMulticastFilterModeEntry 2 }
-- -----------------------------------------------------------------------------
dL2FdbMacChangeHistoryTable OBJECT-TYPE
SYNTAX SEQUENCE OF DL2FdbMacChangeHistoryEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This table contains a list of MAC address change history."
::= { dL2FdbMIBObjects 5 }
dL2FdbMacChangeHistoryEntry OBJECT-TYPE
SYNTAX DL2FdbMacChangeHistoryEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"An entry represents a MAC address change."
INDEX { dL2FdbMacChangeHistoryIndex }
::= { dL2FdbMacChangeHistoryTable 1 }
DL2FdbMacChangeHistoryEntry ::= SEQUENCE {
dL2FdbMacChangeHistoryIndex Unsigned32,
dL2FdbMacChangeHistoryOp INTEGER,
dL2FdbMacChangeHistoryVlanID VlanId,
dL2FdbMacChangeHistoryMacAddr MacAddress,
dL2FdbMacChangeHistoryPortNum Integer32
}
dL2FdbMacChangeHistoryIndex OBJECT-TYPE
SYNTAX Unsigned32 ( 1..500 )
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This object is history index."
::= { dL2FdbMacChangeHistoryEntry 1 }
dL2FdbMacChangeHistoryOp OBJECT-TYPE
SYNTAX INTEGER {
added(1),
removed(2)
}
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"mac notify change operation
1 - learned a new MAC address
2 - deleted an old MAC address
"
::= { dL2FdbMacChangeHistoryEntry 2 }
dL2FdbMacChangeHistoryVlanID OBJECT-TYPE
SYNTAX VlanId
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The VLAN ID of the entry."
::= { dL2FdbMacChangeHistoryEntry 3 }
dL2FdbMacChangeHistoryMacAddr OBJECT-TYPE
SYNTAX MacAddress
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The MAC address of the entry."
::= { dL2FdbMacChangeHistoryEntry 4 }
dL2FdbMacChangeHistoryPortNum OBJECT-TYPE
SYNTAX Integer32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The port number of the unicast address."
::= { dL2FdbMacChangeHistoryEntry 5 }
-- -----------------------------------------------------------------------------
dL2FdbNotifyInfo OBJECT IDENTIFIER ::= { dL2FdbMIBObjects 6 }
dL2FdbMacChangeNotifyInfo OBJECT-TYPE
SYNTAX OCTET STRING(SIZE (1..1024))
MAX-ACCESS accessible-for-notify
STATUS current
DESCRIPTION
"This object indicates the information for the device MAC address
changes. And the detailed information include:
Operation Code + MAC address + Box ID (or slot ID) + Port Number + Zero...
Operation Code: 1, 2
1 means learned a new MAC address
2 means deleted an old MAC address.
Box ID: The switch box ID, for standalone device, it always 1.
Port Number: The hysical port/port-channellearned or deleted for
the box,if port-channel, the box id is invalid
Zero: Used to separate each message(Operate Code + MAC address +
Box ID + Port Number)."
::= { dL2FdbNotifyInfo 1 }
-- ***************************************************************************
-- Notifications
-- ***************************************************************************
dL2FdbMacNotification NOTIFICATION-TYPE
OBJECTS { dL2FdbMacChangeNotifyInfo }
STATUS current
DESCRIPTION
"This trap indicates a MAC address is added to or removed from the
address table. "
::= { dL2FdbMIBNotifications 1 }
-- ***************************************************************************
-- Conformance
-- ***************************************************************************
dL2FdbCompliances OBJECT IDENTIFIER ::= { dL2FdbMIBConformance 1 }
dL2FdbCompliance MODULE-COMPLIANCE
STATUS current
DESCRIPTION
"The compliance statement for entities which implement the
DLINKSW-L2FDB-MIB."
MODULE -- this module
MANDATORY-GROUPS {
dL2FdbGlobalGroup,
dL2FdbMacAddrTableGroup,
dL2FdbInterfaceGroup,
dL2FdbMcastFilterModeCfgGroup
}
GROUP dL2FdbMacChangeNotifyCfgGroup
DESCRIPTION
"This group is required only if the MAC change notification is
implemented by the agent."
GROUP dL2FdbMacChangeNotifyGroup
DESCRIPTION
"This group is required only if the MAC change notification is
implemented by the agent."
GROUP dL2FdbMacChgNotificationGroup
DESCRIPTION
"This group is required only if the MAC change notification is
implemented by the agent."
::= { dL2FdbCompliances 1 }
dL2FdbGroups OBJECT IDENTIFIER ::= { dL2FdbMIBConformance 2 }
dL2FdbGlobalGroup OBJECT-GROUP
OBJECTS {
dL2FdbClearMacAddrByMacAddr,
dL2FdbClearMacAddrByIf,
dL2FdbClearAllMacAddr,
dL2FdbAgingTime,
dL2FdbDestHitEnabled
}
STATUS current
DESCRIPTION
"A collection of objects providing the gloal configuration for L2FDB"
::= { dL2FdbGroups 1 }
dL2FdbMacAddrTableGroup OBJECT-GROUP
OBJECTS {
dL2FdbStaticUnicastType,
dL2FdbStaticUnicastPortNum,
dL2FdbStaticUnicastRowStatus
}
STATUS current
DESCRIPTION
"A collection of objects providing the information of MAC-Address-Table for L2FDB"
::= { dL2FdbGroups 2 }
dL2FdbInterfaceGroup OBJECT-GROUP
OBJECTS {
dL2FdbIfMacLearningEnabled
}
STATUS current
DESCRIPTION
"A collection of objects providing the information of Interface Table for L2FDB"
::= { dL2FdbGroups 3 }
dL2FdbMacChangeNotifyCfgGroup OBJECT-GROUP
OBJECTS {
dL2FdbMacChangeEnabled,
dL2FdbMacChangeNotifInterval,
dL2FdbMacChangeNotifyEnabled,
dL2FdbMacChangeHistorySize,
dL2FdbMacChangeNotifyInfo,
dL2FdbIfCtrlNotifyEnable
}
STATUS current
DESCRIPTION
"A collection of objects about the information for L2FDB notification.
"
::= { dL2FdbGroups 4 }
dL2FdbMcastFilterModeCfgGroup OBJECT-GROUP
OBJECTS {
dL2FdbMcastFilterMode
}
STATUS current
DESCRIPTION
"A collection of objects about the configuration for multicast
filter mode.
"
::= { dL2FdbGroups 5 }
dL2FdbMacChangeNotifyGroup OBJECT-GROUP
OBJECTS {
dL2FdbMacChangeHistoryOp,
dL2FdbMacChangeHistoryVlanID,
dL2FdbMacChangeHistoryMacAddr,
dL2FdbMacChangeHistoryPortNum
}
STATUS current
DESCRIPTION
"The notifications information used for the change of
MAC address table.
"
::= { dL2FdbGroups 6 }
dL2FdbMacChgNotificationGroup NOTIFICATION-GROUP
NOTIFICATIONS {
dL2FdbMacNotification
}
STATUS current
DESCRIPTION
"The collection of notifications used for monitoring the change of
MAC address table."
::= { dL2FdbGroups 7 }
END

View File

@ -0,0 +1,207 @@
-- *****************************************************************
-- DLINKSW-LACP-EXT-MIB.mib : D-Link Link Aggregation Control Extenstions MIB
--
-- Copyright (c) 2013 D-Link Corporation, all rights reserved.
--
-- *****************************************************************
DLINKSW-LACP-EXT-MIB DEFINITIONS ::= BEGIN
IMPORTS
MODULE-IDENTITY , OBJECT-TYPE, Integer32
FROM SNMPv2-SMI
RowStatus
FROM SNMPv2-TC
MODULE-COMPLIANCE, OBJECT-GROUP
FROM SNMPv2-CONF
InterfaceIndex
FROM IF-MIB
PortList
FROM Q-BRIDGE-MIB
dlinkIndustrialCommon
FROM DLINK-ID-REC-MIB;
dlinkSwLacpExtMIB MODULE-IDENTITY
LAST-UPDATED "201301180000Z"
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
"The MIB module for managing D-Link LACP extensions which are
not covered by standard MIBs."
REVISION "201301180000Z"
DESCRIPTION
"Initial revision of this MIB module."
::= { dlinkIndustrialCommon 4 }
dLacpExtMIBNotifications OBJECT IDENTIFIER ::= { dlinkSwLacpExtMIB 0 }
dLacpExtMIBObjects OBJECT IDENTIFIER ::= { dlinkSwLacpExtMIB 1 }
dLacpExtMIBConformance OBJECT IDENTIFIER ::= { dlinkSwLacpExtMIB 2 }
-----------------------------------------------
-- Lacp Objects
-----------------------------------------------
dLacpExtLoadBalanceAlgorithm OBJECT-TYPE
SYNTAX INTEGER {
dstIp(1),
dstMac(2),
srcDstIp(3),
srcDstMac(4),
srcIp(5),
srcMac(6)
}
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object configures load balance algorithm that the switch uses
to distribute packets across ports in the same channel.
dstIp(1) - Specify that the switch should examine the destination
IP address.
dstMac(2) - Specify that the switch should examine the destination
MAC address.
srcDstIp(3) - Specify that the switch should examine the source
and destination IP address.
srcDstMac(4) - Specify that the switch should examine the source and
destination MAC address.
srcIp(5) - Specify that the switch should examine the source IP
address.
srcMac(6) - Specify that the switch should examine the source MAC
address.
"
::= { dLacpExtMIBObjects 1 }
dLacpExtGroupTable OBJECT-TYPE
SYNTAX SEQUENCE OF DLacpExtGroupEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This table consists of a list of channel group information."
::= { dLacpExtMIBObjects 2 }
dLacpExtGroupEntry OBJECT-TYPE
SYNTAX DLacpExtGroupEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"An entry presents a channel group information, which is not
covered by standard MIB(s)."
INDEX { dLacpExtGroupChannelNo }
::= { dLacpExtGroupTable 1 }
DLacpExtGroupEntry ::=
SEQUENCE {
dLacpExtGroupChannelNo Integer32,
dLacpExtGroupIfIndex InterfaceIndex,
dLacpExtGroupType INTEGER,
dLacpExtGroupMemberPorts PortList,
dLacpExtGroupActiveMemberPorts PortList,
dLacpExtGroupRowStatus RowStatus
}
dLacpExtGroupChannelNo OBJECT-TYPE
SYNTAX Integer32 (1 .. 255)
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This object indicates the channel group ID. "
::= { dLacpExtGroupEntry 1 }
dLacpExtGroupIfIndex OBJECT-TYPE
SYNTAX InterfaceIndex
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The ifIndex of the channel group."
::= { dLacpExtGroupEntry 2 }
dLacpExtGroupType OBJECT-TYPE
SYNTAX INTEGER {
static(1),
lacp(2)
}
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"This object indicates the type of channel group.
"
::= { dLacpExtGroupEntry 3 }
dLacpExtGroupMemberPorts OBJECT-TYPE
SYNTAX PortList
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"This object indicates the ports which are grouped into this
channel group.
"
::= { dLacpExtGroupEntry 4 }
dLacpExtGroupActiveMemberPorts OBJECT-TYPE
SYNTAX PortList
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"This object indicates the operational bundled ports in this
channel group.
"
::= { dLacpExtGroupEntry 5 }
dLacpExtGroupRowStatus OBJECT-TYPE
SYNTAX RowStatus
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"This object indicates the status of this entry."
::= { dLacpExtGroupEntry 6 }
-----------------------------------------------
-- Lacp Conformance
-----------------------------------------------
dLacpExtCompliances OBJECT IDENTIFIER ::= { dLacpExtMIBConformance 1 }
dLacpExtCompliance MODULE-COMPLIANCE
STATUS current
DESCRIPTION
"The compliance statement for entities which implement the
DLINKSW-LACP-EXT-MIB."
MODULE
MANDATORY-GROUPS {
dLacpExtAlgGroup,
dLacpExtChannelGrpInfoGroup
}
::= { dLacpExtCompliances 1 }
dLacpExtGroups OBJECT IDENTIFIER ::= { dLacpExtMIBConformance 2 }
dLacpExtAlgGroup OBJECT-GROUP
OBJECTS {
dLacpExtLoadBalanceAlgorithm
}
STATUS current
DESCRIPTION
"A collection of objects providing information about the algorithm of
link aggregation load sharing."
::= { dLacpExtGroups 1 }
dLacpExtChannelGrpInfoGroup OBJECT-GROUP
OBJECTS {
dLacpExtGroupIfIndex,
dLacpExtGroupType,
dLacpExtGroupMemberPorts,
dLacpExtGroupActiveMemberPorts,
dLacpExtGroupRowStatus
}
STATUS current
DESCRIPTION
"A collection of objects providing configuration of channel groups."
::= { dLacpExtGroups 2 }
END

384
mibs/dlink/DLINKSW-LBD-MIB Normal file
View File

@ -0,0 +1,384 @@
-- *****************************************************************
-- DLINKSW-LBD-MIB.mib : Loopback Detection MIB
--
-- Copyright (c) 2014 D-Link Corporation, all rights reserved.
--
-- *****************************************************************
DLINKSW-LBD-MIB DEFINITIONS ::= BEGIN
IMPORTS
MODULE-IDENTITY,OBJECT-TYPE,NOTIFICATION-TYPE
FROM SNMPv2-SMI
DisplayString,TruthValue FROM SNMPv2-TC
MODULE-COMPLIANCE, OBJECT-GROUP FROM SNMPv2-CONF
InterfaceIndex FROM IF-MIB
VlanId FROM Q-BRIDGE-MIB
Dlink2kVlanList FROM DLINKSW-TC-MIB
dlinkIndustrialCommon FROM DLINK-ID-REC-MIB;
dlinkSwLoopbackDetectMIB MODULE-IDENTITY
LAST-UPDATED "201410270000Z"
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 module defines objects for loopback detection."
REVISION "201410270000Z"
DESCRIPTION
"Add node dLbdAddressType."
REVISION "201310230000Z"
DESCRIPTION
"Add node dLbdActMode, dLbdNotifyEnabled and dLbdNotifyInfo."
REVISION "201302050000Z"
DESCRIPTION
"This is the first version of the MIB file for 'loopback
detection' functionality."
::= { dlinkIndustrialCommon 46 }
-- -----------------------------------------------------------------------------
dLbdNotifications OBJECT IDENTIFIER ::= { dlinkSwLoopbackDetectMIB 0 }
dLbdObjects OBJECT IDENTIFIER ::= { dlinkSwLoopbackDetectMIB 1 }
dLbdConformance OBJECT IDENTIFIER ::= { dlinkSwLoopbackDetectMIB 2 }
dLbdCtrlInterval OBJECT-TYPE
SYNTAX INTEGER (1..32767)
UNITS "seconds"
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object indicates the interval in seconds at which LBD
packets are transmitted."
::= { dLbdObjects 1 }
dLbdCtrlGlobalEnabled OBJECT-TYPE
SYNTAX TruthValue
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object indicates whether the loopback detection is enabled
globally.
"
::= { dLbdObjects 2 }
dLbdCtrlMode OBJECT-TYPE
SYNTAX INTEGER {
portBased(1),
vlanBased(2)
}
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object indicates the loopback detection mode.
portBased(1) - The loopback detection works in port-based mode.
vlanBased(2) - The loopback detection works in vlan-based mode."
::= { dLbdObjects 3 }
dLbdActMode OBJECT-TYPE
SYNTAX INTEGER {
shutdown(1),
none(2)
}
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object indicates the loopback detection action mode.
shundown(1) - When loop has been detected, the port will be shut down (disabled)
in port-based mode, the traffic will be block on specific VLAN in VLAN-based mode.
This is the default value.
none(2) - When loop has been detected, the port will NOT be disabled in
port-based mode, the traffic will NOT be block on specific VLAN in
VLAN-based mode. Just send log and trap."
::= { dLbdObjects 6 }
dLbdNotifyEnabled OBJECT-TYPE
SYNTAX TruthValue
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"Set to 'true' to enable global SNMP notification for loopback detection feature.
Setting the object to 'false' will disable SNMP notifications."
::= { dLbdObjects 7}
dLbdIfCfgTable OBJECT-TYPE
SYNTAX SEQUENCE OF DLbdIfCfgEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"A list of loopback detection information entries."
::= { dLbdObjects 4 }
dLbdAddressType OBJECT-TYPE
SYNTAX INTEGER {
multicast(1),
broadcast(2)
}
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object indicates the CTP packet's DA type.
multicast(1) - Only multicast CTP packet will be sent.The CTP packet's DA is CF-00-00-00-00-00.
broadcast(2) - Only broadcast CTP packet will be sent.The CTP packet's DA is FF-FF-FF-FF-FF-FF."
::= { dLbdObjects 9 }
dLbdIfCfgEntry OBJECT-TYPE
SYNTAX DLbdIfCfgEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"An entry indicates the setting of loopback detection on an
interface."
INDEX { dLbdIfCfgIndex }
::= { dLbdIfCfgTable 1 }
DLbdIfCfgEntry ::= SEQUENCE {
dLbdIfCfgIndex InterfaceIndex,
dLbdIfCfgEnabled TruthValue,
dLbdIfLoopStatus INTEGER,
dLbdIfLoopVlans DisplayString
}
dLbdIfCfgIndex OBJECT-TYPE
SYNTAX InterfaceIndex
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This object indicates the ifIndex of the physical port or port
channel."
::= { dLbdIfCfgEntry 1 }
dLbdIfCfgEnabled OBJECT-TYPE
SYNTAX TruthValue
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object indicates whether the loopback detection is enabled on
the interface.
"
::= { dLbdIfCfgEntry 2 }
dLbdIfLoopStatus OBJECT-TYPE
SYNTAX INTEGER {
normal(1),
loop(2)
}
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"This object indicates whether the interface loopback status."
::= { dLbdIfCfgEntry 3 }
dLbdIfLoopVlans OBJECT-TYPE
SYNTAX DisplayString
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"This object indicates the VLAN list that has detected a loopback."
::= { dLbdIfCfgEntry 4 }
-- ----------------------------------------------------------------------------
dLbdVlanCtrlObjects OBJECT-IDENTITY
STATUS current
DESCRIPTION
"This identifier defines a subtree under which a set of objects are
defined to enable loopback detection on specific VLANs. That is,
LBD Control packet will be sent out for the VLAN that the port has
the membership and within the specified VLAN list (the correspondig
bit is '1').
When enabled VLAN ID list is empty, that is both dLbdVlanCrlFirst2K
and dLbdVlanCrlSecond2K are zero lenth string, LBD Control packet
is sent out for all VLANs that the port has the membership."
::= { dLbdObjects 5 }
dLbdVlanCrlFirst2K OBJECT-TYPE
SYNTAX Dlink2kVlanList
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object specifies the loopback detection enabled VLAN in a
string of octets containing one bit per VLAN for VLANs 1 to 2048.
If the bit is set to '1', then the VLAN is enabled for loopback
detection."
::= { dLbdVlanCtrlObjects 1 }
dLbdVlanCrlSecond2K OBJECT-TYPE
SYNTAX Dlink2kVlanList
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object specifies the loopback detection enabled VLAN in a
string of octets containing one bit per VLAN for VLANs 2049 to 4095.
If the bit is set to '1', then the VLAN is enabled for loopback
detection."
::= { dLbdVlanCtrlObjects 2 }
-- -----------------------------------------------------------------------------
-- -----------------------------------------------------------------------------
dLbdNotifyInfo OBJECT-IDENTITY
STATUS current
DESCRIPTION
"This identifier is a group for variable bindings for traps."
::= { dLbdObjects 8 }
dLbdNotifyInfoIfIndex OBJECT-TYPE
SYNTAX InterfaceIndex
MAX-ACCESS accessible-for-notify
STATUS current
DESCRIPTION
"This object indicates the interface id that has detected a loopback."
::= { dLbdNotifyInfo 1 }
dLbdNotifyInfoVlanId OBJECT-TYPE
SYNTAX VlanId
MAX-ACCESS accessible-for-notify
STATUS current
DESCRIPTION
"This object indicates the vlan id that has detected a loopback."
::= { dLbdNotifyInfo 2 }
-- -----------------------------------------------------------------------------
-- -----------------------------------------------------------------------------
-- MIB Notifications statements
-- -----------------------------------------------------------------------------
dLbdLoopOccurred NOTIFICATION-TYPE
OBJECTS {
dLbdNotifyInfoIfIndex
}
STATUS current
DESCRIPTION
"This trap is sent when an interface loop occurs."
::= { dLbdNotifications 1 }
dLbdLoopRestart NOTIFICATION-TYPE
OBJECTS {
dLbdNotifyInfoIfIndex
}
STATUS current
DESCRIPTION
"This trap is sent when an interface loop restarts after the interval time."
::= { dLbdNotifications 2 }
dLbdVlanLoopOccurred NOTIFICATION-TYPE
OBJECTS {
dLbdNotifyInfoIfIndex,
dLbdNotifyInfoVlanId
}
STATUS current
DESCRIPTION
"This trap is sent when an interface with a VID loop occurs."
::= { dLbdNotifications 3 }
dLbdVlanLoopRestart NOTIFICATION-TYPE
OBJECTS {
dLbdNotifyInfoIfIndex,
dLbdNotifyInfoVlanId
}
STATUS current
DESCRIPTION
"This trap is sent when an interface loop with a VID restarts after the interval time."
::= { dLbdNotifications 4 }
-- -----------------------------------------------------------------------------
-- MIB Conformance statements
-- -----------------------------------------------------------------------------
dLbdMIBCompliances OBJECT IDENTIFIER
::= { dLbdConformance 1 }
dLbdMIBGroups OBJECT IDENTIFIER
::= { dLbdConformance 2 }
dLbdMIBCompliance MODULE-COMPLIANCE
STATUS current
DESCRIPTION
"The compliance statement for entities which implement the
DLINKSW-LBD-MIB."
MODULE -- this module
MANDATORY-GROUPS {
dLbdCfgGroup,
dLbdIfCfgGroup
}
GROUP dLbdCtrlModeGroup
DESCRIPTION
"This group is mandatory if vlan-based mode is supported."
GROUP dLbdVlanCtrlGroup
DESCRIPTION
"This group is mandatory if vlan-based mode is supported."
::= { dLbdMIBCompliances 1 }
-- -----------------------------------------------------------------------------
dLbdCfgGroup OBJECT-GROUP
OBJECTS {
dLbdCtrlInterval,
dLbdCtrlGlobalEnabled,
dLbdActMode,
dLbdNotifyEnabled,
dLbdNotifyInfoIfIndex,
dLbdNotifyInfoVlanId,
dLbdAddressType
}
STATUS current
DESCRIPTION
"A collection of objects providing management of the loopback
detection feature."
::= { dLbdMIBGroups 1 }
dLbdIfCfgGroup OBJECT-GROUP
OBJECTS {
dLbdIfCfgEnabled,
dLbdIfLoopStatus,
dLbdIfLoopVlans
}
STATUS current
DESCRIPTION
"A collection of objects providing the per-interface control of
loopback detection."
::= { dLbdMIBGroups 2 }
dLbdCtrlModeGroup OBJECT-GROUP
OBJECTS {
dLbdCtrlMode
}
STATUS current
DESCRIPTION
"A collection of objects providing the mode of loopback detection."
::= { dLbdMIBGroups 3 }
dLbdVlanCtrlGroup OBJECT-GROUP
OBJECTS {
dLbdVlanCrlFirst2K,
dLbdVlanCrlSecond2K
}
STATUS current
DESCRIPTION
"A collection of objects providing the VLAN list of loopback
detection."
::= { dLbdMIBGroups 4 }
dLbdNotificationGroup NOTIFICATION-GROUP
NOTIFICATIONS {
dLbdLoopOccurred,
dLbdLoopRestart,
dLbdVlanLoopOccurred,
dLbdVlanLoopRestart
}
STATUS current
DESCRIPTION
"A collection of notifications used for monitoring the hosts under the
control of loopback detection."
::= { dLbdMIBGroups 5 }
END

260
mibs/dlink/DLINKSW-LED-MIB Normal file
View File

@ -0,0 +1,260 @@
-- *****************************************************************
-- DLINKSW-LED-MIB.mib : LED Mib
--
-- Copyright (c) 2013 D-Link Corporation, all rights reserved.
--
-- *****************************************************************
DLINKSW-LED-MIB DEFINITIONS ::= BEGIN
IMPORTS
OBJECT-GROUP, MODULE-COMPLIANCE
FROM SNMPv2-CONF
MODULE-IDENTITY, OBJECT-TYPE
FROM SNMPv2-SMI
dlinkIndustrialCommon
FROM DLINK-ID-REC-MIB;
dlinkSwLedMIB MODULE-IDENTITY
LAST-UPDATED "201309130000Z"
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
"A MIB module for LED status.
"
REVISION "201309130000Z"
DESCRIPTION
"Add 'LED off' state for stackingID(12) LED."
REVISION "201309060000Z"
DESCRIPTION
"Initial version of this MIB module."
::= { dlinkIndustrialCommon 163 }
-- -----------------------------------------------------------------------------
dLedMIBNotifications OBJECT IDENTIFIER ::= { dlinkSwLedMIB 0 }
dLedMIBObjects OBJECT IDENTIFIER ::= { dlinkSwLedMIB 1 }
dLedMIBConformance OBJECT IDENTIFIER ::= { dlinkSwLedMIB 2 }
--------------------------------------------------------------------------------
dLedInfoTable OBJECT-TYPE
SYNTAX SEQUENCE OF DLedInfoEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This table consists of a list of information of LEDs."
::= { dLedMIBObjects 1 }
dLedInfoEntry OBJECT-TYPE
SYNTAX DLedInfoEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"An entry contains information of one box."
INDEX {dLedBoxId}
::= { dLedInfoTable 1 }
DLedInfoEntry ::=
SEQUENCE {
dLedBoxId
INTEGER,
dLedSysLedStatus
OCTET STRING,
dLedIfLedStatus
OCTET STRING
}
dLedBoxId OBJECT-TYPE
SYNTAX INTEGER
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This variable uniquely identifies the box in the stack, module in a
rack and the value 1 MUST be used for non-modular devices."
::= { dLedInfoEntry 1 }
dLedSysLedStatus OBJECT-TYPE
SYNTAX OCTET STRING
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"This object is a set of system LED indicators.
Every type LED's format is as follow:
+-------------------------------------+
| LED | LED | Data |...| Data |
| Type | Length | | | |
+-------------------------------------+
1octet 1octet 3octet
LED Type(1 octet):
rps(1) - indicates RPS LED,
console(2) - indicates console LED,
master(3) - indicates device role LED,
sdCard(4) - indicates SD card LED,
linkMode(5) - indicates link mode LED,
poeMode(6) - indicates PoE mode LED,
alarm(7) - indicates alarm LED,
sysPower(8) - indicates system power LED,
mgmtPort(9) - indicates management port LED,
fan(10) - indicates device's fan LED,
sioPort(11) - indicates SIO port LED,
stackingID(12) - indicates stacking ID LED
LED Length(1 octet): indicates Data's length of a specified LED type in number of octets.
Data(3 octets): indicates LED status of specified LED type. Three consecutive octets are used
to represent the information of one LED. If given LED type has more than one LEDs,
there are multiple such triads in the data field.
If LED Type is stackingID(12), below predefined values represent stacking ID LED's
status, with the most significant byte in the first octet.
index box id LED display
0x0 -- '0'
0x1 -- '1'
0x2 -- '2'
0x3 -- '3'
0x4 -- '4'
0x5 -- '5'
0x6 -- '6'
0x7 -- '7'
0x8 -- '8'
0x9 -- '9'
0xA -- '10'
0xB -- '11'
0xC -- '12'
0xD -- '13'
0xE -- '14'
0xF -- '15'
0x10 -- '16'
0x11 -- '17'
0x12 -- '18'
0x13 -- '19'
0x100 -- 'H'
0x101 -- 'h'
0x102 -- 'E'
0x103 -- 'G'
0xfff -- LED off state
Else these 3 octets shows LED's status value,format is as below:
+-------------------------+
| LED Instance | LED |
| Index | Status |
+-------------------------+
1 octet 2 octet
LED instance index(high octet) indicates the instance ID of specified LED type.
For example, if the LED type is fan(10), it is the fan ID.
LED status(low 2 octets) is the status of one LED. Its data format is as below:
+-----------------------+
| Color | LED Lighting |
| Bits | Mode |
+-----------------------+
15 4 3 0
Bit0 to bit3 indicates the mode of LED lighting.
0x0 means this LED is not supported.
0x1 means LED is off.
0x2 means LED is fixed lighting.
0x3 indicates LED is blinking.
0x4 indicates LED is alternating lighting between more than one color.
Colors are determined by color bits.
0x5-0xF are reserved.
Bit4 to bit15 are color bits, they indicate the LED's specific color. If a
color bit is set, it stands for corresponding color. Only when LED lighting mode
is alternating lighting(low nibble is 0x4), multi-bit can be set.
bit4 - green bit
bit5 - amber bit
bit6 - red bit
bit7-bit15 are reserved.
If a LED instance consists of more LEDs, for example, if power source has separate input, state
LEDs, there will be two LED data and their instance index is the same power ID. One LED data for the input LED,
another for the state LED. The meaning of each LED data is device based.
+---------------------------------------------------------------------------------------------+
| sysPower(8) | 12 | power1 | LED | power1 | LED | power2 | LED | power2 | LED |...
| | | | Status | | Status | | Status | | Status |
+---------------------------------------------------------------------------------------------+
"
::= { dLedInfoEntry 2 }
dLedIfLedStatus OBJECT-TYPE
SYNTAX OCTET STRING
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"This object is a set of ethernet port LED indicators. Format is as follow:
+--------------------------------------------+
| Total Port | Port1 |....| PortN |
| Number | LED Status | | LED Status |
+--------------------------------------------+
1octets 2octets
Total Port Number(1 octet): indicates the number of following port LED status.
Port LED Status(2 octets): indicates one ethernet port LED's status, format is as below:
+-----------------------+
| Color | LED lighting |
| bits | mode |
+-----------------------+
15 4 3 0
Bit0 to bit3 indicates the mode of LED lighting.
0x0 means this LED is not supported.
0x1 means LED is off.
0x2 means LED is fixed lighting.
0x3 indicates LED is blinking.
0x4 indicates LED is alternating lighting between more than one color.
Colors are determined by color bits.
0x5-0xF are reserved.
Bit4 to bit15 are color bits,they indicate the LED's specific color. If a
color bit is set, it stands for corresponding color. Only when LED lighting mode
is alternating lighting(low nibble is 0x4), multi-bit can be set.
bit4 - green bit
bit5 - amber bit
bit6 - red bit
bit7-bit15 are reserved.
Each LED Status corresponds to one port, all ethernet port LEDs' status are arranged
from lowest number port to high.
"
::= { dLedInfoEntry 3 }
-- *****************************************************************************
-- MIB Conformance statements
-- *****************************************************************************
dLedMIBCompliances OBJECT IDENTIFIER ::= { dLedMIBConformance 1 }
dLedMIBGroups OBJECT IDENTIFIER ::= { dLedMIBConformance 2 }
dLedMIBCompliance MODULE-COMPLIANCE
STATUS current
DESCRIPTION
"The compliance statement for entities which implement the
DLINKSW-LED-MIB."
MODULE -- this module
MANDATORY-GROUPS {
dLedInfoGroup
}
::= { dLedMIBCompliances 1 }
dLedInfoGroup OBJECT-GROUP
OBJECTS {
dLedSysLedStatus,
dLedIfLedStatus
}
STATUS current
DESCRIPTION
"A collection of objects to display the LED status."
::= { dLedMIBGroups 1 }
END

View File

@ -0,0 +1,267 @@
-- *****************************************************************
-- DLINKSW-LLDP-EXT-MIB.mib : LLDP Extension MIB
--
-- Copyright (c) 2013 D-Link Corporation, all rights reserved.
--
-- *****************************************************************
DLINKSW-LLDP-EXT-MIB DEFINITIONS ::= BEGIN
IMPORTS
MODULE-IDENTITY, OBJECT-IDENTITY, OBJECT-TYPE,Integer32
FROM SNMPv2-SMI
MODULE-COMPLIANCE, OBJECT-GROUP
FROM SNMPv2-CONF
TruthValue
FROM SNMPv2-TC
lldpLocPortNum
FROM LLDP-MIB
dlinkIndustrialCommon
FROM DLINK-ID-REC-MIB;
dlinkSwLldpExtMIB MODULE-IDENTITY
LAST-UPDATED "201305290000Z"
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 module defines objects for DLINK LLDP private function."
REVISION "201302250000Z"
DESCRIPTION
"This is the first version of the MIB file.
"
::= { dlinkIndustrialCommon 20 }
-- -----------------------------------------------------------------------------
dLldpExtMIBNotifications OBJECT IDENTIFIER ::= { dlinkSwLldpExtMIB 0 }
dLldpExtMIBObjects OBJECT IDENTIFIER ::= { dlinkSwLldpExtMIB 1 }
dLldpExtMIBConformance OBJECT IDENTIFIER ::= { dlinkSwLldpExtMIB 2 }
-- -----------------------------------------------------------------------------
dLldpExtLldpEnabled OBJECT-TYPE
SYNTAX TruthValue
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object indicates whether the LLDP feature is
globally enabled.
"
::= { dLldpExtMIBObjects 1 }
dLldpExtLldpForward OBJECT-TYPE
SYNTAX TruthValue
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object indicates whether the LLDP Forward feature is
globally enabled.
"
::= { dLldpExtMIBObjects 2 }
dLldpExtLldpTrapEnabled OBJECT-TYPE
SYNTAX TruthValue
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object indicates whether the LLDP Trap feature is
globally enabled.
"
::= { dLldpExtMIBObjects 3 }
dLldpExtLldpMedTrapEnabled OBJECT-TYPE
SYNTAX TruthValue
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object indicates whether the LLDP MED Trap feature is
globally enabled.
"
::= { dLldpExtMIBObjects 4 }
-- -----------------------------------------------------------------------------
dLldpExtClearStats OBJECT IDENTIFIER ::= { dLldpExtMIBObjects 5 }
dLldpExtClearGlobalStats OBJECT-TYPE
SYNTAX INTEGER {
clear(1),
noOp(2)
}
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object is used to clear global LLDP statistics when set
to 'clear'.
No action is taken if this object is set to 'noOp'.
When read, the value 'noOp' is returned.
"
::= { dLldpExtClearStats 1 }
dLldpExtClearAllPortsStats OBJECT-TYPE
SYNTAX INTEGER {
clear(1),
noOp(2)
}
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object is used to clear LLDP counter information for all
ports when set to 'clear'.
No action is taken if this object is set to 'noOp'.
When read, the value 'noOp' is returned.
"
::= { dLldpExtClearStats 2 }
dLldpExtClearCounterByPort OBJECT-TYPE
SYNTAX Integer32(0..4096)
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object indicates the lldpLocPortNum of the port on which
LLDP counter information will be cleared.
When read, a value of 0 is returned."
::= { dLldpExtClearStats 3 }
dLldpExtClearAllNeighbors OBJECT-TYPE
SYNTAX INTEGER {
clear(1),
noOp(2)
}
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object is used to clear LLDP neighboring information for all
ports when set to 'clear'.
No action is taken if this object is set to 'noOp'.
When read, the value 'noOp' is returned.
"
::= { dLldpExtClearStats 4 }
dLldpExtClearNeighborsByPort OBJECT-TYPE
SYNTAX Integer32(0..4096)
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object indicates the lldpLocPortNum of the port on which
the LLDP neighboring information will be cleared when set to
'clear'.
When read, a value of 0 is returned."
::= { dLldpExtClearStats 5 }
-- -----------------------------------------------------------------------------
dLldpExtPortSubTypeTable OBJECT-TYPE
SYNTAX SEQUENCE OF DLldpExtPortSubTypeEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"The table is used to configure the subtype of Port ID TLV for ports."
::= { dLldpExtMIBObjects 6 }
dLldpExtPortSubTypeEntry OBJECT-TYPE
SYNTAX DLldpExtPortSubTypeEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"An entry contains the information of subtype of Port ID TLV on a port."
INDEX { lldpLocPortNum }
::= { dLldpExtPortSubTypeTable 1 }
DLldpExtPortSubTypeEntry ::= SEQUENCE {
dLldpExtPortSubType INTEGER
}
dLldpExtPortSubType OBJECT-TYPE
SYNTAX INTEGER {
localPortNumber(1),
macAddress(2)
}
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object represents how to encode the port ID in Port ID TLV.
localPortNumber - The 'port ID' will be encoded with local port number.
macAddress(2) -The 'port ID' will be encoded with MAC address.
"
::= { dLldpExtPortSubTypeEntry 1 }
-- ------------------------------------------------------------------------------------
-- MIB Conformance statements
-- ------------------------------------------------------------------------------------
dLldpExtMIBCompliances OBJECT IDENTIFIER ::= { dLldpExtMIBConformance 1 }
dLldpExtMIBGroups OBJECT IDENTIFIER ::= { dLldpExtMIBConformance 2 }
-- compliance statements
dLldpExtMIBCompliance MODULE-COMPLIANCE
STATUS current
DESCRIPTION
"The compliance statement for entities which
implement the DLINKSW-LLDP-EXT-MIB."
MODULE -- this module
MANDATORY-GROUPS {
dLldpExtBasicCfgGroup,
dLldpExtClearStatsCounterGroup
}
GROUP dLldpExtClearNeighborGroup
DESCRIPTION
"Implementation of this group is optional."
GROUP dLldpExtPortSubtypeGroup
DESCRIPTION
"Implementation of this group is optional."
::= { dLldpExtMIBCompliances 1 }
dLldpExtBasicCfgGroup OBJECT-GROUP
OBJECTS {
dLldpExtLldpEnabled,
dLldpExtLldpForward,
dLldpExtLldpTrapEnabled,
dLldpExtLldpMedTrapEnabled
}
STATUS current
DESCRIPTION
"A collection of objects configures the LLDP feature."
::= { dLldpExtMIBGroups 1 }
dLldpExtClearStatsCounterGroup OBJECT-GROUP
OBJECTS {
dLldpExtClearGlobalStats,
dLldpExtClearAllPortsStats,
dLldpExtClearCounterByPort
}
STATUS current
DESCRIPTION
"A collection of objects clears the LLDP statistics of system
and ports."
::= { dLldpExtMIBGroups 2 }
dLldpExtClearNeighborGroup OBJECT-GROUP
OBJECTS {
dLldpExtClearAllNeighbors,
dLldpExtClearNeighborsByPort
}
STATUS current
DESCRIPTION
"A collection of objects clears the information learned from
neighbor(s)."
::= { dLldpExtMIBGroups 3 }
dLldpExtPortSubtypeGroup OBJECT-GROUP
OBJECTS {
dLldpExtPortSubType
}
STATUS current
DESCRIPTION
"A collection of objects configures the subtype of Port ID TLV."
::= { dLldpExtMIBGroups 4 }
END

View File

@ -0,0 +1,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

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,295 @@
-- *****************************************************************
-- DLINKSW-ND-INSPECT-MIB: ND Inspection MIB
--
-- Copyright (c) 2013 D-Link Corporation, all rights reserved.
--
-- *****************************************************************
DLINKSW-ND-INSPECT-MIB DEFINITIONS ::= BEGIN
IMPORTS
MODULE-IDENTITY,
Unsigned32,
OBJECT-TYPE
FROM SNMPv2-SMI
MODULE-COMPLIANCE,
OBJECT-GROUP
FROM SNMPv2-CONF
TruthValue,
RowStatus,
DisplayString
FROM SNMPv2-TC
ifIndex
FROM IF-MIB
dlinkIndustrialCommon
FROM DLINK-ID-REC-MIB;
dlinkSwNdInspecMIB MODULE-IDENTITY
LAST-UPDATED "201307180000Z"
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 module defines objects for ND Inspection."
REVISION "201307180000Z"
DESCRIPTION
"This is the first version of the MIB file.
"
::= { dlinkIndustrialCommon 144 }
--
-- Textual Conventions
--
-- -----------------------------------------------------------------------------
dNdInspecNotifications OBJECT IDENTIFIER ::= { dlinkSwNdInspecMIB 0 }
dNdInspecObjects OBJECT IDENTIFIER ::= { dlinkSwNdInspecMIB 1 }
dNdInspecConformance OBJECT IDENTIFIER ::= { dlinkSwNdInspecMIB 2 }
dNdInspecPolicy OBJECT IDENTIFIER ::= { dNdInspecObjects 1 }
dNdInspecInterface OBJECT IDENTIFIER ::= { dNdInspecObjects 2 }
-- -----------------------------------------------------------------------------
dNdInspecPolicyNumber OBJECT-TYPE
SYNTAX Unsigned32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Indicates the number of entries present in ND inspection policy
table."
::= { dNdInspecPolicy 1 }
dNdInspecPolicyTable OBJECT-TYPE
SYNTAX SEQUENCE OF DNdInspecPolicyEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"The table contains information about ND inspection policies."
::= { dNdInspecPolicy 2 }
dNdInspecPolicyEntry OBJECT-TYPE
SYNTAX DNdInspecPolicyEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"An entry defined in dNdInspecPolicyTable. An entry is
created/removed when an ND inspection policy is created/deleted."
INDEX { dNdInspecPolicyName }
::= { dNdInspecPolicyTable 1 }
DNdInspecPolicyEntry ::= SEQUENCE {
dNdInspecPolicyName DisplayString,
dNdInspecPolicyDeviceRole INTEGER,
dNdInspecPolicyValidateSrcMac TruthValue,
dNdInspecPolicyRowStatus RowStatus
}
dNdInspecPolicyName OBJECT-TYPE
SYNTAX DisplayString (SIZE (1..32))
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"The name of the ND inspection policy."
::= { dNdInspecPolicyEntry 1 }
dNdInspecPolicyDeviceRole OBJECT-TYPE
SYNTAX INTEGER {
host(1),
router(2)
}
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"Indicates the role of the attached device.
host: The NS/NA messages will be inspected.
router: The NS/NA inspection is not performed.
"
DEFVAL { host }
::= { dNdInspecPolicyEntry 2 }
dNdInspecPolicyValidateSrcMac OBJECT-TYPE
SYNTAX TruthValue
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"Indicates whether check the source MAC address against
the link-layer address for ND messages.
"
DEFVAL { false }
::= { dNdInspecPolicyEntry 3 }
dNdInspecPolicyRowStatus OBJECT-TYPE
SYNTAX RowStatus
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"This object allows the dynamic creation and deletion of a policy."
::= { dNdInspecPolicyEntry 99 }
-- -----------------------------------------------------------------------------
dNdInspecIfConfigTable OBJECT-TYPE
SYNTAX SEQUENCE OF DNdInspecIfConfigEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"A table provides the mechanism to attach ND inspection policy at
each physical interface capable of this feature.
"
::= { dNdInspecInterface 1 }
dNdInspecIfConfigEntry OBJECT-TYPE
SYNTAX DNdInspecIfConfigEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"A row instance contains the configuration to enable or
disable state for ND inspection at each physical interface
capable of this feature.
"
INDEX { ifIndex }
::= { dNdInspecIfConfigTable 1 }
DNdInspecIfConfigEntry ::= SEQUENCE {
dNdInspecIfEnabled TruthValue
}
dNdInspecIfEnabled OBJECT-TYPE
SYNTAX TruthValue
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object indicates the state of ND inspection on the interface.
If this object is set to 'true', ND inspection is enabled on the
interface.
If this object is set to 'false', ND inspection is disabled on the
interface.
"
::= { dNdInspecIfConfigEntry 1 }
-- -----------------------------------------------------------------------------
dNdInspecIfAttachTable OBJECT-TYPE
SYNTAX SEQUENCE OF DNdInspecIfAttachEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"A table provides the mechanism to configure the policy attaching
state for ND inspection at each physical interface capable of this feature.
"
::= { dNdInspecInterface 2 }
dNdInspecIfAttachEntry OBJECT-TYPE
SYNTAX DNdInspecIfAttachEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"A row instance contains the configuration to attach ND inspection policy
at each physical interface capable of this feature.
"
INDEX { ifIndex }
::= { dNdInspecIfAttachTable 1 }
DNdInspecIfAttachEntry ::= SEQUENCE {
dNdInspecIfAttachPolicy DisplayString,
dNdInspecIfAttachRowStatus RowStatus
}
dNdInspecIfAttachPolicy OBJECT-TYPE
SYNTAX DisplayString (SIZE (1..32))
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"This object indicates the name of ND inspection policy attached on
the interface.
"
::= { dNdInspecIfAttachEntry 1 }
dNdInspecIfAttachRowStatus OBJECT-TYPE
SYNTAX RowStatus
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"The row status variable, used according to installation
and removal conventions for conceptual rows."
::= { dNdInspecIfAttachEntry 99 }
-- Conformance
dNdInspecMIBCompliances OBJECT IDENTIFIER ::= { dNdInspecConformance 1 }
dNdInspecMIBGroups OBJECT IDENTIFIER ::= { dNdInspecConformance 2 }
dNdInspecMIBCompliance MODULE-COMPLIANCE
STATUS current
DESCRIPTION
"The compliance statement for DLINKSW-ND-INSPECT-MIB."
MODULE
MANDATORY-GROUPS {
dNdInspecIfConfigGroup
}
GROUP dNdInspecPolicyGroup
DESCRIPTION
"This group is mandatory only for the platform which supports
the configuration of ND inspection policy."
GROUP dNdInspecIfAttachGroup
DESCRIPTION
"This group is mandatory only for the platform which supports
attaching ND inspection policy per interface."
::= { dNdInspecMIBCompliances 1 }
-- Units of Conformance
dNdInspecIfConfigGroup OBJECT-GROUP
OBJECTS {
dNdInspecIfEnabled
}
STATUS current
DESCRIPTION
"A collection of objects which are used to configure as
well as show information regarding the ND inspection feature
per interface."
::= { dNdInspecMIBGroups 1 }
dNdInspecPolicyGroup OBJECT-GROUP
OBJECTS {
dNdInspecPolicyNumber,
dNdInspecPolicyDeviceRole,
dNdInspecPolicyValidateSrcMac,
dNdInspecPolicyRowStatus
}
STATUS current
DESCRIPTION
"A collection of objects which are used to configure as
well as show information regarding the ND inspection policy."
::= { dNdInspecMIBGroups 2 }
dNdInspecIfAttachGroup OBJECT-GROUP
OBJECTS {
dNdInspecIfAttachPolicy,
dNdInspecIfAttachRowStatus
}
STATUS current
DESCRIPTION
"A collection of object which are used to configure as
well as show information regarding the attaching policy
of interface."
::= { dNdInspecMIBGroups 3 }
END

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,74 @@
-- *****************************************************************
-- DLINKSW-NETWORK-PORT-PROTECT-MIB.mib : DLINK discovery protocol MIB
--
-- Copyright (c) 2013 D-Link Corporation, all rights reserved.
--
-- *****************************************************************
DLINKSW-NETWORK-PROTOCOL-PORT-PROTECT-MIB DEFINITIONS ::= BEGIN
IMPORTS
MODULE-IDENTITY,
OBJECT-TYPE,
Unsigned32
FROM SNMPv2-SMI
TruthValue
FROM SNMPv2-TC
MODULE-COMPLIANCE,
OBJECT-GROUP
FROM SNMPv2-CONF
dlinkIndustrialCommon
FROM DLINK-ID-REC-MIB;
dlinkSwNetworkProtocolPortProtectMIB MODULE-IDENTITY
LAST-UPDATED "201711270000Z"
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 module defines objects for network protocol port protect."
REVISION "201711270000Z"
DESCRIPTION
" This is the first version of the MIB file.
"
::= { dlinkIndustrialCommon 194 }
-- -----------------------------------------------------------------------------
dNetworkProtocolPortProtectObjects OBJECT IDENTIFIER ::= { dlinkSwNetworkProtocolPortProtectMIB 1 }
-- -----------------------------------------------------------------------------
-- Notifications
-- -----------------------------------------------------------------------------
-- -----------------------------------------------------------------------------
-- Objects
-- -----------------------------------------------------------------------------
dNetworkProtocolPortProtectCtrl OBJECT IDENTIFIER ::= { dNetworkProtocolPortProtectObjects 1 }
dNetworkProtocolPortProtectTCPState OBJECT-TYPE
SYNTAX TruthValue
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"When enable it switch will not response for the closed TCP port."
DEFVAL { true }
::= { dNetworkProtocolPortProtectCtrl 1 }
dNetworkProtocolPortProtectUDPState OBJECT-TYPE
SYNTAX TruthValue
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"When enable it switch will not response for the closed UDP port."
DEFVAL { true }
::= { dNetworkProtocolPortProtectCtrl 2 }
END

1110
mibs/dlink/DLINKSW-NTP-MIB Normal file

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,579 @@
-- *****************************************************************
-- DLINKSW-PACKET-MONITOR-MIB.mib : Packet Monitoring MIB
--
-- Copyright (c) 2013 D-Link Corporation, all rights reserved.
--
-- *****************************************************************
DLINKSW-PACKET-MONITOR-MIB DEFINITIONS ::= BEGIN
IMPORTS
MODULE-IDENTITY,
OBJECT-TYPE,
Unsigned32,
Integer32
FROM SNMPv2-SMI
DisplayString, RowStatus
FROM SNMPv2-TC
MODULE-COMPLIANCE, OBJECT-GROUP
FROM SNMPv2-CONF
ifIndex, InterfaceIndexOrZero
FROM IF-MIB
VlanId
FROM Q-BRIDGE-MIB
dlinkIndustrialCommon
FROM DLINK-ID-REC-MIB;
dlinkSwPktMonitorMIB MODULE-IDENTITY
LAST-UPDATED "201407210000Z"
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 module defines objects for configuring Monitoring Traffic.
Acronyms and terminology:
SPAN (Switched Port Analyzer): Mirror network traffic for analysis
by a network analyzer.
Local-SPAN: The SPAN feature is local when the monitored ports are
all located on the same switch as the destination port.
RSPAN (Remote SPAN): Source ports and destination ports that are
distributed across multiple switches, allowing one to monitor
any destination port located on the RSPAN VLAN."
REVISION "201407210000Z"
DESCRIPTION
"Added the dPktMonSessionSrcTxIfStgState for dPktMonSessionSrcTxIfTable."
REVISION "201309270000Z"
DESCRIPTION
"Added the dPktMonSessionRowStatus for dPktMonSessionTable.
Modified the MAX-ACCESS(read-write to read-create) for
dPktMonSessionDestRemoteVlanId, dPktMonSessionSourceRemoteVlanId
and dPktMonSessionDestInterface in dPktMonSessionTable.
Added the dPktMonSessionDestRemoteReplaceVlanTable for supporting
egress per flow RSPAN VLAN replacement on a RSPAN source switch."
REVISION "201303040000Z"
DESCRIPTION
"This is the first version of the MIB file."
::= { dlinkIndustrialCommon 12 }
-- -----------------------------------------------------------------------------
dPktMonMIBNotifications OBJECT IDENTIFIER ::= { dlinkSwPktMonitorMIB 0 }
dPktMonMIBObjects OBJECT IDENTIFIER ::= { dlinkSwPktMonitorMIB 1 }
dPktMonMIBConformance OBJECT IDENTIFIER ::= { dlinkSwPktMonitorMIB 2 }
-- -----------------------------------------------------------------------------
-- Monitor Session Management
-- -----------------------------------------------------------------------------
dPktMonSessionTableCurrEntries OBJECT-TYPE
SYNTAX Unsigned32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Indicates the number of entries present in the dPktMonSessionTable."
::= { dPktMonMIBObjects 1 }
dPktMonSessionTable OBJECT-TYPE
SYNTAX SEQUENCE OF DPktMonSessionEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"A table to create a packet monitoring session, allowing
packets on source ports or VLAN to be monitored via a
destination port."
::= { dPktMonMIBObjects 2 }
dPktMonSessionEntry OBJECT-TYPE
SYNTAX DPktMonSessionEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"Each entry in the dPktMonSessionTable describes configuration
information about Packet Monitoring."
INDEX { dPktMonSessionID }
::= { dPktMonSessionTable 1 }
DPktMonSessionEntry ::= SEQUENCE {
dPktMonSessionID Integer32,
dPktMonSessionSessionType INTEGER,
dPktMonSessionDestRemoteVlanId Integer32,
dPktMonSessionSourceRemoteVlanId Integer32,
dPktMonSessionDestInterface InterfaceIndexOrZero,
dPktMonSessionRowStatus RowStatus
}
dPktMonSessionID OBJECT-TYPE
SYNTAX Integer32 (1..80)
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"An index value that uniquely identifies the the packet
monitoring session associated with this information."
::= { dPktMonSessionEntry 1 }
dPktMonSessionSessionType OBJECT-TYPE
SYNTAX INTEGER {
none(0),
localSession(1),
remoteSourceSession(2),
remoteDestinationSession(3)
}
MAX-ACCESS read-only
STATUS current
DESCRIPTION
" Indicates the session type of the entry.
none (0):
Indicates the entry is inactive.
localSession (1):
Indicates the entry is operating as Local-SPAN.
remoteSourceSession (2):
Indicates the entry is operating as an RSPAN source session, which
associates SPAN source ports or VLANs with a destination RSPAN VLAN.
remoteDestinationSession (3):
Indicates the entry is operating as an RSPAN destination session.
An RSPAN destination session associates an RSPAN VLAN with a
destination port."
::= { dPktMonSessionEntry 2 }
dPktMonSessionDestRemoteVlanId OBJECT-TYPE
SYNTAX Integer32 (0 | 2..4094)
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"Indicates the RSPAN VLAN ID on the RSPAN source session.
This object should be considered in conjunction with the
dPktMonSessionDestInterface.
When this object is set with valid VLAN ID (2 to 4094), the mirrored
packets are transmitted with an RSPAN VLAN tag from the destination
port.
If this object is set to 0, the destination RSPAN VLAN becomes
unspecified, then the mirrored traffic will be transmitted without
additional RSPAN VLAN tag."
::= { dPktMonSessionEntry 3 }
dPktMonSessionSourceRemoteVlanId OBJECT-TYPE
SYNTAX Integer32 (0 | 2..4094)
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"Set this object with valid VLAN ID (2 to 4094) for an RSPAN destination
session.
If this object is set to 0, the source RSPAN VLAN becomes
unspecified."
::= { dPktMonSessionEntry 4 }
dPktMonSessionDestInterface OBJECT-TYPE
SYNTAX InterfaceIndexOrZero
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"Indicates the destination interface of the packet monitoring
session. Both physical ports and port channel are valid as
destination interfaces of monitor sessions.
A value of zero indicates that no interface is associated with
this monitoring session."
::= { dPktMonSessionEntry 5 }
dPktMonSessionRowStatus OBJECT-TYPE
SYNTAX RowStatus
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"The status of this conceptual row."
::= { dPktMonSessionEntry 6 }
-- -----------------------------------------------------------------------------
dPktMonSessionSrcIfObjects OBJECT-IDENTITY
STATUS current
DESCRIPTION
"This object identifier represents the objects that are configured
the source interfaces for monitor sessions."
::= { dPktMonMIBObjects 3 }
dPktMonSessionSrcRxIfTable OBJECT-TYPE
SYNTAX SEQUENCE OF DPktMonSessionSrcRxIfEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This table consists of a list of source interface on which the packets
received for packet monitor sessions.
The first index element identifies the dPktMonSessionEntry that a
source interface (indicated by second index element) for monitoring
receiving packets (dPktMonSessionSrcRxIfEntry) belongs to. An entry
is removed from this table when its corresponding dPktMonSessionEntry
is deleted.
For a monitor session, to add or delete a source receiving interface
by creating or removing an entry in this table.
The valid interface includes: physical port/port channel/vlan and cpu.
"
::= { dPktMonSessionSrcIfObjects 1 }
dPktMonSessionSrcRxIfEntry OBJECT-TYPE
SYNTAX DPktMonSessionSrcRxIfEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"Each entry in the dPktMonSessionSrcRxIfTable describes
the source interface on which the packets received for a monitor session."
INDEX { dPktMonSessionID, ifIndex }
::= { dPktMonSessionSrcRxIfTable 1 }
DPktMonSessionSrcRxIfEntry ::= SEQUENCE {
dPktMonSessionSrcRxIfRowStatus RowStatus
}
dPktMonSessionSrcRxIfRowStatus OBJECT-TYPE
SYNTAX RowStatus
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"The status of this conceptual row. Use this object to add/remove
an interface for a monitor session."
::= { dPktMonSessionSrcRxIfEntry 1 }
-- -----------------------------------------------------------------------------
dPktMonSessionSrcTxIfTable OBJECT-TYPE
SYNTAX SEQUENCE OF DPktMonSessionSrcTxIfEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This table consists of a list of source interface on which the packets
transmitted for packet monitor sessions.
The first index element identifies the dPktMonSessionEntry that a
source interface (indicated by second index element) for monitoring
transmitting packets (dPktMonSessionSrcTxIfEntry) belongs to. An entry
is removed from this table when its corresponding dPktMonSessionEntry is
deleted.
For a monitor session, to add or delete a source transmitting interface
by creating or removing an entry in this table.
"
::= { dPktMonSessionSrcIfObjects 2 }
dPktMonSessionSrcTxIfEntry OBJECT-TYPE
SYNTAX DPktMonSessionSrcTxIfEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"Each entry in the dPktMonSessionSrcTxIfTable describes
the source interface on which the packets transmitted for a monitor session."
INDEX { dPktMonSessionID, ifIndex }
::= { dPktMonSessionSrcTxIfTable 1 }
DPktMonSessionSrcTxIfEntry ::= SEQUENCE {
dPktMonSessionSrcTxIfRowStatus RowStatus,
dPktMonSessionSrcTxIfStgState INTEGER
}
dPktMonSessionSrcTxIfRowStatus OBJECT-TYPE
SYNTAX RowStatus
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"The status of this conceptual row. Use this object to add/remove
an interface for a monitor session."
::= { dPktMonSessionSrcTxIfEntry 1 }
dPktMonSessionSrcTxIfStgState OBJECT-TYPE
SYNTAX INTEGER {
no-care(1),
forwarding(2)
}
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"This object indicates if the monitoring of the packets transmitted
on the interface will be affected by the interface's STG status.
'no-care' - monitor the packets transmitted on the interface regardless
of the interface¡¯s STG status.
'forwarding' - monitor the packets transmitted on the interface only when
the interface¡¯s all STGs status are forwarding."
DEFVAL { no-care }
::= { dPktMonSessionSrcTxIfEntry 2 }
-- -----------------------------------------------------------------------------
dPktMonSessionSrcDropIfTable OBJECT-TYPE
SYNTAX SEQUENCE OF DPktMonSessionSrcDropIfEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This table consists of a list of source interface to monitor the
packets which dropped on received port.
The first index element identifies the dPktMonSessionEntry that a
source interface (indicated by second index element) for monitoring
dropped packets (dPktMonSessionSrcDropIfTable) belongs to. An entry
is removed from this table when its corresponding dPktMonSessionEntry
is deleted.
For a monitor session, to add or delete a source interface
for monitoring dropped packets by creating or removing an entry in
this table.
"
::= { dPktMonSessionSrcIfObjects 3 }
dPktMonSessionSrcDropIfEntry OBJECT-TYPE
SYNTAX DPktMonSessionSrcDropIfEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"Each entry in the dPktMonSessionSrcDropIfTable describes
the source interface to monitor the packets which dropped on received port
for a monitor session."
INDEX { dPktMonSessionID, ifIndex }
::= { dPktMonSessionSrcDropIfTable 1 }
DPktMonSessionSrcDropIfEntry ::= SEQUENCE {
dPktMonSessionSrcDropIfRowStatus RowStatus
}
dPktMonSessionSrcDropIfRowStatus OBJECT-TYPE
SYNTAX RowStatus
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"The status of this conceptual row. Use this object to add/remove
an interface for a port monitor session."
::= { dPktMonSessionSrcDropIfEntry 1 }
-- -----------------------------------------------------------------------------
-- Configuring ACL for Monitor Session
-- -----------------------------------------------------------------------------
dPktMonSessionSrcAclTable OBJECT-TYPE
SYNTAX SEQUENCE OF DPktMonSessionSrcAclEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"A table containing associations between ACL and monitor session."
::= { dPktMonMIBObjects 4 }
dPktMonSessionSrcAclEntry OBJECT-TYPE
SYNTAX DPktMonSessionSrcAclEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"A table entry representing an access list association to
a monitor session."
INDEX { dPktMonSessionID, dPktMonSessionSrcAclName }
::= { dPktMonSessionSrcAclTable 1 }
DPktMonSessionSrcAclEntry ::= SEQUENCE {
dPktMonSessionSrcAclName DisplayString,
dPktMonSessionSrcAclRowStatus RowStatus
}
dPktMonSessionSrcAclName OBJECT-TYPE
SYNTAX DisplayString (SIZE (1..32))
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"Indicates the name of an access list for flow based monitoring.
Multiple access lists can be monitored on a session at a time. "
::= {dPktMonSessionSrcAclEntry 1}
dPktMonSessionSrcAclRowStatus OBJECT-TYPE
SYNTAX RowStatus
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"The status of this conceptual row."
::= { dPktMonSessionSrcAclEntry 2 }
-- -----------------------------------------------------------------------------
-- Configuring global RSPAN VLAN
-- -----------------------------------------------------------------------------
dPktMonRspanVlanTable OBJECT-TYPE
SYNTAX SEQUENCE OF DPktMonRspanVlanEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"A table containing RSPAN VLAN information on the
VLANs which currently configured as RSPAN VLAN."
::= { dPktMonMIBObjects 5 }
dPktMonRspanVlanEntry OBJECT-TYPE
SYNTAX DPktMonRspanVlanEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"Each entry in the dPktMonRspanVlanTable indicates
the VLAN is configured as RSPAN VLAN.
An entry is created/removed when RSPAN VLAN is enabled
or disabled at the VLAN via CLI or by issuing appropriate
sets to this table using snmp."
INDEX { dPktMonRspanVlanId }
::= { dPktMonRspanVlanTable 1 }
DPktMonRspanVlanEntry ::= SEQUENCE {
dPktMonRspanVlanId VlanId,
dPktMonRspanVlanRowStatus RowStatus
}
dPktMonRspanVlanId OBJECT-TYPE
SYNTAX VlanId
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"The VLAN number.
When a VLAN is specified as an RSPAN VLAN, the MAC address
learning on the RSPAN VLAN is disabled."
::= { dPktMonRspanVlanEntry 1 }
dPktMonRspanVlanRowStatus OBJECT-TYPE
SYNTAX RowStatus
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"The status of this conceptual row."
::= { dPktMonRspanVlanEntry 2 }
-- -----------------------------------------------------------------------------
-- Configuring Egress Replace RSPAN VLAN for Monitor Session
-- -----------------------------------------------------------------------------
dPktMonSessionDestRemoteReplaceVlanTable OBJECT-TYPE
SYNTAX SEQUENCE OF DPktMonSessionDestRemoteReplaceVlanEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"A table containing associations between replace RSPAN VLAN egress
per flow and monitor session.
For a RSPAN source session, multiple flows of VLAN replacement can
be configured."
::= { dPktMonMIBObjects 6 }
dPktMonSessionDestRemoteReplaceVlanEntry OBJECT-TYPE
SYNTAX DPktMonSessionDestRemoteReplaceVlanEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"A table entry representing an access list and replace VLAN
association to a monitor session."
INDEX { dPktMonSessionID, dPktMonSessionDestRemoteAccessListName,dPktMonSessionDestRemoteReplaceVlanId }
::= { dPktMonSessionDestRemoteReplaceVlanTable 1 }
DPktMonSessionDestRemoteReplaceVlanEntry ::= SEQUENCE {
dPktMonSessionDestRemoteAccessListName DisplayString,
dPktMonSessionDestRemoteReplaceVlanId VlanId,
dPktMonSessionDestRemoteReplaceVlanRowStatus RowStatus
}
dPktMonSessionDestRemoteAccessListName OBJECT-TYPE
SYNTAX DisplayString (SIZE (1..32))
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"Indicates the name of an access list for egress per flow RSPAN VLAN
replacement."
::= {dPktMonSessionDestRemoteReplaceVlanEntry 1}
dPktMonSessionDestRemoteReplaceVlanId OBJECT-TYPE
SYNTAX VlanId
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"Indicates the VLAN ID used to replace RSPAN VLAN ID for the matched
flow of packets transmitted out from the destination interface on a
RSPAN source switch."
::= {dPktMonSessionDestRemoteReplaceVlanEntry 2}
dPktMonSessionDestRemoteReplaceVlanRowStatus OBJECT-TYPE
SYNTAX RowStatus
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"The status of this conceptual row."
::= { dPktMonSessionDestRemoteReplaceVlanEntry 3 }
-- -----------------------------------------------------------------------------
-- MIB Conformance statements
-- -----------------------------------------------------------------------------
dPktMonMIBCompliances OBJECT IDENTIFIER
::= { dPktMonMIBConformance 1 }
dPktMonMIBGroups OBJECT IDENTIFIER
::= { dPktMonMIBConformance 2 }
dPktMonMIBCompliance MODULE-COMPLIANCE
STATUS current
DESCRIPTION
"The compliance statement for entities which implement the
DLINKSW-PACKET-MONITOR-MIB."
MODULE -- this module
MANDATORY-GROUPS { dPktMonBasicGroup }
GROUP dPktMonRspanGroup
DESCRIPTION
"The group is required when the RSPAN is supported."
GROUP dPktMonFlowBasedMirrorGroup
DESCRIPTION
"The group is required when the flow based mirror is supported."
GROUP dPktMonMonitorDropPktGroup
DESCRIPTION
"The group is required when the monitoring dropped packets is supported."
GROUP dPktMonDestRemoteReplaceVlanGroup
DESCRIPTION
"The group is required when the egress per flow RSPAN VLAN replacement is supported."
::= { dPktMonMIBCompliances 1 }
dPktMonBasicGroup OBJECT-GROUP
OBJECTS {
dPktMonSessionTableCurrEntries,
dPktMonSessionDestInterface,
dPktMonSessionRowStatus,
dPktMonSessionSrcRxIfRowStatus,
dPktMonSessionSrcTxIfRowStatus
}
STATUS current
DESCRIPTION
"A collection of objects providing basic packet monitoring
configuration."
::= { dPktMonMIBGroups 1 }
dPktMonRspanGroup OBJECT-GROUP
OBJECTS {
dPktMonSessionSessionType,
dPktMonSessionDestRemoteVlanId,
dPktMonSessionSourceRemoteVlanId,
dPktMonRspanVlanRowStatus
}
STATUS current
DESCRIPTION
"A collection of objects providing RSPAN configuration."
::= { dPktMonMIBGroups 2 }
dPktMonFlowBasedMirrorGroup OBJECT-GROUP
OBJECTS { dPktMonSessionSrcAclRowStatus }
STATUS current
DESCRIPTION
"A collection of objects providing flow based mirroring
configuration."
::= { dPktMonMIBGroups 3 }
dPktMonMonitorDropPktGroup OBJECT-GROUP
OBJECTS { dPktMonSessionSrcDropIfRowStatus }
STATUS current
DESCRIPTION
"A collection of objects provides the configuration for monitoring
dropped packets on source interfaces.
"
::= { dPktMonMIBGroups 4 }
dPktMonDestRemoteReplaceVlanGroup OBJECT-GROUP
OBJECTS { dPktMonSessionDestRemoteReplaceVlanRowStatus }
STATUS current
DESCRIPTION
"A collection of objects provides the configuration for
performing egress per flow RSPAN VLAN replacement on a
RSPAN source switch."
::= { dPktMonMIBGroups 5 }
END

700
mibs/dlink/DLINKSW-POE-MIB Normal file
View File

@ -0,0 +1,700 @@
-- *****************************************************************
-- DLINKSW-POE-MIB.mib : D-Link extensions to POWER-ETHERNET-MIB (PoE)
--
-- Copyright (c) 2017 D-Link Corporation, all rights reserved.
--
-- *****************************************************************
DLINKSW-POE-MIB DEFINITIONS ::= BEGIN
IMPORTS
OBJECT-GROUP, MODULE-COMPLIANCE, NOTIFICATION-GROUP
FROM SNMPv2-CONF
MODULE-IDENTITY, OBJECT-TYPE, NOTIFICATION-TYPE, Integer32, Unsigned32
FROM SNMPv2-SMI
DisplayString,TruthValue
FROM SNMPv2-TC
InetAddressType, InetAddress
FROM INET-ADDRESS-MIB
PortList
FROM Q-BRIDGE-MIB
pethMainPseGroupIndex, pethPsePortIndex, pethPsePortShortCounter,
pethPsePortOverLoadCounter, pethPsePortPowerDeniedCounter
FROM POWER-ETHERNET-MIB
dlinkIndustrialCommon
FROM DLINK-ID-REC-MIB;
dlinkSwPoeExtMIB MODULE-IDENTITY
LAST-UPDATED "201703150000Z"
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
"A MIB module for extending POWER-ETHERNET-MIB specified in
RFC 3621.
"
REVISION "201305290000Z"
DESCRIPTION
"Initial version of this MIB module."
REVISION "201309240000Z"
DESCRIPTION
"Add dPoeGroupIfLedMode node."
REVISION "201703150000Z"
DESCRIPTION
"Add dPoeIfPdAliveCfgTable table to support PD alive check feature."
::= { dlinkIndustrialCommon 24 }
-- -----------------------------------------------------------------------------
dPoeMIBNotifications OBJECT IDENTIFIER ::= { dlinkSwPoeExtMIB 0 }
dPoeMIBObjects OBJECT IDENTIFIER ::= { dlinkSwPoeExtMIB 1 }
dPoeMIBConformance OBJECT IDENTIFIER ::= { dlinkSwPoeExtMIB 2 }
--------------------------------------------------------------------------------
dPoeGroupCfgTable OBJECT-TYPE
SYNTAX SEQUENCE OF DPoeGroupCfgEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This table consists of a list of group configurations for PoE.
Group means box in the stack or module in a rack.
For non-modular devices, the pethMainPseGroupIndex is 1.
"
::= { dPoeMIBObjects 1 }
dPoeGroupCfgEntry OBJECT-TYPE
SYNTAX DPoeGroupCfgEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"An entry contains the system configuration of the PoE on a group."
INDEX { pethMainPseGroupIndex }
::= { dPoeGroupCfgTable 1 }
DPoeGroupCfgEntry ::= SEQUENCE {
dPoeGroupPolicyPreempt TruthValue,
dPoeGroupClearIfStatistic PortList,
dPoeGroupIfLedMode INTEGER
}
dPoeGroupPolicyPreempt OBJECT-TYPE
SYNTAX TruthValue
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object configures whether to disconnect the PD which is powered
with lower priority in order to release the power to the new connected
PD with higher priority under power shortage condition.
If this object is 'false', then the policy is first in first serviced.
Thus the new PD will not be serviced if the power budget is running out.
If this object is 'true', then the power provisioned to PD
with lower priority can be preempted to release the power to the new
connected PD with higher priority. "
DEFVAL { false }
::= { dPoeGroupCfgEntry 1 }
dPoeGroupClearIfStatistic OBJECT-TYPE
SYNTAX PortList
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object is used to clear the PoE statistics of pethPsePortEntry
for specified ports.
"
::= { dPoeGroupCfgEntry 2 }
dPoeGroupIfLedMode OBJECT-TYPE
SYNTAX INTEGER {
poeMode(1),
linkMode(2),
invalid(3)
}
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"For some devices,port LED can indicate either poe status or link status.
This object is used to configure or display port LED mode.
poeMode(1) - indicates poe status.
linkMode(2) - indicates link status.
For other devices have LEDs to indicate poe status and link status separately,
this object only can get value of invalid(3) to mean this node is meaningless.
"
::= { dPoeGroupCfgEntry 3 }
-------------------------------------------------------------------------------
dPoeGroupInfoTable OBJECT-TYPE
SYNTAX SEQUENCE OF DPoEGroupInfoEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This table consists of a list of PoE information for groups."
::= { dPoeMIBObjects 2 }
dPoeGroupInfoEntry OBJECT-TYPE
SYNTAX DPoEGroupInfoEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"An entry contains the system information of the PoE on a group."
INDEX { pethMainPseGroupIndex }
::= { dPoeGroupInfoTable 1 }
DPoEGroupInfoEntry ::= SEQUENCE {
dPoeGroupMaxPorts Integer32,
dPoeGroupHWVersion DisplayString,
dPoeGroupSWVersion DisplayString
}
dPoeGroupMaxPorts OBJECT-TYPE
SYNTAX Integer32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"This object indicates the maximum number of ports that the group can support."
::= { dPoeGroupInfoEntry 1 }
dPoeGroupHWVersion OBJECT-TYPE
SYNTAX DisplayString
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"This object indicates H/W version of PoE chip."
::= { dPoeGroupInfoEntry 2 }
dPoeGroupSWVersion OBJECT-TYPE
SYNTAX DisplayString
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"This object indicates firmware version of PoE chip."
::= { dPoeGroupInfoEntry 3 }
------------------------------------------------------------------------------------------------------
dPoeIfObjects OBJECT IDENTIFIER ::= { dPoeMIBObjects 3 }
dPoeIfCfgTable OBJECT-TYPE
SYNTAX SEQUENCE OF DPoeIfCfgEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This table consists of a list of PoE configuration
information for ports."
::= { dPoeIfObjects 1 }
dPoeIfCfgEntry OBJECT-TYPE
SYNTAX DPoeIfCfgEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"An entry contains PoE configuration on a port."
INDEX {
pethMainPseGroupIndex,
pethPsePortIndex
}
::= { dPoeIfCfgTable 1 }
DPoeIfCfgEntry ::= SEQUENCE {
dPoeIfState INTEGER,
dPoeIfMaxPower Integer32,
dPoeIfTimeRange DisplayString,
dPoeIfLegacyPdEnabled TruthValue
}
dPoeIfState OBJECT-TYPE
SYNTAX INTEGER {
auto(1),
never(2),
static(3)
}
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object indicates the PoE state of the entry.
auto(1) - the port will automatically detect the PD and provision
power to the PD. The max wattage value which can be provisioned
to the port is determined by dPoeIfMaxPower. If dPoeIfMaxPower
is unspecified, then the class of the PD auto determines the
maximum wattage which can be provisioned. The PD will not be
provisioned if it requests more wattage than the max wattage
which is determined.
never(2) - indicates the port will not supply power to connected PD;
static(3) - indicates manager pre-allocate power budget to the port
by configuring the dPoeIfMaxPower object. The power budget is allocated
to the port even though there is no PD connected to the port.
If dPoeIfMaxPower is not configured, default value is 15400mW for 802.3af
and 30000mW for 802.3at."
DEFVAL {auto}
::= { dPoeIfCfgEntry 1 }
dPoeIfMaxPower OBJECT-TYPE
SYNTAX Integer32( 0 | 1000..30000)
UNITS "milliwatts"
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object indicates the max wattage value which can
be provisioned to the port.
Note: This object is valid only while the dPoeIfState
object is configured as auto or static."
::= { dPoeIfCfgEntry 2 }
dPoeIfTimeRange OBJECT-TYPE
SYNTAX DisplayString (SIZE (0..32))
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object indicates the name of time-range profile to delineate
the activation period.
A zero length string indicates the time-range is not specified.
Note: This object is valid only while the dPoeIfState is 'auto'."
::= { dPoeIfCfgEntry 3 }
dPoeIfLegacyPdEnabled OBJECT-TYPE
SYNTAX TruthValue
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object indicates the state of legacy PD support."
DEFVAL { false }
::= { dPoeIfCfgEntry 4 }
------------------------------------------------------------------------------------------------------
dPoeIfInfoObjects OBJECT IDENTIFIER ::= { dPoeIfObjects 2 }
dPoeIfStatusTable OBJECT-TYPE
SYNTAX SEQUENCE OF DPoeIfStatusEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This table consists of a list of PoE status for ports."
::= { dPoeIfInfoObjects 1 }
dPoeIfStatusEntry OBJECT-TYPE
SYNTAX DPoeIfStatusEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"An entry consists of PoE status for a port."
INDEX { pethMainPseGroupIndex,pethPsePortIndex }
::= { dPoeIfStatusTable 1 }
DPoeIfStatusEntry ::= SEQUENCE {
dPoeIfDetectStatus INTEGER,
dPoeIfFaultyType INTEGER
}
dPoeIfDetectStatus OBJECT-TYPE
SYNTAX INTEGER {
disabled(1),
searching(2),
requesting(3),
delivering(4),
faulty(5)
}
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"This object indicates the operational status of the port PD detection.
disabled(1) - PSE function is disabled.
searching(2) - Remote PD is not connected.
requesting(3) - Remote PD is inserted, but the PSE doesn't provide power yet.
delivering(4) - Remote PD is now powering by PoE system.
faulty(5) - Device detection or a powered device is in a faulty state.
"
::= { dPoeIfStatusEntry 1 }
dPoeIfFaultyType OBJECT-TYPE
SYNTAX INTEGER {
notApplicable(0),
mpsAbsent(1),
pdShort(2),
overload(3),
powerDenied(4),
thermalShutdown(5),
startupFailure(6),
classificationFailure(7)
}
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"This object indicates the specific faulty type. It is meaningful
only when dPoeIfDetectStatus object is 'faulty'.
notApplicable(0) - indicates this object is meaningless, e.g. the
dPoeIfDetectStatus is not 'faulty'.
mpsAbsent(1) - indicates MPS(Maintain Power Signature) Absent
pdShort(2) - indicates PD Short
overload(3) - indicates Overload
powerDenied(4) - indicates Power Denied
thermalShutdown(5)- indicates Thermal Shutdown
startupFailure(6) - indicates Startup Failure
classificationFailure(7) - indicates Classification Failure(IEEE 802.3at)
"
::= { dPoeIfStatusEntry 2 }
------------------------------------------------------------------------------------------------------
dPoeIfMeasurementTable OBJECT-TYPE
SYNTAX SEQUENCE OF DPoEIfMeasurementEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This table consists of a list of POE measurement
information for ports."
::= { dPoeIfInfoObjects 2 }
dPoeIfMeasurementEntry OBJECT-TYPE
SYNTAX DPoEIfMeasurementEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"An entry consists of PoE measurement information of a port."
INDEX {
pethMainPseGroupIndex,
pethPsePortIndex
}
::= { dPoeIfMeasurementTable 1 }
DPoEIfMeasurementEntry ::= SEQUENCE {
dPoeIfVoltage Integer32,
dPoeIfCurrent Integer32,
dPoeIfTemperature Integer32,
dPoeIfPower Integer32
}
dPoeIfVoltage OBJECT-TYPE
SYNTAX Integer32
UNITS "millivolts"
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"This object indicates the voltage of the port in millivolts."
::= { dPoeIfMeasurementEntry 1 }
dPoeIfCurrent OBJECT-TYPE
SYNTAX Integer32
UNITS "milliamperes"
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"This object indicates the current of port in milliamperes."
::= { dPoeIfMeasurementEntry 2 }
dPoeIfTemperature OBJECT-TYPE
SYNTAX Integer32
UNITS "Degree Centigrade"
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"This object indicates the temperature of port in degrees centigrade."
::= { dPoeIfMeasurementEntry 3 }
dPoeIfPower OBJECT-TYPE
SYNTAX Integer32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"This object indicates consumption power of port in milliwatts."
::= { dPoeIfMeasurementEntry 4 }
---------------------------------------------------------------------------------
-- Add a new table for SNR-20170223-001(ASV2.1)(PD alive check)
---------------------------------------------------------------------------------
dPoeIfPdAliveCfgTable OBJECT-TYPE
SYNTAX SEQUENCE OF DPoeIfPdAliveCfgEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This table consists of a list of configuration for the PD
alive check function for ports.
The PD alive check feature provides the solution for
PD device that has the stop working or no response
problem via Ping mechanism.
Detailed Process:
The detailed processes are described as follows:
1. The system needs to periodically monitor the
specific PD by using Ping function. If there is no
response, system takes one of the following actions:
(1) Reset: Switch resets (disable then enable) PoE
power on the port which connects to a PD under monitoring.
(2) Notify: Switch sends logs and traps to notify the administrator.
(3) Both: Switch sends logs and traps, and resets the PoE port power.
2. The system should implement the retry mechanism to check
PD aliveness, hence the system will reset the PoE port power
feeding after the retry by using Ping without any response from a PD.
3. If the action is Reset or Both, the system needs
to wait for PD recovery from rebooting and then executes
the Ping function again. Besides, the waiting time can
be configured by users.
4. If PoE schedule (time range) function is configured
on the port which enables the PD Alive Check function,
the time range function has the top priority, and
therefore PD Alive Check function will not work
while PoE time range function is still active.
5. This function only takes effect on PoE enabled
port with power feeding.
Note: It is required to setup IP settings properly that
the PD can be reachable for Ping, otherwise this function
cannot work as expected.
Limitation
1. Support Ping Function: If the PD does not support ICMP,
this function cannot work normally.
2. Direct-Connected PD: The Reset Action can only work on
the direct-connected PD. If the PD is not connected directly,
the Reset Action may not work as expected.
3. PD Also Acts as PSE: If the direct-connected PD is also a PSE,
all the next level PDs connect to this PSE will be power cycling
whenever PD Alive Check function takes effect on 'Reset' or 'Both' Action."
::= { dPoeIfObjects 3 }
dPoeIfPdAliveCfgEntry OBJECT-TYPE
SYNTAX DPoeIfPdAliveCfgEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"An entry contains configuration for PD alive check on a port."
INDEX {
pethMainPseGroupIndex,
pethPsePortIndex
}
::= { dPoeIfPdAliveCfgTable 1 }
DPoeIfPdAliveCfgEntry ::= SEQUENCE {
dPoeIfPdAliveCfgState INTEGER,
dPoeIfPdAliveCfgPdIpType InetAddressType,
dPoeIfPdAliveCfgPdIpAddr InetAddress,
dPoeIfPdAliveCfgInterval Unsigned32,
dPoeIfPdAliveCfgRetry Unsigned32,
dPoeIfPdAliveCfgWaitTime Unsigned32,
dPoeIfPdAliveCfgAction INTEGER
}
dPoeIfPdAliveCfgState OBJECT-TYPE
SYNTAX INTEGER {
enabled(1),
disabled(2)
}
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object indicates the the PD alive function sate.
enabled - Enable the PD alive check function
disabled - Disable the PD alive check function.
"
DEFVAL { disabled }
::= { dPoeIfPdAliveCfgEntry 1 }
dPoeIfPdAliveCfgPdIpType OBJECT-TYPE
SYNTAX InetAddressType
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object indicates the IP address type of the target PD."
::= { dPoeIfPdAliveCfgEntry 2 }
dPoeIfPdAliveCfgPdIpAddr OBJECT-TYPE
SYNTAX InetAddress
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object indicates the IP address of the target PD."
::= { dPoeIfPdAliveCfgEntry 3 }
dPoeIfPdAliveCfgInterval OBJECT-TYPE
SYNTAX Unsigned32 (10..300)
UNITS "seconds"
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object indicates the time interval for system
issues ping request to detect the target PD.
The valid range for interval time is 10s to 300s."
DEFVAL { 30 }
::= { dPoeIfPdAliveCfgEntry 4 }
dPoeIfPdAliveCfgRetry OBJECT-TYPE
SYNTAX Unsigned32 (0..5)
UNITS "times"
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object indicates the retry count of ping
request when PD has no response.
The valid range for retry count is 0 to 5 times."
DEFVAL { 2}
::= { dPoeIfPdAliveCfgEntry 5 }
dPoeIfPdAliveCfgWaitTime OBJECT-TYPE
SYNTAX Unsigned32 (30..300)
UNITS "seconds"
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object indicates the waiting time for PD reboot.
The valid range for waiting time is 30s to 300s."
DEFVAL { 90 }
::= { dPoeIfPdAliveCfgEntry 6 }
dPoeIfPdAliveCfgAction OBJECT-TYPE
SYNTAX INTEGER {
reset(1),
notify(2),
both(3)
}
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object indicates the action when PD doesn't reply the ping request.
reset- System will reset the PoE port state .
notify- System will send log and trap to notify the administrator.
both- System will send log and trap first and reset the PoE port state."
DEFVAL { both }
::= { dPoeIfPdAliveCfgEntry 7 }
-- *****************************************************************************
-- MIB Notifications
-- *****************************************************************************
dPoeIfPowerDeniedNotification NOTIFICATION-TYPE
OBJECTS { pethPsePortPowerDeniedCounter }
STATUS current
DESCRIPTION
" This Notification indicates if PSE state diagram enters
the state POWER_DENIED.
At least 500 msec must elapse between notifications
being emitted by the same object instance."
::= { dPoeMIBNotifications 1 }
dPoeIfPowerOverLoadNotification NOTIFICATION-TYPE
OBJECTS { pethPsePortOverLoadCounter }
STATUS current
DESCRIPTION
" This Notification indicates if PSE state diagram enters
the state ERROR_DELAY_OVER.
At least 500 msec must elapse between notifications
being emitted by the same object instance."
::= { dPoeMIBNotifications 2 }
dPoeIfPowerShortCircuitNotification NOTIFICATION-TYPE
OBJECTS { pethPsePortShortCounter }
STATUS current
DESCRIPTION
" This Notification indicates if PSE state diagram enters
the state ERROR_DELAY_SHORT.
At least 500 msec must elapse between notifications
being emitted by the same object instance."
::= { dPoeMIBNotifications 3 }
dPoeIfPdAliveFailOccurNotification NOTIFICATION-TYPE
OBJECTS { pethMainPseGroupIndex,
pethPsePortIndex,
dPoeIfPdAliveCfgPdIpType,
dPoeIfPdAliveCfgPdIpAddr
}
STATUS current
DESCRIPTION
" This Notification indicates if the PD device has
the stop working or no response problem."
::= { dPoeMIBNotifications 4 }
-- *****************************************************************************
-- MIB Conformance statements
-- *****************************************************************************
dPoeMIBCompliances OBJECT IDENTIFIER ::= { dPoeMIBConformance 1 }
dPoeMIBGroups OBJECT IDENTIFIER ::= { dPoeMIBConformance 2 }
dPoeMIBCompliance MODULE-COMPLIANCE
STATUS current
DESCRIPTION
"The compliance statement for entities which implement the
DLINKSW-POE-MIB."
MODULE -- this module
MANDATORY-GROUPS {
dPoeGroupCfgGroup,
dPoeIfCfgGroup,
dPoeGroupInfoGroup,
dPoeIfInfoGroup,
dPoeIfErrorStateNotificationGroup,
dPoeIfPdAliveCfgGroup
}
::= { dPoeMIBCompliances 1 }
dPoeGroupCfgGroup OBJECT-GROUP
OBJECTS {
dPoeGroupPolicyPreempt,
dPoeGroupIfLedMode
}
STATUS current
DESCRIPTION
"A collection of objects to configure or display the group-specific PoE information."
::= { dPoeMIBGroups 1 }
dPoeIfCfgGroup OBJECT-GROUP
OBJECTS {
dPoeGroupClearIfStatistic,
dPoeIfState,
dPoeIfMaxPower,
dPoeIfTimeRange,
dPoeIfLegacyPdEnabled
}
STATUS current
DESCRIPTION
"A collection of objects configure or display the ports information."
::= { dPoeMIBGroups 2 }
dPoeGroupInfoGroup OBJECT-GROUP
OBJECTS {
dPoeGroupMaxPorts,
dPoeGroupHWVersion,
dPoeGroupSWVersion
}
STATUS current
DESCRIPTION
"A collection of objects display the groups information."
::= { dPoeMIBGroups 3 }
dPoeIfInfoGroup OBJECT-GROUP
OBJECTS {
dPoeIfDetectStatus,
dPoeIfFaultyType,
dPoeIfVoltage,
dPoeIfCurrent,
dPoeIfTemperature,
dPoeIfPower
}
STATUS current
DESCRIPTION
"A collection of objects display the ports information."
::= { dPoeMIBGroups 4 }
dPoeIfErrorStateNotificationGroup NOTIFICATION-GROUP
NOTIFICATIONS { dPoeIfPowerDeniedNotification,
dPoeIfPowerOverLoadNotification,
dPoeIfPowerShortCircuitNotification
}
STATUS current
DESCRIPTION "A collection of objects provides ports error state notifications."
::= { dPoeMIBGroups 5 }
dPoeIfPdAliveCfgGroup OBJECT-GROUP
OBJECTS {
dPoeIfPdAliveCfgState,
dPoeIfPdAliveCfgPdIpType,
dPoeIfPdAliveCfgPdIpAddr,
dPoeIfPdAliveCfgInterval,
dPoeIfPdAliveCfgRetry,
dPoeIfPdAliveCfgWaitTime,
dPoeIfPdAliveCfgAction
}
STATUS current
DESCRIPTION
"A collection of objects display the PD alive check configuration."
::= { dPoeMIBGroups 6 }
END

View File

@ -0,0 +1,550 @@
-- *****************************************************************
-- DLINKSW-PORT-SECURITY-MIB.mib : Port Security MIB
--
-- Copyright (c) 2013 D-Link Corporation, all rights reserved.
--
-- *****************************************************************
DLINKSW-PORT-SECURITY-MIB DEFINITIONS ::= BEGIN
IMPORTS
MODULE-IDENTITY,
OBJECT-TYPE,
NOTIFICATION-TYPE,
Unsigned32,
Integer32,
Counter64
FROM SNMPv2-SMI
TruthValue,
MacAddress,
RowStatus
FROM SNMPv2-TC
MODULE-COMPLIANCE,
OBJECT-GROUP
FROM SNMPv2-CONF
ifIndex, InterfaceIndex
FROM IF-MIB
VlanId,
VlanIdOrNone
FROM Q-BRIDGE-MIB
dlinkIndustrialCommon
FROM DLINK-ID-REC-MIB;
dlinkSwPortSecurityMIB MODULE-IDENTITY
LAST-UPDATED "201307300000Z"
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 module defines objects for port security."
REVISION "201307300000Z"
DESCRIPTION
" This is the first version of the MIB file for 'port
security' functionality.
"
::= { dlinkIndustrialCommon 8 }
-- -----------------------------------------------------------------------------
dPortSecNotifications OBJECT IDENTIFIER ::= { dlinkSwPortSecurityMIB 0 }
dPortSecObjects OBJECT IDENTIFIER ::= { dlinkSwPortSecurityMIB 1 }
dPortSecConformance OBJECT IDENTIFIER ::= { dlinkSwPortSecurityMIB 2 }
-- -----------------------------------------------------------------------------
-- dPortSecObjects
-- -----------------------------------------------------------------------------
dPortSecGlobalNotifControl OBJECT-TYPE
SYNTAX TruthValue
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"Set to 'true' to enable global SNMP Notification
for port security feature. Setting the object to
'false' will disable SNMP notifications."
DEFVAL { false }
::= { dPortSecObjects 1}
dPortSecGlobalNotifRate OBJECT-TYPE
SYNTAX Unsigned32 (0..1000)
UNITS "notifications per second"
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"Expressed in the number of notifications can be generated
per second.
The global control configures the rate-limit of
SNMP Notification for port security feature. This object
specifies the rate at which SNMP Notification is generated
when dPortSecIfViolationCount increases. When the rate is over
the configured rate, the SNMP Notification is suppressed but it
does not affect dPortSecIfViolationCount.
A value of 0 indicates that an SNMP Notification is generated
for every security violation."
DEFVAL { 0 }
::= { dPortSecObjects 2 }
dPortSecNotifyInfo OBJECT IDENTIFIER ::= { dPortSecObjects 3 }
dPortSecIfViolationMacAddress OBJECT-TYPE
SYNTAX MacAddress
MAX-ACCESS accessible-for-notify
STATUS current
DESCRIPTION
"This object is also used as a variable in the dPortSecMacAddrViolation
notification to contain the value of the MAC address which caused the violation."
::= { dPortSecNotifyInfo 1 }
dPortSecGlobalMaximumNum OBJECT-TYPE
SYNTAX Integer32
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"Indicates the system maximum addresses number (users) allowed.
A value of -1 means no-limit. The max entry range is (1..N).
The value N means the max number and is determined by the project itself."
DEFVAL { -1 }
::= { dPortSecObjects 4}
dPortSecVlanTable OBJECT-TYPE
SYNTAX SEQUENCE OF DPortSecVlanEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"The table is used to configure and display port security settings
and status for a particular VLAN."
::= { dPortSecObjects 5}
dPortSecVlanEntry OBJECT-TYPE
SYNTAX DPortSecVlanEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"An entry contains port security information for a particular
VLAN."
INDEX { dPortSecVlanID }
::= { dPortSecVlanTable 1}
DPortSecVlanEntry ::= SEQUENCE {
dPortSecVlanID VlanId,
dPortSecVlanMaximumNum Integer32,
dPortSecVlanCurrentNum Unsigned32
}
dPortSecVlanID OBJECT-TYPE
SYNTAX VlanId
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This object specifies the VLAN ID for address learning."
::= { dPortSecVlanEntry 1}
dPortSecVlanMaximumNum OBJECT-TYPE
SYNTAX Integer32
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"Indicates the VLAN maximum addresses number (users) allowed.
A value of -1 means no-limit. The range is (1..N).
The value N means the upper limit and is determined by the project
itself."
DEFVAL { -1 }
::= { dPortSecVlanEntry 2}
dPortSecVlanCurrentNum OBJECT-TYPE
SYNTAX Unsigned32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Indicates the current number of secure MAC addresses on this VLAN."
::= { dPortSecVlanEntry 3}
dPortSecIfTable OBJECT-TYPE
SYNTAX SEQUENCE OF DPortSecIfEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"The table is used to configure and display port security settings
and status for a particular interface."
::= { dPortSecObjects 6 }
dPortSecIfEntry OBJECT-TYPE
SYNTAX DPortSecIfEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"Entry containing port security information for a particular
interface."
INDEX { ifIndex }
::= { dPortSecIfTable 1 }
DPortSecIfEntry ::= SEQUENCE {
dPortSecIfEnable TruthValue,
dPortSecIfCurrentStatus INTEGER,
dPortSecIfMaximumNum Unsigned32,
dPortSecIfViolationAction INTEGER,
dPortSecIfSecureMode INTEGER,
dPortSecIfAgingTime INTEGER,
dPortSecIfAgingType INTEGER,
dPortSecIfClearDynamicAddr INTEGER,
dPortSecIfCurrentNum Unsigned32,
dPortSecIfViolationCount Counter64
}
dPortSecIfEnable OBJECT-TYPE
SYNTAX TruthValue
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"Uses the object to enable or disable port security."
DEFVAL { false }
::= { dPortSecIfEntry 1 }
dPortSecIfCurrentStatus OBJECT-TYPE
SYNTAX INTEGER { notEnabled(1), forwarding(2), errDisabled(3) }
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"This object represents the operational status
of the port security feature on an interface.
notEnabled(1) - This indicates port security
is not enabled.
forwarding(2) - This indicates port security is
operational.
errDisabled(3) - This indicates that the port is
shutdown due to port security
violation when the object
dPortSecIfViolationAction is of type
'shutdown'."
::= { dPortSecIfEntry 2 }
dPortSecIfMaximumNum OBJECT-TYPE
SYNTAX Unsigned32
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object sets the maximum number of secure MAC addresses
(users) allowed."
DEFVAL { 32 }
::= { dPortSecIfEntry 3 }
dPortSecIfViolationAction OBJECT-TYPE
SYNTAX INTEGER { protect(1), restrict(2), shutdown(3) }
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object sets the action to be taken when a security violation is detected.
protect(1) - Drops all the packets from the insecure hosts at the
port-security process level but does not increment
the security-violation count.
restrict(2) - Drops all packets from the insecure hosts at the
port-security process level and increments the
security-violation count.
shutdown(3) - Shuts down the port if there is a security violation."
DEFVAL { shutdown }
::= { dPortSecIfEntry 4 }
dPortSecIfSecureMode OBJECT-TYPE
SYNTAX INTEGER {
permanent(1),
deleteOnTimeout(2)
}
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"Use the object to set the port security mode.
permanent(1) - Under this mode all learned MAC addresses won't be
purged unless a user deletes these entries manually.
deleteOnTimeout(2) - Under this mode all learned MAC addresses
will be purged when an entry ages out or a user deletes
these entries manually."
DEFVAL { deleteOnTimeout }
::= { dPortSecIfEntry 5 }
dPortSecIfAgingTime OBJECT-TYPE
SYNTAX INTEGER(0..1440)
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"Use the object to set aging time for auto-learned dynamic secured address.
When 0 is set on the specified interface, it means the port security aging
has been disabled."
DEFVAL { 0 }
::= { dPortSecIfEntry 6 }
dPortSecIfAgingType OBJECT-TYPE
SYNTAX INTEGER {
absolute(1),
inactivity(2)
}
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"Use the object to set aging type for auto-learned dynamic secured address.
absolute(1) - Under this aging type, all the secured address on this interface will
age out exactly after the time specified.
inactivity(2) - Under this aging type, all learned MAC addresses on this interface
will age out only if there is no data traffic from the secure source
address for the specified time period."
DEFVAL { absolute }
::= { dPortSecIfEntry 7 }
dPortSecIfClearDynamicAddr OBJECT-TYPE
SYNTAX INTEGER {
clear(1),
noOp(2)
}
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"Setting this object to 'clear' to clear the addresses which will be
purged out when an entry is aged out on the corresponding
interface.
No action is taken if this object is set to 'noOp'.
When read, the value 'noOp' is returned."
DEFVAL { noOp }
::= { dPortSecIfEntry 8 }
dPortSecIfCurrentNum OBJECT-TYPE
SYNTAX Unsigned32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Indicates the current number of secure MAC addresses
on this interface."
::= { dPortSecIfEntry 9 }
dPortSecIfViolationCount OBJECT-TYPE
SYNTAX Counter64
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Indicates the number of address violations
occurred on a secure interface. The counter will
be initialized to zero when the port security
feature is enabled on an interface."
::= { dPortSecIfEntry 10 }
-- -----------------------------------------------------------------------------
dPortSecAddrTableCurrentNum OBJECT-TYPE
SYNTAX Unsigned32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"This object indicates the number of entries present in the dPortSecAddrTable."
::= { dPortSecObjects 7 }
dPortSecAddrTable OBJECT-TYPE
SYNTAX SEQUENCE OF DPortSecAddrEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"A list of port security entries containing the secure MAC address
information."
::= { dPortSecObjects 8 }
dPortSecAddrEntry OBJECT-TYPE
SYNTAX DPortSecAddrEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"An entry contains secure MAC address information for a particular
interface. A secure MAC address can be added by the user
and can be added when the device learns a new secure MAC address."
INDEX { dPortSecAddrIfIndex, dPortSecAddrVlanID, dPortSecAddrMacAddress }
::= { dPortSecAddrTable 1 }
DPortSecAddrEntry ::= SEQUENCE {
dPortSecAddrIfIndex InterfaceIndex,
dPortSecAddrVlanID VlanIdOrNone,
dPortSecAddrMacAddress MacAddress,
dPortSecAddrSecureMode INTEGER,
dPortSecAddrRemainTime INTEGER,
dPortSecAddrRowStatus RowStatus
}
dPortSecAddrIfIndex OBJECT-TYPE
SYNTAX InterfaceIndex
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"The ifIndex value of the interface."
::= { dPortSecAddrEntry 1 }
dPortSecAddrVlanID OBJECT-TYPE
SYNTAX VlanIdOrNone
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This object specifies the VLAN ID where the user-defined secure
MAC address is located. If this object is set to 0 at row creation
time, the PVID (default port VLAN ID) will be used for the MAC
address."
::= { dPortSecAddrEntry 2 }
dPortSecAddrMacAddress OBJECT-TYPE
SYNTAX MacAddress
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This object indicates the secure MAC address to gain port access
rights."
::= { dPortSecAddrEntry 3 }
dPortSecAddrSecureMode OBJECT-TYPE
SYNTAX INTEGER {
permanent(1),
deleteOnTimeout(2)
}
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Specifies the secure mode.
For manually configured secure MAC addresses, the dPortSecAddrSecureMode is
permanent."
::= { dPortSecAddrEntry 4 }
dPortSecAddrRemainTime OBJECT-TYPE
SYNTAX INTEGER
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Specifies the remaining aging time for the auto-learned dynamic secured address."
::= { dPortSecAddrEntry 5 }
dPortSecAddrRowStatus OBJECT-TYPE
SYNTAX RowStatus
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"The status of this conceptual row.
This object is used to create and delete instances
of this table. In other words, besides 'permanent' secure MAC
address, a 'deleteOnTimeout' address can be cleared by
this object."
::= { dPortSecAddrEntry 99 }
-- ***************************************************************************
-- Notifications
-- ***************************************************************************
dPortSecMacAddrViolation NOTIFICATION-TYPE
OBJECTS {
ifIndex,
dPortSecIfCurrentStatus,
dPortSecIfViolationMacAddress
}
STATUS current
DESCRIPTION
"The address violation notification is generated when port security
address violation is detected (dPortSecIfViolationCount increases)."
::= { dPortSecNotifications 1 }
-- ***************************************************************************
-- Conformance
-- ***************************************************************************
dPortSecMIBCompliances
OBJECT IDENTIFIER ::= { dPortSecConformance 1 }
dPortSecMIBGroups
OBJECT IDENTIFIER ::= { dPortSecConformance 2 }
dPortSecMIBCompliance MODULE-COMPLIANCE
STATUS current
DESCRIPTION
"The compliance statement for the Port Security MIB."
MODULE -- this module
MANDATORY-GROUPS {
dPortSecIfCfgGroup,
dPortSecIfStatusGroup,
dPortSecAddrGroup
}
::= { dPortSecMIBCompliances 1 }
dPortSecIfCfgGroup OBJECT-GROUP
OBJECTS {
dPortSecIfEnable,
dPortSecIfMaximumNum,
dPortSecIfViolationAction,
dPortSecIfSecureMode,
dPortSecIfAgingTime,
dPortSecIfAgingType,
dPortSecIfClearDynamicAddr
}
STATUS current
DESCRIPTION
"A collection of objects for configuring port
security feature."
::= { dPortSecMIBGroups 1 }
dPortSecIfStatusGroup OBJECT-GROUP
OBJECTS {
dPortSecIfCurrentNum,
dPortSecIfCurrentStatus,
dPortSecIfViolationCount
}
STATUS current
DESCRIPTION
"A collection of objects providing the counter
information for the port security feature."
::= { dPortSecMIBGroups 2 }
dPortSecAddrGroup OBJECT-GROUP
OBJECTS {
dPortSecAddrRowStatus,
dPortSecAddrSecureMode,
dPortSecAddrRemainTime,
dPortSecAddrTableCurrentNum
}
STATUS current
DESCRIPTION
"A collection of objects providing the address
information for the port security feature."
::= { dPortSecMIBGroups 3 }
dPortSecAddrNumCtrlGroup OBJECT-GROUP
OBJECTS {
dPortSecGlobalMaximumNum,
dPortSecVlanMaximumNum,
dPortSecVlanCurrentNum
}
STATUS current
DESCRIPTION
"A collection of objects provides the configuration of
the maximum secure MAC address number on system or VLAN specific."
::= { dPortSecMIBGroups 4 }
dPortSecNotifEnableGroup OBJECT-GROUP
OBJECTS {
dPortSecGlobalNotifControl,
dPortSecGlobalNotifRate
}
STATUS current
DESCRIPTION
"A collection of object(s) that provides control over
port security related notification(s)."
::= { dPortSecMIBGroups 5}
dPortSecNotifGroup NOTIFICATION-GROUP
NOTIFICATIONS {
dPortSecMacAddrViolation
}
STATUS current
DESCRIPTION
"A collection of notifications providing information
about address violation."
::= { dPortSecMIBGroups 6}
END

View File

@ -0,0 +1,320 @@
-- *****************************************************************
-- DLINKSW-POWER-SAVING-MIB.mib : D-Link Power Saving MIB
--
-- Copyright (c) 2013 D-Link Corporation, all rights reserved.
--
-- *****************************************************************
DLINKSW-POWER-SAVING-MIB DEFINITIONS ::= BEGIN
IMPORTS
OBJECT-GROUP, MODULE-COMPLIANCE
FROM SNMPv2-CONF
MODULE-IDENTITY, OBJECT-TYPE
FROM SNMPv2-SMI
DisplayString, TruthValue
FROM SNMPv2-TC
ifIndex
FROM IF-MIB
dlinkIndustrialCommon
FROM DLINK-ID-REC-MIB;
dlinkSwPowerSavingMIB MODULE-IDENTITY
LAST-UPDATED "201307080000Z"
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
"The Structure of Power Saving Information for the
proprietary enterprise."
REVISION "201301310000Z"
DESCRIPTION
"Initial version of this MIB module."
REVISION "201307080000Z"
DESCRIPTION
"1.Modify the MIB file and object name,
DLINK-POWER-SAVING-MIB to DLINKSW-POWER-SAVING-MIB,
dlinkPowerSavingMIB to dlinkSwPowerSavingMIB."
::= { dlinkIndustrialCommon 16 }
-- -----------------------------------------------------------------------------
dPowerSavingMIBNotifications OBJECT IDENTIFIER ::= { dlinkSwPowerSavingMIB 0 }
dPowerSavingMIBObjects OBJECT IDENTIFIER ::= { dlinkSwPowerSavingMIB 1 }
dPowerSavingMIBConformance OBJECT IDENTIFIER ::= { dlinkSwPowerSavingMIB 2 }
--------------------------------------------------------------------------------
dPowerSavingGeneral OBJECT IDENTIFIER ::= { dPowerSavingMIBObjects 1 }
dpsLinkDetectionEnabled OBJECT-TYPE
SYNTAX TruthValue
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object indicates the state of power saving by link status."
DEFVAL { false }
::= { dPowerSavingGeneral 1 }
dpsLengthDetectionEnabled OBJECT-TYPE
SYNTAX TruthValue
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object indicates the state of power saving by cable length detection."
DEFVAL { false }
::= { dPowerSavingGeneral 2 }
dpsHibernationEnabled OBJECT-TYPE
SYNTAX TruthValue
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object indicates the state of powre saving by scheduled system
hibernation.
Note:
For stackable devices, the hibernation function only can be supported
on the standalone mode.
"
DEFVAL { false }
::= { dPowerSavingGeneral 3 }
dpsDimLedEnabled OBJECT-TYPE
SYNTAX TruthValue
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object indicates the state of power saving by scheduled dimming LED."
DEFVAL { false }
::= { dPowerSavingGeneral 4 }
dpsLedAdminEnabled OBJECT-TYPE
SYNTAX TruthValue
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object indicates the administrative state of LED of all ports."
DEFVAL { true}
::= { dPowerSavingGeneral 5 }
dpsPortShutdownEnabled OBJECT-TYPE
SYNTAX TruthValue
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object indicates the state of power saving by scheduled port shutdown."
DEFVAL { false }
::= { dPowerSavingGeneral 6 }
--------------------------------------------------------------------------------
dPowerSavingIfObjects OBJECT IDENTIFIER ::= { dPowerSavingMIBObjects 2 }
dpsIfEeeTable OBJECT-TYPE
SYNTAX SEQUENCE OF DpsIfEeeEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This table consists of a list of EEE (Energy-Efficient Ethernet)
state information for ports."
::= { dPowerSavingIfObjects 1}
dpsIfEeeEntry OBJECT-TYPE
SYNTAX DpsIfEeeEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"An entry contains EEE configuration on a port."
INDEX { ifIndex }
::= { dpsIfEeeTable 1 }
DpsIfEeeEntry ::= SEQUENCE {
dpsIfEeeStatus INTEGER
}
dpsIfEeeStatus OBJECT-TYPE
SYNTAX INTEGER {
enabled(1),
disabled(2),
notAvailable(3)
}
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object indicates the EEE status on an interface.
To set dpsIfEeeStatus to notAvailable has no effect.
When read the value of 'notAvailable' means EEE is not supported
on the port."
::= { dpsIfEeeEntry 2 }
-- -----------------------------------------------------------------------------
dpsScheduleCtrl OBJECT IDENTIFIER ::= { dPowerSavingMIBObjects 3 }
dpsHibernationTimeRange OBJECT-TYPE
SYNTAX DisplayString (SIZE (0..32))
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object indicates the time-range profile for system hibernation
schedule.
A zero length string indicates the schedule is not specified.
"
::= { dpsScheduleCtrl 1 }
dpsDimLedTimeRange OBJECT-TYPE
SYNTAX DisplayString (SIZE (0..32))
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object indicates the time-range profile for dimming LED schedule.
A zero length string indicates the schedule is not specified.
"
::= { dpsScheduleCtrl 2 }
dpsPortShutdownScheduleTable OBJECT-TYPE
SYNTAX SEQUENCE OF DpsPortShutdownScheduleEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"A list of the shutdown configurations of the power saving."
::= { dpsScheduleCtrl 3 }
dpsPortShutdownScheduleEntry OBJECT-TYPE
SYNTAX DpsPortShutdownScheduleEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"An entry contains the time-range profile for port-shutdown schedule
on a port. "
INDEX { ifIndex }
::= { dpsPortShutdownScheduleTable 1 }
DpsPortShutdownScheduleEntry ::= SEQUENCE {
dpsPortShutdownTimeRange DisplayString
}
dpsPortShutdownTimeRange OBJECT-TYPE
SYNTAX DisplayString (SIZE (0..32))
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object indicates the name of time-range profile.
A zero length string indicates the schedule is not specified."
::= { dpsPortShutdownScheduleEntry 1 }
-- *****************************************************************************
-- MIB Conformance statements
-- *****************************************************************************
dpsMIBCompliances OBJECT IDENTIFIER ::= { dPowerSavingMIBConformance 1 }
dpsMIBGroups OBJECT IDENTIFIER ::= { dPowerSavingMIBConformance 2 }
dpsMIBCompliance MODULE-COMPLIANCE
STATUS current
DESCRIPTION
"The compliance statement for entities which implement the
DLINKSW-POWER-SAVING-MIB."
MODULE -- this module
GROUP dpsLinkCfgGroup
DESCRIPTION
"This group does not need to be implemented if link down
auto power saving is not supported."
GROUP dpsLenCfgGroup
DESCRIPTION
"This group does not need to be implemented if cable diagnosis is
not supported."
GROUP dpsHiberCfgGroup
DESCRIPTION
"This group is mandatory if power saving schedule function
is supported."
GROUP dpsDimLedCfgGroup
DESCRIPTION
"This group is mandatory if power saving schedule function
is supported."
GROUP dpsShutdownCfgGroup
DESCRIPTION
"This group is mandatory if power saving schedule function
is supported."
GROUP dpsIfEeeCfgGroup
DESCRIPTION
"This group does not need to be implemented if EEE function
is not supported."
::= { dpsMIBCompliances 1 }
-------------------------------------------------------------------------------
dpsLinkCfgGroup OBJECT-GROUP
OBJECTS {
dpsLinkDetectionEnabled
}
STATUS current
DESCRIPTION
"A collection of objects to configure or display the link status
detection state."
::= { dpsMIBGroups 1 }
dpsLenCfgGroup OBJECT-GROUP
OBJECTS {
dpsLengthDetectionEnabled
}
STATUS current
DESCRIPTION
"A collection of objects to configure or display the
cable length detection state."
::= { dpsMIBGroups 2 }
dpsHiberCfgGroup OBJECT-GROUP
OBJECTS {
dpsHibernationEnabled,
dpsHibernationTimeRange
}
STATUS current
DESCRIPTION
"A collection of objects to configure or display the
system hibernation schedule information."
::= { dpsMIBGroups 3 }
dpsDimLedCfgGroup OBJECT-GROUP
OBJECTS {
dpsDimLedEnabled,
dpsLedAdminEnabled,
dpsDimLedTimeRange
}
STATUS current
DESCRIPTION
"A collection of objects to configure or display the
dimming LED schedule or LED administrative state information."
::= { dpsMIBGroups 4 }
dpsShutdownCfgGroup OBJECT-GROUP
OBJECTS {
dpsPortShutdownEnabled,
dpsPortShutdownTimeRange
}
STATUS current
DESCRIPTION
"A collection of objects to configure or display the
port shutdown schedule information."
::= { dpsMIBGroups 5 }
dpsIfEeeCfgGroup OBJECT-GROUP
OBJECTS {
dpsIfEeeStatus
}
STATUS current
DESCRIPTION
"A collection of objects to configure or display the
EEE state of ports."
::= { dpsMIBGroups 6 }
END

1980
mibs/dlink/DLINKSW-QOS-MIB Normal file

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,355 @@
-- *****************************************************************
-- DLINKSW-RA-GUARD-MIB: RA Guard MIB
--
-- Copyright (c) 2013 D-Link Corporation, all rights reserved.
--
-- *****************************************************************
DLINKSW-RA-GUARD-MIB DEFINITIONS ::= BEGIN
IMPORTS
MODULE-IDENTITY,
Unsigned32,
OBJECT-TYPE
FROM SNMPv2-SMI
MODULE-COMPLIANCE,
OBJECT-GROUP
FROM SNMPv2-CONF
TruthValue,
RowStatus,
DisplayString
FROM SNMPv2-TC
ifIndex
FROM IF-MIB
dlinkIndustrialCommon
FROM DLINK-ID-REC-MIB;
dlinkSwRaGuardMIB MODULE-IDENTITY
LAST-UPDATED "201307180000Z"
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 module defines objects for RA Guard."
REVISION "201307180000Z"
DESCRIPTION
"This is the first version of the MIB file.
"
::= { dlinkIndustrialCommon 141 }
--
-- Textual Conventions
--
-- -----------------------------------------------------------------------------
dRaGuardNotifications OBJECT IDENTIFIER ::= { dlinkSwRaGuardMIB 0 }
dRaGuardObjects OBJECT IDENTIFIER ::= { dlinkSwRaGuardMIB 1 }
dRaGuardConformance OBJECT IDENTIFIER ::= { dlinkSwRaGuardMIB 2 }
dRaGuardPolicy OBJECT IDENTIFIER ::= { dRaGuardObjects 1 }
dRaGuardInterface OBJECT IDENTIFIER ::= { dRaGuardObjects 2 }
-- -----------------------------------------------------------------------------
dRaGuardPolicyNumber OBJECT-TYPE
SYNTAX Unsigned32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Indicates the number of entries present in RA Guard policy
table."
::= { dRaGuardPolicy 1 }
dRaGuardPolicyTable OBJECT-TYPE
SYNTAX SEQUENCE OF DRaGuardPolicyEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"The table contains information about RA Guard policies."
::= { dRaGuardPolicy 2 }
dRaGuardPolicyEntry OBJECT-TYPE
SYNTAX DRaGuardPolicyEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"An entry defined in dRaGuardPolicyTable. An entry is
created/removed when a RA Guard policy is created/deleted."
INDEX { dRaGuardPolicyName }
::= { dRaGuardPolicyTable 1 }
DRaGuardPolicyEntry ::= SEQUENCE {
dRaGuardPolicyName DisplayString,
dRaGuardPolicyDeviceRole INTEGER,
dRaGuardPolicyRowStatus RowStatus
}
dRaGuardPolicyName OBJECT-TYPE
SYNTAX DisplayString (SIZE (1..32))
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"The name of the RA Guard policy."
::= { dRaGuardPolicyEntry 1 }
dRaGuardPolicyDeviceRole OBJECT-TYPE
SYNTAX INTEGER {
host(1),
router(2)
}
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"Indicates the role of the attached device.
host: all the inbound router advertisement
and redirect messages are blocked.
router: all messages (router solicitation [RS],
router advertisement [RA], or redirect)
are allowed on this port.
"
DEFVAL { host }
::= { dRaGuardPolicyEntry 2 }
dRaGuardPolicyRowStatus OBJECT-TYPE
SYNTAX RowStatus
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"This object allows the dynamic creation and deletion of a RA Guard
policy.
"
::= { dRaGuardPolicyEntry 99 }
-- -----------------------------------------------------------------------------
dRaGuardMatchAclTable OBJECT-TYPE
SYNTAX SEQUENCE OF DRaGuardMatchAclEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"The table contains a list of IPv6 access list associations for
RA Guard policies.
The IPv6 access list is used to filter the RA messages based on
sender IPv6 address.
"
::= { dRaGuardPolicy 3 }
dRaGuardMatchAclEntry OBJECT-TYPE
SYNTAX DRaGuardMatchAclEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"An entry is defined in dRaGuardMatchAclTable.
The first instance identifier index value identifies the
dRaGuardPolicyEntry that an IPv6 access list (dRaGuardMatchAclEntry)
belongs to. An entry is removed from this table when its
corresponding dRaGuardPolicyEntry is deleted."
INDEX {
dRaGuardPolicyName
}
::= { dRaGuardMatchAclTable 1 }
DRaGuardMatchAclEntry ::= SEQUENCE {
dRaGuardMatchAccessListName DisplayString,
dRaGuardMatchAclRowStatus RowStatus
}
dRaGuardMatchAccessListName OBJECT-TYPE
SYNTAX DisplayString (SIZE (1..32))
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"This object indicates the name of the associated IPv6 access list
in a RA Guard policy.
The IPv6 access list is used to filter RA messages based on sender
IPv6 address when the corresponding dRaGuardPolicyDeviceRole is
'router'.
If the IPv6 access list is not configured, all RA messages are
bypassed."
::= { dRaGuardMatchAclEntry 1 }
dRaGuardMatchAclRowStatus OBJECT-TYPE
SYNTAX RowStatus
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"The row status variable, used according to installation
and removal conventions for conceptual rows."
::= { dRaGuardMatchAclEntry 99 }
-- -----------------------------------------------------------------------------
dRaGuardIfConfigTable OBJECT-TYPE
SYNTAX SEQUENCE OF DRaGuardIfConfigEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"A table provides the mechanism to configure the RA Guard
state at every interface capable of this feature.
"
::= { dRaGuardInterface 1 }
dRaGuardIfConfigEntry OBJECT-TYPE
SYNTAX DRaGuardIfConfigEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"A row instance contains the configuration to enable or
disable RA Guard on an interface.
"
INDEX { ifIndex }
::= { dRaGuardIfConfigTable 1 }
DRaGuardIfConfigEntry ::= SEQUENCE {
dRaGuardIfEnabled TruthValue
}
dRaGuardIfEnabled OBJECT-TYPE
SYNTAX TruthValue
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object enables RA Guard on the interface, if set this
object to 'true'.
Setting this object to 'false' disables the RA Guard on the
interface.
"
::= { dRaGuardIfConfigEntry 1 }
-- -----------------------------------------------------------------------------
dRaGuardIfAttachTable OBJECT-TYPE
SYNTAX SEQUENCE OF DRaGuardIfAttachEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"A table provides the mechanism to attach a RA Guard policy on
a physical port or port-channel interface.
"
::= { dRaGuardInterface 2 }
dRaGuardIfAttachEntry OBJECT-TYPE
SYNTAX DRaGuardIfAttachEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"A row instance contains the configuration to attach a RA Guard
policy on a physical port or port-channel interface.
"
INDEX { ifIndex }
::= { dRaGuardIfAttachTable 1 }
DRaGuardIfAttachEntry ::= SEQUENCE {
dRaGuardIfAttachPolicy DisplayString,
dRaGuardIfAttachRowStatus RowStatus
}
dRaGuardIfAttachPolicy OBJECT-TYPE
SYNTAX DisplayString (SIZE (1..32))
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"This object indicates the name of the attached RA Guard
policy.
"
::= { dRaGuardIfAttachEntry 1 }
dRaGuardIfAttachRowStatus OBJECT-TYPE
SYNTAX RowStatus
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"The row status variable, used according to installation
and removal conventions for conceptual rows."
::= { dRaGuardIfAttachEntry 99 }
-- Conformance
dRaGuardMIBCompliances OBJECT IDENTIFIER ::= { dRaGuardConformance 1 }
dRaGuardMIBGroups OBJECT IDENTIFIER ::= { dRaGuardConformance 2 }
dRaGuardMIBCompliance MODULE-COMPLIANCE
STATUS current
DESCRIPTION
"The compliance statement for DLINKSW-RA-GUARD-MIB"
MODULE
MANDATORY-GROUPS {
dRaGuardIfConfigGroup
}
GROUP dRaGuardPolicyGroup
DESCRIPTION
"This group is mandatory only for the platform which supports
configuration of RA Guard policy."
GROUP dRaGuardIfAttachGroup
DESCRIPTION
"This group is mandatory only for the platform which supports
interface-specific configuration of attaching RA Guard policy."
GROUP dRaGuardMatchAclGroup
DESCRIPTION
"This group is mandatory only for the platform which supports
filtering IPv6 RA message by IPv6 access list."
::= { dRaGuardMIBCompliances 1 }
-- Units of Conformance
dRaGuardIfConfigGroup OBJECT-GROUP
OBJECTS {
dRaGuardIfEnabled
}
STATUS current
DESCRIPTION
"A collection of objects which are used to configure as
well as show information regarding the RA Guard feature
per interface."
::= { dRaGuardMIBGroups 1 }
dRaGuardPolicyGroup OBJECT-GROUP
OBJECTS {
dRaGuardPolicyNumber,
dRaGuardPolicyDeviceRole,
dRaGuardPolicyRowStatus
}
STATUS current
DESCRIPTION
"A collection of objects which are used to configure as
well as show information regarding the RA Guard policy."
::= { dRaGuardMIBGroups 2 }
dRaGuardMatchAclGroup OBJECT-GROUP
OBJECTS {
dRaGuardMatchAccessListName,
dRaGuardMatchAclRowStatus
}
STATUS current
DESCRIPTION
"A collection of objects which are used to configure as
well as show information regarding the IPv6 access list
in RA Guard policy."
::= { dRaGuardMIBGroups 3 }
dRaGuardIfAttachGroup OBJECT-GROUP
OBJECTS {
dRaGuardIfAttachPolicy,
dRaGuardIfAttachRowStatus
}
STATUS current
DESCRIPTION
"A collection of object which are used to configure as
well as show information regarding the attaching policy
per interface."
::= { dRaGuardMIBGroups 4 }
END

View File

@ -0,0 +1,178 @@
-- *****************************************************************
-- DLINKSW-SAFEGUARD-ENGINE-MIB.mib : Safeguard Engine Configuration MIB
--
-- Copyright (c) 2012 D-Link Corporation, all rights reserved.
--
-- *****************************************************************
DLINKSW-SAFEGUARD-ENGINE-MIB DEFINITIONS ::= BEGIN
IMPORTS
OBJECT-GROUP, MODULE-COMPLIANCE
FROM SNMPv2-CONF
Integer32, Counter32, OBJECT-TYPE, MODULE-IDENTITY
FROM SNMPv2-SMI
TruthValue,
RowStatus,
TEXTUAL-CONVENTION
FROM SNMPv2-TC
dCpuProtectMIBObjects
FROM DLINKSW-CPU-PROTECT-MIB;
dlinkSwSafeguardEngineMIB MODULE-IDENTITY
LAST-UPDATED "201206270000Z"
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
"The MIB module for managing Safeguard engine."
REVISION "201206270000Z"
DESCRIPTION
"Initial version of this MIB module."
::= { dCpuProtectMIBObjects 1 }
--
-- Node definitions
--
dSafeguardEngineMIBNotif OBJECT IDENTIFIER ::= { dlinkSwSafeguardEngineMIB 0 }
dSafeguardEngineMIBObjects OBJECT IDENTIFIER ::= { dlinkSwSafeguardEngineMIB 1 }
dSafeguardEngineMIBConformance OBJECT IDENTIFIER ::= { dlinkSwSafeguardEngineMIB 2 }
-- ***************************************************************************
-- Safeguard-Engine
-- ***************************************************************************
dSafeguardEngineState OBJECT-TYPE
SYNTAX INTEGER
{ enable(1),
disable(2)
}
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object is used to configure and show the state of Safeguard Engine."
DEFVAL { disable }
::= { dSafeguardEngineMIBObjects 1 }
dSafeguardEngineRiseThresh OBJECT-TYPE
SYNTAX INTEGER (20..100)
UNITS "%"
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object is used to configure and show the rising threshold
of Safeguard Engine."
DEFVAL { 50 }
::= { dSafeguardEngineMIBObjects 2 }
dSafeguardEngineFallThresh OBJECT-TYPE
SYNTAX INTEGER (20..100)
UNITS "%"
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object is used to configure and show the falling
threshold of Safeguard Engine."
DEFVAL { 20 }
::= { dSafeguardEngineMIBObjects 3 }
dSafeguardEngineCurrentMode OBJECT-TYPE
SYNTAX INTEGER
{ normal(1),
exhausted(2)
}
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"This object show the current mode of Safeguard Engine."
::= { dSafeguardEngineMIBObjects 4 }
dSafeguardEngineNotifEnable OBJECT-TYPE
SYNTAX TruthValue
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object specifies whether the system sends notifications to the NMS."
DEFVAL { false }
::= { dSafeguardEngineMIBObjects 5 }
-- ***************************************************************************
-- Notification
-- ***************************************************************************
dSafeguardChgToExhausted NOTIFICATION-TYPE
OBJECTS { dSafeguardEngineCurrentMode }
STATUS current
DESCRIPTION
"This trap indicates System change operation mode from normal to exhausted."
::= { dSafeguardEngineMIBNotif 1 }
dSafeguardChgToNormal NOTIFICATION-TYPE
OBJECTS { dSafeguardEngineCurrentMode }
STATUS current
DESCRIPTION
"This trap indicates System change operation mode from exhausted to normal."
::= { dSafeguardEngineMIBNotif 2 }
-- ***************************************************************************
-- Conformance
-- ***************************************************************************
dSafeguardEngineCompliances OBJECT IDENTIFIER ::= { dSafeguardEngineMIBConformance 1 }
dSafeguardEngineCompliance MODULE-COMPLIANCE
STATUS current
DESCRIPTION
"The compliance statement for entities which implement the
DLINKSW-SAFEGUARD-ENGINE-MIB."
MODULE -- this module
MANDATORY-GROUPS
{ dSafeguardEngineGroup,
dSafeguardEngNotifEnableGroup,
dSafeguardEngineNotifGroup
}
::= { dSafeguardEngineCompliances 1 }
dSafeguardEngineGroups OBJECT IDENTIFIER ::= { dSafeguardEngineMIBConformance 2 }
dSafeguardEngineGroup OBJECT-GROUP
OBJECTS
{ dSafeguardEngineState,
dSafeguardEngineRiseThresh,
dSafeguardEngineFallThresh,
dSafeguardEngineCurrentMode
}
STATUS current
DESCRIPTION
"A collection of objects providing the configuration or inforamtion about Safeguard Engine."
::= { dSafeguardEngineGroups 1 }
dSafeguardEngNotifEnableGroup OBJECT-GROUP
OBJECTS { dSafeguardEngineNotifEnable }
STATUS current
DESCRIPTION
"A collection of object(s) that provides control over
Safeguard Engine related notification(s)."
::= { dSafeguardEngineGroups 2 }
dSafeguardEngineNotifGroup NOTIFICATION-GROUP
NOTIFICATIONS
{ dSafeguardChgToExhausted,
dSafeguardChgToNormal
}
STATUS current
DESCRIPTION
"A collection of notifications providing information
about the System mode change of Safeguard Engine."
::= { dSafeguardEngineGroups 3}
END

View File

@ -0,0 +1,612 @@
-- *****************************************************************
-- DLINKSW-SFLOW-MIB.mib : D-Link sFlow MIB
--
-- Copyright (c) 2013 D-Link Corporation, all rights reserved.
--
-- *****************************************************************
DLINKSW-SFLOW-MIB DEFINITIONS ::= BEGIN
IMPORTS
MODULE-IDENTITY, OBJECT-TYPE, Integer32
FROM SNMPv2-SMI
TEXTUAL-CONVENTION, RowStatus,DisplayString
FROM SNMPv2-TC
MODULE-COMPLIANCE, OBJECT-GROUP
FROM SNMPv2-CONF
SnmpAdminString
FROM SNMP-FRAMEWORK-MIB
InetAddressType, InetAddress, InetAddressIPv4, InetAddressIPv6
FROM INET-ADDRESS-MIB
dlinkIndustrialCommon
FROM DLINK-ID-REC-MIB;
dlinkSwSFlowMIB MODULE-IDENTITY
LAST-UPDATED "201304100000Z"
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
"The structure of sFlow for the proprietary enterprise."
REVISION "201304100000Z"
DESCRIPTION
"Initial version of this MIB module."
::= { dlinkIndustrialCommon 36 }
-- -----------------------------------------------------------------------------
dSFlowMIBNotifications OBJECT IDENTIFIER ::= { dlinkSwSFlowMIB 0 }
dSFlowMIBObjects OBJECT IDENTIFIER ::= { dlinkSwSFlowMIB 1 }
dSFlowMIBConformance OBJECT IDENTIFIER ::= { dlinkSwSFlowMIB 2 }
-- -----------------------------------------------------------------------------
DSFlowDataSource ::= TEXTUAL-CONVENTION
STATUS current
DESCRIPTION
"Identifies the ifIndex of interface as the source of sFlow data.
DSFlowDataSources of this traditional form are called
'port-based'. Ideally the sampling entity will perform
sampling on all flows originating from or destined to
the specified interface. However, if the switch architecture
only allows input or output sampling then the sampling agent
is permitted to only sample input flows input or output flows.
Each packet must only be considered once for sampling,
irrespective of the number of ports it will be forwarded to.
Note: Since each DSFlowDataSource operates independently a
packet that crosses multiple DataSources may generate
multiple flow records."
SYNTAX Integer32 (1..2147483647)
DSFlowInstance ::= TEXTUAL-CONVENTION
STATUS current
DESCRIPTION
"If more than one sFlow sampler is available for this
DSFlowDataSource then individual samplers are distinguished
using the DSFlowInstance variable. The value of
DSFlowInstance ranges from 1..n where n is the number of
samplers associated with this DSFlowDataSource.
Note: Each sFlow sampler instance must operate
independently of all other instances. Setting
an attribute of one sampler must not alter the
the behavior and settings of other sampler
instances."
SYNTAX Integer32 (1..65535)
DSFlowReceiver ::= TEXTUAL-CONVENTION
STATUS current
DESCRIPTION
"Identify the sFlow receiver associated with this resource.
A value of zero indicates that this resource is available.
If non-zero the value must correspond to a valid, active
dSFlowRcvrIndex.
If the value is currently zero it may be set to any
active entry in the dSFlowRcvrTable. If the value is
not zero then a set to anything other than zero or
its current value will result in an SNMP error (bad value).
Setting to zero frees the resource and returns all the
values in this entry to their default values.
If an entry in the dSFlowRcvrTable expires, either
because the dSFlowRcvrOwner is set to the empty
string or because the dSFlowRcvrCurrentTimeout reaches zero, then
the agent must mark all associated resources as available
(by setting the associated DSFlowReceiver entry to zero)
and all values in these records must be restored to their
default values.
This mechanism provides no enforcement and relies on the
cooperation of management entities in order to ensure that
competition for a resource is fairly resolved. A management
entity should not make any changes to a resource
without first acquiring it by successfully writing its
dSFlowRcvrIndex value as the DSFlowReceiver for the resource."
SYNTAX Integer32
-- -----------------------------------------------------------------------------
dSFlowVersion OBJECT-TYPE
SYNTAX SnmpAdminString
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Uniquely identifies the version and implementation of this MIB.
The version string must have the following structure:
<MIB Version>;<Organization>;<Software Revision>
where:
<MIB Version> must be '1.3', the version of referred SFLOW-MIB,
which is defined by sFlow.org.
<Organization> the name of the organization responsible
for the agent implementation.
<Revision> the specific software build of this agent.
As an example, the string '1.3;InMon Corp.;2.1.1' indicates
that this agent implements version '1.2' of the SFLOW MIB, that
it was developed by 'InMon Corp.' and that the software build
is '2.1.1'.
The MIB Version will change with each revision of the SFLOW-MIB.
Management entities must check the MIB Version and not attempt
to manage agents with MIB Versions greater than that for which
they were designed.
Note: The sFlow Datagram Format has an independent version
number which may change independently from <MIB Version>.
<MIB Version> applies to the structure and semantics of
the SFLOW MIB only."
DEFVAL { "1.3;;" }
::= { dSFlowMIBObjects 1 }
dSFlowAgentAddressIPv4 OBJECT-TYPE
SYNTAX InetAddressIPv4
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The IPv4 address associated with this agent."
::= { dSFlowMIBObjects 2 }
dSFlowAgentAddressIPv6 OBJECT-TYPE
SYNTAX InetAddressIPv6
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The IPv6 address associated with this agent. If the IPv6
is not supported on this agent, 0::0 will be displayed."
::= { dSFlowMIBObjects 3 }
-- -----------------------------------------------------------------------------
-- Receiver Table
-- -----------------------------------------------------------------------------
dSFlowRcvrTable OBJECT-TYPE
SYNTAX SEQUENCE OF DSFlowRcvrEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"A table of the receivers of sFlow information."
::= { dSFlowMIBObjects 4 }
dSFlowRcvrEntry OBJECT-TYPE
SYNTAX DSFlowRcvrEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"Attributes of an sFlow Receiver."
INDEX { dSFlowRcvrIndex }
::= { dSFlowRcvrTable 1 }
DSFlowRcvrEntry ::= SEQUENCE {
dSFlowRcvrIndex Integer32,
dSFlowRcvrOwner DisplayString,
dSFlowRcvrAdminTimeout Integer32,
dSFlowRcvrCurrentTimeout Integer32,
dSFlowRcvrMaximumDatagramSize Integer32,
dSFlowRcvrAddressType InetAddressType,
dSFlowRcvrAddress InetAddress,
dSFlowRcvrVrfName DisplayString,
dSFlowRcvrPort Integer32,
dSFlowRcvrDatagramVersion Integer32,
dSFlowRcvrReset INTEGER
}
dSFlowRcvrIndex OBJECT-TYPE
SYNTAX Integer32 (1..65535)
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"Index into dSFlowReceiverTable. The number of supported receivers
is project dependent."
::= { dSFlowRcvrEntry 1 }
dSFlowRcvrOwner OBJECT-TYPE
SYNTAX DisplayString (SIZE (0..32))
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"The entity making use of this dSFlowRcvrTable entry. The
empty string indicates that the entry is currently unclaimed.
An entity wishing to claim a dSFlowRcvrTable entry must
ensure that the entry is unclaimed before trying to claim it.
The entry is claimed by setting the owner string. The entry
must be claimed before any changes can be made to the receiver's
other objects.
When a management entity is finished using the receiver, it
should set the value of dSFlowRcvrOwner back to unclaimed.
The agent must restore all other entities this row to their
default values when the owner is set to unclaimed. It must
also free all other resources associated with this
dSFlowRcvrTable entry.
This mechanism provides no enforcement and relies on the
cooperation of management entities in order to ensure that
competition for a receiver entry is fairly resolved."
DEFVAL { "" }
::= { dSFlowRcvrEntry 2 }
dSFlowRcvrAdminTimeout OBJECT-TYPE
SYNTAX Integer32 (0..2000000)
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"The expire time (in seconds) configured for the receiver.
A management entity wanting to maintain control of the receiver
is responsible for setting a new value before the old one
expires.
When the interval expires, the agent is responsible for
restoring all other entities in this row to their default
values. It must also free all other resources associated with
this dSFlowRcvrTable entry.
When set, 0 means infinite that the receiver will never be
expired."
DEFVAL { 0 }
::= { dSFlowRcvrEntry 3 }
dSFlowRcvrCurrentTimeout OBJECT-TYPE
SYNTAX Integer32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The time (in seconds) remaining before the receiver is released."
DEFVAL { 0 }
::= { dSFlowRcvrEntry 4 }
dSFlowRcvrMaximumDatagramSize OBJECT-TYPE
SYNTAX Integer32 (700..1400)
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"The maximum number of data bytes that can be sent in a single
sample datagram. The manager should set this value to avoid
fragmentation of the sFlow datagrams."
DEFVAL { 1400 }
::= { dSFlowRcvrEntry 5 }
dSFlowRcvrAddressType OBJECT-TYPE
SYNTAX InetAddressType
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"The address type of the sFlow collector."
DEFVAL { ipv4 }
::= { dSFlowRcvrEntry 6 }
dSFlowRcvrAddress OBJECT-TYPE
SYNTAX InetAddress
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"The IP address of the sFlow collector.
If set to 0.0.0.0 no sFlow datagrams will be sent."
DEFVAL { '00000000'h } -- 0.0.0.0
::= { dSFlowRcvrEntry 7 }
dSFlowRcvrVrfName OBJECT-TYPE
SYNTAX DisplayString
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"Specify the name of the routing forwarding instance."
DEFVAL { "" }
::= { dSFlowRcvrEntry 8 }
dSFlowRcvrPort OBJECT-TYPE
SYNTAX Integer32 (1..65535)
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"The UDP port of the remote sFlow collector."
DEFVAL { 6343 }
::= { dSFlowRcvrEntry 9 }
dSFlowRcvrDatagramVersion OBJECT-TYPE
SYNTAX Integer32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The version of sFlow datagrams that should be sent."
DEFVAL { 5 }
::= { dSFlowRcvrEntry 10 }
dSFlowRcvrReset OBJECT-TYPE
SYNTAX INTEGER {
reset(1),
noOp(2)
}
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object reset the receiver when set to 'reset'.
No action is taken if this object is set to 'noOp'.
When read, the value 'noOp' is returned."
DEFVAL { noOp }
::= { dSFlowRcvrEntry 11 }
-- -----------------------------------------------------------------------------
-- Flow Sampling Table
-- -----------------------------------------------------------------------------
dSFlowFsTable OBJECT-TYPE
SYNTAX SEQUENCE OF DSFlowFsEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"A table of the flow samplers within a device."
::= { dSFlowMIBObjects 5 }
dSFlowFsEntry OBJECT-TYPE
SYNTAX DSFlowFsEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"Attributes of a flow sampler."
INDEX {
dSFlowFsDataSource,
dSFlowFsInstance
}
::= { dSFlowFsTable 1 }
DSFlowFsEntry ::= SEQUENCE {
dSFlowFsDataSource DSFlowDataSource,
dSFlowFsInstance DSFlowInstance,
dSFlowFsReceiver DSFlowReceiver,
dSFlowFsDirection INTEGER,
dSFlowFsAdminSamplingRate Integer32,
dSFlowFsActiveSamplingRate Integer32,
dSFlowFsMaximumHeaderSize Integer32,
dSFlowFsRowStatus RowStatus
}
dSFlowFsDataSource OBJECT-TYPE
SYNTAX DSFlowDataSource
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This object indicates the source of the data for this flow
sampler."
::= { dSFlowFsEntry 1 }
dSFlowFsInstance OBJECT-TYPE
SYNTAX DSFlowInstance
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"The instance index for uniquely identifying the flow sampler
when multiple flow samplers are associated with one interface."
::= { dSFlowFsEntry 2 }
dSFlowFsReceiver OBJECT-TYPE
SYNTAX DSFlowReceiver
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"The index of the sFlow receiver for this flow sampler."
DEFVAL { 0 }
::= { dSFlowFsEntry 3 }
dSFlowFsDirection OBJECT-TYPE
SYNTAX INTEGER{
inbound(1),
outbound(2)
}
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"This object indicates the flow direction which will be sampled.
'inbound' - sample ingress packets.
'outbound' - sample egress packets."
DEFVAL { inbound }
::= { dSFlowFsEntry 4 }
dSFlowFsAdminSamplingRate OBJECT-TYPE
SYNTAX Integer32 (0..65536)
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"The configured sampling rate for packet sampling from this
source.
Set to N to sample 1/Nth of the packets in the monitored flows.
An agent should choose its own algorithm to introduce variance
into the sampling so that exactly every Nth packet is not
counted. A sampling rate of 1 counts all packets. A sampling
rate of 0 disables sampling.
The agent is permitted to have minimum and maximum allowable
values for the sampling rate. A minimum rate lets the agent
designer set an upper bound on the overhead associated with
sampling, and a maximum rate may be the result of hardware
restrictions (such as counter size). In addition not all values
between the maximum and minimum may be realizable as the
sampling rate (again because of implementation considerations).
When the sampling rate is set the agent is free to adjust the
value so that it lies between the maximum and minimum values
and has the closest achievable value.
When read, the configured sampling rate will be returned."
DEFVAL { 0 }
::= { dSFlowFsEntry 5 }
dSFlowFsActiveSamplingRate OBJECT-TYPE
SYNTAX Integer32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The statistical sampling rate for packet sampling from this
source.
When read, the agent must return the actual sampling rate it
will be using (after the adjustments previously described). The
sampling algorithm must converge so that over time the number
of packets sampled approaches 1/Nth of the total number of
packets in the monitored flows."
DEFVAL { 0 }
::= { dSFlowFsEntry 6 }
dSFlowFsMaximumHeaderSize OBJECT-TYPE
SYNTAX Integer32 (18..256)
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"The maximum number of bytes that should be copied from a
sampled packet. The agent may have an internal maximum and
minimum permissible sizes. If an attempt is made to set this
value outside the permissible range then the agent should
adjust the value to the closest permissible value."
DEFVAL { 128 }
::= { dSFlowFsEntry 7 }
dSFlowFsRowStatus OBJECT-TYPE
SYNTAX RowStatus
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"This object indicates the status of this entry."
::= { dSFlowFsEntry 8 }
-- -----------------------------------------------------------------------------
-- Counter Polling Table
-- -----------------------------------------------------------------------------
dSFlowCpTable OBJECT-TYPE
SYNTAX SEQUENCE OF DSFlowCpEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"A table of the counter pollers within a device."
::= { dSFlowMIBObjects 6 }
dSFlowCpEntry OBJECT-TYPE
SYNTAX DSFlowCpEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"Attributes of a counter poller."
INDEX {
dSFlowCpDataSource,
dSFlowCpInstance
}
::= { dSFlowCpTable 1 }
DSFlowCpEntry ::= SEQUENCE {
dSFlowCpDataSource DSFlowDataSource,
dSFlowCpInstance DSFlowInstance,
dSFlowCpReceiver DSFlowReceiver,
dSFlowCpInterval Integer32,
dSFlowCpRowStatus RowStatus
}
dSFlowCpDataSource OBJECT-TYPE
SYNTAX DSFlowDataSource
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"Identifies the source of the data for the counter poller."
::= { dSFlowCpEntry 1 }
dSFlowCpInstance OBJECT-TYPE
SYNTAX DSFlowInstance
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"The instance instance index for uniquely identifying the counter
poller when multiple Pollers are associated with one interface."
::= { dSFlowCpEntry 2 }
dSFlowCpReceiver OBJECT-TYPE
SYNTAX DSFlowReceiver
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"The sflow receiver's index for this counter poller."
DEFVAL { 0 }
::= { dSFlowCpEntry 3 }
dSFlowCpInterval OBJECT-TYPE
SYNTAX Integer32 (0..120)
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"The maximum number of seconds between successive samples of the
counters associated with this data source. A sampling interval
of 0 disables counter sampling.
The agent is permitted to have minimum and maximum allowable
values for the counter polling interval. A minimum interval
lets the agent designer set an upper bound on the overhead
associated with polling, and a maximum interval may be the
result of implementation restrictions (such as counter size).
In addition not all values between the maximum and minimum may
be realizable as the sampling interval (again because of
implementation considerations)."
DEFVAL { 0 }
::= { dSFlowCpEntry 4 }
dSFlowCpRowStatus OBJECT-TYPE
SYNTAX RowStatus
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"This object indicates the status of this entry."
::= { dSFlowCpEntry 5 }
-- -----------------------------------------------------------------------------
-- MIB Conformance statements
-- -----------------------------------------------------------------------------
dSFlowMIBCompliances OBJECT IDENTIFIER ::= { dSFlowMIBConformance 1 }
dSFlowMIBGroups OBJECT IDENTIFIER ::= { dSFlowMIBConformance 2 }
dSFlowCompliance MODULE-COMPLIANCE
STATUS current
DESCRIPTION
"The compliance statement for entities which implement the
DLINKSW-SFLOW-MIB."
MODULE -- this module
MANDATORY-GROUPS { dSFlowAgentGroup }
OBJECT dSFlowRcvrAddressType
DESCRIPTION
"It is compliant to support only a subset of values. For example if
the platform doesn't support IPv6, the type of 'ipv6' cannot be
configured."
OBJECT dSFlowRcvrVrfName
DESCRIPTION
"When the agent doesn't support VRF, only zero string can be set."
::= { dSFlowMIBCompliances 1 }
dSFlowAgentGroup OBJECT-GROUP
OBJECTS {
dSFlowVersion, dSFlowAgentAddressIPv4, dSFlowAgentAddressIPv6,
dSFlowRcvrOwner,dSFlowRcvrAdminTimeout,dSFlowRcvrCurrentTimeout,
dSFlowRcvrMaximumDatagramSize, dSFlowRcvrAddressType,
dSFlowRcvrAddress, dSFlowRcvrPort, dSFlowRcvrVrfName,
dSFlowRcvrDatagramVersion, dSFlowRcvrReset,
dSFlowFsReceiver, dSFlowFsDirection,
dSFlowFsAdminSamplingRate, dSFlowFsActiveSamplingRate,
dSFlowFsMaximumHeaderSize, dSFlowFsRowStatus,
dSFlowCpReceiver, dSFlowCpInterval, dSFlowCpRowStatus
}
STATUS current
DESCRIPTION
"A collection of objects for managing the generation and
transportation of sFlow data records."
::= { dSFlowMIBGroups 1 }
END

510
mibs/dlink/DLINKSW-SNMP-MIB Normal file
View File

@ -0,0 +1,510 @@
-- *****************************************************************
-- DLINKSW-SNMP-MIB.mib : SNMP management MIB
--
-- Copyright (c) 2013 D-Link Corporation, all rights reserved.
--
-- *****************************************************************
DLINKSW-SNMP-MIB DEFINITIONS ::= BEGIN
IMPORTS
MODULE-IDENTITY, OBJECT-TYPE, NOTIFICATION-TYPE, Unsigned32
FROM SNMPv2-SMI
DisplayString, TruthValue
FROM SNMPv2-TC
MODULE-COMPLIANCE, OBJECT-GROUP, NOTIFICATION-GROUP
FROM SNMPv2-CONF
SnmpEngineID, SnmpAdminString, SnmpSecurityModel
FROM SNMP-FRAMEWORK-MIB
ifIndex, InterfaceIndexOrZero
FROM IF-MIB
dlinkIndustrialCommon
FROM DLINK-ID-REC-MIB;
dlinkSwSnmpMIB MODULE-IDENTITY
LAST-UPDATED "201304150000Z"
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 module defines objects for configuring SNMP
( Simple Network Management Protocol )"
REVISION "201304150000Z"
DESCRIPTION
"This is the first version of the MIB file for 'SNMP'
functionality."
::= { dlinkIndustrialCommon 2 }
dSnmpMIBNotifications OBJECT IDENTIFIER ::= { dlinkSwSnmpMIB 0 }
dSnmpMIBObjects OBJECT IDENTIFIER ::= { dlinkSwSnmpMIB 1 }
dSnmpMIBConformance OBJECT IDENTIFIER ::= { dlinkSwSnmpMIB 2 }
-- --------------------------------------------------------------------------
dSnmpGeneral OBJECT IDENTIFIER ::= { dSnmpMIBObjects 1 }
dSnmpServiceEnabled OBJECT-TYPE
SYNTAX TruthValue
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"A Boolean value represents the SNMP server is Enabled or Disabled."
::= { dSnmpGeneral 1 }
dSnmpServiceUdpPort OBJECT-TYPE
SYNTAX Unsigned32
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object indicates the SNMP UDP port number.
By default, the SNMP agent receives requests on UDP port 161."
::= { dSnmpGeneral 2 }
dSnmpRspBcastRequestEnabled OBJECT-TYPE
SYNTAX TruthValue
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"A Boolean value represents whether response broadcast SNMP
GetRequest packet."
::= { dSnmpGeneral 3 }
dSnmpLocalEngineID OBJECT-TYPE
SYNTAX SnmpEngineID
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object indicates the agent's local engineID value.
Changing this variable will affect the value of snmpEngineID.
The special value of '00 00 00 00 00'H indicates the local engineID
is not specified, and snmpEngineID will be automatically created
based on the device basic MAC address.
The SNMP engine ID is a unique string to identify the device.
The string is generated by default. Check RFC3411 for further
details on the SNMP engine ID."
::= { dSnmpGeneral 4 }
-- --------------------------------------------------------------------------
dSnmpMIBTrap OBJECT IDENTIFIER ::= { dSnmpMIBObjects 2 }
dSnmpTrapGlobalEnabled OBJECT-TYPE
SYNTAX TruthValue
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"A Boolean value to represent the global state of sending of trap
packets.
"
::= { dSnmpMIBTrap 1 }
dSnmpTrapGlobalNotifyEnable OBJECT-TYPE
SYNTAX BITS {
linkUp(0),
linkDown(1),
coldStart(2),
warmStart(3),
authentication(4)
}
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object indicates global state about whether a specified
notification is enabled or not.
If a bit corresponding to a notification is set to 1, then
the specified notification can be generated.
linkUp(0) - sending a standard linkUp notification (defined in IF-MIB).
linkDown(1) - sending a standard linkDown notification (defined in IF-MIB).
coldStart(2) - sending a standard coldStart notification (defined in SNMPv2-MIB).
warmStart(3) - sending a standard warmStart notification (defined in SNMPv2-MIB).
Note: please use snmpEnableAuthenTraps (defined in SNMPv2-MIB) to control
the generation of authenticationFailure traps.
"
::= { dSnmpMIBTrap 2 }
dSnmpTrapSourceIfIndex OBJECT-TYPE
SYNTAX InterfaceIndexOrZero
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"The ifIndex of the interface whose IP address is used as the
source IP address for outbound SNMP traps.
A special value of zero indicates the source interface is not
specified, the IP address of the closest interface will be used.
"
::= { dSnmpMIBTrap 3 }
-- --------------------------------------------------------------------------
dSnmpTrapIfCtrl OBJECT IDENTIFIER ::= { dSnmpMIBTrap 4 }
dSnmpTrapIfCfgTable OBJECT-TYPE
SYNTAX SEQUENCE OF DSnmpTrapIfCfgEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This table contains a list of interface-specific notification
configuration.
"
::= {dSnmpTrapIfCtrl 1}
dSnmpTrapIfCfgEntry OBJECT-TYPE
SYNTAX DSnmpTrapIfCfgEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"An entry manages notification on an interface."
INDEX { ifIndex }
::= {dSnmpTrapIfCfgTable 1}
DSnmpTrapIfCfgEntry ::=
SEQUENCE {
dSnmpTrapIfSendTrapEnabled TruthValue
}
dSnmpTrapIfSendTrapEnabled OBJECT-TYPE
SYNTAX TruthValue
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"This object indicates whether sending trap on the interface.
If the state is disabled, then SNMP notification traps generated
by the system are not allowed to transmit out of the port.
"
DEFVAL { true }
::= { dSnmpTrapIfCfgEntry 1 }
-- --------------------------------------------------------------------------
dSnmpAccessCfg OBJECT IDENTIFIER ::= { dSnmpMIBObjects 3 }
dSnmpCommunityTable OBJECT-TYPE
SYNTAX SEQUENCE OF DSnmpCommunityEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This table consists of a list of communities.
"
::= { dSnmpAccessCfg 1 }
dSnmpCommunityEntry OBJECT-TYPE
SYNTAX DSnmpCommunityEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"An entry defines additional information which is not covered at
snmpCommunityTable (defined in SNMP-COMMUNITY-MIB).
An entry appears in this table when a community is created in
snmpCommunityTable.
"
INDEX { dSnmpCommunityName }
::= { dSnmpCommunityTable 1 }
DSnmpCommunityEntry ::= SEQUENCE {
dSnmpCommunityName SnmpAdminString,
dSnmpCommunityAccessListName DisplayString
}
dSnmpCommunityName OBJECT-TYPE
SYNTAX SnmpAdminString
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This object indicates the name of the community."
::= { dSnmpCommunityEntry 1 }
dSnmpCommunityAccessListName OBJECT-TYPE
SYNTAX DisplayString
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object indicates the name of a standard access list to control
the user to use this community string to access to the SNMP agent.
Specify the valid user in the source address field of the access
list entry.
A zero length string indicates the access list is not specified.
"
::= { dSnmpCommunityEntry 3 }
-- --------------------------------------------------------------------------
dSnmpGroupTable OBJECT-TYPE
SYNTAX SEQUENCE OF DSnmpGroupEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This table consists of a list of groups.
"
::= { dSnmpAccessCfg 2 }
dSnmpGroupEntry OBJECT-TYPE
SYNTAX DSnmpGroupEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"An entry consists of additional informaiton which is not covered
at vacmAccessTable (defined in SNMP-VIEW-BASED-ACM-MIB).
An entry appears in this table when a group is created in
vacmAccessTable or vacmSecurityToGroupTable.
"
INDEX {
dSnmpGroupName ,
dSnmpGroupVersion
}
::= { dSnmpGroupTable 1 }
DSnmpGroupEntry ::= SEQUENCE {
dSnmpGroupName SnmpAdminString,
dSnmpGroupVersion SnmpSecurityModel,
dSnmpGroupAccessListName DisplayString
}
dSnmpGroupName OBJECT-TYPE
SYNTAX SnmpAdminString
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This object indicates the name of the group."
::= { dSnmpGroupEntry 1 }
dSnmpGroupVersion OBJECT-TYPE
SYNTAX SnmpSecurityModel
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This object indicates the version of the entry."
::= { dSnmpGroupEntry 2 }
dSnmpGroupAccessListName OBJECT-TYPE
SYNTAX DisplayString
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object indicates the name of a standard access control list
(ACL) to associate with the group.
A zero length string indicates the access list is not specified.
"
::= { dSnmpGroupEntry 3 }
-- --------------------------------------------------------------------------
dSnmpHostTable OBJECT-TYPE
SYNTAX SEQUENCE OF DSnmpHostEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This table consists of a list of recipients for the SNMP
notification.
"
::= { dSnmpAccessCfg 3 }
dSnmpHostEntry OBJECT-TYPE
SYNTAX DSnmpHostEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"An entry consists of additional informaiton which is not covered
at snmpTargetAddrTable and snmpTargetParamsTable (defined in
SNMP-TARGET-MIB).
An entry appears in this table when a target address is created in
snmpTargetAddrTable.
"
INDEX { dSnmpHostAddrName }
::= { dSnmpHostTable 1 }
DSnmpHostEntry ::= SEQUENCE {
dSnmpHostAddrName SnmpAdminString,
dSnmpHostVrfName DisplayString,
dSnmpHostUdpPort Unsigned32
}
dSnmpHostAddrName OBJECT-TYPE
SYNTAX SnmpAdminString (SIZE(1..32))
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This object indicates the address name of the recipients."
::= { dSnmpHostEntry 1 }
dSnmpHostVrfName OBJECT-TYPE
SYNTAX DisplayString
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object indicates the name of the routing forwarding instance.
A zero length string indicates the object is not specified.
"
::= { dSnmpHostEntry 2 }
dSnmpHostUdpPort OBJECT-TYPE
SYNTAX Unsigned32
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object indicates trap UDP port number."
DEFVAL { 162 }
::= { dSnmpHostEntry 3 }
-- --------------------------------------------------------------------------
dSnmpUserTable OBJECT-TYPE
SYNTAX SEQUENCE OF DSnmpUserEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This table consists of a list of recipients for the SNMP
notification.
"
::= { dSnmpAccessCfg 4 }
dSnmpUserEntry OBJECT-TYPE
SYNTAX DSnmpUserEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"An entry consists of additional informaiton which is not covered
at usmUserTable (defined in SNMP-USER-BASED-SM-MIB).
An entry appears in this table when a user is created in
usmUserTable.
"
INDEX { dSnmpUserName }
::= { dSnmpUserTable 1 }
DSnmpUserEntry ::= SEQUENCE {
dSnmpUserName SnmpAdminString,
dSnmpUserAccessListName DisplayString
}
dSnmpUserName OBJECT-TYPE
SYNTAX SnmpAdminString (SIZE(1..32))
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This object indicates the name of the user."
::= { dSnmpUserEntry 1 }
dSnmpUserAccessListName OBJECT-TYPE
SYNTAX DisplayString
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object indicates the name of a standard IP access control
list (ACL) to associate with the user.
A zero length string indicates the access list is not specified.
"
::= { dSnmpUserEntry 2 }
-- ***************************************************************************
-- Conformance
-- ***************************************************************************
dSnmpCompliances OBJECT IDENTIFIER ::= { dSnmpMIBConformance 1 }
dSnmpCompliance MODULE-COMPLIANCE
STATUS current
DESCRIPTION
"The compliance statement for entities which implement the
DLINKSW-SNMP-MIB."
MODULE -- this module
MANDATORY-GROUPS {
dSnmpSysCfgGroup,
dSnmpTrapCfgGroup
}
GROUP dSnmpTargetExtGroup
DESCRIPTION
"This group is conditionally mandatory and must be implemented by
the agent only if extensions of community is supported."
OBJECT dSnmpHostVrfName
MIN-ACCESS read-only
DESCRIPTION
"This object is conditionally mandatory and must be implemented by
the agent only if the implementation supports VRF based reachability
and filtering for SNMP targets."
GROUP dSnmpTrapIfCfgGroup
DESCRIPTION
"This group is conditionally mandatory and must be implemented by
the agent only if interface-specific control of traps is supported."
::= { dSnmpCompliances 1 }
-- units of conformance
dSnmpGroups OBJECT IDENTIFIER ::= { dSnmpMIBConformance 2 }
dSnmpSysCfgGroup OBJECT-GROUP
OBJECTS {
dSnmpServiceEnabled,
dSnmpServiceUdpPort,
dSnmpRspBcastRequestEnabled,
dSnmpLocalEngineID
}
STATUS current
DESCRIPTION
"A collection of objects provides the information for SNMP server."
::= { dSnmpGroups 1 }
dSnmpTrapCfgGroup OBJECT-GROUP
OBJECTS {
dSnmpTrapGlobalEnabled,
dSnmpTrapGlobalNotifyEnable,
dSnmpTrapSourceIfIndex
}
STATUS current
DESCRIPTION
"A collection of objects provides system-wide control of traps."
::= { dSnmpGroups 2 }
dSnmpTrapIfCfgGroup OBJECT-GROUP
OBJECTS {
dSnmpTrapIfSendTrapEnabled
}
STATUS current
DESCRIPTION
"A collection of objects provides interface-specific control of traps."
::= { dSnmpGroups 3 }
dSnmpCommunityExtGroup OBJECT-GROUP
OBJECTS {
dSnmpCommunityAccessListName
}
STATUS current
DESCRIPTION
"The collection of objects provides configuration for community feature
which extends SNMP community.
"
::= { dSnmpGroups 4 }
dSnmpTargetExtGroup OBJECT-GROUP
OBJECTS {
dSnmpHostVrfName,
dSnmpHostUdpPort
}
STATUS current
DESCRIPTION
"The collection of objects provides configuration for recipient of the
SNMP notification."
::= { dSnmpGroups 5 }
dSnmpVacmExtGroup OBJECT-GROUP
OBJECTS {
dSnmpGroupAccessListName,
dSnmpUserAccessListName
}
STATUS current
DESCRIPTION
"A collection of objects providing for remote configuration of an SNMP
engine which extends the SNMP VACM (View-based Access Control Model) and
USM (User-based Security Model)."
::= { dSnmpGroups 6 }
END

544
mibs/dlink/DLINKSW-SSH-MIB Normal file
View File

@ -0,0 +1,544 @@
-- *****************************************************************
-- DLINKSW-SSH-MIB.mib : Secure Shell MIB
--
-- Copyright (c) 2013 D-Link Corporation, all rights reserved.
--
-- *****************************************************************
DLINKSW-SSH-MIB DEFINITIONS ::= BEGIN
IMPORTS
MODULE-IDENTITY,
OBJECT-TYPE,
Integer32,
Unsigned32
FROM SNMPv2-SMI
RowStatus, TimeStamp,TruthValue,DisplayString
FROM SNMPv2-TC
OBJECT-GROUP, MODULE-COMPLIANCE
FROM SNMPv2-CONF
InetAddressType,InetAddress
FROM INET-ADDRESS-MIB
InterfaceIndexOrZero
FROM IF-MIB
SnmpAdminString
FROM SNMP-FRAMEWORK-MIB
dlinkIndustrialCommon
FROM DLINK-ID-REC-MIB;
dlinkSwSshMIB MODULE-IDENTITY
LAST-UPDATED "201307180000Z"
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 module defines objects for Secure Shell (SSH)."
REVISION "201307180000Z"
DESCRIPTION
"This is the first version of the MIB file for 'SSH'
functionality.
"
::= { dlinkIndustrialCommon 17 }
-- -----------------------------------------------------------------------------
dSshNotifications OBJECT IDENTIFIER ::= { dlinkSwSshMIB 0 }
dSshObjects OBJECT IDENTIFIER ::= { dlinkSwSshMIB 1 }
dSshConformance OBJECT IDENTIFIER ::= { dlinkSwSshMIB 2 }
-- -----------------------------------------------------------------------------
dSshGeneral OBJECT IDENTIFIER ::= { dSshObjects 1 }
dSshEnabled OBJECT-TYPE
SYNTAX TruthValue
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object enables or disables Secure Shell (SSH) service."
DEFVAL { false }
::= { dSshGeneral 1 }
dSshVersion OBJECT-TYPE
SYNTAX INTEGER { v1(1), v2(2), v1v2(3) }
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The version of SSH is running on the switch.
The version that is currently supported is v2."
::= { dSshGeneral 2 }
dSshTimeout OBJECT-TYPE
SYNTAX Integer32 (30..600)
UNITS "seconds"
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"The time interval that the switch waits for the SSH client to respond
during the SSH negotiation phase."
DEFVAL { 120 }
::= { dSshGeneral 3 }
dSshAuthenticationRetries OBJECT-TYPE
SYNTAX Integer32 (1..32)
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"The number of authentication attempts after the session
has reset or authentication failed."
DEFVAL { 3 }
::= { dSshGeneral 4 }
dSshServicePort OBJECT-TYPE
SYNTAX Unsigned32
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"Specifies the service port, such as 22, which Secure Shell (SSH)
needs to connect to."
DEFVAL { 22 }
::= { dSshGeneral 5 }
dSshSrcIfIndex OBJECT-TYPE
SYNTAX InterfaceIndexOrZero
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object specifies the ifIdex value of the source
source address of SSH packets that initiates a SSH connection.
The value of this object should be a valid 'ifIndex' value.
The value of this object being 'zero' implies that the IP address
of the closest interface will be used."
DEFVAL {0}
::= { dSshGeneral 6}
-- -----------------------------------------------------------------------------
dSshKeyConfiguration OBJECT IDENTIFIER ::= { dSshObjects 2 }
dSshCryptoKeyPairTable OBJECT-TYPE
SYNTAX SEQUENCE OF DSshCryptoKeyPairEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"dSshCryptokeyTable is a table that lets the user configure
the SSH keys"
::= { dSshKeyConfiguration 1 }
dSshCryptoKeyPairEntry OBJECT-TYPE
SYNTAX DSshCryptoKeyPairEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"A SSH key table entry. The index specifies which
protocol the user wants to generate the key for.
An entry is created/removed when a key pair for a specific
protocol is generated or deleted via CLI or by issuing appropriate
sets to this table using snmp.
To replace the existing key for a protocol
1. Specify the Protocol: dSshCryptoKeyPairIndex
2. Specify the modulus size of the key pair(s): dSshCryptoKeyPairNBits
3. Set dSshCryptoKeyPairReplace as true(1)."
INDEX { dSshCryptoKeyPairIndex }
::= { dSshCryptoKeyPairTable 1 }
DSshCryptoKeyPairEntry ::=
SEQUENCE {
dSshCryptoKeyPairIndex INTEGER,
dSshCryptoKeyPairNBits Integer32,
dSshCryptoKeyPairReplace TruthValue,
dSshCryptoKeyPairLastCreateTime TimeStamp,
dSshCryptoKeyPairString DisplayString,
dSshCryptoKeyPairRowStatus RowStatus
}
dSshCryptoKeyPairIndex OBJECT-TYPE
SYNTAX INTEGER {
rsa(1),
dsa(2)
}
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"The SSH Protocol Identifier for which this entry
pertains to.
rsa - A public-key cryptosystem defined by Rivest,
Shamir and Adleman.
dsa - Digital Signature Algorithm, a public key
cipher used to generate digital signatures."
::= { dSshCryptoKeyPairEntry 1 }
dSshCryptoKeyPairNBits OBJECT-TYPE
SYNTAX Integer32 (360|512|768|1024|2048)
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"Specifies the modulus size of the key pair(s):
For RSA, the valid values are 360, 512, 768, 1024, and 2048.
For DSA, the valid value is fixed as 1024.
For SSH version 2, the minimum recommended key size is 768 bits.
A key size with a larger number provides higher security but
takes longer to generate.
This object cannot be modified while this row is
active, unless the associated dSshCryptoKeyPairReplace
object is set to True in the same Set PDU."
::= { dSshCryptoKeyPairEntry 2 }
dSshCryptoKeyPairReplace OBJECT-TYPE
SYNTAX TruthValue
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"This object specifies whether a new key should replace
an existing key for the protocol.
No action is taken if this object is set to 'false'.
The value of this object when read is always 'false'."
::= { dSshCryptoKeyPairEntry 3 }
dSshCryptoKeyPairLastCreateTime OBJECT-TYPE
SYNTAX TimeStamp
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The time of the last creation of the key."
::= { dSshCryptoKeyPairEntry 4 }
dSshCryptoKeyPairString OBJECT-TYPE
SYNTAX DisplayString (SIZE (0..255))
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The generated SSH public key string."
::= { dSshCryptoKeyPairEntry 6 }
dSshCryptoKeyPairRowStatus OBJECT-TYPE
SYNTAX RowStatus
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"Status of this SSH key pair."
::= { dSshCryptoKeyPairEntry 99 }
dSshCryptoKeyGenerationStatus OBJECT-TYPE
SYNTAX INTEGER {
inProgress(1),
successful(2),
failed(3)
}
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"This object indicates the status of the last key
generation request."
::= { dSshKeyConfiguration 2 }
-- -----------------------------------------------------------------------------
dSshConnectionTable OBJECT-TYPE
SYNTAX SEQUENCE OF DSshConnectionEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"A table to display the status of Secure Shell (SSH) server connections."
::= { dSshObjects 3 }
dSshConnectionEntry OBJECT-TYPE
SYNTAX DSshConnectionEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"An entry (conceptual row) in the dSshConnectionTable object."
INDEX { dSshConnectionSID }
::= { dSshConnectionTable 1 }
DSshConnectionEntry ::=
SEQUENCE {
dSshConnectionSID Integer32,
dSshConnectionVersion INTEGER,
dSshConnectionCipher DisplayString,
dSshConnectionUserID DisplayString,
dSshConnectionHostAddrType InetAddressType,
dSshConnectionHostAddr InetAddress
}
dSshConnectionSID OBJECT-TYPE
SYNTAX Integer32 (0..65535)
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"A unique number that identifies the SSH session."
::= { dSshConnectionEntry 1 }
dSshConnectionVersion OBJECT-TYPE
SYNTAX INTEGER { v1(1), v2(2), v1v2(3) }
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The protocol version number that the SSH client supports."
::= { dSshConnectionEntry 2}
dSshConnectionCipher OBJECT-TYPE
SYNTAX DisplayString
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The crypto/Hashed Message Authentication Code (HMAC) algorithm that
the SSH client is using."
::= { dSshConnectionEntry 3}
dSshConnectionUserID OBJECT-TYPE
SYNTAX DisplayString
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The login username that has been authenticated for the session."
::= { dSshConnectionEntry 4 }
dSshConnectionHostAddrType OBJECT-TYPE
SYNTAX InetAddressType
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The type of Internet address for client
establised this session."
::= { dSshConnectionEntry 5 }
dSshConnectionHostAddr OBJECT-TYPE
SYNTAX InetAddress
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The Internet address assigned for client
establised this session."
::= { dSshConnectionEntry 6 }
-- -----------------------------------------------------------------------------
dSshUserTable OBJECT-TYPE
SYNTAX SEQUENCE OF DSshUserEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This table lists all users and their corresponding authentication
methods through which SSH client can login."
::= { dSshObjects 4 }
dSshUserEntry OBJECT-TYPE
SYNTAX DSshUserEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"An entry (conceptual row) in the dSshUserTable."
INDEX { dSshUserName }
::= { dSshUserTable 1 }
DSshUserEntry ::=
SEQUENCE {
dSshUserName SnmpAdminString,
dSshUserAuthMethod INTEGER,
dSshUserKeyFilename SnmpAdminString,
dSshUserHostName DisplayString,
dSshUserHostAddrType InetAddressType,
dSshUserHostAddr InetAddress,
dSshUserRowStatus RowStatus
}
dSshUserName OBJECT-TYPE
SYNTAX SnmpAdminString (SIZE (1..32))
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This object indicates the name of SSH user."
::= { dSshUserEntry 1 }
dSshUserAuthMethod OBJECT-TYPE
SYNTAX INTEGER {
password(1),
publickey(2),
hostbased(3)
}
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object indicates the authentication method for this user account.
'password' - use password authentication method for this user account.
'publickey' - use public key authentication method for this user account.
'hostbased' - use host-based authentication method for this user account.
"
DEFVAL { password }
::= { dSshUserEntry 2 }
dSshUserKeyFilename OBJECT-TYPE
SYNTAX SnmpAdminString (SIZE (0..255))
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object indicates the name of the file storing the SSH public key.
The SSH public key is used to authenticate the SSH
session for this user.
If dSshUserAuthMethod is 'publickey', this object refers to
user's public key.
If dSshUserAuthMethod is 'hostbased', this object refers to
client's host key.
If dSshUserAuthMethod is 'password', the value of this
object will be ignored and a zero-length string is
always returned when read."
::= { dSshUserEntry 3 }
dSshUserHostName OBJECT-TYPE
SYNTAX DisplayString (SIZE (0..255))
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"The host name of the SSH client.
This object is only valid for host-based authentication method.
For password and public key authentication method, a
zero-length string is always returned when read.
"
::= { dSshUserEntry 4 }
dSshUserHostAddrType OBJECT-TYPE
SYNTAX InetAddressType
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"The host address type of the SSH client.
This object is only valid for host-based authentication method.
For password and publickey authentication method, unknown(0)
is always returned when read.
"
::= { dSshUserEntry 5 }
dSshUserHostAddr OBJECT-TYPE
SYNTAX InetAddress
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"The host address of the SSH client.
This object is only valid for host-based authentication method.
For password and public key authentication method, a
zero-length string is always returned when read.
"
::= { dSshUserEntry 6 }
dSshUserRowStatus OBJECT-TYPE
SYNTAX RowStatus
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"Status of this SSH user entry.
When read, active(1) is always returned.
If administrator wants to modify the authentication method for
a specific user account, setting createAndGo(4) for this node
after corresponding parameters are configured:
For password, there is no need to specify more parameters.
For publickey, dSshUserKeyFilename must be specified.
For hostbased, dSshUserKeyFilename and dSshUserHostName
must be specified, but parameters dSshUserHostAddrType and dSshUserHostAddr
are optional.
Other value of this node is not supported.
"
::= { dSshUserEntry 99 }
-- Conformance
dSshCompliances OBJECT IDENTIFIER ::= { dSshConformance 1 }
dSshGroups OBJECT IDENTIFIER ::= { dSshConformance 2 }
dSshCompliance MODULE-COMPLIANCE
STATUS deprecated
DESCRIPTION
"The compliance statement for entities which
implement the DLINKSW-SSH-MIB."
MODULE MANDATORY-GROUPS {
dSshConfigGroup
}
OBJECT dSshSrcIfIndex
MIN-ACCESS read-only
DESCRIPTION
"It is compliant to implement this object as read-only.
Support for configurable source interface is only
required on the platform which supports SSH client."
GROUP dSshUserGroup
DESCRIPTION
"This group is mandatory only for the platform which supports
configuring SSH authentication method for a user account."
::= { dSshCompliances 1 }
dSshConfigGroup OBJECT-GROUP
OBJECTS
{ dSshEnabled,
dSshVersion,
dSshTimeout,
dSshAuthenticationRetries,
dSshServicePort,
dSshSrcIfIndex,
dSshCryptoKeyPairNBits,
dSshCryptoKeyPairReplace,
dSshCryptoKeyPairLastCreateTime,
dSshCryptoKeyPairRowStatus,
dSshCryptoKeyPairString,
dSshCryptoKeyGenerationStatus
}
STATUS current
DESCRIPTION
"A collection of objects for SSH configuration."
::= { dSshGroups 1 }
dSshConnectionGroup OBJECT-GROUP
OBJECTS
{ dSshConnectionVersion,
dSshConnectionCipher,
dSshConnectionUserID,
dSshConnectionHostAddrType,
dSshConnectionHostAddr
}
STATUS current
DESCRIPTION
"A collection of objects to display SSH
connection related information."
::= { dSshGroups 2 }
dSshUserGroup OBJECT-GROUP
OBJECTS
{ dSshUserAuthMethod,
dSshUserKeyFilename,
dSshUserHostName,
dSshUserHostAddrType,
dSshUserHostAddr
}
STATUS current
DESCRIPTION
"A collection of objects related to SSH users."
::= { dSshGroups 3 }
END

570
mibs/dlink/DLINKSW-SSL-MIB Normal file
View File

@ -0,0 +1,570 @@
-- *****************************************************************
-- DLINKSW-SSL-MIB.mib : Secure Socket Layer MIB
--
-- Copyright (c) 2016 D-Link Corporation, all rights reserved.
--
-- *****************************************************************
-- MODIFICTION HISTORY:
-- -----------------------------------------------------------------------------
--
-- 2016/7/5, Eugene Song
-- Description:
-- [Modification]
-- [New Object] dSslServicePolicyVersions, Support for SSL/TLS version control.
-- ssl3_0(0),
-- tls1_0(1),
-- tls1_1(2),
-- tls1_2(3)
-- [Modification Object] dSslServicePolicyCipherSuites, Support for additional cipher suites:
-- rsaAes128CbcSha(5),
-- rsaAes256CbcSha(6),
-- rsaAes128CbcSha256(7),
-- rsaAes256CbcSha256(8),
-- dheDssAes256CbcSha(9),
-- dheRsaAes256CbcSha(10)
--
-- Notes: Requested by Eugene Song and for DGS1510-R1.40.
-------------------------------------------------------------------------------
DLINKSW-SSL-MIB DEFINITIONS ::= BEGIN
IMPORTS
MODULE-IDENTITY,
OBJECT-TYPE,
Integer32,
Unsigned32
FROM SNMPv2-SMI
RowStatus, TruthValue,DisplayString
FROM SNMPv2-TC
OBJECT-GROUP, MODULE-COMPLIANCE
FROM SNMPv2-CONF
InetAddressType,InetAddress
FROM INET-ADDRESS-MIB
dlinkIndustrialCommon
FROM DLINK-ID-REC-MIB;
dlinkSwSslMIB MODULE-IDENTITY
LAST-UPDATED "201607050000Z"
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 module defines objects for Secure Socket Layer (SSL)."
REVISION "201607050000Z"
DESCRIPTION
"1. Support for SSL/TLS version control.
2. Support for additional Cipher suites:
rsaAes128CbcSha
rsaAes256CbcSha
rsaAes128CbcSha256
rsaAes256CbcSha256
dheDssAes256CbcSha
dheRsaAes256CbcSha"
REVISION "201310300000Z"
DESCRIPTION
"This is the first version of the MIB file for 'SSL'
functionality."
::= { dlinkIndustrialCommon 7}
-- -----------------------------------------------------------------------------
dlinkSslNotifications OBJECT IDENTIFIER ::= { dlinkSwSslMIB 0 }
dlinkSslObjects OBJECT IDENTIFIER ::= { dlinkSwSslMIB 1 }
dlinkSslConformance OBJECT IDENTIFIER ::= { dlinkSwSslMIB 2 }
-- -----------------------------------------------------------------------------
dSslCryptoPkiImportCertTable OBJECT-TYPE
SYNTAX SEQUENCE OF DSslCryptoPkiImportCertEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"A table of importing certificates and key pairs. There will at any
time be either 0 or 1 rows in this table, and the only valid index
for this table is 1. It is only a table so that we may take
advantage of the RowStatus textual convention for configuring the
importing parameters.
The row in this table is volatile; that is, it is lost if the SNMP
agent is rebooted."
::= { dlinkSslObjects 1 }
dSslCryptoPkiImportCertEntry OBJECT-TYPE
SYNTAX DSslCryptoPkiImportCertEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"The row in the dSslCryptoPkiImportCertTable containing the importing
parameters.
Once an entry has been activated, the importing parameters cannot be
modified. In order to use a new value, you need delete the old entry
and create a new one."
INDEX { dSslCryPkiImportCertIndex }
::= { dSslCryptoPkiImportCertTable 1 }
DSslCryptoPkiImportCertEntry ::=
SEQUENCE {
dSslCryPkiImportCertIndex Integer32,
dSslCryPkiImportCertTrustPoint DisplayString,
dSslCryPkiImportCertSrcType INTEGER,
dSslCryPkiImportFilename DisplayString,
dSslCryPkiImportCertAddrType InetAddressType,
dSslCryPkiImportCertAddr InetAddress,
dSslCryPkiImportFileType BITS,
dSslCryPkiImportPwdPhrase DisplayString,
dSslCryPkiImportErrorStatus DisplayString,
dSslCryPkiImportRowStatus RowStatus
}
dSslCryPkiImportCertIndex OBJECT-TYPE
SYNTAX Integer32 (1)
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"The index which uniquely identifies this row."
::= { dSslCryptoPkiImportCertEntry 1 }
dSslCryPkiImportCertTrustPoint OBJECT-TYPE
SYNTAX DisplayString (SIZE (0..32))
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"Name of the trustpoint to which the certificates and key pairs
will be imported."
DEFVAL { "" }
::= { dSslCryptoPkiImportCertEntry 2 }
dSslCryPkiImportCertSrcType OBJECT-TYPE
SYNTAX INTEGER {
filesystem(1),
tftp(2) }
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"An indication of the source from where the certificates/key pairs
will be imported.
filesystem(1) - The certificates/key pairs will be imported from the
switch's file system.
tftp(2) - The certificates/key pairs will be imported via tftp."
DEFVAL { filesystem }
::= { dSslCryptoPkiImportCertEntry 3 }
dSslCryPkiImportFilename OBJECT-TYPE
SYNTAX DisplayString (SIZE (0..64))
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"If dSslCryPkiImportCertSrcType is 'filesystem', this object
indicates the file name and path of the importing certificate
and key pairs in switch's file system. The supported file systems
are project dependent.
If dSslCryPkiImportCertSrcType is 'tftp', this object indicates
the file name and path where the switch should import via TFTP
server. By default, the switch will appends this name with .ca,
.prv and .crt for CA certificate, private key and certificate
respectively."
::= { dSslCryptoPkiImportCertEntry 4 }
dSslCryPkiImportCertAddrType OBJECT-TYPE
SYNTAX InetAddressType
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"The type of address in the corresponding dSslCryPkiImportCertAddr
object. "
::= { dSslCryptoPkiImportCertEntry 5 }
dSslCryPkiImportCertAddr OBJECT-TYPE
SYNTAX InetAddress
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"The address of TFTP server."
::= { dSslCryptoPkiImportCertEntry 6 }
dSslCryPkiImportPwdPhrase OBJECT-TYPE
SYNTAX DisplayString (SIZE (0..64))
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"Specifies the encrypted password phrase that is used to undo
encryption when the private keys are imported."
::= { dSslCryptoPkiImportCertEntry 7 }
dSslCryPkiImportFileType OBJECT-TYPE
SYNTAX BITS {
ca(0),
local(1)}
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"An object indicates what kind of certificate will be imported.
Setting a type's bit to 1 means the type of certificate will
be imported.
ca (0) - Import CA certificate.
local (1) - Import local certificate and key pairs."
-- DEFVAL { {} } no bits set.
::= { dSslCryptoPkiImportCertEntry 8 }
dSslCryPkiImportErrorStatus OBJECT-TYPE
SYNTAX DisplayString (SIZE (0..255))
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"A textual description of the current status of the importing.
The status information includes: idle, in progress, success, aborted,
idle, corruptFile, no server...."
::= { dSslCryptoPkiImportCertEntry 9 }
dSslCryPkiImportRowStatus OBJECT-TYPE
SYNTAX RowStatus
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"The status of this import entry. This object may not be set to
'active' if the following columnar objects exist in this row:
dSslCryPkiImportCertTrustPoint, dSslCryPkiImportFilename, and
dSslCryPkiImportFileType.
Besides, if dSslCryPkiImportCertSrcType is 'tftp' the columnar
objects dSslCryPkiImportCertAddrType and dSslCryPkiImportCertAddr
must be configured."
::= { dSslCryptoPkiImportCertEntry 10 }
-- -----------------------------------------------------------------------------
dSslConfiguration OBJECT IDENTIFIER ::= { dlinkSslObjects 2 }
dSslCryptoPkiTrustpointTable OBJECT-TYPE
SYNTAX SEQUENCE OF DSslCryptoPkiTrustpointEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"A table defines and configures trustpoint(s) in the switch."
::= { dSslConfiguration 1 }
dSslCryptoPkiTrustpointEntry OBJECT-TYPE
SYNTAX DSslCryptoPkiTrustpointEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"The row in the dSslCryptoPkiTrustpointTable containing the
trustpoint parameters.
An entry is created/removed when a name for a specific
trustpoint is generated or deleted via CLI or by issuing appropriate
sets to this table using snmp."
INDEX { dSslCryptoPkiTrustpointName }
::= { dSslCryptoPkiTrustpointTable 1 }
DSslCryptoPkiTrustpointEntry ::=
SEQUENCE {
dSslCryptoPkiTrustpointName DisplayString,
dSslCryptoPkiTrustpointPrimary TruthValue,
dSslCryptoPkiTrustpointRowStatus RowStatus }
dSslCryptoPkiTrustpointName OBJECT-TYPE
SYNTAX DisplayString (SIZE (1..32))
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"Name of the trustpoint for which this entry pertains to."
::= { dSslCryptoPkiTrustpointEntry 1 }
dSslCryptoPkiTrustpointPrimary OBJECT-TYPE
SYNTAX TruthValue
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"This object specifies a given trustpoint as primary.
This trustpoint can be used as default trustpoint when
the application doesn't explicitly specify which certificate
authority (CA) trustpoint should be used.
Only one trustpoint can be specified as primary. That is the
last trustpoint you specify as primary will overwrite the
previous one."
DEFVAL { false }
::= { dSslCryptoPkiTrustpointEntry 2 }
dSslCryptoPkiTrustpointRowStatus OBJECT-TYPE
SYNTAX RowStatus
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"Status of this trustpoint."
::= { dSslCryptoPkiTrustpointEntry 3 }
-- -----------------------------------------------------------------------------
dSslCryptoPkiCertTable OBJECT-TYPE
SYNTAX SEQUENCE OF DSslCryptoPkiCertEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"A table manages CA certificate(s) or the switch
certificate(s) and keys."
::= { dSslConfiguration 2 }
dSslCryptoPkiCertEntry OBJECT-TYPE
SYNTAX DSslCryptoPkiCertEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"The row in the dSslCryptoPkiCertTable containing the
parameters of a certificate.
An entry in this table appears automatically whenever
the certificate or keypairs is imported successfully.
An entry is removed when a certificate name is deleted
via CLI or by issuing appropriate sets to this table using snmp."
INDEX { dSslCryptoPkiTrustpointName,dSslCryptoPkiCertName }
::= { dSslCryptoPkiCertTable 1 }
DSslCryptoPkiCertEntry ::=
SEQUENCE {
dSslCryptoPkiCertName DisplayString,
dSslCryptoPkiCertCAType INTEGER,
dSslCryptoPkiCertRemoveCtrl INTEGER }
dSslCryptoPkiCertName OBJECT-TYPE
SYNTAX DisplayString (SIZE (0..32))
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"Indicates the name of the certificate for which this entry
pertains to."
::= { dSslCryptoPkiCertEntry 1 }
dSslCryptoPkiCertCAType OBJECT-TYPE
SYNTAX INTEGER {
ca(1),
localCertificate(2),
localPrivateKey(3) }
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"This object specifies the type of the certificate.
ca(1) - CA certificate.
localCertificate(2) - local certificate.
localPrivateKey(3) - local private key."
::= { dSslCryptoPkiCertEntry 2 }
dSslCryptoPkiCertRemoveCtrl OBJECT-TYPE
SYNTAX INTEGER {
delete(1),
noOp(2) }
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object is used to delete this entry.
No action is taken if this object is set to 'noOp'.
When read, the value 'noOp' is returned."
::= { dSslCryptoPkiCertEntry 3 }
-- -----------------------------------------------------------------------------
dSslServicePolicyTable OBJECT-TYPE
SYNTAX SEQUENCE OF DSslServicePolicyEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"A table controlls the parameters of SSL service policies."
::= { dSslConfiguration 3 }
dSslServicePolicyEntry OBJECT-TYPE
SYNTAX DSslServicePolicyEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"The row in the dSslServicePolicyTable containing the
parameters of a SSL service policy.
An entry is created/removed when a name for a specific
policy is generated or deleted via CLI or by issuing appropriate
sets to this table using snmp."
INDEX { dSslServicePolicyName }
::= { dSslServicePolicyTable 1 }
DSslServicePolicyEntry ::=
SEQUENCE {
dSslServicePolicyName DisplayString,
dSslServicePolicyVersions BITS,
dSslServicePolicyCipherSuites BITS,
dSslServicePolicyTrustpoint DisplayString,
dSslServicePolicyCacheTimeout Unsigned32,
dSslServicePolicyRowStatus RowStatus }
dSslServicePolicyName OBJECT-TYPE
SYNTAX DisplayString (SIZE (1..32))
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"Indicates the name of the policy for which this entry pertains to."
::= { dSslServicePolicyEntry 1 }
dSslServicePolicyCipherSuites OBJECT-TYPE
SYNTAX BITS {
dheDss3DesEdeCbcSha(0),
rsa3desEdeCbcSha(1),
rsaRc4128Sha(2),
rsaRc4128Md5(3),
rsaExportRc440Md5(4),
rsaAes128CbcSha(5),
rsaAes256CbcSha(6),
rsaAes128CbcSha256(7),
rsaAes256CbcSha256(8),
dheDssAes256CbcSha(9),
dheRsaAes256CbcSha(10)
}
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"This object indicates a ciphersuite should be used by the secure
service when negotiating a connection with a remote peer. Setting
a ciphersuite's bit to 1 enables the ciphersuite. Setting this bit
to 0 disables it.
dheDss3DesEdeCbcSha(0): Uses ephemeral Diffie-Hellman key exchange with 3DES-EDE-CBC
encryption and SHA for message digest.
rsa3desEdeCbcSha(1): Uses RSA key exchange with 3DES-EDE-CBC for
message encryption and SHA for message digest.
rsaRc4128Sha(2): Uses RSA key exchange with RC4 128-bit
encryption for message encryption and SHA for message digest.
rsaRc4128Md5(3): Uses RSA key exchange with RC4 128-bit
encryption for message encryption and MD5 for message digest.
rsaExportRc440Md5(4): Uses RSA EXPORT key exchange with RC4 40
bits for message encryption and MD5 for message digest.
rsaAes128CbcSha(5): Uses RSA key exchange with AES 128
bits for message encryption and SHA for message digest.
rsaAes256CbcSha(6): Uses RSA exchange with AES 256
bits for message encryption and SHA for message digest.
rsaAes128CbcSha256(7): Uses RSA key exchange with AES 128
bits for message encryption and SHA256 for message digest.
rsaAes256CbcSha256(8): Uses RSA key exchange with AES 256
bits for message encryption and SHA256 for message digest.
dheDssAes256CbcSha(9): Uses ephemeral Diffie-Hellman key exchange with AES 256
bits for message encryption and SHA for message digest.
dheRsaAes256CbcSha(10): Uses ephemeral Diffie-Hellman key exchange with AES 256
bits for message encryption and SHA for message digest."
-- DEFVAL { { dheDss3DesEdeCbcSha, rsa3desEdeCbcSha, rsaRc4128Sha,
-- rsaRc4128Md5, rsaExportRc440Md5 } }
::= { dSslServicePolicyEntry 2}
dSslServicePolicyTrustpoint OBJECT-TYPE
SYNTAX DisplayString (SIZE (0..32))
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"Specifies the name of the trustpoint that should be used in SSL
handshake.
When secure-trustpoint is not specified, the primary trustpoint
(the value of dSslCryptoPkiTrustpointPrimary is 'true') will be
used.
If no trustpoint is specified (empty string), the built-in
certificate/key pairs will be used."
::= { dSslServicePolicyEntry 3 }
dSslServicePolicyCacheTimeout OBJECT-TYPE
SYNTAX Unsigned32 (60..86400)
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"This object indicates the Cache Timeout value in the policy for
SSL module to refresh the session resume data kept in database."
DEFVAL { 600 }
::= { dSslServicePolicyEntry 4}
dSslServicePolicyRowStatus OBJECT-TYPE
SYNTAX RowStatus
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"Status of this policy."
::= { dSslServicePolicyEntry 5 }
dSslServicePolicyVersions OBJECT-TYPE
SYNTAX BITS {
ssl3_0(0),
tls1_0(1),
tls1_1(2),
tls1_2(3)
}
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"This object indicates the SSL or TLS versions are enabled or not in the system.
If the bit is 1 , indicate that version is enabled , else is disabled ."
::= { dSslServicePolicyEntry 6 }
-- -----------------------------------------------------------------------------
-- Conformance
-- -----------------------------------------------------------------------------
dlinkSslCompliances OBJECT IDENTIFIER ::= { dlinkSslConformance 1 }
dlinkSslGroups OBJECT IDENTIFIER ::= { dlinkSslConformance 2 }
dlinkSslCompliance MODULE-COMPLIANCE
STATUS current
DESCRIPTION
"The compliance statement for entities which implement the
DLINKSW-SSL-MIB."
MODULE MANDATORY-GROUPS {
dSslImportCertGroup,
dSslTrustPointConfigGroup,
dSslServicePolicyGroup }
::= { dlinkSslCompliances 1 }
dSslImportCertGroup OBJECT-GROUP
OBJECTS {
dSslCryPkiImportCertTrustPoint,
dSslCryPkiImportCertSrcType,
dSslCryPkiImportFilename,
dSslCryPkiImportCertAddrType,
dSslCryPkiImportCertAddr,
dSslCryPkiImportPwdPhrase,
dSslCryPkiImportFileType,
dSslCryPkiImportErrorStatus,
dSslCryPkiImportRowStatus }
STATUS current
DESCRIPTION
"A collection of objects for manage importing certificates and key pairs."
::= { dlinkSslGroups 1 }
dSslTrustPointConfigGroup OBJECT-GROUP
OBJECTS {
dSslCryptoPkiTrustpointPrimary,
dSslCryptoPkiTrustpointRowStatus,
dSslCryptoPkiCertCAType,
dSslCryptoPkiCertRemoveCtrl }
STATUS current
DESCRIPTION
"A collection of objects for manage trustpoints and certificates and key pairs."
::= { dlinkSslGroups 2 }
dSslServicePolicyGroup OBJECT-GROUP
OBJECTS {
dSslServicePolicyCipherSuites,
dSslServicePolicyTrustpoint,
dSslServicePolicyCacheTimeout,
dSslServicePolicyRowStatus }
STATUS current
DESCRIPTION
"A collection of objects for manage trustpoints and certificates and key pairs."
::= { dlinkSslGroups 3 }
END

View File

@ -0,0 +1,503 @@
-- *****************************************************************
-- DLINKSW-STACK-MIB.mib : Stack MIB
--
-- Copyright (c) 2013 D-Link Corporation, all rights reserved.
--
-- *****************************************************************
DLINKSW-STACK-MIB DEFINITIONS ::= BEGIN
IMPORTS
MODULE-IDENTITY, OBJECT-TYPE, NOTIFICATION-TYPE,Integer32
FROM SNMPv2-SMI
DisplayString,TruthValue,MacAddress
FROM SNMPv2-TC
MODULE-COMPLIANCE, OBJECT-GROUP, NOTIFICATION-GROUP
FROM SNMPv2-CONF
dlinkIndustrialCommon
FROM DLINK-ID-REC-MIB;
dlinkSwStackMIB MODULE-IDENTITY
LAST-UPDATED "201603090000Z"
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 module defines objects for stacking feature."
REVISION "201603090000Z"
DESCRIPTION
"Add new node dStackInfoStartPort and dStackInfoPortRange."
REVISION "201303050000Z"
DESCRIPTION
"This is the first version of the MIB file."
::= { dlinkIndustrialCommon 9 }
--
-- MIB OBJECTS
--
dStackMIBNotifications OBJECT IDENTIFIER ::= { dlinkSwStackMIB 0 }
dStackMIBObjects OBJECT IDENTIFIER ::= { dlinkSwStackMIB 1 }
dStackMIBConformance OBJECT IDENTIFIER ::= { dlinkSwStackMIB 2 }
-- -----------------------------------------------------------------------------
dStackMgmt OBJECT IDENTIFIER ::= { dStackMIBObjects 1 }
dStackTopology OBJECT-TYPE
SYNTAX INTEGER {
standAlone(1),
duplexChain(2),
duplexRing(3)
}
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"This object indicates the state of the stacking topology."
::= { dStackMgmt 1 }
dStackMyBoxId OBJECT-TYPE
SYNTAX Integer32 (1..255)
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"This object indicates the box ID of the device.
"
::= { dStackMgmt 2 }
dStackNumOfDevices OBJECT-TYPE
SYNTAX Integer32 (1..255)
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"This object indicates the current number of devices in the stacking
system."
::= { dStackMgmt 3 }
dStackAdminEnabled OBJECT-TYPE
SYNTAX TruthValue
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object indicates whether the administrative stacking mode has
been enabled or not.
The new setting will not take effect until the next reboot.
"
::= { dStackMgmt 4 }
dStackPreempt OBJECT-TYPE
SYNTAX TruthValue
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object indicates whether the preemption is enabled or not.
When preemption is enabled, the unit that play master role will
change as units with better priority are added to the stack.
"
DEFVAL { true }
::= { dStackMgmt 5 }
dStackTrapStateEnabled OBJECT-TYPE
SYNTAX TruthValue
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object indicates whether the sending of stacking related traps
is enabled or not."
DEFVAL { false }
::= { dStackMgmt 6 }
dStackBandwidth OBJECT-TYPE
SYNTAX INTEGER {
twoPorts(1),
fourPorts(2)
}
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object indicates the stacking port bandwidth.
twoPorts - two ports are used for stacking, each port works as a
SIO port
fourPorts - four ports are used for stacking, each two ports are
aggregated together and work as a SIO port.
The stacking port bandwidth setting of a switch device must be set
before the switch unit can be chained with other switch devices.
The setting will be saved on local switch unit if the user saves
the configuration.
The change of stacking port bandwidth will not take effect until
the next reboot.
"
DEFVAL { twoPorts }
::= { dStackMgmt 7 }
-- -----------------------------------------------------------------------------
dStackUnitInfoTable OBJECT-TYPE
SYNTAX SEQUENCE OF DStackUnitInfoEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This table displays the information of the devices in the stacking
system.
When stacking mode is not effectively enabled, there is no entry in
this table.
"
::= { dStackMgmt 8 }
dStackUnitInfoEntry OBJECT-TYPE
SYNTAX DStackUnitInfoEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"An entry (conceptual row) in dStackUnitInfoTable."
INDEX { dStackInfoBoxId }
::= { dStackUnitInfoTable 1}
DStackUnitInfoEntry ::= SEQUENCE {
dStackInfoBoxId Integer32,
dStackInfoExist TruthValue,
dStackInfoRole INTEGER,
dStackInfoUserSetBoxId Integer32,
dStackInfoModuleName DisplayString,
dStackInfoPriority Integer32,
dStackInfoMacAddr MacAddress,
dStackInfoPromVersion DisplayString,
dStackInfoFirmwareVer DisplayString,
dStackInfoHardwareVer DisplayString,
dStackInfoAdminBandwidth INTEGER,
dStackInfoSIO1ActiveBandwidth INTEGER,
dStackInfoSIO2ActiveBandwidth INTEGER,
dStackInfoStartPort Integer32,
dStackInfoPortRange Integer32
}
dStackInfoBoxId OBJECT-TYPE
SYNTAX Integer32 (1..255)
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This object indicates box ID of the entry."
::= { dStackUnitInfoEntry 1 }
dStackInfoExist OBJECT-TYPE
SYNTAX TruthValue
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The state of existence of the unit."
::= { dStackUnitInfoEntry 2 }
dStackInfoRole OBJECT-TYPE
SYNTAX INTEGER {
standAlone(3),
master(4),
slave(5),
backupmaster(6)
}
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The stacking role of the unit."
::= { dStackUnitInfoEntry 3 }
dStackInfoUserSetBoxId OBJECT-TYPE
SYNTAX Integer32 (0..255)
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"The assigned box ID of the stacking unit.
The switch unit cannot be added to a switch stack if its box ID is conflict
with existing switch units in the stack.
When read, the value of 0 indicates the box ID of the device is automatically
assigned.
Note: the newly changed (setting) box ID will take effect after the next boot.
"
::= { dStackUnitInfoEntry 4 }
dStackInfoModuleName OBJECT-TYPE
SYNTAX DisplayString (SIZE (0..32))
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"This object indicates the module name of the device."
::= { dStackUnitInfoEntry 5 }
dStackInfoPriority OBJECT-TYPE
SYNTAX Integer32 (0..63)
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"The priority of the stacking device.
When read, if preemption is disabled, the master use 0 (the highest
priority) to make sure the current master can hold off the challenges
from other devices.
The special value of 0 is not allowed for 'SET' operation.
"
::= { dStackUnitInfoEntry 6 }
dStackInfoMacAddr OBJECT-TYPE
SYNTAX MacAddress
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The MAC address of the device."
::= { dStackUnitInfoEntry 7 }
dStackInfoPromVersion OBJECT-TYPE
SYNTAX DisplayString (SIZE (0..255))
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"A textual string containing the PROM version of the
stacking device."
::= { dStackUnitInfoEntry 8 }
dStackInfoFirmwareVer OBJECT-TYPE
SYNTAX DisplayString (SIZE (0..255))
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"A textual string containing the firmware version of the
stacking device."
::= { dStackUnitInfoEntry 9 }
dStackInfoHardwareVer OBJECT-TYPE
SYNTAX DisplayString (SIZE (0..255))
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"A textual string containing the hardware version of the
stacking device."
::= { dStackUnitInfoEntry 10 }
dStackInfoAdminBandwidth OBJECT-TYPE
SYNTAX INTEGER {
twoPorts(1),
fourPorts(2)
}
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"This object indicates the administrative stacking port bandwidth
of the device."
::= { dStackUnitInfoEntry 11 }
dStackInfoSIO1ActiveBandwidth OBJECT-TYPE
SYNTAX INTEGER {
onePort(1),
twoPorts(2),
linkDown(3)
}
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Indicates the current link bandwidth in the SIO1.
onePort - only one port is linked in the SIO1.
twoPorts - two ports are linked in the SIO1.
linkDown - SIO1 is link down
"
::= { dStackUnitInfoEntry 12 }
dStackInfoSIO2ActiveBandwidth OBJECT-TYPE
SYNTAX INTEGER {
onePort(1),
twoPorts(2),
linkDown(3)
}
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Indicates the current link bandwidth in the SIO2.
onePort - only one port is linked in the SIO2.
twoPorts - two ports are linked in the SIO2.
linkDown - SIO2 is link down
"
::= { dStackUnitInfoEntry 13 }
dStackInfoStartPort OBJECT-TYPE
SYNTAX Integer32 (1..65535)
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"This object indicates the starting port of this unit."
::= { dStackUnitInfoEntry 14 }
dStackInfoPortRange OBJECT-TYPE
SYNTAX Integer32 (0..65535)
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"This object indicates the total ports of this unit."
::= { dStackUnitInfoEntry 15 }
-- -----------------------------------------------------------------------------
dStackNotificationInfo OBJECT IDENTIFIER ::= { dStackMIBObjects 2 }
dStackNotifyInfoBoxId OBJECT-TYPE
SYNTAX Integer32 (1..255)
MAX-ACCESS accessible-for-notify
STATUS current
DESCRIPTION
"This object indicates box ID of the notification."
::= { dStackNotificationInfo 1 }
dStackNotifyInfoTopologyType OBJECT-TYPE
SYNTAX INTEGER {
chain(1),
ring(2)
}
MAX-ACCESS accessible-for-notify
STATUS current
DESCRIPTION
"This object indicates the current stacking topology of the
notification."
::= { dStackNotificationInfo 2 }
dStackNotifyInfoRoleChangeType OBJECT-TYPE
SYNTAX INTEGER {
backupToMaster(1),
slaveToMaster(2)
}
MAX-ACCESS accessible-for-notify
STATUS current
DESCRIPTION
"This object indicates stacking role change of the notification."
::= { dStackNotificationInfo 3 }
-- ***************************************************************************
-- Notifications
-- ***************************************************************************
dStackInsertNotification NOTIFICATION-TYPE
OBJECTS {
dStackNotifyInfoBoxId,
dStackInfoMacAddr
}
STATUS current
DESCRIPTION "Device Hot Insert notification."
::= { dStackMIBNotifications 1 }
dStackRemoveNotification NOTIFICATION-TYPE
OBJECTS {
dStackNotifyInfoBoxId,
dStackInfoMacAddr
}
STATUS current
DESCRIPTION "Device Hot Remove notification."
::= { dStackMIBNotifications 2 }
dStackFailureNotification NOTIFICATION-TYPE
OBJECTS {
dStackNotifyInfoBoxId
}
STATUS current
DESCRIPTION "Device Failure notification."
::= { dStackMIBNotifications 3 }
dStackTPChangeNotification NOTIFICATION-TYPE
OBJECTS {
dStackNotifyInfoTopologyType,
dStackNotifyInfoBoxId,
dStackInfoMacAddr
}
STATUS current
DESCRIPTION "The stacking topology change notification."
::= { dStackMIBNotifications 4 }
dStackRoleChangeNotification NOTIFICATION-TYPE
OBJECTS {
dStackNotifyInfoRoleChangeType,
dStackNotifyInfoBoxId
}
STATUS current
DESCRIPTION "The stacking device role change notification."
::= { dStackMIBNotifications 5 }
-- -----------------------------------------------------------------------------
-- MIB Conformance statements
-- -----------------------------------------------------------------------------
dStackMIBCompliances OBJECT IDENTIFIER ::= { dStackMIBConformance 1 }
dStackMIBGroups OBJECT IDENTIFIER ::= { dStackMIBConformance 2 }
dStackCompliance MODULE-COMPLIANCE
STATUS current
DESCRIPTION
"The compliance statement for entities which implement the
DLINKSW-STACK-MIB."
MODULE -- this module
MANDATORY-GROUPS {
dStackBasicMgmtGroup,
dStackNotifGroup
}
GROUP dStackBandwidthMgmtGroup
DESCRIPTION
"This group is mandatory if configurable stacking port bandwidth
is supported."
::= { dStackMIBCompliances 1 }
-- Units of Conformance
dStackBasicMgmtGroup OBJECT-GROUP
OBJECTS {
dStackTopology,
dStackMyBoxId,
dStackNumOfDevices,
dStackAdminEnabled,
dStackPreempt,
dStackTrapStateEnabled,
dStackInfoExist,
dStackInfoRole,
dStackInfoUserSetBoxId,
dStackInfoModuleName,
dStackInfoPriority,
dStackInfoMacAddr,
dStackInfoPromVersion,
dStackInfoFirmwareVer,
dStackInfoHardwareVer,
dStackNotifyInfoBoxId,
dStackNotifyInfoTopologyType,
dStackNotifyInfoRoleChangeType
}
STATUS current
DESCRIPTION
"A collection of objects provides basic management and information
for stacking feature."
::= { dStackMIBGroups 1 }
dStackBandwidthMgmtGroup OBJECT-GROUP
OBJECTS {
dStackBandwidth,
dStackInfoAdminBandwidth,
dStackInfoSIO1ActiveBandwidth,
dStackInfoSIO2ActiveBandwidth
}
STATUS current
DESCRIPTION
"A collection of objects providing management and information for
stacking port bandwidth."
::= { dStackMIBGroups 2 }
dStackNotifGroup NOTIFICATION-GROUP
NOTIFICATIONS {
dStackInsertNotification,
dStackRemoveNotification,
dStackFailureNotification,
dStackTPChangeNotification,
dStackRoleChangeNotification
}
STATUS current
DESCRIPTION
"A collection of notifications for indicating the status change
of stacking."
::= { dStackMIBGroups 3 }
END

View File

@ -0,0 +1,415 @@
-- *****************************************************************
-- DLINKSW-STORM-CTRL-MIB.mib : Storm Control MIB
--
-- Copyright (c) 2013 D-Link Corporation, all rights reserved.
--
-- *****************************************************************
DLINKSW-STORM-CTRL-MIB DEFINITIONS ::= BEGIN
IMPORTS
MODULE-IDENTITY, OBJECT-TYPE, NOTIFICATION-TYPE,
Integer32
FROM SNMPv2-SMI
MODULE-COMPLIANCE, OBJECT-GROUP, NOTIFICATION-GROUP
FROM SNMPv2-CONF
ifIndex, InterfaceIndex
FROM IF-MIB
Unsigned32
FROM SNMPv2-SMI
dlinkIndustrialCommon
FROM DLINK-ID-REC-MIB;
dlinkSwStormCtrlMIB MODULE-IDENTITY
LAST-UPDATED "201306130000Z"
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 module defines objects for Storm Control"
REVISION "201306130000Z"
DESCRIPTION
"This is the first version of the MIB file for 'Storm Control'
functionality."
::= { dlinkIndustrialCommon 25 }
DStormCtlTrafficType ::= TEXTUAL-CONVENTION
STATUS current
DESCRIPTION
"The type of storm control traffic type.
broadcast(1) - broadcast storm.
multicast(2) - including unknown L2 multicast, known L2
multicast, unknown IP multicast and known
IP multicast.
unicast(3) - when the action is configured as 'shutdown mode',
unicast refers to both known and unknown
unicast packet; Otherwise, unicast refers to
unknown unicast packet. "
SYNTAX INTEGER {
broadcast(1),
multicast(2),
unicast(3)
}
DStormCtlThrType ::= TEXTUAL-CONVENTION
STATUS current
DESCRIPTION
"The type of storm control threshold is configured on an interface.
pps(1) - the threshold is configured as packet count per second.
kbps(2) - the threshold is configured as a rate of bits per second.
percentage(3) - the threshold is configured as a percentage of total
bandwidth per port.
"
SYNTAX INTEGER {
pps(1),
kbps(2),
percentage(3)
}
DStormCtlThrTypeValue ::= TEXTUAL-CONVENTION
STATUS current
DESCRIPTION
"Denotes a generic threshold value.
A DStormCtlThrTypeValue value is always interpreted within the context
of a DStormCtlThrType value. Every usage of the DStormCtlThrTypeValue
textual convention is required to specify the DStormCtlThrType
object that provides the context.
The unit and valid range are as follows:
Threshold Type Unit Valid Range
============= ===================== =================
pps packet per second 1 ~ 2147483647
kbps bits per second 1 ~ 2147483647
percentage percentage 1 ~ 100
The special value of -1 indicates this object is undefined.
"
SYNTAX Integer32
dStormCtrlMIBNotifications OBJECT IDENTIFIER ::= { dlinkSwStormCtrlMIB 0 }
dStormCtrlMIBObjects OBJECT IDENTIFIER ::= { dlinkSwStormCtrlMIB 1 }
dStormCtrlMIBConformance OBJECT IDENTIFIER ::= { dlinkSwStormCtrlMIB 2 }
-- --------------------------------------------------------------------------
dStormCtrlGentrl OBJECT IDENTIFIER ::= { dStormCtrlMIBObjects 1 }
dStormCtrlNotifyEnable OBJECT-TYPE
SYNTAX INTEGER {
none (1),
stormOccurred (2),
stormCleared (3),
both (4)
}
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object controls when a storm control notification will be generated.
If the object is set to
none(1): No notifications will be generated.
stormOccurred(2): A notification will be generated when a storm event is
detected.
stormCleared(3): A notification will be generated when a storm event is
cleared.
both (4): A notification will be generated both when a storm event is
detected and cleared.
NOTE:The default value of this object is none(1)."
::= { dStormCtrlGentrl 1}
dStormCtrlPollingInterval OBJECT-TYPE
SYNTAX Unsigned32 (5..600)
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"The interval, in seconds, the switch detects the storm."
DEFVAL { 5 }
::= { dStormCtrlGentrl 2}
dStormCtrlPollingRetries OBJECT-TYPE
SYNTAX Integer32 (-1 | 0 | 1.. 360)
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"Specify the retry count. If the action is configured
as 'shutdown' mode and storm keep as long as
interval * retries, the port will enters error-disabled state.
The effective range is from 1 to 360.
0 means that a 'shutdown' mode port will directly enter
error-disabled state when storm is detected.
-1 means that a 'shutdown' mode port will never enter
error-disabled state even if storm is detected."
DEFVAL { 3 }
::= { dStormCtrlGentrl 3}
-- --------------------------------------------------------------------------
dStormCtrlThresholdTable OBJECT-TYPE
SYNTAX SEQUENCE OF DStormCtrlThresholdEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"A table consists of a list of interface-specific threshold
configuration for storm control."
::= { dStormCtrlMIBObjects 2 }
dStormCtrlThresholdEntry OBJECT-TYPE
SYNTAX DStormCtrlThresholdEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"An entry presents threshold configuration on an interface."
INDEX {
ifIndex,
dStormCtrlTrafficType
}
::= { dStormCtrlThresholdTable 1 }
DStormCtrlThresholdEntry ::= SEQUENCE {
dStormCtrlTrafficType DStormCtlTrafficType,
dStormCtrlThresholdType DStormCtlThrType,
dStormCtrlRiseThresholdValue DStormCtlThrTypeValue,
dStormCtrlLowThresholdValue DStormCtlThrTypeValue
}
dStormCtrlTrafficType OBJECT-TYPE
SYNTAX DStormCtlTrafficType
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This object indicates the traffic type of the entry."
::= { dStormCtrlThresholdEntry 1 }
dStormCtrlThresholdType OBJECT-TYPE
SYNTAX DStormCtlThrType
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"This object indicates the threshold type of the entry."
::= { dStormCtrlThresholdEntry 2 }
dStormCtrlRiseThresholdValue OBJECT-TYPE
SYNTAX DStormCtlThrTypeValue
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"Specifies the rise threshold value of the entry.
A special value of -1 indicates the storm control of the
corresponding traffic type is not enabled on that interface.
"
::= { dStormCtrlThresholdEntry 3 }
dStormCtrlLowThresholdValue OBJECT-TYPE
SYNTAX DStormCtlThrTypeValue
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"Specifies the low level threshold.
A special value of -1 indicates low level is not specified.
The default value will be 80% of the value of the corresponding
dStormCtrlRiseThresholdValue if applicable."
::= { dStormCtrlThresholdEntry 4 }
-- --------------------------------------------------------------------------
dStormCtrlIfTable OBJECT-TYPE
SYNTAX SEQUENCE OF DStormCtrlIfEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"A table consists of a list of interface-specific configuration for
storm control."
::= { dStormCtrlMIBObjects 3 }
dStormCtrlIfEntry OBJECT-TYPE
SYNTAX DStormCtrlIfEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"An entry presents storm control configuration on an interface.
"
INDEX { ifIndex }
::= { dStormCtrlIfTable 1 }
DStormCtrlIfEntry ::= SEQUENCE {
dStormCtrlIfActionType INTEGER
}
dStormCtrlIfActionType OBJECT-TYPE
SYNTAX INTEGER {
none(1),
shutdown(2),
drop(3)
}
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"Specify the action will be taken when storm occurs:
none(1) - Not filter the storm packets.
shutdown(2) - The storm-control shutdown the port when the rise threshold is reached.
drop(3) - The storm-control always discards packets that exceed the rise threshold."
::= { dStormCtrlIfEntry 1 }
-- --------------------------------------------------------------------------
dStormCtrlTrafficInfoTable OBJECT-TYPE
SYNTAX SEQUENCE OF DStormCtrlTrafficInfoEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"A table consists of a list of status information for traffic types
on interfaces. Only the interface/traffic-type on which the storm
control is enabled will present on this table.
"
::= { dStormCtrlMIBObjects 4 }
dStormCtrlTrafficInfoEntry OBJECT-TYPE
SYNTAX DStormCtrlTrafficInfoEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"An entry presents the status of a traffic type on an interface."
INDEX {
ifIndex,
dStormCtrlTrafficType
}
::= { dStormCtrlTrafficInfoTable 1 }
DStormCtrlTrafficInfoEntry ::= SEQUENCE {
dStormCtrlTrafficInfoStatus INTEGER,
dStormCtrlCurTrafficUnitType DStormCtlThrType,
dStormCtrlCurTrafficValue DStormCtlThrTypeValue
}
dStormCtrlCurTrafficUnitType OBJECT-TYPE
SYNTAX DStormCtlThrType
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"This object indicates the current traffic unit of the entry."
::= { dStormCtrlTrafficInfoEntry 1 }
dStormCtrlCurTrafficValue OBJECT-TYPE
SYNTAX DStormCtlThrTypeValue
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Indicating the current traffic value on the interface.
"
::= { dStormCtrlTrafficInfoEntry 2 }
dStormCtrlTrafficInfoStatus OBJECT-TYPE
SYNTAX INTEGER {
forwarding(1),
dropped(2),
errorDisabled(3),
linkDown(4),
inactive(5)
}
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"This object indicates the current status of storm control on a
given interface for a given traffic type.
forwarding(1): no storm event has been detected.
dropped(2): a storm event has occurred and the storm traffic
exceeding the threshold is dropped.
errorDisabled(3): the port is disabled due to a storm.
linkDown(4): the port is physically linked down.
inactive(5): Indicates that storm control is not
enabled for the given traffic type.
"
::= { dStormCtrlTrafficInfoEntry 3 }
-- --------------------------------------------------------------------------
dStormCtrlNotifyInfo OBJECT IDENTIFIER ::= { dStormCtrlMIBObjects 5 }
dStormCtrlNotifyTrafficType OBJECT-TYPE
SYNTAX DStormCtlTrafficType
MAX-ACCESS accessible-for-notify
STATUS current
DESCRIPTION
"This object is used by dStormCtrlOccurred and dStormCtrlStormCleared
to indicate the traffic type of the occurred storm."
::= { dStormCtrlNotifyInfo 1 }
-- --------------------------------------------------------------------------
dStormCtrlOccurred NOTIFICATION-TYPE
OBJECTS {
ifIndex,
dStormCtrlNotifyTrafficType
}
STATUS current
DESCRIPTION
"This trap is sent when dStormCtrlNotifyEnable is 'stormOccurred'
or 'both' and a storm is detected."
::= { dStormCtrlMIBNotifications 1 }
dStormCtrlStormCleared NOTIFICATION-TYPE
OBJECTS {
ifIndex,
dStormCtrlNotifyTrafficType
}
STATUS current
DESCRIPTION
"This trap is sent when dStormCtrlNotifyEnable is 'stormCleared'
or 'both' and a storm is cleared."
::= { dStormCtrlMIBNotifications 2 }
-- ***************************************************************************
-- Conformance
-- ***************************************************************************
dStormCtrlCompliances OBJECT IDENTIFIER ::= { dStormCtrlMIBConformance 1 }
dStormCtrlCompliance MODULE-COMPLIANCE
STATUS current
DESCRIPTION
"The compliance statement for entities which implement the
DLINKSW-STORM-CTRL-MIB."
MODULE -- this module
MANDATORY-GROUPS { dStormCtrlBaiscGroup }
::= { dStormCtrlCompliances 1 }
dStormCtrlGroup OBJECT IDENTIFIER ::= { dStormCtrlMIBConformance 2 }
dStormCtrlBaiscGroup OBJECT-GROUP
OBJECTS {
dStormCtrlNotifyEnable,
dStormCtrlPollingInterval,
dStormCtrlPollingRetries,
dStormCtrlThresholdType,
dStormCtrlRiseThresholdValue,
dStormCtrlLowThresholdValue,
dStormCtrlIfActionType,
dStormCtrlCurTrafficUnitType,
dStormCtrlCurTrafficValue,
dStormCtrlTrafficInfoStatus,
dStormCtrlNotifyTrafficType
}
STATUS current
DESCRIPTION
"A collection of objects providing the information for storm control"
::= { dStormCtrlGroup 1 }
dStormCtrlNotifyGroup NOTIFICATION-GROUP
NOTIFICATIONS {
dStormCtrlOccurred,
dStormCtrlStormCleared
}
STATUS current
DESCRIPTION
"The collection of notifications used for storm control."
::= { dStormCtrlGroup 2 }
END

View File

@ -0,0 +1,314 @@
-- *****************************************************************
-- DLINKSW-STP-EXT-MIB.mib : STP Extension MIB
--
-- Copyright (c) 2013 D-Link Corporation, all rights reserved.
--
-- *****************************************************************
DLINKSW-STP-EXT-MIB DEFINITIONS ::= BEGIN
IMPORTS
MODULE-IDENTITY, OBJECT-TYPE, Unsigned32
FROM SNMPv2-SMI
TruthValue
FROM SNMPv2-TC
MODULE-COMPLIANCE, OBJECT-GROUP
FROM SNMPv2-CONF
IEEE8021BridgePortNumber, IEEE8021MstIdentifier
FROM IEEE8021-TC-MIB
dlinkIndustrialCommon
FROM DLINK-ID-REC-MIB;
dlinkSwStpExtMIB MODULE-IDENTITY
LAST-UPDATED "201303270000Z"
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
"The MIB module for managing D-Link STP extensions which are not covered
by standard MIBs."
REVISION "201303270000Z"
DESCRIPTION
"Initial version of this MIB."
::= { dlinkIndustrialCommon 15 }
dStpExtMIBNotifications OBJECT IDENTIFIER ::= { dlinkSwStpExtMIB 0 }
dStpExtMIBObjects OBJECT IDENTIFIER ::= { dlinkSwStpExtMIB 1 }
dStpExtMIBConformance OBJECT IDENTIFIER ::= { dlinkSwStpExtMIB 2 }
-- -----------------------------------------------------------------------------
dStpExtGblMgmt OBJECT IDENTIFIER ::= { dStpExtMIBObjects 1 }
dStpExtStpGblStateEnabled OBJECT-TYPE
SYNTAX TruthValue
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object enables global spanning-tree function."
::= { dStpExtGblMgmt 1 }
dStpExtNotificationEnable OBJECT-TYPE
SYNTAX BITS {
newRoot(0),
topologyChange(1)
}
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object indicates whether a specified notification is enabled or not.
If a bit corresponding to a notification is set to 1, then
the specified notification can be generated.
newRoot(0) - the newRoot notification as defined in BRIDGE-MIB.
topologyChange(1) -- the topologyChange notification as defined in
BRIDGE-MIB.
"
::= { dStpExtGblMgmt 2 }
dStpExtStpNniBpduAddress OBJECT-TYPE
SYNTAX INTEGER {
dot1d(1),
dot1ad(2)
}
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"Specifies the BPDU MAC address of the NNI port in Q-in-Q status.
dot1d - Use Customer Bridge Group Address (01-80-C2-00-00-00) as
destination address of STP BPDU.
dot1ad - Use Provider Bridge Group Address (01-80-C2-00-00-08) as
destination address of STP BPDU.
"
::= { dStpExtGblMgmt 3 }
-- ***************************************************************************
-- STP Port Table
-- ***************************************************************************
dStpExtPortMgmt OBJECT IDENTIFIER ::= { dStpExtMIBObjects 2 }
dStpExtPortTable OBJECT-TYPE
SYNTAX SEQUENCE OF DStpExtPortEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"A table that contains port-specific information
for the STP extensions."
::= { dStpExtPortMgmt 1 }
dStpExtPortEntry OBJECT-TYPE
SYNTAX DStpExtPortEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"An entry in dStpExtPortTable. This object indicates per port
STP information which is not covered by standard MIB(s)."
INDEX { dStpExtPortNumber }
::= { dStpExtPortTable 1 }
DStpExtPortEntry ::= SEQUENCE {
dStpExtPortNumber IEEE8021BridgePortNumber,
dStpExtPortForwardBpduEnabled TruthValue,
dStpExtPortAdminHelloTime Unsigned32,
dStpExtPortState INTEGER
}
dStpExtPortNumber OBJECT-TYPE
SYNTAX IEEE8021BridgePortNumber
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"The port number of the port for this entry."
::= { dStpExtPortEntry 1 }
dStpExtPortForwardBpduEnabled OBJECT-TYPE
SYNTAX TruthValue
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object indicates whether forward the received STP BPDUs to all
VLAN member ports in untagged form.
dStpExtPortForwardBpduEnabled cannot be set to 'true' when
spanning-tree protocol is enabled on the interface. "
::= { dStpExtPortEntry 2 }
dStpExtPortAdminHelloTime OBJECT-TYPE
SYNTAX Unsigned32 (1..2)
UNITS "seconds"
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object indicates the time interval to send one BPDU at the
designated port.
dStpExtPortAdminHelloTime only takes effect in MSTP mode."
::= { dStpExtPortEntry 3 }
dStpExtPortState OBJECT-TYPE
SYNTAX INTEGER {
errDisabled(1),
blocking(2),
listening(3),
learning(4),
forwarding(5),
broken(6),
nonStpForwarding(7),
nonStpOther(8)
}
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"This object indicates the state of STP port.
errDisabled(1): the port is at error disabled state.
blocking(2) - broken(6): When STP is enabled on the port and the
port is not at error disabled state, dStpExtPortState
has the same value as dot1dStpPortState, as defined
by application of STP.
noStpForwarding(7) - STP is disabled at the port and this port is
functioning.
nonStpOther(8) - STP is disabled at the port and this port is link-down
or other malfunctioning situations.
"
::= { dStpExtPortEntry 4 }
-- ***************************************************************************
-- MSTP Instance Extension Table
-- ***************************************************************************
dStpExtMstpMgmt OBJECT IDENTIFIER ::= { dStpExtMIBObjects 3 }
dStpExtMstpPortTable OBJECT-TYPE
SYNTAX SEQUENCE OF DStpExtMstpPortEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"A table that contains MSTI-specific information
which are not covered by ieee8021MstpPortTable.
Note that entries will exist in this table only for bridge
components for which the corresponding instance of
ieee8021SpanningTreeVersion (from the IEEE8021-SPANNING-TREE-MIB)
has a value of mstp(2) and the corresponding port is not disabled.
"
::= { dStpExtMstpMgmt 1 }
dStpExtMstpPortEntry OBJECT-TYPE
SYNTAX DStpExtMstpPortEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"An entry in dStpExtMstPortTable, which consists of information
is not covered by ieee8021MstpPortTable."
INDEX {
dStpExtMstpPortMstId,
dStpExtMstpPortNum
}
::= { dStpExtMstpPortTable 1 }
DStpExtMstpPortEntry ::= SEQUENCE {
dStpExtMstpPortMstId IEEE8021MstIdentifier,
dStpExtMstpPortNum IEEE8021BridgePortNumber,
dStpExtMstpPortRole INTEGER
}
dStpExtMstpPortMstId OBJECT-TYPE
SYNTAX IEEE8021MstIdentifier
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"In an MSTP Bridge, this parameter is the MSTID, i.e. the
identifier of a Spanning Tree (or MST) Instance."
::= { dStpExtMstpPortEntry 1 }
dStpExtMstpPortNum OBJECT-TYPE
SYNTAX IEEE8021BridgePortNumber
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"In an MSTP Bridge, the Port's Port Number parameter value for
the MSTI, i.e. the number of the Bridge Port for the MSTI."
::= { dStpExtMstpPortEntry 2 }
dStpExtMstpPortRole OBJECT-TYPE
SYNTAX INTEGER {
root(1),
alternate(2),
designated(3),
backup(4),
master(5)
}
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The MSTI's current port role as defined by application of MSTP."
::= { dStpExtMstpPortEntry 3 }
-- ***************************************************************************
-- Conformance
-- ***************************************************************************
dStpExtMIBCompliances OBJECT IDENTIFIER ::= { dStpExtMIBConformance 1 }
dStpExtCompliance MODULE-COMPLIANCE
STATUS current
DESCRIPTION
"The compliance statement for entities which implement the
DLINKSW-STP-EXT-MIB."
MODULE -- this module
MANDATORY-GROUPS {
dStpExtBasicGroup
}
GROUP dStpExtMstpGroup
DESCRIPTION
"This group is required only if the MSTP is implemented by the agent."
GROUP dStpExtServiceProviderCfgGroup
DESCRIPTION
"This group is required only if the VLAN tunnel is implemented by the agent."
::= { dStpExtMIBCompliances 1 }
dStpExtGroups OBJECT IDENTIFIER ::= { dStpExtMIBCompliances 2 }
dStpExtBasicGroup OBJECT-GROUP
OBJECTS {
dStpExtStpGblStateEnabled,
dStpExtPortForwardBpduEnabled,
dStpExtPortState,
dStpExtNotificationEnable
}
STATUS current
DESCRIPTION
"This group contains the collection of objects related to
STP/RSTP configuration/status which cannot be covered by
standard MIBs."
::= { dStpExtGroups 1 }
dStpExtMstpGroup OBJECT-GROUP
OBJECTS {
dStpExtPortAdminHelloTime,
dStpExtMstpPortRole
}
STATUS current
DESCRIPTION
"This group contains the collection of objects related to
MSTP configuration/status which cannot be covered by
standard MIBs."
::= { dStpExtGroups 2 }
dStpExtServiceProviderCfgGroup OBJECT-GROUP
OBJECTS {
dStpExtStpNniBpduAddress
}
STATUS current
DESCRIPTION
"A collection of objects configures STP in service provider site."
::= { dStpExtGroups 3 }
END

View File

@ -0,0 +1,742 @@
-- *****************************************************************
-- DLINKSW-SURVEILLANCE-VLAN-MIB.mib : Surveillance VLAN MIB
--
-- Copyright (c) 2013 D-Link Corporation, all rights reserved.
--
-- ----------------------------
-- MODIFICTION HISTORY:
-- ----------------------------
-- Version 2.0, 2016/3/28, Fanny He
-- [New Object]
-- Add new objects to support auto surveillance vlan v2.0.
-- Request by Fanny He for project DGS-1510
--
-- Version 2.01, 2016/10/18, Fanny He
-- Remove the objects "dsvLocation". Add the new objects "dsvOnvifIpcIpAddress",
-- "dsvOnvifNvrIpAddress", "dsvOnvifNvrGroupNvrIpAddress", "dsvOnvifNvrGroupIpcIpAddress"
-- *****************************************************************
DLINKSW-SURVEILLANCE-VLAN-MIB DEFINITIONS ::= BEGIN
IMPORTS
MODULE-IDENTITY,OBJECT-TYPE,Unsigned32,Counter64
FROM SNMPv2-SMI
MODULE-COMPLIANCE, OBJECT-GROUP
FROM SNMPv2-CONF
MacAddress, TruthValue, RowStatus, DateAndTime, TEXTUAL-CONVENTION
FROM SNMPv2-TC
InetAddress
FROM INET-ADDRESS-MIB
PortList, VlanIdOrNone
FROM Q-BRIDGE-MIB
InterfaceIndex
FROM IF-MIB
SnmpAdminString
FROM SNMP-FRAMEWORK-MIB
dlinkIndustrialCommon
FROM DLINK-ID-REC-MIB;
dlinkSwSurveillanceVlanMIB MODULE-IDENTITY
LAST-UPDATED "201610180000Z"
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
"The MIB module for managing surveillance VLAN feature."
REVISION "201304080000Z"
DESCRIPTION
"Initial version of this MIB module."
REVISION "201603280000Z"
DESCRIPTION
"Add new objects dsvOnvifGlobal, dsvOnvifInterface, dsvOnvifIpcInfo,
dsvOnvifNvrInfo and dsvOnvifNvrAdminIpcInfo to support auto surveillance vlan v2.0."
REVISION "201610180000Z"
DESCRIPTION
"Remove the objects dsvLocation. Add the new objects dsvOnvifIpcIpAddress,
dsvOnvifNvrIpAddress, dsvOnvifNvrGroupNvrIpAddress, dsvOnvifNvrGroupIpcIpAddress."
::= { dlinkIndustrialCommon 34 }
OuiComponentType ::= TEXTUAL-CONVENTION
STATUS current
DESCRIPTION
"Represents an OUI component type.
Note: The component type 'dlink' indicates default OUI and is not
used for setting.
"
SYNTAX INTEGER {
other(1),
dlink(2),
vms(3),
vmsClient(4),
videoEncoder(5),
networkStorage(6)
}
-- -----------------------------------------------------------------------------
-- Node definitions
-- -----------------------------------------------------------------------------
dsvMIBNotifications OBJECT IDENTIFIER ::= { dlinkSwSurveillanceVlanMIB 0 }
dsvMIBObjects OBJECT IDENTIFIER ::= { dlinkSwSurveillanceVlanMIB 1 }
dsvMIBConformance OBJECT IDENTIFIER ::= { dlinkSwSurveillanceVlanMIB 2 }
-- -----------------------------------------------------------------------------
dsvGlobal OBJECT IDENTIFIER ::= { dsvMIBObjects 1 }
dsvVlanId OBJECT-TYPE
SYNTAX VlanIdOrNone
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"The object specifies the surveillance VLAN on a switch.
A value of zero indicates that no surveillance VLAN has been
configured.
It is required to configure the global dsvVlanId and enable
dsvIfEnabled to start the surveillance VLAN function
on a port."
DEFVAL { 0 }
::= { dsvGlobal 1 }
dsvQos OBJECT-TYPE
SYNTAX Unsigned32 (0..7)
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"The priority for the surveillance VLAN, which is used to distinguish
the QoS of the surveillance traffic from data traffic."
DEFVAL { 5 }
::= { dsvGlobal 2 }
dsvAgingTime OBJECT-TYPE
SYNTAX Unsigned32 (1..65535)
UNITS "minutes"
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"The aging time for the surveillance VLAN, for aging out the surveillance
device and the surveillance VLAN automatically learned member ports.
"
DEFVAL { 720 }
::= { dsvGlobal 3 }
-- -----------------------------------------------------------------------------
dsvOuiTable OBJECT-TYPE
SYNTAX SEQUENCE OF DsvOuiEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This table contains a list of the surveillance VLAN OUI configuration."
::= { dsvGlobal 4 }
dsvOuiEntry OBJECT-TYPE
SYNTAX DsvOuiEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"An entry indicates an OUI information, which is used to classify
surveillance traffic into the surveillance VLAN. If the source MAC addresses of
the received packet matches any of the OUI pattern, the received
packet is determined as surveillance packet. "
INDEX {
dsvOuiAddr,
dsvOuiMask
}
::= { dsvOuiTable 1 }
DsvOuiEntry ::=
SEQUENCE {
dsvOuiAddr MacAddress,
dsvOuiMask MacAddress,
dsvOuiComponentType OuiComponentType,
dsvOuiDescription SnmpAdminString,
dsvOuiRowStatus RowStatus
}
dsvOuiAddr OBJECT-TYPE
SYNTAX MacAddress
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"The MAC address of the OUI referring to this entry."
::= { dsvOuiEntry 1 }
dsvOuiMask OBJECT-TYPE
SYNTAX MacAddress
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"Indicates the OUI MAC address matching bitmask."
::= { dsvOuiEntry 2 }
dsvOuiComponentType OBJECT-TYPE
SYNTAX OuiComponentType
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"The Component type of the OUI.
Note: The component type 'dlink' is not allowed to set."
::= { dsvOuiEntry 3 }
dsvOuiDescription OBJECT-TYPE
SYNTAX SnmpAdminString (SIZE (0..32))
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"The description of the OUI. A zero length string of this object
indicates there is no description for this OUI."
::= { dsvOuiEntry 4 }
dsvOuiRowStatus OBJECT-TYPE
SYNTAX RowStatus
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"This object indicates the status of this entry."
::= { dsvOuiEntry 5 }
-- -----------------------------------------------------------------------------
dsvOnvifDiscoverPort OBJECT-TYPE
SYNTAX Unsigned32
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"The UDP and TCP port for snoop RTSP streaming."
DEFVAL { 554 }
::= { dsvGlobal 5 }
-- -----------------------------------------------------------------------------
dsvInterface OBJECT IDENTIFIER ::= { dsvMIBObjects 2 }
dsvInterfaceTable OBJECT-TYPE
SYNTAX SEQUENCE OF DsvInterfaceEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This table contains the interface-specific surveillance VLAN parameters."
::= { dsvInterface 1 }
dsvInterfaceEntry OBJECT-TYPE
SYNTAX DsvInterfaceEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"An entry indicates the surveillance VLAN parameters for a port/port-channel."
INDEX { dsvIfIndex }
::= { dsvInterfaceTable 1 }
DsvInterfaceEntry ::=
SEQUENCE {
dsvIfIndex InterfaceIndex,
dsvIfEnabled TruthValue
}
dsvIfIndex OBJECT-TYPE
SYNTAX InterfaceIndex
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"Indicates the ifIndex of the physical port/port-channel interface."
::= { dsvInterfaceEntry 1 }
dsvIfEnabled OBJECT-TYPE
SYNTAX TruthValue
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"Indicates whether the surveillance VLAN is enabled at the port."
::= { dsvInterfaceEntry 2 }
-- -----------------------------------------------------------------------------
dsvInfo OBJECT IDENTIFIER ::= { dsvMIBObjects 3 }
dsvMemberPorts OBJECT-TYPE
SYNTAX PortList
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The surveillance VLAN's member ports, includes the dynamically
learned ports."
::= { dsvInfo 1 }
dsvDynamicPorts OBJECT-TYPE
SYNTAX PortList
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The dynamically learned member ports of the surveillance VLAN."
::= { dsvInfo 2 }
dsvDeviceTable OBJECT-TYPE
SYNTAX SEQUENCE OF DsvDeviceEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This table contains the information about the learned surveillance devices."
::= { dsvInfo 3 }
dsvDeviceEntry OBJECT-TYPE
SYNTAX DsvDeviceEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"Indicates the information of the connected surveillance device."
INDEX {
dsvDevicePortIfIdx,
dsvDeviceAddr
}
::= { dsvDeviceTable 1 }
DsvDeviceEntry ::=
SEQUENCE {
dsvDevicePortIfIdx InterfaceIndex,
dsvDeviceAddr MacAddress,
dsvDeviceCompType OuiComponentType,
dsvDeviceDescr SnmpAdminString,
dsvDeviceStartTime DateAndTime,
dsvDeviceStatus INTEGER
}
dsvDevicePortIfIdx OBJECT-TYPE
SYNTAX InterfaceIndex
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"Indicates the ifIndex of the port to which the surveillance device connects."
::= { dsvDeviceEntry 1 }
dsvDeviceAddr OBJECT-TYPE
SYNTAX MacAddress
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"Indicates the MAC address of the surveillance device."
::= { dsvDeviceEntry 2 }
dsvDeviceCompType OBJECT-TYPE
SYNTAX OuiComponentType
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The component type of the surveillance device."
::= { dsvDeviceEntry 3 }
dsvDeviceDescr OBJECT-TYPE
SYNTAX SnmpAdminString (SIZE (0..32))
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The description of the surveillance device. A zero length string
of this object indicates there is no description for this OUI."
::= { dsvDeviceEntry 4 }
dsvDeviceStartTime OBJECT-TYPE
SYNTAX DateAndTime
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Indicates the start time of the connected surveillance device."
::= { dsvDeviceEntry 5 }
dsvDeviceStatus OBJECT-TYPE
SYNTAX INTEGER {
active(1),
aging(2)
}
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Indicates the status of the connected surveillance device."
::= { dsvDeviceEntry 6 }
-- -----------------------------------------------------------------------------
dsvOnvifIpcInfo OBJECT IDENTIFIER ::= { dsvMIBObjects 4 }
dsvOnvifIpcTable OBJECT-TYPE
SYNTAX SEQUENCE OF DsvOnvifIpcEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This table contains the IPC information and configurations."
::= { dsvOnvifIpcInfo 1 }
dsvOnvifIpcEntry OBJECT-TYPE
SYNTAX DsvOnvifIpcEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"An entry indicates the IPC information and configurations."
INDEX { dsvOnvifIpcIfIndex,
dsvOnvifIpcAddress
}
::= { dsvOnvifIpcTable 1 }
DsvOnvifIpcEntry::=
SEQUENCE {
dsvOnvifIpcIfIndex InterfaceIndex,
dsvOnvifIpcAddress MacAddress,
dsvOnvifIpcIpAddress InetAddress,
dsvOnvifIpcState TruthValue,
dsvOnvifIpcModel SnmpAdminString,
dsvOnvifIpcManufacturer SnmpAdminString,
dsvOnvifIpcDescription SnmpAdminString,
dsvOnvifIpcThroughput Counter64
}
dsvOnvifIpcIfIndex OBJECT-TYPE
SYNTAX InterfaceIndex
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"Indicates the ifIndex of the physical port/port-channel interface."
::= { dsvOnvifIpcEntry 1 }
dsvOnvifIpcAddress OBJECT-TYPE
SYNTAX MacAddress
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"Indicates the MAC address of the ONVIF IP-Camera."
::= { dsvOnvifIpcEntry 2 }
dsvOnvifIpcIpAddress OBJECT-TYPE
SYNTAX InetAddress
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Indicates the Ip address of the ONVIF IP-Camera."
::= { dsvOnvifIpcEntry 3 }
dsvOnvifIpcState OBJECT-TYPE
SYNTAX TruthValue
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"Indicates the state of the ONVIF IP-Camera on this port."
::= { dsvOnvifIpcEntry 4 }
dsvOnvifIpcModel OBJECT-TYPE
SYNTAX SnmpAdminString(SIZE (0..32))
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Indicates the model name of the ONVIF IP-Camera."
::= { dsvOnvifIpcEntry 5 }
dsvOnvifIpcManufacturer OBJECT-TYPE
SYNTAX SnmpAdminString(SIZE (0..32))
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Indicates the manufacturer of the ONVIF IP-Camera."
::= { dsvOnvifIpcEntry 6 }
dsvOnvifIpcDescription OBJECT-TYPE
SYNTAX SnmpAdminString(SIZE (0..32))
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"Indicates the description of the ONVIF IP-Camera added by user."
::= { dsvOnvifIpcEntry 7 }
dsvOnvifIpcThroughput OBJECT-TYPE
SYNTAX Counter64
UNITS "Mbps"
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Indicates traffic throughput of the ONVIF IP-Camera."
::= { dsvOnvifIpcEntry 8 }
-- -----------------------------------------------------------------------------
dsvOnvifNvrInfo OBJECT IDENTIFIER ::= { dsvMIBObjects 5 }
dsvOnvifNvrTable OBJECT-TYPE
SYNTAX SEQUENCE OF DsvOnvifNvrEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This table contains the IPC information and configurations."
::= { dsvOnvifNvrInfo 1 }
dsvOnvifNvrEntry OBJECT-TYPE
SYNTAX DsvOnvifNvrEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"An entry indicates the NVR information and configurations."
INDEX { dsvOnvifNvrIfIndex,
dsvOnvifNvrAddress
}
::= { dsvOnvifNvrTable 1 }
DsvOnvifNvrEntry ::=
SEQUENCE {
dsvOnvifNvrIfIndex InterfaceIndex,
dsvOnvifNvrAddress MacAddress,
dsvOnvifNvrIpAddress InetAddress,
dsvOnvifNvrIpcNumber Unsigned32,
dsvOnvifNvrThroughput Counter64,
dsvOnvifNvrGroup Unsigned32,
dsvOnvifNvrDescription SnmpAdminString
}
dsvOnvifNvrIfIndex OBJECT-TYPE
SYNTAX InterfaceIndex
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"Indicates the ifIndex of the physical port/port-channel interface."
::= { dsvOnvifNvrEntry 1 }
dsvOnvifNvrAddress OBJECT-TYPE
SYNTAX MacAddress
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"Indicates the MAC address of the ONVIF NVR."
::= { dsvOnvifNvrEntry 2 }
dsvOnvifNvrIpAddress OBJECT-TYPE
SYNTAX InetAddress
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Indicates the Ip address of the ONVIF NVR."
::= { dsvOnvifNvrEntry 3 }
dsvOnvifNvrIpcNumber OBJECT-TYPE
SYNTAX Unsigned32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Indicates the number of the ONVIF IP-Camera administrated by this NVR."
::= { dsvOnvifNvrEntry 4 }
dsvOnvifNvrThroughput OBJECT-TYPE
SYNTAX Counter64
UNITS "Mbps"
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Indicates traffic throughput of the ONVIF NVR."
::= { dsvOnvifNvrEntry 5 }
dsvOnvifNvrGroup OBJECT-TYPE
SYNTAX Unsigned32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Indicates the group ID of the ONVIF NVR."
::= { dsvOnvifNvrEntry 6 }
dsvOnvifNvrDescription OBJECT-TYPE
SYNTAX SnmpAdminString(SIZE (0..32))
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"Indicates the description of the ONVIF NVR added by user."
::= { dsvOnvifNvrEntry 7 }
-- -----------------------------------------------------------------------------
dsvOnvifNvrGroupInfo OBJECT IDENTIFIER ::= { dsvMIBObjects 6 }
dsvOnvifNvrGroupTable OBJECT-TYPE
SYNTAX SEQUENCE OF DsvOnvifNvrGroupEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This table contains the IPC list in NVR group on the interface."
::= { dsvOnvifNvrGroupInfo 1 }
dsvOnvifNvrGroupEntry OBJECT-TYPE
SYNTAX DsvOnvifNvrGroupEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"An entry indicates the NVR group information."
INDEX {
dsvOnvifNvrGroupIfIndex,
dsvOnvifNvrGroupNvrAddress,
dsvOnvifNvrGroupIpcAddress
}
::= { dsvOnvifNvrGroupTable 1 }
DsvOnvifNvrGroupEntry ::=
SEQUENCE {
dsvOnvifNvrGroupIfIndex InterfaceIndex,
dsvOnvifNvrGroupNvrAddress MacAddress,
dsvOnvifNvrGroupIpcAddress MacAddress,
dsvOnvifNvrGroupNvrIpAddress InetAddress,
dsvOnvifNvrGroupIpcIpAddress InetAddress,
dsvOnvifNvrGroupNvrGroup Unsigned32
}
dsvOnvifNvrGroupIfIndex OBJECT-TYPE
SYNTAX InterfaceIndex
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"Indicates the ifIndex of the physical port/port-channel interface."
::= { dsvOnvifNvrGroupEntry 1 }
dsvOnvifNvrGroupNvrAddress OBJECT-TYPE
SYNTAX MacAddress
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"Indicates the MAC address of the ONVIF NVR."
::= { dsvOnvifNvrGroupEntry 2 }
dsvOnvifNvrGroupIpcAddress OBJECT-TYPE
SYNTAX MacAddress
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"Indicates the MAC address of the ONVIF IP-Camera."
::= { dsvOnvifNvrGroupEntry 3 }
dsvOnvifNvrGroupNvrIpAddress OBJECT-TYPE
SYNTAX InetAddress
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Indicates the Ip address of the ONVIF NVR."
::= { dsvOnvifNvrGroupEntry 4 }
dsvOnvifNvrGroupIpcIpAddress OBJECT-TYPE
SYNTAX InetAddress
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Indicates the Ip address of the ONVIF IP-Camera."
::= { dsvOnvifNvrGroupEntry 5 }
dsvOnvifNvrGroupNvrGroup OBJECT-TYPE
SYNTAX Unsigned32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Indicates the group ID of the ONVIF NVR."
::= { dsvOnvifNvrGroupEntry 6 }
-- -----------------------------------------------------------------------------
-- MIB Conformance statements
-- -----------------------------------------------------------------------------
dsvMIBCompliances OBJECT IDENTIFIER
::= { dsvMIBConformance 1 }
dsvMIBGroups OBJECT IDENTIFIER
::= { dsvMIBConformance 2 }
dsvMIBCompliance MODULE-COMPLIANCE
STATUS current
DESCRIPTION
"The compliance statement for entities which implement the
DLINKSW-SURVEILLANCE-VLAN-MIB."
MODULE -- this module
MANDATORY-GROUPS { dsvBasicGroup }
GROUP dsvOUICfgGroup
DESCRIPTION
"This group is required for entities that implement classifying
surveillance traffic based on OUI patterns."
GROUP dsvDeviceInfoGroup
DESCRIPTION
"This group is required for entities that display surveillance
vlan device infomation."
::= { dsvMIBCompliances 1 }
dsvBasicGroup OBJECT-GROUP
OBJECTS {
dsvVlanId,
dsvQos,
dsvAgingTime,
dsvOnvifDiscoverPort,
dsvIfEnabled,
dsvMemberPorts,
dsvDynamicPorts
}
STATUS current
DESCRIPTION
"A collection of objects to configure or display the status
of surveillance VLAN feature."
::= { dsvMIBGroups 1 }
dsvOUICfgGroup OBJECT-GROUP
OBJECTS {
dsvOuiComponentType,
dsvOuiDescription,
dsvOuiRowStatus
}
STATUS current
DESCRIPTION
"A collection of objects to configure surveillance device OUI(s)."
::= { dsvMIBGroups 2 }
dsvDeviceInfoGroup OBJECT-GROUP
OBJECTS {
dsvDeviceCompType,
dsvDeviceDescr,
dsvDeviceStartTime,
dsvDeviceStatus
}
STATUS current
DESCRIPTION
"A collection of objects to display surveillance device(s)."
::= { dsvMIBGroups 3 }
dsvOnvifIpcCfgGroup OBJECT-GROUP
OBJECTS {
dsvOnvifIpcIpAddress,
dsvOnvifIpcState,
dsvOnvifIpcModel,
dsvOnvifIpcManufacturer,
dsvOnvifIpcDescription,
dsvOnvifIpcThroughput
}
STATUS current
DESCRIPTION
"A collection of objects to display ONVIF-based surveillance vlan IPC information."
::= { dsvMIBGroups 4 }
dsvOnvifNvrCfgGroup OBJECT-GROUP
OBJECTS {
dsvOnvifNvrIpAddress,
dsvOnvifNvrIpcNumber,
dsvOnvifNvrThroughput,
dsvOnvifNvrGroup,
dsvOnvifNvrDescription
}
STATUS current
DESCRIPTION
"A collection of objects to display ONVIF-based surveillance vlan NVR information."
::= { dsvMIBGroups 5 }
dsvOnvifNvrGroupCfgGroup OBJECT-GROUP
OBJECTS {
dsvOnvifNvrGroupNvrIpAddress,
dsvOnvifNvrGroupIpcIpAddress,
dsvOnvifNvrGroupNvrGroup
}
STATUS current
DESCRIPTION
"A collection of objects to display IPC in the NVR group on the interface."
::= { dsvMIBGroups 6 }
END

View File

@ -0,0 +1,191 @@
-- *****************************************************************
-- DLINKSW-SWITCHPORT-MIB.mib : Switch Port MIB
--
-- Copyright (c) 2012 D-Link Corporation, all rights reserved.
--
-- *****************************************************************
DLINKSW-SWITCHPORT-MIB DEFINITIONS ::= BEGIN
IMPORTS
MODULE-IDENTITY,
OBJECT-TYPE,
Unsigned32
FROM SNMPv2-SMI
TruthValue
FROM SNMPv2-TC
MODULE-COMPLIANCE, OBJECT-GROUP
FROM SNMPv2-CONF
ifIndex
FROM IF-MIB
dlinkIndustrialCommon
FROM DLINK-ID-REC-MIB;
dlinkSwSwitchPortMIB MODULE-IDENTITY
LAST-UPDATED "201303040000Z"
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 module defines objects for per-port configuration which
are not covered by standard MIB(s)."
REVISION "201303040000Z"
DESCRIPTION
" This is the first version of the MIB file
"
::= { dlinkIndustrialCommon 11 }
-- -----------------------------------------------------------------------------
dSwPortNotifications OBJECT IDENTIFIER ::= { dlinkSwSwitchPortMIB 0 }
dSwPortObjects OBJECT IDENTIFIER ::= { dlinkSwSwitchPortMIB 1 }
dSwPortConformance OBJECT IDENTIFIER ::= { dlinkSwSwitchPortMIB 2 }
-- -----------------------------------------------------------------------------
-- Objects
-- -----------------------------------------------------------------------------
dSwPortIfTable OBJECT-TYPE
SYNTAX SEQUENCE OF DSwPortIfEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"A list of physical port interface entries."
::= { dSwPortObjects 1 }
dSwPortIfEntry OBJECT-TYPE
SYNTAX DSwPortIfEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"An entry in dSwPortIfTable contains port-specific configuration
which cannot be covered by standard MIBs (EtherLike or MAU-MIB)."
INDEX { ifIndex }
::= { dSwPortIfTable 1 }
DSwPortIfEntry ::= SEQUENCE {
dSwPortIfB1000baseTCtrl INTEGER,
dSwPortIfB10GbaseTCtrl INTEGER,
dSwPortIfMdix INTEGER,
dSwPortIfJumboFrameSize Unsigned32,
dSwPortIfSpeedAutoDowngrade TruthValue
}
dSwPortIfB1000baseTCtrl OBJECT-TYPE
SYNTAX INTEGER {
other(1),
b1000baseTMaster(2),
b1000baseTSlave(3)
}
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object can be modified when port speed is configured to 1000BASE-T.
other(1) - the port is not 1000BASE-T or master/slave timing mode
is not specified.
b1000baseTMaster(2) - configure the port operate as master timing.
b1000baseTSlave(3) - configure the port operate as slave timing.
"
DEFVAL { b1000baseTMaster }
::= { dSwPortIfEntry 1 }
dSwPortIfB10GbaseTCtrl OBJECT-TYPE
SYNTAX INTEGER {
other(1),
b10GbaseTMaster(2),
b10GbaseTSlave(3)
}
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object can be modified when port speed is configured to 10GBASE-T.
other(1) - the port is not 10GBASE-T or master/slave timing mode
is not specified.
b10GbaseTMaster(2) - configure the port operate as master timing.
b10GbaseTSlave(3) - configure the port operate as slave timing.
"
DEFVAL { b10GbaseTMaster }
::= { dSwPortIfEntry 2 }
dSwPortIfMdix OBJECT-TYPE
SYNTAX INTEGER {
auto(1),
normal(2),
cross(3)
}
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"Uses the object to configure the state of Media-Dependent Interface
Crossover (MDIX) of the port."
DEFVAL { auto }
::= { dSwPortIfEntry 3 }
dSwPortIfJumboFrameSize OBJECT-TYPE
SYNTAX Unsigned32
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"The size of the largest packet which can be received on the
interface, specified in octets."
DEFVAL { 1536 }
::= { dSwPortIfEntry 4 }
dSwPortIfSpeedAutoDowngrade OBJECT-TYPE
SYNTAX TruthValue
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object indicates whether automatically downgrade the advertised
speed in case a link cannot be established at the available speed.
"
DEFVAL { false }
::= { dSwPortIfEntry 5 }
-- -----------------------------------------------------------------------------
-- Conformance
-- -----------------------------------------------------------------------------
dSwPortCompliances OBJECT IDENTIFIER ::= { dSwPortConformance 1 }
dSwPortCompliance MODULE-COMPLIANCE
STATUS current
DESCRIPTION
"The compliance statement for entities which implement the
DLINKSW-SWITCHPORT-MIB."
MODULE -- this module
MANDATORY-GROUPS {
dSwPortBasicGroup
}
OBJECT dSwPortIfSpeedAutoDowngrade
MIN-ACCESS read-only
DESCRIPTION
"It is compliant to implement this object as
read-only. The write-access is only required
when auto-downgrade feature is supported."
::= { dSwPortCompliances 1 }
dSwPortGroups OBJECT IDENTIFIER ::= { dSwPortConformance 2 }
dSwPortBasicGroup OBJECT-GROUP
OBJECTS {
dSwPortIfB1000baseTCtrl,
dSwPortIfB10GbaseTCtrl,
dSwPortIfMdix,
dSwPortIfJumboFrameSize,
dSwPortIfSpeedAutoDowngrade
}
STATUS current
DESCRIPTION
"This group contains the collection of fundamental port configuration
objects which are not covered by standard MIBs."
::= { dSwPortGroups 1 }
END

View File

@ -0,0 +1,849 @@
-- *****************************************************************
-- DLINKSW-SYSLOG-MIB.mib : Syslog MIB
--
-- Copyright (c) 2013 D-Link Corporation, all rights reserved.
--
-- *****************************************************************
DLINKSW-SYSLOG-MIB DEFINITIONS ::= BEGIN
IMPORTS
MODULE-IDENTITY, OBJECT-IDENTITY, OBJECT-TYPE, Unsigned32,
Integer32
FROM SNMPv2-SMI
RowStatus, TruthValue, DateAndTime, DisplayString
FROM SNMPv2-TC
MODULE-COMPLIANCE, OBJECT-GROUP
FROM SNMPv2-CONF
SyslogFacility, SyslogSeverity
FROM SYSLOG-TC-MIB
InterfaceIndexOrZero
FROM IF-MIB
InetAddressType, InetAddress
FROM INET-ADDRESS-MIB
dlinkIndustrialCommon
FROM DLINK-ID-REC-MIB;
dlinkSwSyslogMIB MODULE-IDENTITY
LAST-UPDATED "201308270000Z"
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 module defines objects for system log function."
REVISION "201303070000Z"
DESCRIPTION
"This is the first version of the MIB file.
"
::= { dlinkIndustrialCommon 13 }
-- -----------------------------------------------------------------------------
dSyslogMIBNotifications OBJECT IDENTIFIER ::= { dlinkSwSyslogMIB 0 }
dSyslogMIBObjects OBJECT IDENTIFIER ::= { dlinkSwSyslogMIB 1 }
dSyslogMIBConformance OBJECT IDENTIFIER ::= { dlinkSwSyslogMIB 2 }
-- -----------------------------------------------------------------------------
dSyslogGeneral OBJECT IDENTIFIER ::= { dSyslogMIBObjects 1 }
dSyslogSourceIfIndex OBJECT-TYPE
SYNTAX InterfaceIndexOrZero
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object indicates the ifIndex of the interface whose IP address
will be used as the source address for sending the SYSLOG packet.
A special value of zero indicates the source interface is not
specified, the IP address of the closest interface will be used.
"
::= { dSyslogGeneral 1 }
dSyslogDiscriminatorTable OBJECT-TYPE
SYNTAX SEQUENCE OF DSyslogDiscriminatorEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"A table contains a list of discriminators which can be further
used to filter SYSLOG messages sent to various destinations.
At least one sub-filter(facility filter or severity filter) needs
to be specified to make sure the the discriminator is available.
Facility filter:facility mode and facility string.
Severity filter:severity mode and severity list.
"
::= { dSyslogGeneral 2 }
dSyslogDiscriminatorEntry OBJECT-TYPE
SYNTAX DSyslogDiscriminatorEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"An entry defines a discriminator."
INDEX { dSyslogDiscriminatorName }
::= { dSyslogDiscriminatorTable 1 }
DSyslogDiscriminatorEntry ::= SEQUENCE {
dSyslogDiscriminatorName DisplayString,
dSyslogDiscriminatorRowstatus RowStatus,
dSyslogDisFacilityFilterMode INTEGER,
dSyslogDisFacilityFilterString DisplayString,
dSyslogDisSeverityFilterMode INTEGER,
dSyslogDisSeverityList BITS
}
dSyslogDiscriminatorName OBJECT-TYPE
SYNTAX DisplayString
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This object indicates the name of the discriminator.
"
::= { dSyslogDiscriminatorEntry 1 }
dSyslogDiscriminatorRowstatus OBJECT-TYPE
SYNTAX RowStatus
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"The row status variable, used according to installation
and removal conventions for conceptual rows.
"
::= { dSyslogDiscriminatorEntry 2 }
dSyslogDisFacilityFilterMode OBJECT-TYPE
SYNTAX INTEGER {
notSpecified(1),
drops(2),
includes(3)
}
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"This object indicates the mode how dSyslogDisFacilityFilterString
is used to filter system log messages.
notSpecified(1) - dSyslogDisFacilityFilterString will become a zero
length string.
drops(2) - The matching message will be filtered.
includes(3) - The matching message will be included, in other
words, the unmatched messages are filtered.
"
DEFVAL { notSpecified }
::= { dSyslogDiscriminatorEntry 3 }
dSyslogDisFacilityFilterString OBJECT-TYPE
SYNTAX DisplayString
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"This object indicates a one or more facility name to filter or
include the matching messages.
If multiple facility names, they should be separated by comma without
space before and after the comma.
A zero length string indicates the regular expression is not specified.
"
::= { dSyslogDiscriminatorEntry 4 }
dSyslogDisSeverityFilterMode OBJECT-TYPE
SYNTAX INTEGER {
notSpecified(1),
drops(2),
includes(3)
}
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"This object indicates the mode how the severity list of
dSyslogDisSeverityList is used to filter message.
notSpecified(1) - dSyslogDisSeverityList is not applicable.
drops(2) - The list of severity level will be filtered.
includes(3) - The list of severity level will be included.
"
DEFVAL { notSpecified }
::= { dSyslogDiscriminatorEntry 5 }
dSyslogDisSeverityList OBJECT-TYPE
SYNTAX BITS {
emerg (0), -- emergency; system is unusable
alert (1), -- action must be taken immediately
crit (2), -- critical condition
err (3), -- error condition
warning (4), -- warning condition
notice (5), -- normal but significant condition
info (6), -- informational message
debug (7) -- debug-level messages
}
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"This object indicates severity level to be specified by this
discriminator definition.
This object is a bit map, with each bit representing
a severitly level.
A 1-bit indicates that severity level is specified in the list.
A 0-bit indicates that severity level is unspecified.
Note: whether a severity level is included is always interpreted
within the context of dSyslogDisSeverityFilterMode.
dSyslogDisSeverityFilterMode Specified Result
============================ ========== ==============
notSpecified don't care Not applicable
drops specified filtered
drops unspecified included
includes specified included
includes unspecified filtered
"
::= { dSyslogDiscriminatorEntry 6 }
-- -----------------------------------------------------------------------------
dSyslogLogbuffer OBJECT-IDENTITY
STATUS current
DESCRIPTION
"This object identifier represents the group of objects that are
related to the logging system message to local buffer.
"
::= { dSyslogMIBObjects 2 }
dSyslogClearLogBuffer OBJECT-TYPE
SYNTAX INTEGER {
clear(1),
noOp(2)
}
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object is used to clear log messages at logging buffer when set
to 'clear'.
No action is taken if this object is set to 'noOp'.
When read, the value 'noOp' is returned."
::= { dSyslogLogbuffer 1 }
dSyslogLogBufferEnabled OBJECT-TYPE
SYNTAX TruthValue
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object indicates the state of logging system messages to the
local buffer.
Messages must enter the local message buffer first before it can
be further dispatched to other destinations.
"
::= { dSyslogLogbuffer 2 }
dSyslogLogBufSeverity OBJECT-TYPE
SYNTAX SyslogSeverity
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object indicates the severity level of system messages.
The messages at that severity level or a more severe level will be
logged to message buffers.
"
::= { dSyslogLogbuffer 3 }
dSyslogLogBufDiscriminator OBJECT-TYPE
SYNTAX DisplayString
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object indicates the name of discriminator which is used
to filter the message to be sent to local buffer.
A zero length string indicates the discriminator is not specified.
"
::= { dSyslogLogbuffer 4 }
dSyslogLogBufWriteDelay OBJECT-TYPE
SYNTAX Integer32
UNITS "seconds"
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object indicates the interval for periodic writing of the
logging buffer to FLASH. The valid value is N to 65535.
N is project dependent. The default interval is 300 seconds.
Setting this object to -1 means infinite which will disable
periodical writing logging buffer to FLASH.
Setting this object to 0 means writing logging buffer
to flash by trigger way.
"
::= { dSyslogLogbuffer 5 }
dSyslogClearAttackLogBufByUnit OBJECT-TYPE
SYNTAX Integer32
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object indicates the unit on which the attack log messages
will be cleared.
The special value -1 indicates clearing all attack log entries.
For a standalone device, 1 is used.
No action is taken if this object is set to 0.
When read, the value 0 is returned.
"
::= { dSyslogLogbuffer 6 }
-- -----------------------------------------------------------------------------
dSyslogLogConsole OBJECT-IDENTITY
STATUS current
DESCRIPTION
"This object identifier represents the group of objects that are
related to the logging system messages to the local console.
"
::= { dSyslogMIBObjects 3 }
dSyslogLogConsoleEnabled OBJECT-TYPE
SYNTAX TruthValue
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object indicates the state of logging system messages to the
local console.
"
::= { dSyslogLogConsole 1 }
dSyslogLogConsoleSeverity OBJECT-TYPE
SYNTAX SyslogSeverity
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object indicates the severity level of system messages.
The messages at that severity level or a more severe level will be
logged to the local console.
"
::= { dSyslogLogConsole 2 }
dSyslogLogConsoleDiscriminator OBJECT-TYPE
SYNTAX DisplayString
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object indicates the name of discriminator which is used
to filter the message to be sent to local console.
A zero length string indicates the discriminator is not specified.
"
::= { dSyslogLogConsole 3 }
-- -----------------------------------------------------------------------------
dSyslogLogSmtp OBJECT-IDENTITY
STATUS current
DESCRIPTION
"This object identifier represents the group of objects that are
related to the logging system messages to the email recipients.
"
::= { dSyslogMIBObjects 4 }
dSyslogLogSmtpEnabled OBJECT-TYPE
SYNTAX TruthValue
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object indicates the state of logging of system messages to
the email recipients.
"
::= { dSyslogLogSmtp 1 }
dSyslogLogSmtpSeverity OBJECT-TYPE
SYNTAX SyslogSeverity
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object indicates the severity level of system messages.
The messages at that severity level or a more severe level will be
logged to the email recipients.
"
::= { dSyslogLogSmtp 2 }
dSyslogLogSmtpDiscriminator OBJECT-TYPE
SYNTAX DisplayString
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object indicates the name of discriminator which is used
to filter the message to be sent to the email recipients.
A zero length string indicates the discriminator is not specified.
"
::= { dSyslogLogSmtp 3 }
-- -----------------------------------------------------------------------------
dSyslogServerTable OBJECT-TYPE
SYNTAX SEQUENCE OF DSyslogServerEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"A table consists of a list of SYSLOG servers to log system messages
and debug output to a remote SYSLOG server host."
::= { dSyslogMIBObjects 5 }
dSyslogServerEntry OBJECT-TYPE
SYNTAX DSyslogServerEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"An entry defines information for a SYSLOG server.
"
INDEX {
dSyslogServerAddressType,
dSyslogServerAddress,
dSyslogServerVrfName
}
::= { dSyslogServerTable 1 }
DSyslogServerEntry ::= SEQUENCE {
dSyslogServerAddressType InetAddressType,
dSyslogServerAddress InetAddress,
dSyslogServerVrfName DisplayString,
dSyslogServerRowstatus RowStatus,
dSyslogServerPort Unsigned32,
dSyslogServerSeverity SyslogSeverity,
dSyslogServerFacility SyslogFacility,
dSyslogServerDiscriminator DisplayString
}
dSyslogServerAddressType OBJECT-TYPE
SYNTAX InetAddressType
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This object indicates the type of the server address."
::= { dSyslogServerEntry 1 }
dSyslogServerAddress OBJECT-TYPE
SYNTAX InetAddress
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This object indicates the IP or IPv6 address of the SYSLOG server."
::= { dSyslogServerEntry 2 }
dSyslogServerVrfName OBJECT-TYPE
SYNTAX DisplayString (SIZE(0..32))
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This object indicates the name of the routing forwarding instance.
If this object is a zero length string, the SYSLOG server is in
global routing and forwarding space."
::= { dSyslogServerEntry 3 }
dSyslogServerRowstatus OBJECT-TYPE
SYNTAX RowStatus
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"The row status variable, used according to installation
and removal conventions for conceptual rows."
::= { dSyslogServerEntry 4 }
dSyslogServerPort OBJECT-TYPE
SYNTAX Unsigned32 (514 | 1024..65535)
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"This object indicates the UDP port number to be used for the
SYSLOG server.
"
DEFVAL { 514 }
::= { dSyslogServerEntry 5 }
dSyslogServerSeverity OBJECT-TYPE
SYNTAX SyslogSeverity
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"This object indicates the severity of log messages that will be
sent to the server."
DEFVAL { warning }
::= { dSyslogServerEntry 6 }
dSyslogServerFacility OBJECT-TYPE
SYNTAX SyslogFacility
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"Specifies the logging facility of the log host.
"
DEFVAL { local7 }
::= { dSyslogServerEntry 7 }
dSyslogServerDiscriminator OBJECT-TYPE
SYNTAX DisplayString
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"This object indicates the name of discriminator which is used
to filter the message to be sent to SYSLOG server.
A zero length string indicates the discriminator is not specified.
"
::= { dSyslogServerEntry 8 }
-- -----------------------------------------------------------------------------
dSyslogBufferTableNum OBJECT-TYPE
SYNTAX Unsigned32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"This object indicates the number of entries presented in the
dSyslogBufferTable."
::= { dSyslogMIBObjects 6 }
dSyslogBufferTable OBJECT-TYPE
SYNTAX SEQUENCE OF DSyslogBufferEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"A table consists of a list of system log messages."
::= { dSyslogMIBObjects 7 }
dSyslogBufferEntry OBJECT-TYPE
SYNTAX DSyslogBufferEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"An entry defines a log message."
INDEX { dSyslogBufferIndex }
::= { dSyslogBufferTable 1 }
DSyslogBufferEntry ::= SEQUENCE {
dSyslogBufferIndex Unsigned32,
dSyslogBufferDateAndTime DateAndTime,
dSyslogBufferDescription DisplayString
}
dSyslogBufferIndex OBJECT-TYPE
SYNTAX Unsigned32 (1..100000)
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"An index that uniquely identifies the message."
::= { dSyslogBufferEntry 1 }
dSyslogBufferDateAndTime OBJECT-TYPE
SYNTAX DateAndTime
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The date and time when the message is logged."
::= { dSyslogBufferEntry 2 }
dSyslogBufferDescription OBJECT-TYPE
SYNTAX DisplayString
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The content of the log message."
::= { dSyslogBufferEntry 3 }
-- -----------------------------------------------------------------------------
dSyslogAttackLogTableNum OBJECT-TYPE
SYNTAX Unsigned32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"This object indicates the number of entries presented in the
dSyslogAttackLogTable."
::= { dSyslogMIBObjects 8 }
dSyslogAttackLogTable OBJECT-TYPE
SYNTAX SEQUENCE OF DSyslogAttackLogEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"A table consists of a list of attack log messages."
::= { dSyslogMIBObjects 9 }
dSyslogAttackLogEntry OBJECT-TYPE
SYNTAX DSyslogAttackLogEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"An entry defines a attack log message."
INDEX {
dSyslogAttackLogUnitId,
dSyslogAttackLogIndex
}
::= { dSyslogAttackLogTable 1 }
DSyslogAttackLogEntry ::= SEQUENCE {
dSyslogAttackLogUnitId Unsigned32,
dSyslogAttackLogIndex Unsigned32,
dSyslogAttackLogDateAndTime DateAndTime,
dSyslogAttackLogDescription OCTET STRING
}
dSyslogAttackLogUnitId OBJECT-TYPE
SYNTAX Unsigned32 (1..65535)
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This object indicates the unit (stacking device) or slot (chassis
device) ID of the attack log message."
::= { dSyslogAttackLogEntry 1 }
dSyslogAttackLogIndex OBJECT-TYPE
SYNTAX Unsigned32 (1..100000)
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"An index that uniquely identifies the attack log message."
::= { dSyslogAttackLogEntry 2 }
dSyslogAttackLogDateAndTime OBJECT-TYPE
SYNTAX DateAndTime
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The date and time when the attack message is logged."
::= { dSyslogAttackLogEntry 3 }
dSyslogAttackLogDescription OBJECT-TYPE
SYNTAX OCTET STRING
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The content of the attack log message."
::= { dSyslogAttackLogEntry 4 }
-- -----------------------------------------------------------------------------
dSyslogLogMonitor OBJECT-IDENTITY
STATUS current
DESCRIPTION
"This object identifier represents the group of objects that are
related to the logging system messages to the Monitor.
"
::= { dSyslogMIBObjects 10 }
dSyslogLogMonitorEnabled OBJECT-TYPE
SYNTAX TruthValue
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object indicates the state of logging system messages to the
monitor.
"
::= { dSyslogLogMonitor 1 }
dSyslogLogMonitorSeverity OBJECT-TYPE
SYNTAX SyslogSeverity
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object indicates the severity level of system messages.
The messages at that severity level or a more severe level will be
logged to the monitor.
"
::= { dSyslogLogMonitor 2 }
dSyslogLogMonitorDiscriminator OBJECT-TYPE
SYNTAX DisplayString
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object indicates the name of discriminator which is used
to filter the message to be sent to the monitor.
A zero length string indicates the discriminator is not specified.
"
::= { dSyslogLogMonitor 3 }
--****************************************************************************
-- Conformance
--****************************************************************************
dSyslogMIBCompliances OBJECT IDENTIFIER ::= { dSyslogMIBConformance 1 }
-- compliance statements
dSyslogMIBCompliance MODULE-COMPLIANCE
STATUS current
DESCRIPTION
"The compliance statement for entities which
implement the DLINKSW-SYSLOG-MIB."
MODULE -- this module
MANDATORY-GROUPS {
dSyslogGeneralGroup
}
GROUP dSyslogDiscriminatorGroup
DESCRIPTION
"Implementation of this group is optional."
GROUP dSyslogLogConsoleGroup
DESCRIPTION
"Implementation of this group is optional."
GROUP dSyslogLogSmtpGroup
DESCRIPTION
"Implementation of this group is optional."
GROUP dSyslogLogServerGroup
DESCRIPTION
"Implementation of this group is optional."
GROUP dSyslogAttackLogGroup
DESCRIPTION
"Implementation of this group is optional."
GROUP dSyslogLogMonitorGroup
DESCRIPTION
"Implementation of this group is optional."
OBJECT dSyslogSourceIfIndex
MIN-ACCESS read-only
DESCRIPTION
"It is compliant to implement this object as
read-only. The write-access is only required
when source interface is configurable."
OBJECT dSyslogLogConsoleDiscriminator
MIN-ACCESS read-only
DESCRIPTION
"It is compliant to implement this object as
read-only. The write-access is only required
when discriminator feature is supported."
OBJECT dSyslogLogMonitorDiscriminator
MIN-ACCESS read-only
DESCRIPTION
"It is compliant to implement this object as
read-only. The write-access is only required
when discriminator feature is supported."
OBJECT dSyslogLogSmtpDiscriminator
MIN-ACCESS read-only
DESCRIPTION
"It is compliant to implement this object as
read-only. The write-access is only required
when discriminator feature is supported."
OBJECT dSyslogServerDiscriminator
MIN-ACCESS read-only
DESCRIPTION
"It is compliant to implement this object as
read-only. The write-access is only required
when discriminator feature is supported."
OBJECT dSyslogServerVrfName
MIN-ACCESS read-only
DESCRIPTION
"It is compliant to implement this object as
read-only. The write-access is only required
when VRF feature is supported."
::= { dSyslogMIBCompliances 1 }
-- units of conformance
dSyslogMIBGroups OBJECT IDENTIFIER ::= { dSyslogMIBCompliances 2 }
dSyslogGeneralGroup OBJECT-GROUP
OBJECTS {
dSyslogClearLogBuffer,
dSyslogLogBufferEnabled,
dSyslogLogBufSeverity,
dSyslogLogBufDiscriminator,
dSyslogLogBufWriteDelay,
dSyslogBufferTableNum,
dSyslogBufferDateAndTime,
dSyslogBufferDescription
}
STATUS current
DESCRIPTION
"A collection of objects provides basic configuration of
SYSLOG feature.
"
::= { dSyslogMIBGroups 1 }
dSyslogDiscriminatorGroup OBJECT-GROUP
OBJECTS {
dSyslogDiscriminatorRowstatus,
dSyslogDisFacilityFilterMode,
dSyslogDisFacilityFilterString,
dSyslogDisSeverityFilterMode,
dSyslogDisSeverityList,
dSyslogLogBufDiscriminator
}
STATUS current
DESCRIPTION
"A collection of objects provides configuration of
discriminator which is used to filter SYSLOG messages sent to
various destinations.
"
::= { dSyslogMIBGroups 2 }
dSyslogLogConsoleGroup OBJECT-GROUP
OBJECTS {
dSyslogLogConsoleEnabled,
dSyslogLogConsoleSeverity,
dSyslogLogConsoleDiscriminator
}
STATUS current
DESCRIPTION
"A collection of objects provides configurations that are related
to the logging system messages to the local console.
"
::= { dSyslogMIBGroups 3 }
dSyslogLogSmtpGroup OBJECT-GROUP
OBJECTS {
dSyslogLogSmtpEnabled,
dSyslogLogSmtpSeverity,
dSyslogLogSmtpDiscriminator
}
STATUS current
DESCRIPTION
"A collection of objects provides configurations that are related
to the logging system messages to the email recipients.
"
::= { dSyslogMIBGroups 4 }
dSyslogLogServerGroup OBJECT-GROUP
OBJECTS {
dSyslogSourceIfIndex,
dSyslogServerRowstatus,
dSyslogServerPort,
dSyslogServerSeverity,
dSyslogServerFacility,
dSyslogServerDiscriminator
}
STATUS current
DESCRIPTION
"A collection of objects provides configurations that are related
to the logging system messages to the SYSLOG servers.
"
::= { dSyslogMIBGroups 5 }
dSyslogAttackLogGroup OBJECT-GROUP
OBJECTS {
dSyslogClearAttackLogBufByUnit,
dSyslogAttackLogTableNum,
dSyslogAttackLogDateAndTime,
dSyslogAttackLogDescription
}
STATUS current
DESCRIPTION
"A collection of objects provides the management of attack log.
"
::= { dSyslogMIBGroups 6 }
dSyslogLogMonitorGroup OBJECT-GROUP
OBJECTS {
dSyslogLogMonitorEnabled,
dSyslogLogMonitorSeverity,
dSyslogLogMonitorDiscriminator
}
STATUS current
DESCRIPTION
"A collection of objects provides configurations that are related
to the logging system messages to the monitor.
"
::= { dSyslogMIBGroups 7 }
END

View File

@ -0,0 +1,772 @@
-- *****************************************************************
-- DLINKSW-SYSTEM-FILE-MIB: D-Link System File MIB
--
-- Copyright (c) 2013 D-Link Corporation, all rights reserved.
--
-- *****************************************************************
DLINKSW-SYSTEM-FILE-MIB DEFINITIONS ::= BEGIN
IMPORTS
MODULE-IDENTITY, OBJECT-TYPE, Unsigned32
FROM SNMPv2-SMI
MODULE-COMPLIANCE, OBJECT-GROUP
FROM SNMPv2-CONF
TEXTUAL-CONVENTION, TruthValue, RowStatus, DisplayString
FROM SNMPv2-TC
InetAddressType, InetAddress
FROM INET-ADDRESS-MIB
InterfaceIndexOrZero
FROM IF-MIB
dlinkIndustrialCommon
FROM DLINK-ID-REC-MIB;
dlinkSwSystemFileMIB MODULE-IDENTITY
LAST-UPDATED "201308190000Z"
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 module defines objects for managing system critical files
(e.g configuration and firmware.)
"
REVISION "201308190000Z"
DESCRIPTION
"Add traps about uploading or downloading image file (dsfUploadImage,
dsfDownloadImage) and uploading, downloading or saving configuration file
(dsfUploadCfg, dsfDownloadCfg, dsfSaveCfg)."
REVISION "201304240000Z"
DESCRIPTION
"This is the first version of the MIB file."
::= { dlinkIndustrialCommon 14 }
--
-- Node definitions
--
dsfMIBNotifications OBJECT IDENTIFIER ::= { dlinkSwSystemFileMIB 0 }
dsfMIBObjects OBJECT IDENTIFIER ::= { dlinkSwSystemFileMIB 1 }
dsfMIBConformance OBJECT IDENTIFIER ::= { dlinkSwSystemFileMIB 2 }
-- -----------------------------------------------------------------------------
dsfBootInfoObjects OBJECT IDENTIFIER ::= { dsfMIBObjects 1 }
dsfNextBootCfgUrl OBJECT-TYPE
SYNTAX OCTET STRING (SIZE (0..799))
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object indicates the URL of the file to be used as the startup
configuration file."
::= { dsfBootInfoObjects 1 }
dsfNextBootImageUrl OBJECT-TYPE
SYNTAX OCTET STRING (SIZE (0..799))
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object indicates the URL of the file to be used as boot image
file."
::= { dsfBootInfoObjects 2 }
dsfCheckingBootImageCheck OBJECT-TYPE
SYNTAX TruthValue
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object indicates whether displays the information of the
specified next boot image to let user understand whether the
specified file is suitable to be a boot image or not, which some
information should be displayed such as purpose of the file,
version number, time stamp, and checksum etc.
The object dsfBootCheckResult indicates the checking result.
"
::= { dsfBootInfoObjects 3 }
dsfBootImageCheckResult OBJECT-TYPE
SYNTAX DisplayString
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"This object indicates the information of the specified next boot
image such as the purpose of the file, version number, time stamp,
and checksum etc.
This object is meaningful when dsfNextBootImageUrl is not empty
and dsfBootCheckImage is 'true'.
"
::= { dsfBootInfoObjects 4 }
-- -----------------------------------------------------------------------------
dsfBootImageTable OBJECT-TYPE
SYNTAX SEQUENCE OF DsfBootImageEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"The table is used to display information for boot images of units."
::= { dsfBootInfoObjects 5 }
dsfBootImageEntry OBJECT-TYPE
SYNTAX DsfBootImageEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"An entry contains version information of a unit."
INDEX {
dsfBootImageUnitId,
dsfBootImageIndex
}
::= { dsfBootImageTable 1 }
DsfBootImageEntry ::= SEQUENCE {
dsfBootImageUnitId Unsigned32,
dsfBootImageIndex Unsigned32,
dsfBootImageUrl OCTET STRING,
dsfBootImageInWorking TruthValue
}
dsfBootImageUnitId OBJECT-TYPE
SYNTAX Unsigned32 (1..65535)
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This object indicates the unit (stacking device) or slot (chassis
device) ID.
"
::= { dsfBootImageEntry 1 }
dsfBootImageIndex OBJECT-TYPE
SYNTAX Unsigned32 (1..65535)
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This object indicates the index of boot image."
::= { dsfBootImageEntry 2 }
dsfBootImageUrl OBJECT-TYPE
SYNTAX OCTET STRING (SIZE (0..799))
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"This object indicates the file name and path of the entry."
::= { dsfBootImageEntry 3 }
dsfBootImageInWorking OBJECT-TYPE
SYNTAX TruthValue
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"This object indicates whether the entry is the current boot image."
::= { dsfBootImageEntry 4 }
-- -----------------------------------------------------------------------------
dsfBootCfgFileTable OBJECT-TYPE
SYNTAX SEQUENCE OF DsfBootCfgFileEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"The table is used to display boot configuration file of units."
::= { dsfBootInfoObjects 6 }
dsfBootCfgFileEntry OBJECT-TYPE
SYNTAX DsfBootCfgFileEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"An entry contains the information for boot configuration file of a unit."
INDEX {
dsfBootCfgFileUnitId
}
::= { dsfBootCfgFileTable 1 }
DsfBootCfgFileEntry ::= SEQUENCE {
dsfBootCfgFileUnitId Unsigned32,
dsfBootCfgFileUrl OCTET STRING
}
dsfBootCfgFileUnitId OBJECT-TYPE
SYNTAX Unsigned32 (1..65535)
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This object indicates the unit (stacking device) or slot (chassis
device) ID.
"
::= { dsfBootCfgFileEntry 1 }
dsfBootCfgFileUrl OBJECT-TYPE
SYNTAX OCTET STRING (SIZE (0..799))
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"This object indicates the file name and path of the entry."
::= { dsfBootCfgFileEntry 2 }
-- -----------------------------------------------------------------------------
dsfCopyTable OBJECT-TYPE
SYNTAX SEQUENCE OF DsfCopyEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"A table contains the information for file copy. There will at any
time be either 0 or 1 row in this table, and the only valid index
for this table is 1. It is only a table so that we may take
advantage of the RowStatus textual convention for configuring
the copying parameters."
::= { dsfMIBObjects 2 }
dsfCopyEntry OBJECT-TYPE
SYNTAX DsfCopyEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"An entry contains parameters for copy."
INDEX { dsfCopyIndex }
::= { dsfCopyTable 1 }
DsfCopyEntry ::= SEQUENCE {
dsfCopyIndex Unsigned32,
dsfCopyType INTEGER,
dsfCopySrcUrl OCTET STRING,
dsfCopyDstUrl OCTET STRING,
dsfCopyRemoteAddrType InetAddressType,
dsfCopyRemoteAddr InetAddress,
dsfCopyUsrName DisplayString,
dsfCopyUsrPwd DisplayString,
dsfCopyRemoteTcpPort Unsigned32,
dsfCopyVrfName DisplayString,
dsfCopyErrorStatus DisplayString,
dsfCopyRowStatus RowStatus
}
dsfCopyIndex OBJECT-TYPE
SYNTAX Unsigned32 (1)
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This object uniquely identifies this row.
The only legal value for this object is 1."
::= { dsfCopyEntry 1 }
dsfCopyType OBJECT-TYPE
SYNTAX INTEGER {
localToLocal(1),
localToTftpRemote(2),
localToFtpRemote(3),
localToRcpRemote(4),
tftpRemoteToLocal(5),
ftpRemoteToLocal(6),
rcpRemoteToLocal(7)
}
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"This object indicates the type of the copy.
'localToLocal' - Copy file within the system.
'localToTftpRemote' - Upload file remote host via TFTP.
'localToFtpRemote' - Upload file remote host via FTP.
'localToRcpRemote' - Upload file remote host via RCP.
'tftpRemoteToLocal' - Download file from remote host via TFTP.
'ftpRemoteToLocal' - Download file from remote host via FTP.
'rcpRemoteToLocal' - Download file from remote host via RCP.
"
::= { dsfCopyEntry 2 }
dsfCopySrcUrl OBJECT-TYPE
SYNTAX OCTET STRING (SIZE (0..799))
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"This object indicates the source URL for the source file to be copied.
The special form 'startup-config','running-config','system-log',
and 'attack-log' are reserved to indicate the system files.
"
::= { dsfCopyEntry 3 }
dsfCopyDstUrl OBJECT-TYPE
SYNTAX OCTET STRING (SIZE (0..799))
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"This object indicates the destination URL for the copied file.
The special form 'startup-config' and 'running-config' are reserved
to indicate the system files.
"
::= { dsfCopyEntry 4 }
dsfCopyRemoteAddrType OBJECT-TYPE
SYNTAX InetAddressType
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"This object indicates the type of address of the remote host.
This object is meaningless if dsfCopyType is 'localToLocal'.
"
DEFVAL { ipv4 }
::= { dsfCopyEntry 5 }
dsfCopyRemoteAddr OBJECT-TYPE
SYNTAX InetAddress
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"This object indicates the address of the remote host.
This object is meaningless if dsfCopyType is 'localToLocal'.
"
::= { dsfCopyEntry 6 }
dsfCopyUsrName OBJECT-TYPE
SYNTAX DisplayString
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"This object indicates the user name on the source FTP/RCP server.
This object is meaningful only when the object dsfCopyType is
'localToFtpRemote', 'localToRcpRemote', 'ftpRemoteToLocal, or
'rcpRemoteToLocal'.
"
::= { dsfCopyEntry 7 }
dsfCopyUsrPwd OBJECT-TYPE
SYNTAX DisplayString
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"This object indicates the password for the user.
This object is meaningful only when the object dsfCopyType is
'localToFtpRemote' or 'ftpRemoteToLocal'.
"
::= { dsfCopyEntry 8 }
dsfCopyRemoteTcpPort OBJECT-TYPE
SYNTAX Unsigned32
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"This object indicates the TCP port on the remote FTP server."
::= { dsfCopyEntry 9 }
dsfCopyVrfName OBJECT-TYPE
SYNTAX DisplayString
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"This object indicates the name of the VRF instance to which the
TFTP/FTP/RCP server belongs."
::= { dsfCopyEntry 10 }
dsfCopyErrorStatus OBJECT-TYPE
SYNTAX DisplayString
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Status of file copy."
::= { dsfCopyEntry 11 }
dsfCopyRowStatus OBJECT-TYPE
SYNTAX RowStatus
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"The status of this conceptual row.
The writable columns in a row cannot be changed if the row is
'active'."
::= { dsfCopyEntry 12 }
-- -----------------------------------------------------------------------------
dsfCfgReplaceTable OBJECT-TYPE
SYNTAX SEQUENCE OF DsfCfgReplaceEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"A table contains the information for replacing the current running
configuration file. There will at any time be either 0 or 1 row
in this table, and the only valid index for this table is 1."
::= { dsfMIBObjects 3 }
dsfCfgReplaceEntry OBJECT-TYPE
SYNTAX DsfCfgReplaceEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"An entry contains parameters for configure replace."
INDEX { dsfCfgReplaceIndex }
::= { dsfCfgReplaceTable 1 }
DsfCfgReplaceEntry ::= SEQUENCE {
dsfCfgReplaceIndex Unsigned32,
dsfCfgReplaceSrcType INTEGER,
dsfCfgReplaceSrcUrl OCTET STRING,
dsfCfgReplaceRemoteAddrType InetAddressType,
dsfCfgReplaceRemoteAddr InetAddress,
dsfCfgReplaceUsrName DisplayString,
dsfCfgReplaceUsrPwd DisplayString,
dsfCfgReplaceRemoteTcpPort Unsigned32,
dsfCfgReplaceVrfName DisplayString,
dsfCfgReplaceErrorStatus DisplayString,
dsfCfgReplaceRowStatus RowStatus
}
dsfCfgReplaceIndex OBJECT-TYPE
SYNTAX Unsigned32 (1)
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This object uniquely identifies this row.
The only legal value for this object is 1."
::= { dsfCfgReplaceEntry 1 }
dsfCfgReplaceSrcType OBJECT-TYPE
SYNTAX INTEGER {
local(1),
tftpRemote(2),
ftpRemote(3),
rcpRemote(4)
}
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"This object indicates where to get the file to replace the current
running configuration.
'local' - Get the replacing configuration file from the system.
'tftpRemote' - Get the replacing configuration file from remote host via TFTP.
'ftpRemote' - Get the replacing configuration file from remote host via FTP.
'rcpRemote' - Get the replacing configuration file from remote host via RCP.
"
::= { dsfCfgReplaceEntry 2 }
dsfCfgReplaceSrcUrl OBJECT-TYPE
SYNTAX OCTET STRING (SIZE (0..799))
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"This object indicates the source URL for the source configuration file
to be executed."
::= { dsfCfgReplaceEntry 3 }
dsfCfgReplaceRemoteAddrType OBJECT-TYPE
SYNTAX InetAddressType
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"This object indicates the type of address of the remote host.
This object is meaningless if dsfCfgReplaceSrcType is 'local'.
"
DEFVAL { ipv4 }
::= { dsfCfgReplaceEntry 4 }
dsfCfgReplaceRemoteAddr OBJECT-TYPE
SYNTAX InetAddress
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"This object indicates the address of the remote host.
This object is meaningless if dsfCfgReplaceSrcType is 'local'.
"
::= { dsfCfgReplaceEntry 5 }
dsfCfgReplaceUsrName OBJECT-TYPE
SYNTAX DisplayString
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"This object indicates the user name on the source FTP/RCP server.
This object is meaningful only when the object dsfCfgReplaceSrcType is
'ftpRemote', 'rcpRemote'.
"
::= { dsfCfgReplaceEntry 6 }
dsfCfgReplaceUsrPwd OBJECT-TYPE
SYNTAX DisplayString
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"This object indicates the password for the user.
This object is meaningful only when the object dsfCfgReplaceSrcType is
'ftpRemote'.
"
::= { dsfCfgReplaceEntry 7 }
dsfCfgReplaceRemoteTcpPort OBJECT-TYPE
SYNTAX Unsigned32
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"This object indicates the TCP port on the remote FTP server."
::= { dsfCfgReplaceEntry 8 }
dsfCfgReplaceVrfName OBJECT-TYPE
SYNTAX DisplayString
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"This object indicates the name of the VRF instance to which the
TFTP/FTP/RCP server belongs."
::= { dsfCfgReplaceEntry 9 }
dsfCfgReplaceErrorStatus OBJECT-TYPE
SYNTAX DisplayString
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"This object indicates the processing status about the replacement of
current running configuration.
"
::= { dsfCfgReplaceEntry 10 }
dsfCfgReplaceRowStatus OBJECT-TYPE
SYNTAX RowStatus
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"The status of this conceptual row.
The writable columns in a row cannot be changed if the row is
'active'."
::= { dsfCfgReplaceEntry 11 }
-- -----------------------------------------------------------------------------
dsfIpSrcIfObjects OBJECT IDENTIFIER ::= { dsfMIBObjects 4 }
dsfIpTftpSrcIf OBJECT-TYPE
SYNTAX InterfaceIndexOrZero
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object specifies the interface whose IP address will be used as
the source address for initiating TFTP packets.
The special value of 0 indicates the interface is not specified, and
IP address of the closest interface will be used.
"
::= { dsfIpSrcIfObjects 1 }
dsfIpFtpSrcIf OBJECT-TYPE
SYNTAX InterfaceIndexOrZero
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object specifies the interface whose IP address will be used as
the source address for initiating FTP packets.
The special value of 0 indicates the interface is not specified, and
IP address of the closest interface will be used.
"
::= { dsfIpSrcIfObjects 2 }
dsfIpRcpSrcIf OBJECT-TYPE
SYNTAX InterfaceIndexOrZero
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object specifies the interface whose IP address will be used as
the source address for initiating RCP packets.
The special value of 0 indicates the interface is not specified, and
IP address of the closest interface will be used.
"
::= { dsfIpSrcIfObjects 3 }
-- -----------------------------------------------------------------------------
dsfClearRunCfg OBJECT-TYPE
SYNTAX INTEGER {
clear(1),
noOp(2)
}
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object is used to clear running-config when set to 'clear'.
No action is taken if this object is set to 'noOp'.
When read, the value 'noOp' is returned."
::= { dsfMIBObjects 5 }
-- -----------------------------------------------------------------------------
dsfResetSystem OBJECT-TYPE
SYNTAX INTEGER {
reset(1),
noOp(2)
}
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object is used to reset system when set to 'reset'.
It will clear system configuration, save and reboot the system.
No action is taken if this object is set to 'noOp'.
When read, the value 'noOp' is returned."
::= { dsfMIBObjects 6 }
-- -----------------------------------------------------------------------------
-- MIB Notifications statements
-- -----------------------------------------------------------------------------
dsfUploadImage NOTIFICATION-TYPE
STATUS current
DESCRIPTION
"The notification is sent when the user uploads
image file successfully."
::= { dsfMIBNotifications 1 }
dsfDownloadImage NOTIFICATION-TYPE
STATUS current
DESCRIPTION
"The notification is sent when the user downloads
image file successfully."
::= { dsfMIBNotifications 2 }
dsfUploadCfg NOTIFICATION-TYPE
STATUS current
DESCRIPTION
"The notification is sent when the user uploads
configuration file successfully."
::= { dsfMIBNotifications 3 }
dsfDownloadCfg NOTIFICATION-TYPE
STATUS current
DESCRIPTION
"The notification is sent when the user downloads
configuration file successfully."
::= { dsfMIBNotifications 4 }
dsfSaveCfg NOTIFICATION-TYPE
STATUS current
DESCRIPTION
"The notification is sent when the user saves
configuration file successfully."
::= { dsfMIBNotifications 5 }
-- -----------------------------------------------------------------------------
-- MIB Conformance statements
-- -----------------------------------------------------------------------------
dsfCompliances OBJECT IDENTIFIER ::= { dsfMIBConformance 1 }
dsfCompliance MODULE-COMPLIANCE
STATUS current
DESCRIPTION
"The compliance statement for entities which implement the
DLINKSW-SYSTEM-FILE-MIB."
MODULE
MANDATORY-GROUPS {
dsfBootInfoGroup,
dsfCopyGroup,
dsfCfgReplaceGroup,
dsfIpSrcIfGroup,
dsfClearCfgGroup
}
OBJECT dsfCopyType
DESCRIPTION
"It is compliant to support only a subset of
values: 'localToLocal', 'localToTftpRemote', and
'tftpRemoteToLocal'."
OBJECT dsfCfgReplaceSrcType
DESCRIPTION
"It is compliant to support only a subset of
values: 'local' and 'tftpRemote'."
OBJECT dsfIpTftpSrcIf
MIN-ACCESS read-only
DESCRIPTION
"read-write access is not required."
OBJECT dsfIpFtpSrcIf
MIN-ACCESS read-only
DESCRIPTION
"This object is required when FTP and configurable source
interface are supported."
OBJECT dsfIpRcpSrcIf
MIN-ACCESS read-only
DESCRIPTION
"This object is required when RCP and configurable source
interface are supported."
::= { dsfCompliances 1 }
dsfGroups OBJECT IDENTIFIER ::= { dsfMIBConformance 2 }
dsfBootInfoGroup OBJECT-GROUP
OBJECTS {
dsfNextBootCfgUrl,
dsfNextBootImageUrl,
dsfCheckingBootImageCheck,
dsfBootImageCheckResult,
dsfBootImageUrl,
dsfBootImageInWorking,
dsfBootCfgFileUrl
}
STATUS current
DESCRIPTION
"A collection of objects providing information about the boot configuration
and boot image."
::= { dsfGroups 1 }
dsfCopyGroup OBJECT-GROUP
OBJECTS {
dsfCopyType,
dsfCopySrcUrl,
dsfCopyDstUrl,
dsfCopyRemoteAddrType,
dsfCopyRemoteAddr,
dsfCopyUsrName,
dsfCopyUsrPwd,
dsfCopyRemoteTcpPort,
dsfCopyVrfName,
dsfCopyErrorStatus,
dsfCopyRowStatus
}
STATUS current
DESCRIPTION
"A collection of objects providing information for the parameters
of the copy function."
::= { dsfGroups 2 }
dsfCfgReplaceGroup OBJECT-GROUP
OBJECTS {
dsfCfgReplaceSrcType,
dsfCfgReplaceSrcUrl,
dsfCfgReplaceRemoteAddrType,
dsfCfgReplaceRemoteAddr,
dsfCfgReplaceUsrName,
dsfCfgReplaceUsrPwd,
dsfCfgReplaceRemoteTcpPort,
dsfCfgReplaceVrfName,
dsfCfgReplaceErrorStatus,
dsfCfgReplaceRowStatus
}
STATUS current
DESCRIPTION
"A collection of objects providing information for the parameters
of the configure replace function."
::= { dsfGroups 3 }
dsfIpSrcIfGroup OBJECT-GROUP
OBJECTS {
dsfIpTftpSrcIf,
dsfIpFtpSrcIf,
dsfIpRcpSrcIf
}
STATUS current
DESCRIPTION
"A collection of objects providing information about the interface whose
IP address will be used as the source address for initiating TFTP/FTP/RCP
packets."
::= { dsfGroups 4 }
dsfClearCfgGroup OBJECT-GROUP
OBJECTS {
dsfClearRunCfg,
dsfResetSystem
}
STATUS current
DESCRIPTION
"An object providing the clear function."
::= { dsfGroups 5 }
END

66
mibs/dlink/DLINKSW-TC-MIB Normal file
View File

@ -0,0 +1,66 @@
-- *****************************************************************
-- DLINKSW-TC-MIB.mib : D-Link MIB Textual Conventions
--
-- Copyright (c) 2012 D-Link Corporation, all rights reserved.
--
-- *****************************************************************
DLINKSW-TC-MIB DEFINITIONS ::= BEGIN
IMPORTS
MODULE-IDENTITY
FROM SNMPv2-SMI
TEXTUAL-CONVENTION
FROM SNMPv2-TC
dlinkIndustrialCommon
FROM DLINK-ID-REC-MIB;
dlinkSwTextualConvention MODULE-IDENTITY
LAST-UPDATED "201211190000Z"
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
"The module defines textual conventions used for all proprietary
MIBs."
REVISION "201211190000Z"
DESCRIPTION
"Initial version of this MIB."
::= { dlinkIndustrialCommon 1 }
-- -----------------------------------------------------------------------------
DlinkTrigger ::= TEXTUAL-CONVENTION
STATUS current
DESCRIPTION
"The object defined by this textual convention can trigger an event.
It always returns 'none(1)' when read the object."
SYNTAX INTEGER { none(1), action(2) }
Dlink2kVlanList ::= TEXTUAL-CONVENTION
STATUS current
DESCRIPTION
"This textual convention can specify a VLAN range of 2k VLANs,
for example, 1 - 2048, 2049 - 4095, etc. Each octet within this value
specifies a set of eight VLANs. The first octet specifies first 8
VLANs of the range specified in the description, the second octet
specifies the next 8 VLANs, etc.
Within each octet, the most significant bit represents the lowest
numbered VLAN, and the least significant bit represents the highest
numbered VLAN. Thus, each VLAN of the device is represented by a
single bit within the value of this object. If the corresponding bit
is '1' indicates that VLAN is included in the set of VLANs;
'0' means the VLAN is not included.
Note that if the length of this object is less than 256 octets,
any 'missing' octets are assumed to contain the value zero."
SYNTAX OCTET STRING (SIZE (0..256))
END

View File

@ -0,0 +1,219 @@
-- *****************************************************************
-- DLINKSW-TELNET-MIB.mib : TELNET MIB
--
-- Copyright (c) 2013 D-Link Corporation, all rights reserved.
--
-- *****************************************************************
DLINKSW-TELNET-MIB DEFINITIONS ::= BEGIN
IMPORTS
MODULE-IDENTITY, OBJECT-TYPE, Unsigned32
FROM SNMPv2-SMI
MODULE-COMPLIANCE, OBJECT-GROUP
FROM SNMPv2-CONF
TruthValue
FROM SNMPv2-TC
InterfaceIndexOrZero
FROM IF-MIB
InetAddressType,InetAddress
FROM INET-ADDRESS-MIB
SnmpAdminString
FROM SNMP-FRAMEWORK-MIB
dlinkIndustrialCommon
FROM DLINK-ID-REC-MIB;
dlinkSwTelnetMIB MODULE-IDENTITY
LAST-UPDATED "201304220000Z"
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 module defines objects for TELNET application."
REVISION "201304220000Z"
DESCRIPTION
"First release of this MIB."
::= { dlinkIndustrialCommon 40 }
-- -----------------------------------------------------------------------------
dTelnetNotifications OBJECT IDENTIFIER ::= { dlinkSwTelnetMIB 0 }
dTelnetObjects OBJECT IDENTIFIER ::= { dlinkSwTelnetMIB 1 }
dTelnetConformance OBJECT IDENTIFIER ::= { dlinkSwTelnetMIB 2 }
-- -----------------------------------------------------------------------------
dTelnetServerEnabled OBJECT-TYPE
SYNTAX TruthValue
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object specifies whether the TELNET server function on
the device is enabled."
DEFVAL { true }
::= { dTelnetObjects 1 }
dTelnetServerTcpPort OBJECT-TYPE
SYNTAX Unsigned32 (1..65535)
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object indicates TCP port for the TELNET server.
The well-known TCP port for the TELNET server is 23.
"
DEFVAL { 23 }
::= { dTelnetObjects 2 }
dTelnetSourceInterfaceIndex OBJECT-TYPE
SYNTAX InterfaceIndexOrZero
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object indicates the ifIndex of the interface whose IP address
will be used as the source address of packets that initiates a TELNET
connection.
A zero value indicates the source interface is not specified and the
IP address of the closest interface will be used.
"
DEFVAL { 0 }
::= { dTelnetObjects 3 }
-- -----------------------------------------------------------------------------
dTelnetSessionTable OBJECT-TYPE
SYNTAX SEQUENCE OF DTelnetSessionEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This table contains a list of TELNET users."
::= { dTelnetObjects 4 }
dTelnetSessionEntry OBJECT-TYPE
SYNTAX DTelnetSessionEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"An entry contains the information of a TELNET session."
INDEX { dTelnetSessionID }
::= { dTelnetSessionTable 1 }
DTelnetSessionEntry ::= SEQUENCE {
dTelnetSessionID Unsigned32,
dTelnetSessionUserName SnmpAdminString,
dTelnetSessionUserPrivilegeLvl Unsigned32,
dTelnetSessionLoginDuration Unsigned32,
dTelnetSessionHostAddrType InetAddressType,
dTelnetSessionHostAddr InetAddress
}
dTelnetSessionID OBJECT-TYPE
SYNTAX Unsigned32 (0..65535)
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"A unique number that identifies the TELNET session."
::= { dTelnetSessionEntry 1 }
dTelnetSessionUserName OBJECT-TYPE
SYNTAX SnmpAdminString (SIZE (1..32))
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"This object indicates the name of the TELNET user."
::= { dTelnetSessionEntry 2 }
dTelnetSessionUserPrivilegeLvl OBJECT-TYPE
SYNTAX Unsigned32 (1.. 15)
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"This object indicates the privilege level of the entry."
::= { dTelnetSessionEntry 3 }
dTelnetSessionLoginDuration OBJECT-TYPE
SYNTAX Unsigned32
UNITS "seconds"
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"This object indicates the elapsed time the user has
loginned."
::= { dTelnetSessionEntry 4 }
dTelnetSessionHostAddrType OBJECT-TYPE
SYNTAX InetAddressType
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The host address type of the TELNET client.
"
::= { dTelnetSessionEntry 5 }
dTelnetSessionHostAddr OBJECT-TYPE
SYNTAX InetAddress
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The host address of the TELNET client.
"
::= { dTelnetSessionEntry 6 }
-- Conformance
dTelnetCompliances OBJECT IDENTIFIER ::= { dTelnetConformance 1 }
dTelnetGroups OBJECT IDENTIFIER ::= { dTelnetConformance 2 }
dTelnetCompliance MODULE-COMPLIANCE
STATUS deprecated
DESCRIPTION
"The compliance statement for entities which
implement the DLINKSW-TELNET-MIB."
MODULE MANDATORY-GROUPS {
dTelnetConfigGroup,
dTelnetSessionInfoGroup
}
OBJECT dTelnetSourceInterfaceIndex
MIN-ACCESS read-only
DESCRIPTION
"It is compliant to implement this object as read-only.
Support for configurable source interface is only
required on the platform which supports TELNET client."
::= { dTelnetCompliances 1 }
dTelnetConfigGroup OBJECT-GROUP
OBJECTS {
dTelnetServerEnabled,
dTelnetServerTcpPort,
dTelnetSourceInterfaceIndex
}
STATUS current
DESCRIPTION
"A collection of objects for TELNET configuration."
::= { dTelnetGroups 1 }
dTelnetSessionInfoGroup OBJECT-GROUP
OBJECTS {
dTelnetSessionUserName,
dTelnetSessionUserPrivilegeLvl,
dTelnetSessionLoginDuration,
dTelnetSessionHostAddrType,
dTelnetSessionHostAddr
}
STATUS current
DESCRIPTION
"A collection of objects to display TELNET connection related
information."
::= { dTelnetGroups 2 }
END

443
mibs/dlink/DLINKSW-TIME-MIB Normal file
View File

@ -0,0 +1,443 @@
-- *****************************************************************
-- DLINKSW-TIME-MIB.mib : D-Link Time MIB
--
-- Copyright (c) 2013 D-Link Corporation, all rights reserved.
--
-- *****************************************************************
DLINKSW-TIME-MIB DEFINITIONS ::= BEGIN
IMPORTS
MODULE-IDENTITY,
OBJECT-TYPE,
Unsigned32
FROM SNMPv2-SMI
OBJECT-GROUP, MODULE-COMPLIANCE
FROM SNMPv2-CONF
TEXTUAL-CONVENTION,
DateAndTime,
TruthValue,
DisplayString,
RowStatus
FROM SNMPv2-TC
InterfaceIndexOrZero
FROM IF-MIB
InetAddressType,
InetAddress
FROM INET-ADDRESS-MIB
dlinkIndustrialCommon
FROM DLINK-ID-REC-MIB;
dlinkSwTimeMIB MODULE-IDENTITY
LAST-UPDATED "201308200000Z"
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 module defines objects for Time and Simple Network Time
Protocol (SNTP)."
REVISION "201303190000Z"
DESCRIPTION
"This is the first version of the MIB file.
"
REVISION "201308200000Z"
DESCRIPTION
"1.Add Year for date type of DlinkTimeSummerTimeValue .
2.Fixed bugs of type error for dTimeSntpServerLastReceive."
::= { dlinkIndustrialCommon 10 }
DlinkTimeSummerTimeValue ::= TEXTUAL-CONVENTION
STATUS current
DESCRIPTION
"Denotes Summer Time starts or ends time.
This value is always interpreted within the context of a
dTimeSummerTimeAutoSwitchMode value.
When dTimeSummerTimeAutoSwitchMode is disable(1), this value is not
meaningful.
When dTimeSummerTimeAutoSwitchMode is recurring(2), the format is
defined as follows:
octets contents range
------ -------- -------
1 week 1..4, ff last = ff
2 day 1..7 where Sunday = 1 Saturday = 7
3 month 1..12 where January = 1 December = 12
4 hour 0..23
5 minute 0..59
For example, the first Feb at 13:30pm should be given as 01 02 0d 1e
For the last Tuesday in December at 1:20am should be given as ff 03 0c 01 14
When dTimeSummerTimeAutoSwitchMode is date(3), the format is defined as follows:
octets contents range
------ -------- -------
1-2 year 0..65536 in network-byte order
3 month 1..12 where January = 1 December = 12
4 date 1..31,
5 hour 0..23
6 minute 0..59
For example, the 2013-4-2 03:00 should be given as 07 dd 04 02 03 00
For the 2013-10-31 00:30 should be given as 07 dd 0a 1f 00 1e "
SYNTAX OCTET STRING (SIZE (0 | 5 | 6))
-- -----------------------------------------------------------------------------
dTimeMIBNotifications OBJECT IDENTIFIER ::= { dlinkSwTimeMIB 0 }
dTimeMIBObjects OBJECT IDENTIFIER ::= { dlinkSwTimeMIB 1 }
dTimeMIBConformance OBJECT IDENTIFIER ::= { dlinkSwTimeMIB 2 }
-- -----------------------------------------------------------------------------
dTimeGeneral OBJECT IDENTIFIER ::= { dTimeMIBObjects 1 }
dTimeSntpEnabled OBJECT-TYPE
SYNTAX TruthValue
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object indicates the state of SNTP function.
Setting this object to 'true' will enable SNTP function.
"
::= { dTimeGeneral 1 }
dTimeSntpBcastClientEnabled OBJECT-TYPE
SYNTAX TruthValue
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object is used to enable/disable the broadcast client mode.
Setting this object to 'true' indicates that the agent accepts
broadcast SNTP traffic from servers.
"
::= { dTimeGeneral 2 }
dTimeSntpPollInterval OBJECT-TYPE
SYNTAX Unsigned32 (30..99999)
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object indicates the interval for the SNTP client to
synchronize its clock with server."
DEFVAL { 720 }
::= { dTimeGeneral 3 }
dTimeSntpSourceIfIndex OBJECT-TYPE
SYNTAX InterfaceIndexOrZero
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object indicates the ifIndex of the interface whose IP address
will be used as the source address for sending the SNTP packet.
A special value of 0 indicates the source interface is not specified
and the IP address of the closest interface will be used.
"
::= { dTimeGeneral 4 }
-- -----------------------------------------------------------------------------
dTimeClock OBJECT IDENTIFIER ::= { dTimeMIBObjects 2 }
dTimeManagedClock OBJECT-TYPE
SYNTAX DateAndTime
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"Use the object to manually set the system clock."
::= { dTimeClock 1 }
dTimeCurrentTimeSource OBJECT-TYPE
SYNTAX INTEGER {
sntp(1),
noTimeSource(2)
}
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The object indicates the clock source."
::= { dTimeClock 2 }
dTimeCurrentTime OBJECT-TYPE
SYNTAX DateAndTime
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"This object indicates the current system time. System time can
be disciplined or adjusted by RTC, SNTP, or configured by user.
"
::= { dTimeClock 3 }
-- -----------------------------------------------------------------------------
dTimeSummerTime OBJECT IDENTIFIER ::= { dTimeClock 5 }
dTimeSummerTimeAutoSwitchMode OBJECT-TYPE
SYNTAX INTEGER {
disable(1),
recurring(2),
date(3)
}
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object indicates the mode of the system to automatically
switch to Summer Time (Daylight Saving Time).
disable(1) - The Daylight Saving Time feature is disabled.
recurring(2) - The Daylight Saving Time feature is enabled.
The Summer Time should start and end on the specified
week day of the specified month.
date(3) - The Daylight Saving Time feature is enabled.
The Summer Time should start and end on the specified date
of the specified month.
"
DEFVAL { disable }
::= { dTimeSummerTime 1 }
dTimeSummerTimeStart OBJECT-TYPE
SYNTAX DlinkTimeSummerTimeValue
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object indicates when the Summer Time starts.
This value is always interpreted within the context of a
dTimeSummerTimeAutoSwitchMode value.
"
::= { dTimeSummerTime 2 }
dTimeSummerTimeEnd OBJECT-TYPE
SYNTAX DlinkTimeSummerTimeValue
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object indicates when the Summer Time ends.
This value is always interpreted within the context of a
dTimeSummerTimeAutoSwitchMode value.
"
::= { dTimeSummerTime 3 }
dTimeSummerTimeOffset OBJECT-TYPE
SYNTAX INTEGER (30|60|90|120)
UNITS "Minutes"
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"The value of this object indicates number of minutes to add
or to subtract during Summer Time. This object is not meaningful
when dTimeSummerTimeAutoSwitchMode object is 'disable'."
DEFVAL { 60 }
::= { dTimeSummerTime 4 }
-- -----------------------------------------------------------------------------
dTimeServer OBJECT IDENTIFIER ::= { dTimeMIBObjects 3 }
dTimeSntpServerTableNum OBJECT-TYPE
SYNTAX Unsigned32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"This object indicates the number of entries present in the dTimeSntpServerTable."
::= { dTimeServer 1 }
dTimeSntpServerTable OBJECT-TYPE
SYNTAX SEQUENCE OF DTimeSntpServerEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This table consists of a list of information for SNTP Time
servers, which allow the software clock to be synchronized."
::= { dTimeServer 2 }
dTimeSntpServerEntry OBJECT-TYPE
SYNTAX DTimeSntpServerEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"An entry contains information about an SNTP Time server."
INDEX {
dTimeSntpServerAddrType,
dTimeSntpServerAddr,
dTimeSntpServerVrfName
}
::= { dTimeSntpServerTable 1 }
DTimeSntpServerEntry ::= SEQUENCE {
dTimeSntpServerAddrType InetAddressType,
dTimeSntpServerAddr InetAddress,
dTimeSntpServerVrfName DisplayString,
dTimeSntpServerRowStatus RowStatus,
dTimeSntpServerVersion Unsigned32,
dTimeSntpServerLastReceive Unsigned32,
dTimeSntpServerSynced TruthValue,
dTimeSntpServerBcast TruthValue
}
dTimeSntpServerAddrType OBJECT-TYPE
SYNTAX InetAddressType
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This object indicates the address type of the SNTP server."
::= { dTimeSntpServerEntry 1 }
dTimeSntpServerAddr OBJECT-TYPE
SYNTAX InetAddress
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"IP or IPv6 address of the time server which provides the clock
synchronization."
::= { dTimeSntpServerEntry 2 }
dTimeSntpServerVrfName OBJECT-TYPE
SYNTAX DisplayString
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This object indicates the name of the routing forwarding instance.
A zero length string indicates the VRF name is not specified.
For the platform that doesn't support VRF, only a zero length string
is allowed for this object.
"
::= { dTimeSntpServerEntry 3 }
dTimeSntpServerRowStatus OBJECT-TYPE
SYNTAX RowStatus
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"The status of this entry."
::= { dTimeSntpServerEntry 4 }
dTimeSntpServerVersion OBJECT-TYPE
SYNTAX Unsigned32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"This object indicates the SNTP server version. When
the value of dTimeSntpServerRowStatus at the same row is notInService(2),
this object is 0.
"
::= { dTimeSntpServerEntry 5 }
dTimeSntpServerLastReceive OBJECT-TYPE
SYNTAX Unsigned32
UNITS "seconds"
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"This object indicates the elapsed time that the SNTP time has
been synchronized.
"
::= { dTimeSntpServerEntry 6 }
dTimeSntpServerSynced OBJECT-TYPE
SYNTAX TruthValue
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"This object indicates whether the corresponding server is the
current synced server.
"
::= { dTimeSntpServerEntry 7 }
dTimeSntpServerBcast OBJECT-TYPE
SYNTAX TruthValue
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"This object indicates whether the server is a broadcast SNTP server.
"
::= { dTimeSntpServerEntry 8 }
-- ***************************************************************************
-- Conformance
-- ***************************************************************************
dTimeCompliances OBJECT IDENTIFIER ::= { dTimeMIBConformance 1 }
dTimeCompliance MODULE-COMPLIANCE
STATUS current
DESCRIPTION
"The compliance statement for entities which implement the
DLINKSW-TIME-MIB."
MODULE -- this module
MANDATORY-GROUPS {
dTimeSysInfoGroup
}
GROUP dTimeClockGroup
DESCRIPTION
"This group is conditionally mandatory and must be implemented by
the agent only if system clock can be manually configured."
GROUP dTimeSntpGroup
DESCRIPTION
"This group is conditionally mandatory and must be implemented by
the agent only if SNTP feature is supported."
GROUP dTimeSummerTimeCfgGroup
DESCRIPTION
"This group is conditionally mandatory and must be implemented by
the agent only if Daylight Saving Time feature is supported.
"
::= { dTimeCompliances 1 }
-- units of conformance
dTimeGroups OBJECT IDENTIFIER ::= { dTimeMIBConformance 2 }
dTimeSysInfoGroup OBJECT-GROUP
OBJECTS {
dTimeCurrentTimeSource,
dTimeCurrentTime
}
STATUS current
DESCRIPTION
"A collection of objects provides the information for system time."
::= { dTimeGroups 1 }
dTimeClockGroup OBJECT-GROUP
OBJECTS {
dTimeManagedClock
}
STATUS current
DESCRIPTION
"A collection of objects provides configuration for system time."
::= { dTimeGroups 2 }
dTimeSntpGroup OBJECT-GROUP
OBJECTS {
dTimeSntpEnabled,
dTimeSntpBcastClientEnabled,
dTimeSntpPollInterval,
dTimeSntpSourceIfIndex,
dTimeSntpServerTableNum,
dTimeSntpServerRowStatus,
dTimeSntpServerVersion,
dTimeSntpServerLastReceive,
dTimeSntpServerSynced,
dTimeSntpServerBcast
}
STATUS current
DESCRIPTION
"A collection of objects provides configuration for SNTP."
::= { dTimeGroups 3 }
dTimeSummerTimeCfgGroup OBJECT-GROUP
OBJECTS {
dTimeSummerTimeAutoSwitchMode,
dTimeSummerTimeStart,
dTimeSummerTimeEnd,
dTimeSummerTimeOffset,
dTimeSntpServerTableNum,
dTimeSntpServerRowStatus
}
STATUS current
DESCRIPTION
"A collection of objects provides configuration for Daylight
Saving Time feature."
::= { dTimeGroups 4 }
END

View File

@ -0,0 +1,225 @@
-- *****************************************************************
-- DLINKSW-TIME-RANGE-MIB.mib : DLINK Time Range MIB
--
-- Copyright (c) 2013 D-Link Corporation, all rights reserved.
--
-- *****************************************************************
DLINKSW-TIME-RANGE-MIB DEFINITIONS ::= BEGIN
IMPORTS
MODULE-IDENTITY, OBJECT-TYPE, Unsigned32
FROM SNMPv2-SMI
RowStatus, DisplayString
FROM SNMPv2-TC
MODULE-COMPLIANCE, OBJECT-GROUP
FROM SNMPv2-CONF
dlinkIndustrialCommon
FROM DLINK-ID-REC-MIB;
dlinkSwTimeRangeMIB MODULE-IDENTITY
LAST-UPDATED "201303220000Z"
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 defines time range profiles to activate features."
REVISION "201303220000Z"
DESCRIPTION
"This is the first version of the MIB file."
::= { dlinkIndustrialCommon 50 }
-- -----------------------------------------------------------------------------
dTimeRangeMIBNotifications OBJECT IDENTIFIER ::= { dlinkSwTimeRangeMIB 0 }
dTimeRangeMIBObjects OBJECT IDENTIFIER ::= { dlinkSwTimeRangeMIB 1 }
dTimeRangeMIBConformance OBJECT IDENTIFIER ::= { dlinkSwTimeRangeMIB 2 }
-- -----------------------------------------------------------------------------
dTimeRangeProfileTable OBJECT-TYPE
SYNTAX SEQUENCE OF DTimeRangeProfileEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"A table consists of a list of time range profiles."
::= { dTimeRangeMIBObjects 1 }
dTimeRangeProfileEntry OBJECT-TYPE
SYNTAX DTimeRangeProfileEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"An entry contains information of a time range profile."
INDEX {
dTimeRangeProfileName,
dTimeRangeProfilePeriodType,
dTimeRangeProfileStartDayOfWeek,
dTimeRangeProfileStartHour,
dTimeRangeProfileStartMinute,
dTimeRangeProfileEndDayOfWeek,
dTimeRangeProfileEndHour,
dTimeRangeProfileEndMinute
}
::= { dTimeRangeProfileTable 1 }
DTimeRangeProfileEntry ::= SEQUENCE {
dTimeRangeProfileName DisplayString,
dTimeRangeProfilePeriodType INTEGER,
dTimeRangeProfileStartDayOfWeek INTEGER,
dTimeRangeProfileStartHour Unsigned32,
dTimeRangeProfileStartMinute Unsigned32,
dTimeRangeProfileEndDayOfWeek INTEGER,
dTimeRangeProfileEndHour Unsigned32,
dTimeRangeProfileEndMinute Unsigned32,
dTimeRangeProfileRowStatus RowStatus
}
dTimeRangeProfileName OBJECT-TYPE
SYNTAX DisplayString (SIZE (1..32))
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"The time range name of the entry."
::= { dTimeRangeProfileEntry 1 }
dTimeRangeProfilePeriodType OBJECT-TYPE
SYNTAX INTEGER {
daily(1),
weekly(2)
}
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This object indicates the type of this entry.
'daily' - Using the time of day to specify the time range.
'weekly' - Using the day of the week and time of day to specify
the time range.
"
::= { dTimeRangeProfileEntry 2 }
dTimeRangeProfileStartDayOfWeek OBJECT-TYPE
SYNTAX INTEGER {
sunday(1),
monday(2),
tuesday(3),
wednesday(4),
thursday(5),
friday(6),
saturday(7),
notApplicable(8)
}
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This object indicates the start day of week of the entry.
This object is meaningful when dTimeRangeProfilePeriodType is 'weekly'.
If dTimeRangeProfilePeriodType is not 'weekly', this object is set
to 'notApplicable'.
"
::= { dTimeRangeProfileEntry 3 }
dTimeRangeProfileStartHour OBJECT-TYPE
SYNTAX Unsigned32 (0..23)
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This object specifies the hours component of time (24 hour format)
at which the daily/weekly periodic start time for this entry.
"
::= { dTimeRangeProfileEntry 4 }
dTimeRangeProfileStartMinute OBJECT-TYPE
SYNTAX Unsigned32 (0..59)
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This object specifies the minutes component of time at which
the daily/weekly periodic start time for this entry.
"
::= { dTimeRangeProfileEntry 5 }
dTimeRangeProfileEndDayOfWeek OBJECT-TYPE
SYNTAX INTEGER {
sunday(1),
monday(2),
tuesday(3),
wednesday(4),
thursday(5),
friday(6),
saturday(7),
notApplicable(8)
}
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This object indicates the end day of week of the entry.
This object is meaningful when dTimeRangeProfilePeriodType is 'weekly'.
If dTimeRangeProfilePeriodType is not 'weekly', this object is set
to 'notApplicable'.
"
::= { dTimeRangeProfileEntry 6 }
dTimeRangeProfileEndHour OBJECT-TYPE
SYNTAX Unsigned32 (0..23)
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This object specifies the hours component of time (24 hour format)
at which the daily/weekly periodic start time for this entry.
"
::= { dTimeRangeProfileEntry 7 }
dTimeRangeProfileEndMinute OBJECT-TYPE
SYNTAX Unsigned32 (0..59)
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This object specifies the minutes component of time at which
the daily/weekly periodic end time for this entry.
"
::= { dTimeRangeProfileEntry 8 }
dTimeRangeProfileRowStatus OBJECT-TYPE
SYNTAX RowStatus
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"This object indicates the RowStatus of this entry."
::= { dTimeRangeProfileEntry 9 }
-- ***************************************************************************
-- Conformance
-- ***************************************************************************
dTimeRangeCompliances OBJECT IDENTIFIER ::= { dTimeRangeMIBConformance 1 }
dTimeRangeCompliance MODULE-COMPLIANCE
STATUS current
DESCRIPTION
"The compliance statement for entities which implement the
DLINKSW-TIME-RANGE-MIB."
MODULE -- this module
MANDATORY-GROUPS {
dTimeRangeProfileCfgGroup
}
::= { dTimeRangeCompliances 1 }
dTimeRangeGroups OBJECT IDENTIFIER ::= { dTimeRangeMIBConformance 2 }
dTimeRangeProfileCfgGroup OBJECT-GROUP
OBJECTS {
dTimeRangeProfileRowStatus
}
STATUS current
DESCRIPTION
"A collection of objects providing configuration for time range profiles."
::= { dTimeRangeGroups 1 }
END

View File

@ -0,0 +1,110 @@
-- *****************************************************************
-- DLINKSW-TRAFFIC-SEGMENT-MIB.mib : Traffic Segmentation MIB
--
-- Copyright (c) 2013 D-Link Corporation, all rights reserved.
--
-- *****************************************************************
DLINKSW-TRAFFIC-SEGMENT-MIB DEFINITIONS ::= BEGIN
IMPORTS
MODULE-IDENTITY,OBJECT-TYPE FROM SNMPv2-SMI
ifIndex,
InterfaceIndex FROM IF-MIB
MODULE-COMPLIANCE,
OBJECT-GROUP FROM SNMPv2-CONF
PortList FROM Q-BRIDGE-MIB
dlinkIndustrialCommon FROM DLINK-ID-REC-MIB;
dlinkSwTrafficSegMIB MODULE-IDENTITY
LAST-UPDATED "201303010000Z"
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 module defines objects for Traffic Segmentation."
REVISION "201303010000Z"
DESCRIPTION
"This is the first version of the MIB file."
::= { dlinkIndustrialCommon 26 }
-- ---------------------------------------------------------------------------------------------
dTrafficSegNotifications OBJECT IDENTIFIER ::= { dlinkSwTrafficSegMIB 0 }
dTrafficSegObjects OBJECT IDENTIFIER ::= { dlinkSwTrafficSegMIB 1 }
dTrafficSegConformance OBJECT IDENTIFIER ::= { dlinkSwTrafficSegMIB 2 }
-- ---------------------------------------------------------------------------------------------
dTrafficSegForwardDomainTable OBJECT-TYPE
SYNTAX SEQUENCE OF DTrafficSegForwardDomainEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"A list of specification of forwarding domains for Traffic Segmentation."
::= { dTrafficSegObjects 1 }
dTrafficSegForwardDomainEntry OBJECT-TYPE
SYNTAX DTrafficSegForwardDomainEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"An entry indicates the setting of forwarding domain on an interface."
INDEX { ifIndex }
::= { dTrafficSegForwardDomainTable 1 }
DTrafficSegForwardDomainEntry ::= SEQUENCE
{
dTrafficSegForwardPorts PortList
}
dTrafficSegForwardPorts OBJECT-TYPE
SYNTAX PortList
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object indicates the forward domain (a set of ports) on the
interface."
::= { dTrafficSegForwardDomainEntry 1 }
-- -----------------------------------------------------------------------------
-- MIB Conformance statements
-- -----------------------------------------------------------------------------
dTrafficSegMIBCompliances OBJECT IDENTIFIER
::= { dTrafficSegConformance 1 }
dTrafficSegMIBGroups OBJECT IDENTIFIER
::= { dTrafficSegConformance 2 }
dTrafficSegMIBCompliance MODULE-COMPLIANCE
STATUS current
DESCRIPTION
"The compliance statement for entities which implement the
DLINKSW-TRAFFIC-SEGMENT-MIB."
MODULE -- this module
MANDATORY-GROUPS
{
dTrafficSegIfCfgGroup
}
::= { dTrafficSegMIBCompliances 1 }
-- -----------------------------------------------------------------------------
dTrafficSegIfCfgGroup OBJECT-GROUP
OBJECTS
{
dTrafficSegForwardPorts
}
STATUS current
DESCRIPTION
"A collection of objects providing management of the Traffic
Segmentation feature."
::= { dTrafficSegMIBGroups 1 }
END

594
mibs/dlink/DLINKSW-VLAN-MIB Normal file
View File

@ -0,0 +1,594 @@
-- *****************************************************************
-- DLINKSW-VLAN-MIB.mib : VLAN MIB
--
-- Copyright (c) 2013 D-Link Corporation, all rights reserved.
--
-- *****************************************************************
DLINKSW-VLAN-MIB DEFINITIONS ::= BEGIN
IMPORTS
MODULE-IDENTITY,
OBJECT-TYPE,
NOTIFICATION-TYPE,
Unsigned32
FROM SNMPv2-SMI
RowStatus,TruthValue,MacAddress
FROM SNMPv2-TC
MODULE-COMPLIANCE, OBJECT-GROUP
FROM SNMPv2-CONF
InetAddress, InetAddressType, InetAddressPrefixLength
FROM INET-ADDRESS-MIB
dot1dBasePort
FROM BRIDGE-MIB
VlanId,dot1vProtocolPortGroupId
FROM Q-BRIDGE-MIB
Dlink2kVlanList
FROM DLINKSW-TC-MIB
dlinkIndustrialCommon
FROM DLINK-ID-REC-MIB;
dlinkSwVlanMIB MODULE-IDENTITY
LAST-UPDATED "201304180000Z"
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 module defines objects for extending the configuration of
VLAN (Virtual Local Area Network). "
REVISION "201304180000Z"
DESCRIPTION
"This is the first version of the MIB file."
::= { dlinkIndustrialCommon 21 }
-- -----------------------------------------------------------------------------
dVlanMIBNotifications OBJECT IDENTIFIER ::= { dlinkSwVlanMIB 0 }
dVlanMIBObjects OBJECT IDENTIFIER ::= { dlinkSwVlanMIB 1 }
dVlanMIBConformance OBJECT IDENTIFIER ::= { dlinkSwVlanMIB 2 }
-- -----------------------------------------------------------------------------
dVlanStaticMacVlanTable OBJECT-TYPE
SYNTAX SEQUENCE OF DVlanStaticMacVlanEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This table contains a list of MAC-based VLANs."
::= { dVlanMIBObjects 1 }
dVlanStaticMacVlanEntry OBJECT-TYPE
SYNTAX DVlanStaticMacVlanEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"A table entry represents the configuration of a MAC-based VLAN."
INDEX { dVlanStaticMacVlanAddress }
::= { dVlanStaticMacVlanTable 1 }
DVlanStaticMacVlanEntry ::= SEQUENCE {
dVlanStaticMacVlanAddress MacAddress,
dVlanStaticMacVlanId VlanId,
dVlanStaticMacVlanPriority Unsigned32,
dVlanStaticMacVlanRowStatus RowStatus
}
dVlanStaticMacVlanAddress OBJECT-TYPE
SYNTAX MacAddress
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This object indicates the MAC address of the entry."
::= { dVlanStaticMacVlanEntry 1 }
dVlanStaticMacVlanId OBJECT-TYPE
SYNTAX VlanId
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"This object indicates the Vlan ID for the MAC based VLAN entry."
::= { dVlanStaticMacVlanEntry 2 }
dVlanStaticMacVlanPriority OBJECT-TYPE
SYNTAX Unsigned32 ( 0 .. 7 )
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"This object indicates the CoS for the MAC based VLAN entry."
DEFVAL { 0 }
::= { dVlanStaticMacVlanEntry 3 }
dVlanStaticMacVlanRowStatus OBJECT-TYPE
SYNTAX RowStatus
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"The status of this conceptual row."
::= { dVlanStaticMacVlanEntry 4 }
-- -----------------------------------------------------------------------------
dVlanCurrentMacVlanTable OBJECT-TYPE
SYNTAX SEQUENCE OF DVlanCurrentMacVlanEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This table contains a list of MAC-based VLANs."
::= { dVlanMIBObjects 2 }
dVlanCurrentMacVlanEntry OBJECT-TYPE
SYNTAX DVlanCurrentMacVlanEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"A table entry represents the information of a MAC-based VLAN."
INDEX {
dVlanCurrentMacVlanAddress,
dVlanCurrentMacVlanStatus
}
::= { dVlanCurrentMacVlanTable 1 }
DVlanCurrentMacVlanEntry ::= SEQUENCE {
dVlanCurrentMacVlanAddress MacAddress,
dVlanCurrentMacVlanStatus INTEGER,
dVlanCurrentMacVlanId VlanId,
dVlanCurrentMacVlanPriority Unsigned32
}
dVlanCurrentMacVlanAddress OBJECT-TYPE
SYNTAX MacAddress
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This object indicates the MAC address of the entry."
::= { dVlanCurrentMacVlanEntry 1 }
dVlanCurrentMacVlanStatus OBJECT-TYPE
SYNTAX INTEGER {
active(1),
inactive(2)
}
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This object indicates the status of the entry."
::= { dVlanCurrentMacVlanEntry 2 }
dVlanCurrentMacVlanId OBJECT-TYPE
SYNTAX VlanId
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"This object indicates the Vlan ID for the MAC based VLAN entry."
::= { dVlanCurrentMacVlanEntry 3 }
dVlanCurrentMacVlanPriority OBJECT-TYPE
SYNTAX Unsigned32 ( 0 .. 7 )
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"This object indicates the CoS for the MAC based VLAN entry."
::= { dVlanCurrentMacVlanEntry 4 }
-- -----------------------------------------------------------------------------
dVlanSubnetVlanTable OBJECT-TYPE
SYNTAX SEQUENCE OF DVlanSubnetVlanEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This table contains a list of subnet-based VLANs."
::= { dVlanMIBObjects 3 }
dVlanSubnetVlanEntry OBJECT-TYPE
SYNTAX DVlanSubnetVlanEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"A table entry represents the configuration of a subnet-based VLAN."
INDEX {
dVlanSubnetVlanType,
dVlanSubnetVlanNetPrefix,
dVlanSubnetVlanNetPrefixLen
}
::= { dVlanSubnetVlanTable 1 }
DVlanSubnetVlanEntry ::= SEQUENCE {
dVlanSubnetVlanType InetAddressType,
dVlanSubnetVlanNetPrefix InetAddress,
dVlanSubnetVlanNetPrefixLen InetAddressPrefixLength,
dVlanSubnetVlanId VlanId,
dVlanSubnetVlanPriority Unsigned32,
dVlanSubnetVlanRowStatus RowStatus
}
dVlanSubnetVlanType OBJECT-TYPE
SYNTAX InetAddressType
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This object indicates the address type of the subnet."
::= { dVlanSubnetVlanEntry 1 }
dVlanSubnetVlanNetPrefix OBJECT-TYPE
SYNTAX InetAddress
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This object indicates the network prefix of the entry."
::= { dVlanSubnetVlanEntry 2 }
dVlanSubnetVlanNetPrefixLen OBJECT-TYPE
SYNTAX InetAddressPrefixLength
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This object indicates the length of the sub-network
address prefix."
::= { dVlanSubnetVlanEntry 3 }
dVlanSubnetVlanId OBJECT-TYPE
SYNTAX VlanId
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"This object indicates the VLAN-ID of the subnet-based VLAN."
::= { dVlanSubnetVlanEntry 4 }
dVlanSubnetVlanPriority OBJECT-TYPE
SYNTAX Unsigned32 ( 0..7 )
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"This object indicates the CoS of the subnet-based VLAN."
::= { dVlanSubnetVlanEntry 5 }
dVlanSubnetVlanRowStatus OBJECT-TYPE
SYNTAX RowStatus
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"The status of this conceptual row."
::= { dVlanSubnetVlanEntry 6 }
-- -----------------------------------------------------------------------------
dVlanPortIfCtrlTable OBJECT-TYPE
SYNTAX SEQUENCE OF DVlanPortIfCtrlEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This table provides mechanism to configure port-specific VLAN
function."
::= { dVlanMIBObjects 4 }
dVlanPortIfCtrlEntry OBJECT-TYPE
SYNTAX DVlanPortIfCtrlEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"A table entry represents the VLAN configuration on a port.
This table is an extension to dot1qPortVlanTable which is defined at
Q-BRIDGE-MIB."
INDEX {
dot1dBasePort
}
::= { dVlanPortIfCtrlTable 1 }
DVlanPortIfCtrlEntry ::= SEQUENCE {
dVlanPortIfMode INTEGER,
dVlanPortIfTrunkNativeVlanTagged TruthValue,
dVlanPortIfAcceptableFrameTypes INTEGER,
dVlanPortIfVlanPrecedence INTEGER,
dVlanPortIfTagAllowVlanLstFirst2K Dlink2kVlanList,
dVlanPortIfTagAllowVlanLstSecond2K Dlink2kVlanList,
dVlanPortIfUntagAllowVlanLstFirst2K Dlink2kVlanList,
dVlanPortIfUntagAllowVlanLstSecond2K Dlink2kVlanList
}
dVlanPortIfMode OBJECT-TYPE
SYNTAX INTEGER {
access(1),
hybrid(2),
trunk(3),
dot1qTunnel(4),
privateVlanHost(5),
privateVlanPromiscuous(6)
}
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object indicates VLAN mode for the port.
access - this port will be untagged member of the access VLAN
configured for the port.
hybrid - the port can be untagged or tagged member of all VLANs
configured by the user. The purpose of this VLAN mode is
to support protocol VLAN, MAC-based VLAN, voice VLAN and
dot1q VLAN tunnel application in access side.
trunk - this port is either tagged or untagged member port of its
native VLAN and can be tagged member of other VLANs
configured by the user. The purpose of a trunk port is to
support the switch-to-switch connection.
dot1qTunnel - the port behaves as an UNI port of a service VLAN.
privateVlanHost - the port behaves as private VLAN host port.
privateVlanPromiscuous - the port behaves as private VLAN promiscuous
port.
When VLAN mode is changed, the VLAN related setting associated
with previous mode will be lost."
::= { dVlanPortIfCtrlEntry 1 }
dVlanPortIfTrunkNativeVlanTagged OBJECT-TYPE
SYNTAX TruthValue
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object indicates whether enable the tagging mode of the native
VLAN on the interface.
Note: This value is meaningful only when the VLAN mode of the port
is 'trunk'."
::= { dVlanPortIfCtrlEntry 2 }
dVlanPortIfAcceptableFrameTypes OBJECT-TYPE
SYNTAX INTEGER {
admitAll(1),
admitUntaggedAndPriority(2),
admitTagged(3)
}
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object indicates the acceptable frame types on the interface.
'admitAll' - Permits both tagged and untagged packet.
'admitUntaggedAndPriority' - Only untagged or Priority-Tagged packets
received on this interface will be accepted and tagged packets are
dropped.
'admitTagged' - Only tagged incoming packets are permitted and untagged packets
are dropped."
::= { dVlanPortIfCtrlEntry 3 }
dVlanPortIfVlanPrecedence OBJECT-TYPE
SYNTAX INTEGER {
macVlan(1),
subnetVlan(2)
}
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object indicates the VLAN classification precedence for the port.
macVlan - MAC-based VLAN classification has higher precedence than
subnet-based VLAN.
subnetVlan - subnet-based VLAN classification has higher precedence
than MAC-based VLAN.
Note: This value is meaningful only when the VLAN mode of the port
is 'hybrid' or 'dot1qTunnel'."
::= { dVlanPortIfCtrlEntry 4 }
dVlanPortIfTagAllowVlanLstFirst2K OBJECT-TYPE
SYNTAX Dlink2kVlanList
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object specifies the VLANs in a string of octets containing
one bit per VLAN for VLANs 1 to 2048.
If the bit is set to '1', then the interface is allowed to be the
VLAN's tagged member.
Note: This value is meaningful only when the VLAN mode of the port
is 'hybrid' or 'trunk'."
::= { dVlanPortIfCtrlEntry 5 }
dVlanPortIfTagAllowVlanLstSecond2K OBJECT-TYPE
SYNTAX Dlink2kVlanList
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object specifies the VLANs in a string of octets containing
one bit per VLAN for VLANs 2049 to 4094.
If the bit is set to '1', then the interface is allowed to be the
VLAN's tagged member.
Note: This value is meaningful only when the VLAN mode of the port
is 'hybrid' or 'trunk'."
::= { dVlanPortIfCtrlEntry 6 }
dVlanPortIfUntagAllowVlanLstFirst2K OBJECT-TYPE
SYNTAX Dlink2kVlanList
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object specifies the VLANs in a string of octets containing
one bit per VLAN for VLANs 1 to 2048.
If the bit is set to '1', then the interface is allowed to be the
VLAN's untagged member.
Note: This value is meaningful only when the VLAN mode of the port
is 'hybrid' or 'trunk'."
::= { dVlanPortIfCtrlEntry 7 }
dVlanPortIfUntagAllowVlanLstSecond2K OBJECT-TYPE
SYNTAX Dlink2kVlanList
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object specifies the VLANs in a string of octets containing
one bit per VLAN for VLANs 2049 to 4094.
If the bit is set to '1', then the interface is allowed to be the
VLAN's untagged member.
Note: This value is meaningful only when the VLAN mode of the port
is 'hybrid' or 'trunk'."
::= { dVlanPortIfCtrlEntry 8 }
-- -----------------------------------------------------------------------------
dVlanProtocolVlanIfCtrlTable OBJECT-TYPE
SYNTAX SEQUENCE OF DVlanProtocolVlanIfCtrlEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This table provides mechanism to configure port-specific protocol
VLAN function.
This table is an extension to dot1vProtocolPortTable which is defined
at Q-BRIDGE-MIB.
An entry appears in this table for each row created at
dot1vProtocolPortTable.
"
::= { dVlanMIBObjects 5 }
dVlanProtocolVlanIfCtrlEntry OBJECT-TYPE
SYNTAX DVlanProtocolVlanIfCtrlEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"A table entry represents the extension configuration of protocol
VLAN profile on a port.
"
INDEX {
dot1dBasePort,
dot1vProtocolPortGroupId
}
::= { dVlanProtocolVlanIfCtrlTable 1 }
DVlanProtocolVlanIfCtrlEntry ::= SEQUENCE {
dVlanProtocolVlanPriority Unsigned32
}
dVlanProtocolVlanPriority OBJECT-TYPE
SYNTAX Unsigned32 (0..7)
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object indicates the CoS of the protocol VLAN entry on the
interface."
::= { dVlanProtocolVlanIfCtrlEntry 1}
-- -----------------------------------------------------------------------------
dVlanAsymVlanStateEnabled OBJECT-TYPE
SYNTAX TruthValue
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object enables or disables asymmetric VLAN feature."
::= { dVlanMIBObjects 6 }
-- ***************************************************************************
-- Conformance
-- ***************************************************************************
dVlanCompliances OBJECT IDENTIFIER ::= { dVlanMIBConformance 1 }
dVlanCompliance MODULE-COMPLIANCE
STATUS current
DESCRIPTION
"The compliance statement for entities which implement the
DLINKSW-VLAN-MIB."
MODULE -- this module
MANDATORY-GROUPS {
dVlanIfCfgGroup
}
GROUP dVlanStaticMacVlanCfgGroup
DESCRIPTION
"Implementation of this group is optional."
GROUP dVlanCurrentMacVlanCfgGroup
DESCRIPTION
"Implementation of this group is optional."
GROUP dVlanSubnetVlanCfgGroup
DESCRIPTION
"Implementation of this group is optional."
GROUP dVlanProtocolVlanCfgGroup
DESCRIPTION
"Implementation of this group is optional."
GROUP dVlanAsymmetricVlanCfgGroup
DESCRIPTION
"Implementation of this group is optional."
::= { dVlanCompliances 1 }
dVlanGroups OBJECT IDENTIFIER ::= { dVlanMIBConformance 2 }
dVlanIfCfgGroup OBJECT-GROUP
OBJECTS {
dVlanPortIfMode,
dVlanPortIfTrunkNativeVlanTagged,
dVlanPortIfVlanPrecedence,
dVlanPortIfAcceptableFrameTypes,
dVlanPortIfTagAllowVlanLstFirst2K,
dVlanPortIfTagAllowVlanLstSecond2K,
dVlanPortIfUntagAllowVlanLstFirst2K,
dVlanPortIfUntagAllowVlanLstSecond2K
}
STATUS current
DESCRIPTION
"A collection of objects providing the information
and control for configuring port-specific VLAN feature."
::= { dVlanGroups 1 }
dVlanStaticMacVlanCfgGroup OBJECT-GROUP
OBJECTS {
dVlanStaticMacVlanId,
dVlanStaticMacVlanPriority,
dVlanStaticMacVlanRowStatus
}
STATUS current
DESCRIPTION
"A collection of objects provides the configuration
of MAC-based VLANs."
::= { dVlanGroups 2 }
dVlanCurrentMacVlanCfgGroup OBJECT-GROUP
OBJECTS {
dVlanCurrentMacVlanId,
dVlanCurrentMacVlanPriority
}
STATUS current
DESCRIPTION
"A collection of objects provides the running MAC-based
VLANs."
::= { dVlanGroups 3 }
dVlanSubnetVlanCfgGroup OBJECT-GROUP
OBJECTS {
dVlanSubnetVlanId,
dVlanSubnetVlanPriority,
dVlanSubnetVlanRowStatus
}
STATUS current
DESCRIPTION
"A collection of objects provides the configuration
of subnet-based VLANs."
::= { dVlanGroups 4 }
dVlanProtocolVlanCfgGroup OBJECT-GROUP
OBJECTS {
dVlanProtocolVlanPriority
}
STATUS current
DESCRIPTION
"A collection of objects provides the configuration
of protocol VLAN entrys on interfaces."
::= { dVlanGroups 5 }
dVlanAsymmetricVlanCfgGroup OBJECT-GROUP
OBJECTS {
dVlanAsymVlanStateEnabled
}
STATUS current
DESCRIPTION
"A collection of objects provides the management of
asymmetric VLAN feature."
::= { dVlanGroups 6 }
END

View File

@ -0,0 +1,498 @@
-- *****************************************************************
-- DLINKSW-VOICE-VLAN-MIB.mib : Voice VLAN MIB
--
-- Copyright (c) 2013 D-Link Corporation, all rights reserved.
--
-- *****************************************************************
DLINKSW-VOICE-VLAN-MIB DEFINITIONS ::= BEGIN
IMPORTS
MODULE-IDENTITY,OBJECT-TYPE,Unsigned32
FROM SNMPv2-SMI
MODULE-COMPLIANCE, OBJECT-GROUP
FROM SNMPv2-CONF
MacAddress, TruthValue, RowStatus, DateAndTime
FROM SNMPv2-TC
PortList, VlanIdOrNone
FROM Q-BRIDGE-MIB
InterfaceIndex
FROM IF-MIB
SnmpAdminString
FROM SNMP-FRAMEWORK-MIB
dlinkIndustrialCommon
FROM DLINK-ID-REC-MIB
LldpPortNumber, LldpChassisIdSubtype, LldpChassisId, LldpPortIdSubtype,
LldpPortId
FROM LLDP-MIB;
dlinkSwVoiceVlanMIB MODULE-IDENTITY
LAST-UPDATED "201304260000Z"
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
"The MIB module for managing voice VLAN feature."
REVISION "201304260000Z"
DESCRIPTION
"Initial version of this MIB module."
::= { dlinkIndustrialCommon 74}
-- -----------------------------------------------------------------------------
-- Node definitions
-- -----------------------------------------------------------------------------
dVoiceVlanMIBNotifications OBJECT IDENTIFIER ::= { dlinkSwVoiceVlanMIB 0 }
dVoiceVlanMIBObjects OBJECT IDENTIFIER ::= { dlinkSwVoiceVlanMIB 1 }
dVoiceVlanMIBConformance OBJECT IDENTIFIER ::= { dlinkSwVoiceVlanMIB 2 }
-- -----------------------------------------------------------------------------
-- dVoiceVlanGlobal
-- -----------------------------------------------------------------------------
dVoiceVlanGlobal OBJECT IDENTIFIER ::= { dVoiceVlanMIBObjects 1 }
dVoiceVlanVlanId OBJECT-TYPE
SYNTAX VlanIdOrNone
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"The object specifies the voice VLAN on a switch.
A value of zero indicates that no voice VLAN has been
configured.
It is required to configure the global dVoiceVlanVlanId and enable
dVoiceVlanIfEnabled to start the voice VLAN function
on a port."
DEFVAL { 0 }
::= { dVoiceVlanGlobal 1 }
dVoiceVlanQos OBJECT-TYPE
SYNTAX Unsigned32 (0..7)
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"The priority for the voice VLAN, which is used to distinguish
the QoS of the voice traffic from data traffic."
DEFVAL { 5 }
::= { dVoiceVlanGlobal 2 }
dVoiceVlanAgingTime OBJECT-TYPE
SYNTAX Unsigned32 (1..65535)
UNITS "minutes"
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"The aging time for the voice VLAN, for aging out the voice
device and the voice VLAN automatically learned member ports."
DEFVAL { 720 }
::= { dVoiceVlanGlobal 3 }
dVoiceVlanOuiTable OBJECT-TYPE
SYNTAX SEQUENCE OF DVoiceVlanOuiEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This table contains the voice VLAN OUI configuration."
::= { dVoiceVlanGlobal 4 }
dVoiceVlanOuiEntry OBJECT-TYPE
SYNTAX DVoiceVlanOuiEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"An entry indicates an OUI information, which is used to classify
voice traffic into the voice VLAN. If the source MAC addresses of
the received packet matches any of the OUI pattern, the received
packet is determined as voice packet. "
INDEX { dVoiceVlanOuiAddr, dVoiceVlanOuiMask}
::= { dVoiceVlanOuiTable 1 }
DVoiceVlanOuiEntry ::=
SEQUENCE {
dVoiceVlanOuiAddr MacAddress,
dVoiceVlanOuiMask MacAddress,
dVoiceVlanOuiDes SnmpAdminString,
dVoiceVlanOuiRowStatus RowStatus
}
dVoiceVlanOuiAddr OBJECT-TYPE
SYNTAX MacAddress
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"The MAC address of the OUI referring to this VoiceVlanOuiEntry."
::= { dVoiceVlanOuiEntry 1 }
dVoiceVlanOuiMask OBJECT-TYPE
SYNTAX MacAddress
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"Indicates the OUI MAC address matching bitmask."
::= { dVoiceVlanOuiEntry 2 }
dVoiceVlanOuiDes OBJECT-TYPE
SYNTAX SnmpAdminString (SIZE (0..32))
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"The description of the OUI. A zero length string of this object indicates
there is no description for this OUI."
::= { dVoiceVlanOuiEntry 3 }
dVoiceVlanOuiRowStatus OBJECT-TYPE
SYNTAX RowStatus
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"This object indicates the status of this entry."
::= { dVoiceVlanOuiEntry 4 }
-- -----------------------------------------------------------------------------
dVoiceVlanInterface OBJECT IDENTIFIER ::= { dVoiceVlanMIBObjects 2 }
dVoiceVlanInterfaceTable OBJECT-TYPE
SYNTAX SEQUENCE OF DVoiceVlanInterfaceEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This table contains the interface-specific voice VLAN parameters."
::= { dVoiceVlanInterface 1 }
dVoiceVlanInterfaceEntry OBJECT-TYPE
SYNTAX DVoiceVlanInterfaceEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"An entry indicates the voice VLAN parameters for a port/port-channel."
INDEX { dVoiceVlanIfIndex }
::= { dVoiceVlanInterfaceTable 1 }
DVoiceVlanInterfaceEntry ::=
SEQUENCE {
dVoiceVlanIfIndex InterfaceIndex,
dVoiceVlanIfEnabled TruthValue,
dVoiceVlanIfMode INTEGER
}
dVoiceVlanIfIndex OBJECT-TYPE
SYNTAX InterfaceIndex
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"Indicates the ifIndex of the physical port/port-channel interface."
::= { dVoiceVlanInterfaceEntry 1 }
dVoiceVlanIfEnabled OBJECT-TYPE
SYNTAX TruthValue
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"Indicates whether the voice VLAN is enabled at the port."
::= { dVoiceVlanInterfaceEntry 2 }
dVoiceVlanIfMode OBJECT-TYPE
SYNTAX INTEGER{
autoUntagged(1),
autoTagged(2),
manual(3)
}
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"If auto learning is enabled, the port will be automatically learned
as voice VLAN member.
When the port is working in auto tagged mode, and the port captures
a voice device through the device's OUI, it will join the voice VLAN
as a tagged member automatically. When the voice device sends tagged
packets, the switch will change its priority. When the voice device
sends untagged packets, it will forward them in port's PVID VLAN.
When the port is working in auto untagged mode, and the port captures
a voice device through the device's OUI, it will join the voice VLAN
as an untagged member automatically. When the voice device sends tagged
packets, the switch will change its priority. When the voice device
sends untagged packets, it will forward them in voice VLAN."
::= { dVoiceVlanInterfaceEntry 3 }
-- -----------------------------------------------------------------------------
dVoiceVlanInfo OBJECT IDENTIFIER ::= { dVoiceVlanMIBObjects 3 }
dVoiceVlanMemberPorts OBJECT-TYPE
SYNTAX PortList
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The voice VLAN's member ports, includes the dynamically
learned ports."
::= { dVoiceVlanInfo 1 }
dVoiceVlanDynamicMemberPorts OBJECT-TYPE
SYNTAX PortList
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The voice VLAN's dynamically learned member ports."
::= { dVoiceVlanInfo 2 }
dVoiceVlanDeviceTable OBJECT-TYPE
SYNTAX SEQUENCE OF DVoiceVlanDeviceEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This table contains the information about the learned voice devices."
::= { dVoiceVlanInfo 3 }
dVoiceVlanDeviceEntry OBJECT-TYPE
SYNTAX DVoiceVlanDeviceEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"Indicates the information of the connected voice device."
INDEX {
dVoiceVlanDevicePortIfindex,
dVoiceVlanDeviceAddr }
::= { dVoiceVlanDeviceTable 1 }
DVoiceVlanDeviceEntry ::=
SEQUENCE {
dVoiceVlanDevicePortIfindex InterfaceIndex,
dVoiceVlanDeviceAddr MacAddress,
dVoiceVlanDeviceStartTime DateAndTime,
dVoiceVlanDeviceStatus INTEGER
}
dVoiceVlanDevicePortIfindex OBJECT-TYPE
SYNTAX InterfaceIndex
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"Indicates the ifIndex of the port to which the voice device connects."
::= { dVoiceVlanDeviceEntry 1 }
dVoiceVlanDeviceAddr OBJECT-TYPE
SYNTAX MacAddress
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"Indicates the MAC address of the voice device."
::= { dVoiceVlanDeviceEntry 2 }
dVoiceVlanDeviceStartTime OBJECT-TYPE
SYNTAX DateAndTime
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Indicates the start time of the connected voice device."
::= { dVoiceVlanDeviceEntry 3 }
dVoiceVlanDeviceStatus OBJECT-TYPE
SYNTAX INTEGER{
active(1),
aging(2)
}
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Indicates the status of the connected voice device."
::= { dVoiceVlanDeviceEntry 4 }
-- -----------------------------------------------------------------------------
dVoiceVlanLldpMedDeviceTable OBJECT-TYPE
SYNTAX SEQUENCE OF DVoiceVlanLldpMedDeviceEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This table contains the voice devices that are learned through LLDP-MED."
::= { dVoiceVlanInfo 4 }
dVoiceVlanLldpMedDeviceEntry OBJECT-TYPE
SYNTAX DVoiceVlanLldpMedDeviceEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"An entry contains the information of a voice device learned through
LLDP-MED."
INDEX { dVoiceVlanLldpMedDeviceIndex }
::= { dVoiceVlanLldpMedDeviceTable 1 }
DVoiceVlanLldpMedDeviceEntry ::=
SEQUENCE {
dVoiceVlanLldpMedDeviceIndex Unsigned32,
dVoiceVlanLldpMedDeviceLocalPort LldpPortNumber,
dVoiceVlanLldpMedDevChIdSubtype LldpChassisIdSubtype,
dVoiceVlanLldpMedDevChassisId LldpChassisId,
dVoiceVlanLldpMedDevPoIdSubtype LldpPortIdSubtype,
dVoiceVlanLldpMedDevicePortId LldpPortId,
dVoiceVlanLldpMedDevCreateTime DateAndTime,
dVoiceVlanLldpMedDevRemainTime Unsigned32
}
dVoiceVlanLldpMedDeviceIndex OBJECT-TYPE
SYNTAX Unsigned32 (1..4294967295)
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"The local index used to identify the entry."
::= { dVoiceVlanLldpMedDeviceEntry 1 }
dVoiceVlanLldpMedDeviceLocalPort OBJECT-TYPE
SYNTAX LldpPortNumber
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"This object indicates the local port number on which the voice
device is learned."
::= { dVoiceVlanLldpMedDeviceEntry 2 }
dVoiceVlanLldpMedDevChIdSubtype OBJECT-TYPE
SYNTAX LldpChassisIdSubtype
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The type of encoding used to identify the chassis associated with
the voice device."
REFERENCE
"IEEE Std 802.1AB-2005 9.5.2.2"
::= { dVoiceVlanLldpMedDeviceEntry 3 }
dVoiceVlanLldpMedDevChassisId OBJECT-TYPE
SYNTAX LldpChassisId
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The string value used to identify the chassis component associated
with the voice device."
REFERENCE
"IEEE Std 802.1AB-2005 9.5.2.3"
::= { dVoiceVlanLldpMedDeviceEntry 4 }
dVoiceVlanLldpMedDevPoIdSubtype OBJECT-TYPE
SYNTAX LldpPortIdSubtype
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The type of port identifier encoding used to identify the port component
associated with the voice device."
REFERENCE
"IEEE Std 802.1AB-2005 9.5.3.2"
::= { dVoiceVlanLldpMedDeviceEntry 5 }
dVoiceVlanLldpMedDevicePortId OBJECT-TYPE
SYNTAX LldpPortId
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The string value used to identify the port component associated with
the voice device."
REFERENCE
"IEEE Std 802.1AB-2005 9.5.3.3"
::= { dVoiceVlanLldpMedDeviceEntry 6 }
dVoiceVlanLldpMedDevCreateTime OBJECT-TYPE
SYNTAX DateAndTime
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The creation time of the voice device."
::= { dVoiceVlanLldpMedDeviceEntry 7}
dVoiceVlanLldpMedDevRemainTime OBJECT-TYPE
SYNTAX Unsigned32
UNITS "seconds"
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The Time-To-Live (in seconds) remaining for the voice device.
If the Remain Time decreases to 0, the voice device will be deleted."
::= { dVoiceVlanLldpMedDeviceEntry 8}
-- -----------------------------------------------------------------------------
-- MIB Conformance statements
-- -----------------------------------------------------------------------------
dVoiceVlanMIBCompliances OBJECT IDENTIFIER
::= { dVoiceVlanMIBConformance 1 }
dVoiceVlanMIBGroups OBJECT IDENTIFIER
::= { dVoiceVlanMIBConformance 2 }
dVoiceVlanMIBCompliance MODULE-COMPLIANCE
STATUS current
DESCRIPTION
"The compliance statement for entities which implement the
DLINKSW-VOICE-VLAN-MIB."
MODULE -- this module
MANDATORY-GROUPS { dVoiceVlanBasicGroup }
GROUP dVoiceVlanOUICfgGroup
DESCRIPTION
"This group is required for entities that implement classifying
voice traffic based on OUI patterns."
GROUP dVoiceVlanDeviceInfoGroup
DESCRIPTION
"This group is required for entities that display voice vlan
device infomation."
GROUP dVoiceVlanDeviceLldpMedInfoGroup
DESCRIPTION
"This group is optional."
::= { dVoiceVlanMIBCompliances 1 }
dVoiceVlanBasicGroup OBJECT-GROUP
OBJECTS {
dVoiceVlanVlanId,
dVoiceVlanQos,
dVoiceVlanAgingTime,
dVoiceVlanIfEnabled,
dVoiceVlanIfMode,
dVoiceVlanMemberPorts,
dVoiceVlanDynamicMemberPorts}
STATUS current
DESCRIPTION
"A collection of objects to configure or display the status
of voice VLAN feature."
::= { dVoiceVlanMIBGroups 1 }
dVoiceVlanOUICfgGroup OBJECT-GROUP
OBJECTS {
dVoiceVlanOuiDes,
dVoiceVlanOuiRowStatus }
STATUS current
DESCRIPTION
"A collection of objects to configure voice device OUI(s)."
::= { dVoiceVlanMIBGroups 2 }
dVoiceVlanDeviceInfoGroup OBJECT-GROUP
OBJECTS {
dVoiceVlanDeviceStartTime,
dVoiceVlanDeviceStatus
}
STATUS current
DESCRIPTION
"A collection of objects to display voice device(s)."
::= { dVoiceVlanMIBGroups 3 }
dVoiceVlanDeviceLldpMedInfoGroup OBJECT-GROUP
OBJECTS {
dVoiceVlanLldpMedDeviceLocalPort,
dVoiceVlanLldpMedDevChIdSubtype,
dVoiceVlanLldpMedDevChassisId,
dVoiceVlanLldpMedDevPoIdSubtype,
dVoiceVlanLldpMedDevicePortId,
dVoiceVlanLldpMedDevCreateTime,
dVoiceVlanLldpMedDevRemainTime
}
STATUS current
DESCRIPTION
"A collection of objects displays information learned via LLDP-MED."
::= { dVoiceVlanMIBGroups 4 }
END

View File

@ -0,0 +1,359 @@
-- *****************************************************************
-- DLINKSW-WEB-AUTH-MIB.mib : Web-Authentication MIB
--
-- Copyright (c) 2013 D-Link Corporation, all rights reserved.
--
-- *****************************************************************
DLINKSW-WEB-AUTH-MIB DEFINITIONS ::= BEGIN
IMPORTS
MODULE-IDENTITY,
OBJECT-TYPE FROM SNMPv2-SMI
MODULE-COMPLIANCE,
OBJECT-GROUP,
NOTIFICATION-GROUP FROM SNMPv2-CONF
TruthValue FROM SNMPv2-TC
ifIndex FROM IF-MIB
InetAddressIPv4,
InetAddressIPv6 FROM INET-ADDRESS-MIB
SnmpAdminString FROM SNMP-FRAMEWORK-MIB
dnaSessionAuthVlan,
dnaSessionClientMacAddress,
dnaSessionClientAddrType,
dnaSessionClientAddress,
dnaSessionAuthUserName FROM DLINKSW-NETWORK-ACCESS-MIB
dlinkIndustrialCommon FROM DLINK-ID-REC-MIB;
dlinkSwWebAuthMIB MODULE-IDENTITY
LAST-UPDATED "201302210000Z"
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 module defines objects for Web-Authentication."
REVISION "201302210000Z"
DESCRIPTION
"This is the first version of the MIB file."
::= { dlinkIndustrialCommon 154 }
-- -----------------------------------------------------------------------------
dWebAuthNotifications OBJECT IDENTIFIER ::= { dlinkSwWebAuthMIB 0 }
dWebAuthObjects OBJECT IDENTIFIER ::= { dlinkSwWebAuthMIB 1 }
dWebAuthConformance OBJECT IDENTIFIER ::= { dlinkSwWebAuthMIB 2 }
dWebAuthSysEnabled OBJECT-TYPE
SYNTAX TruthValue
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object indicates the global state of Web-Authentication on
the device."
::= { dWebAuthObjects 1 }
dWebAuthRedirectPath OBJECT-TYPE
SYNTAX SnmpAdminString
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object indicates the URL that the client will be redirected to
after successful authentication.
Initially, the redirected path is an empty string.
If no default redirect URL is specified, the Web-Authentication
logout page will be displayed.
"
::= { dWebAuthObjects 2 }
dWebAuthVirtualIp OBJECT-TYPE
SYNTAX InetAddressIPv4
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object indicates the virtual IP address which is used to accept
authentication requests from an unauthenticated host.
This virtual IP address is used to accept authentication
requests from an unauthenticated host. Only requests sent to this IP will
get a correct response.
NOTE: This IP does not respond to ARP requests or ICMP packets."
::= { dWebAuthObjects 3 }
dWebAuthVirtualIpv6 OBJECT-TYPE
SYNTAX InetAddressIPv6
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object indicates the virtual IPv6 address which is used to accept
authentication requests from an unauthenticated host.
This virtual IPv6 address is used to accept authentication requests
from an unauthenticated host. Only requests sent to this IP will
get a correct response.
NOTE: This IPv6 does not respond to ICMPv6 packets."
::= { dWebAuthObjects 4 }
dWebAuthVirtualUrl OBJECT-TYPE
SYNTAX SnmpAdminString
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object indicates the FQDN URL for the virtual IP address.
The defined URL only takes effect when the virtual IP address is
configured. The user gets the FQDN URL stored on the DNS server
to get the virtual IP address. The obtained IP address must match
the virtual IP address."
::= { dWebAuthObjects 5 }
dWebAuthNotifyEnabled 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."
::= { dWebAuthObjects 6}
-- -----------------------------------------------------------------------------
dWebAuthPageElement OBJECT-IDENTITY
STATUS current
DESCRIPTION
"This object identifier represents the objects customizing the
Web-Authentication page elements."
::= { dWebAuthObjects 7 }
dWebAuthPageTitle OBJECT-TYPE
SYNTAX SnmpAdminString
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object indicates the title of the WEB authentication page."
::= { dWebAuthPageElement 1 }
dWebAuthPageLoginWindowTitle OBJECT-TYPE
SYNTAX SnmpAdminString
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object indicates the title of the WEB authentication login
window."
::= { dWebAuthPageElement 2 }
dWebAuthPageUserName OBJECT-TYPE
SYNTAX SnmpAdminString
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object indicates the user name title of WEB authentication
login window."
::= { dWebAuthPageElement 3 }
dWebAuthPagePassWord OBJECT-TYPE
SYNTAX SnmpAdminString
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object indicates the password title of WEB authentication
login window."
::= { dWebAuthPageElement 4 }
dWebAuthPageLogoutWindowTitle OBJECT-TYPE
SYNTAX SnmpAdminString
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object indicates the title of the WEB authentication logout
window."
::= { dWebAuthPageElement 5 }
dWebAuthPageCopyrightLine1 OBJECT-TYPE
SYNTAX SnmpAdminString
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object indicates the first line of the copyright information
in WEB authentication pages."
::= { dWebAuthPageElement 6 }
dWebAuthPageCopyrightLine2 OBJECT-TYPE
SYNTAX SnmpAdminString
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object indicates the second line of the copyright information
in WEB authentication pages."
::= { dWebAuthPageElement 7 }
dWebAuthPageCopyrightLine3 OBJECT-TYPE
SYNTAX SnmpAdminString
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object indicates the third line of the copyright information
in WEB authentication pages."
::= { dWebAuthPageElement 8 }
dWebAuthPageCopyrightLine4 OBJECT-TYPE
SYNTAX SnmpAdminString
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object indicates the fourth line of copyright information
in WEB authentication pages."
::= { dWebAuthPageElement 9 }
dWebAuthPageCopyrightLine5 OBJECT-TYPE
SYNTAX SnmpAdminString
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object indicates the fifth line of copyright information
in WEB authentication pages."
::= { dWebAuthPageElement 10 }
-- -----------------------------------------------------------------------------
dWebAuthIfCfgTable OBJECT-TYPE
SYNTAX SEQUENCE OF DWebAuthIfCfgEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This table consists of a list of interface-specific
Web-Authentication information entries."
::= { dWebAuthObjects 8 }
dWebAuthIfCfgEntry OBJECT-TYPE
SYNTAX DWebAuthIfCfgEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"An entry indicates the setting of Web-Authentication on an
interface."
INDEX { ifIndex }
::= { dWebAuthIfCfgTable 1 }
DWebAuthIfCfgEntry ::= SEQUENCE {
dWebAuthIfEnabled TruthValue
}
dWebAuthIfEnabled OBJECT-TYPE
SYNTAX TruthValue
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object indicates the Web-Authentication state on the interface.
'truth' - The Web-Authentication is enabled.
'false' - The Web-Authentication is disabled."
::= { dWebAuthIfCfgEntry 1 }
-- -----------------------------------------------------------------------------
-- MIB Notifications statements
-- -----------------------------------------------------------------------------
dWebAuthLoggedSuccess NOTIFICATION-TYPE
OBJECTS {
ifIndex,
dnaSessionAuthVlan,
dnaSessionClientMacAddress,
dnaSessionClientAddrType,
dnaSessionClientAddress,
dnaSessionAuthUserName
}
STATUS current
DESCRIPTION
"The trap is sent when a host has successfully logged in(passed
Web-Authentication)."
::= { dWebAuthNotifications 1 }
dWebAuthLoggedFail NOTIFICATION-TYPE
OBJECTS {
ifIndex,
dnaSessionAuthVlan,
dnaSessionClientMacAddress,
dnaSessionClientAddrType,
dnaSessionClientAddress,
dnaSessionAuthUserName
}
STATUS current
DESCRIPTION
"The trap is sent when a host has failed to pass Web-Authentication
(login failed)."
::= { dWebAuthNotifications 2 }
-- -----------------------------------------------------------------------------
-- MIB Conformance statements
-- -----------------------------------------------------------------------------
dWebAuthMIBCompliances OBJECT IDENTIFIER
::= { dWebAuthConformance 1 }
dWebAuthMIBGroups OBJECT IDENTIFIER
::= { dWebAuthConformance 2 }
dWebAuthMIBCompliance MODULE-COMPLIANCE
STATUS current
DESCRIPTION
"The compliance statement for entities which implement the
DLINKSW-WEB-AUTH-MIB."
MODULE -- this module
MANDATORY-GROUPS {
dWebAuthCfgGroup,
dWebAuthIfCfgGroup
}
::= { dWebAuthMIBCompliances 1 }
-- -----------------------------------------------------------------------------
dWebAuthCfgGroup OBJECT-GROUP
OBJECTS {
dWebAuthSysEnabled,
dWebAuthRedirectPath,
dWebAuthVirtualIp,
dWebAuthVirtualIpv6,
dWebAuthVirtualUrl,
dWebAuthNotifyEnabled,
dWebAuthPageTitle,
dWebAuthPageLoginWindowTitle,
dWebAuthPageUserName,
dWebAuthPagePassWord,
dWebAuthPageLogoutWindowTitle,
dWebAuthPageCopyrightLine1,
dWebAuthPageCopyrightLine2,
dWebAuthPageCopyrightLine3,
dWebAuthPageCopyrightLine4,
dWebAuthPageCopyrightLine5
}
STATUS current
DESCRIPTION
"A collection of objects providing management of the
Web-Authentication feature."
::= { dWebAuthMIBGroups 1 }
dWebAuthIfCfgGroup OBJECT-GROUP
OBJECTS
{
dWebAuthIfEnabled
}
STATUS current
DESCRIPTION
"A collection of objects providing the management of Web-Authentication
on a per-interface basis."
::= { dWebAuthMIBGroups 2 }
dWebAuthNotificationGroup NOTIFICATION-GROUP
NOTIFICATIONS {
dWebAuthLoggedSuccess,
dWebAuthLoggedFail
}
STATUS current
DESCRIPTION
"The collection of notifications used for monitoring the hosts under the
control of Web-Authentication."
::= { dWebAuthMIBGroups 3}
END

View File

@ -0,0 +1,152 @@
-- *****************************************************************
-- DLINKSW-WEB-COMMON-MIB: D-Link WEB Common MIB
--
-- Copyright (c) 2013 D-Link Corporation, all rights reserved.
--
-- *****************************************************************
DLINKSW-WEB-COMMON-MIB DEFINITIONS ::= BEGIN
IMPORTS
MODULE-IDENTITY, OBJECT-IDENTITY, OBJECT-TYPE,
Unsigned32
FROM SNMPv2-SMI
TEXTUAL-CONVENTION, TruthValue, DisplayString
FROM SNMPv2-TC
MODULE-COMPLIANCE, OBJECT-GROUP
FROM SNMPv2-CONF
dlinkIndustrialCommon
FROM DLINK-ID-REC-MIB;
dlinkSwWebCommonMIB MODULE-IDENTITY
LAST-UPDATED "201310280000Z"
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
"The MIB module for configuring Web common feature.
This MIB module contains HTTP and HTTPS configuration."
REVISION "201310280000Z"
DESCRIPTION
"This is the first version of the MIB file."
::= { dlinkIndustrialCommon 162 }
-- ******************************************************************
-- Object Definition
-- ******************************************************************
dWebCommonMIBNotifications OBJECT IDENTIFIER ::= { dlinkSwWebCommonMIB 0 }
dWebMIBObjects OBJECT IDENTIFIER ::= { dlinkSwWebCommonMIB 1 }
dWebCommonMIBConformance OBJECT IDENTIFIER ::= { dlinkSwWebCommonMIB 2 }
-- -----------------------------------------------------------------------------
dHttpServerObjects OBJECT IDENTIFIER ::= { dWebMIBObjects 1 }
dSslServerObjects OBJECT IDENTIFIER ::= { dWebMIBObjects 2 }
-- -----------------------------------------------------------------------------
-- dHttpServerObjects
-- -----------------------------------------------------------------------------
dHttpServerStatus OBJECT-TYPE
SYNTAX TruthValue
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object indicates the HTTP server feature is support or not."
DEFVAL { true }
::= { dHttpServerObjects 1 }
-- -----------------------------------------------------------------------------
dHttpTcpPort OBJECT-TYPE
SYNTAX Unsigned32 (1..65535)
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object is Used to configure the TCP port number for HTTP server.
The well-known TCP port for the HTTP server is 80."
DEFVAL { 80 }
::= { dHttpServerObjects 2}
-- -----------------------------------------------------------------------------
dHttpIdleTimeoutVal OBJECT-TYPE
SYNTAX Unsigned32 (60..36000)
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object is Used to set idle timeout of a http server connection in seconds."
DEFVAL { 180 }
::= { dHttpServerObjects 3}
-- -----------------------------------------------------------------------------
-- dSslServerObjects
-- -----------------------------------------------------------------------------
dSslServicePolicyName OBJECT-TYPE
SYNTAX DisplayString (SIZE (0..32))
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"Indicates the name of the policy for SSL application.
This node is volatile; that is, it is lost if the SNMP
agent is rebooted."
::= { dSslServerObjects 1 }
dSslServerStatus OBJECT-TYPE
SYNTAX TruthValue
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object indicates the SSL feature is support or not."
DEFVAL { false }
::= { dSslServerObjects 2 }
-- ******************************************************************
-- Conformance and Compliance
-- ******************************************************************
dWebCommonMIBCompliances OBJECT IDENTIFIER ::= { dWebCommonMIBConformance 1 }
dWebCommonGroups OBJECT IDENTIFIER ::= { dWebCommonMIBConformance 2 }
dWebMIBCompliance MODULE-COMPLIANCE
STATUS current
DESCRIPTION
"The compliance statement for entities which implement the
DLINKSW-WEB-COMMON-MIB.
"
MODULE -- this module
MANDATORY-GROUPS
{
dHttpServerGroups,
dSslServerGroups
}
::= { dWebCommonMIBCompliances 1 }
-- units of conformance
dHttpServerGroups OBJECT-GROUP
OBJECTS {
dHttpServerStatus,
dHttpTcpPort,
dHttpIdleTimeoutVal
}
STATUS current
DESCRIPTION
"Objects for globally configuring HTTP server feature.
"
::= { dWebCommonGroups 1 }
dSslServerGroups OBJECT-GROUP
OBJECTS {
dSslServicePolicyName,
dSslServerStatus
}
STATUS current
DESCRIPTION
"Objects for globally configuring SSL server feature.
"
::= { dWebCommonGroups 2 }
END

File diff suppressed because it is too large Load Diff

725
mibs/dlink/SINGLE-IP-MIB Normal file
View File

@ -0,0 +1,725 @@
-- -----------------------------------------------------------------------------
-- MIB NAME : Single IP Management Common mib
-- FILE NAME: SingleIP.mib
-- DATE : 2009/01/21
-- VERSION : 2.02
-- PURPOSE : To construct the MIB structure of Single IP management
-- for proprietary enterprise
-- -----------------------------------------------------------------------------
-- MODIFICTION HISTORY:
-- -----------------------------------------------------------------------------
-- Version, Date, Author
-- Description:
-- [New Object]
-- [Modification]
-- Notes: (Requested by who and which project)
--
-- Version 2.02, 2009/01/21, Eli Lin
-- [New Object]
-- Add swSingleIPTrapMgmt and swSingleIPTrapStatus for enableing/disable the
-- trap function.
-- Notes: Requested by Eli for project DES3028
--
-- Version 2.01, 2007/12/19, Jenny
-- [New Object]
-- 1.add object swSingleIPCSGroupName.
-- Notes: Requested by Jenny for project DES3528
--
-- Version 2.00, 2007/03/27, Yedda
-- This is the first formal version for universal MIB definition.
-- -----------------------------------------------------------------------------
SINGLE-IP-MIB DEFINITIONS ::= BEGIN
IMPORTS
IpAddress
FROM RFC1155-SMI
ifIndex
FROM RFC1213-MIB
MODULE-IDENTITY, OBJECT-TYPE
FROM SNMPv2-SMI
DisplayString ,MacAddress, RowStatus
FROM SNMPv2-TC
MODULE-COMPLIANCE, OBJECT-GROUP
FROM SNMPv2-CONF
dlink-common-mgmt FROM DLINK-ID-REC-MIB;
swSingleIPMIB MODULE-IDENTITY
LAST-UPDATED "0901210000Z"
ORGANIZATION "D-Link Corp."
CONTACT-INFO
"http://support.dlink.com"
DESCRIPTION
"The Single IP management MIB."
::= { dlink-common-mgmt 8}
swSingleIPMgmt OBJECT IDENTIFIER ::= { swSingleIPMIB 1 }
swSingleIPInfo OBJECT IDENTIFIER ::= { swSingleIPMgmt 1 }
swSingleIPCtrl OBJECT IDENTIFIER ::= { swSingleIPMgmt 2 }
-- swSingleIPMSTable OBJECT IDENTIFIER ::= { swSingleIPMgmt 3 }
-- swSingleIPCaSTable OBJECT IDENTIFIER ::= { swSingleIPMgmt 4 }
-- swSingleIPGroupTable OBJECT IDENTIFIER ::= { swSingleIPMgmt 5 }
-- -----------------------------------------------------------------------------
-- swSingleIPInfo
-- -----------------------------------------------------------------------------
swSingleIPVersion OBJECT-TYPE
SYNTAX DisplayString (SIZE (0..64))
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"This object indicates the version of Single IP Management supported in the system."
::= { swSingleIPInfo 1}
swSingleIPCapability OBJECT-TYPE
SYNTAX DisplayString (SIZE (0..64))
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"This object indicates the capability of the switch system."
::= { swSingleIPInfo 2}
swSingleIPPlatform OBJECT-TYPE
SYNTAX DisplayString (SIZE (0..64))
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"This object indicates the platform of the switch system."
::= { swSingleIPInfo 3}
-- swSingleIPSetMSStatus OBJECT-TYPE
-- SYNTAX INTEGER {
-- other(0),
-- set-as-ms-success(1),
-- set-as-ms-fail(2),
-- set-as-cas-success(3),
-- set-as-cas-fail(4),
-- password-invalid(5),
-- community-invalid(6),
-- updata-db-error(7),
-- wait-ack(8)
-- }
-- MAX-ACCESS read-only
-- STATUS current
-- DESCRIPTION
-- "This object indicates the process status when set swSingleIPMSTable."
-- ::= { swSingleIPInfo 4}
-- -----------------------------------------------------------------------------
-- swSingleIPCtrl
-- -----------------------------------------------------------------------------
swSingleIPAdmin OBJECT-TYPE
SYNTAX INTEGER {
other(1),
disabled(2),
enabled(3)
}
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object indicates Single IP Management is enabled or disabled on the system."
::= { swSingleIPCtrl 1}
swSingleIPRoleState OBJECT-TYPE
SYNTAX INTEGER {
cs(1),
cas(2),
ms(3)
}
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object indicates the role state of the switch system."
::= { swSingleIPCtrl 2}
swSingleIPHoldtime OBJECT-TYPE
SYNTAX INTEGER (100..255)
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object indicate the holdtime of the switch in seconds.
The default value is 100, the maximum value is 255, and the minimum value is 100."
DEFVAL { 100 }
::= { swSingleIPCtrl 3 }
swSingleIPTimeInterval OBJECT-TYPE
SYNTAX INTEGER (30..90)
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object indicates the time interval of the switch in seconds to
periodically send out Single IP protocol control packets.
The default value is 60, the maximum value is 120, and the minimum value is 30.
The swSingleIPTimeInterval will always <= swSingleIPHoldtime/2."
DEFVAL { 30 }
::= { swSingleIPCtrl 4 }
swSingleIPCSGroupName OBJECT-TYPE
SYNTAX DisplayString (SIZE (0..64))
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object is used to configure the group name for the commander switch."
::= { swSingleIPCtrl 5 }
-- -----------------------------------------------------------------------------
-- swSingleIPTrapMgmt
-- -----------------------------------------------------------------------------
swSingleIPTrapMgmt OBJECT IDENTIFIER ::= { swSingleIPCtrl 6 }
swSingleIPTrapStatus OBJECT-TYPE
SYNTAX INTEGER {
enabled(1),
disabled(2)
}
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"When enabled (1), whenever the commander detects a member's trap
event, a trap will be sent out."
::= { swSingleIPTrapMgmt 1 }
-- -----------------------------------------------------------------------------
-- swSingleIPMSTable
-- -----------------------------------------------------------------------------
swSingleIPMSTable OBJECT-TYPE
SYNTAX SEQUENCE OF SwSingleIPMSEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This table contains information about member switches which belong to the
single IP management group.
A member will be joined into the group by row creation.
Before a switch is joined into a group as a member switch,
it must exist in the candidate table list."
::= { swSingleIPMgmt 3 }
swSingleIPMSEntry OBJECT-TYPE
SYNTAX SwSingleIPMSEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"A list of information about member switches that belong to the single IP
management group."
INDEX { swSingleIPMSID }
::= { swSingleIPMSTable 1 }
SwSingleIPMSEntry ::=
SEQUENCE {
swSingleIPMSID
INTEGER,
swSingleIPMSDeviceName
DisplayString,
swSingleIPMSMacAddr
MacAddress,
swSingleIPMSFirmwareVer
DisplayString,
swSingleIPMSCapability
DisplayString,
swSingleIPMSPlatform
DisplayString,
swSingleIPMSHoldtime
INTEGER,
swSingleIPMSCasSource
INTEGER,
swSingleIPMSPassword
OCTET STRING,
swSingleIPMSRowStatus
RowStatus
}
swSingleIPMSID OBJECT-TYPE
SYNTAX INTEGER (1..32)
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The ID of the member switch. When creating a SwSingleIPMSEntry entry,
this object should fill a value between 1 to 32, but will not be
used during the create process (Note: The MS-ID is assigned by a Single IP
engine). The value of this object will be the correct member ID when
query/read."
::= { swSingleIPMSEntry 1 }
swSingleIPMSDeviceName OBJECT-TYPE
SYNTAX DisplayString (SIZE (0..64))
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Specifies the name of switch."
::= { swSingleIPMSEntry 2 }
swSingleIPMSMacAddr OBJECT-TYPE
SYNTAX MacAddress
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"This object specifies the MAC address of the member switch."
::= { swSingleIPMSEntry 3 }
swSingleIPMSFirmwareVer OBJECT-TYPE
SYNTAX DisplayString (SIZE (0..64))
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Specifies the firmware version of the switch."
::= { swSingleIPMSEntry 4 }
swSingleIPMSCapability OBJECT-TYPE
SYNTAX DisplayString (SIZE (0..64))
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Specifies the capability of the switch."
::= { swSingleIPMSEntry 5 }
swSingleIPMSPlatform OBJECT-TYPE
SYNTAX DisplayString (SIZE (0..64))
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Specifies the platform of the switch."
::= { swSingleIPMSEntry 6 }
swSingleIPMSHoldtime OBJECT-TYPE
SYNTAX INTEGER
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Specifies the holdtime of Single IP Management protocol sent by
this member switch."
::= { swSingleIPMSEntry 7 }
swSingleIPMSCasSource OBJECT-TYPE
SYNTAX INTEGER
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"Specifies the CaS ID when creating the MS entry. The object is used
only when creating the swSingleIPMSEntry. The value always shows 0."
::= { swSingleIPMSEntry 8 }
swSingleIPMSPassword OBJECT-TYPE
SYNTAX OCTET STRING (SIZE (0..16))
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"Specifies the CaS password when creating the MS entry. The object is used
only when creating the swSingleIPMSEntry. The value always shows a zero length string."
::= { swSingleIPMSEntry 9}
swSingleIPMSRowStatus OBJECT-TYPE
SYNTAX RowStatus
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"This object indicates the status of this entry.
Create means set CaS to MS, and DESTROY means set MS to CaS"
::= { swSingleIPMSEntry 10 }
-- -----------------------------------------------------------------------------
-- swSingleIPCaSTable
-- -----------------------------------------------------------------------------
swSingleIPCaSTable OBJECT-TYPE
SYNTAX SEQUENCE OF SwSingleIPCaSEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This table contains information about candidate switches.
This table is a read-only table listing all information about candidate
switches that will be maintained automatically by the Single IP topology discovery
protocol. "
::= { swSingleIPMgmt 4 }
swSingleIPCaSEntry OBJECT-TYPE
SYNTAX SwSingleIPCaSEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"A list of information about candidate switches that belong to the Single
IP Management group."
INDEX { swSingleIPCaSID }
::= { swSingleIPCaSTable 1 }
SwSingleIPCaSEntry ::=
SEQUENCE {
swSingleIPCaSID
INTEGER,
swSingleIPCaSDeviceName
DisplayString,
swSingleIPCaSMacAddr
MacAddress,
swSingleIPCaSFirmwareVer
DisplayString,
swSingleIPCaSCapability
DisplayString,
swSingleIPCaSPlatform
DisplayString,
swSingleIPCaSHoldtime
INTEGER
}
swSingleIPCaSID OBJECT-TYPE
SYNTAX INTEGER (1..100)
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The ID of the candidate switches in the LAN learned by the commander switch."
::= { swSingleIPCaSEntry 1 }
swSingleIPCaSDeviceName OBJECT-TYPE
SYNTAX DisplayString (SIZE (0..64))
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Specifies the name of switch."
::= { swSingleIPCaSEntry 2 }
swSingleIPCaSMacAddr OBJECT-TYPE
SYNTAX MacAddress
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"This object specifies the MAC address of the candidate switch."
::= { swSingleIPCaSEntry 3 }
swSingleIPCaSFirmwareVer OBJECT-TYPE
SYNTAX DisplayString (SIZE (0..64))
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Specifies the firmware version of the switch."
::= { swSingleIPCaSEntry 4 }
swSingleIPCaSCapability OBJECT-TYPE
SYNTAX DisplayString (SIZE (0..64))
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Specifies the capability of the switch."
::= { swSingleIPCaSEntry 5 }
swSingleIPCaSPlatform OBJECT-TYPE
SYNTAX DisplayString (SIZE (0..64))
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Specifies the platform of the switch."
::= { swSingleIPCaSEntry 6 }
swSingleIPCaSHoldtime OBJECT-TYPE
SYNTAX INTEGER
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Specifies the holdtime of the Single IP Management protocol
sent by this candidate switch."
::= { swSingleIPCaSEntry 7 }
-- -----------------------------------------------------------------------------
-- swSingleIPGroupTable
-- -----------------------------------------------------------------------------
swSingleIPGroupTable OBJECT-TYPE
SYNTAX SEQUENCE OF SwSingleIPGroupEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This table contains information about Single IP Management groups learned by the
commander switch.
This table is a read-only table listing all information about the Single IP groups that will
maintained automatically by Single IP topology discovery protocol."
::= { swSingleIPMgmt 5 }
swSingleIPGroupEntry OBJECT-TYPE
SYNTAX SwSingleIPGroupEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"A list of information about Single IP Management groups."
INDEX { swSingleIPGroupMacAddr }
::= { swSingleIPGroupTable 1 }
SwSingleIPGroupEntry ::=
SEQUENCE {
swSingleIPGroupMacAddr
MacAddress,
swSingleIPGroupName
DisplayString,
swSingleIPGroupDeviceName
DisplayString,
swSingleIPGroupMSNumber
INTEGER,
swSingleIPGroupFirmwareVer
DisplayString,
swSingleIPGroupCapability
DisplayString,
swSingleIPGroupPlatform
DisplayString,
swSingleIPGroupHoldtime
INTEGER
}
swSingleIPGroupMacAddr OBJECT-TYPE
SYNTAX MacAddress
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"This object specifies the MAC address of the commander switch."
::= { swSingleIPGroupEntry 1 }
swSingleIPGroupName OBJECT-TYPE
SYNTAX DisplayString (SIZE (0..64))
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Specifies the name of the Single IP Management group."
::= { swSingleIPGroupEntry 2 }
swSingleIPGroupDeviceName OBJECT-TYPE
SYNTAX DisplayString (SIZE (0..64))
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Specifies the name of commander switch of the group."
::= { swSingleIPGroupEntry 3 }
swSingleIPGroupMSNumber OBJECT-TYPE
SYNTAX INTEGER
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Specifies the member switch number of the group.
"
::= { swSingleIPGroupEntry 4 }
swSingleIPGroupFirmwareVer OBJECT-TYPE
SYNTAX DisplayString (SIZE (0..64))
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Specifies the firmware version of the switch."
::= { swSingleIPGroupEntry 5 }
swSingleIPGroupCapability OBJECT-TYPE
SYNTAX DisplayString (SIZE (0..64))
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Specifies the capability of the switch."
::= { swSingleIPGroupEntry 6 }
swSingleIPGroupPlatform OBJECT-TYPE
SYNTAX DisplayString (SIZE (0..64))
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Specifies the platform of the switch."
::= { swSingleIPGroupEntry 7 }
swSingleIPGroupHoldtime OBJECT-TYPE
SYNTAX INTEGER
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Specifies the holdtime of the Single IP Management protocol sent by this commander
switch."
::= { swSingleIPGroupEntry 8 }
-- -----------------------------------------------------------------------------
-- swSingleIPNeighborTable
-- -----------------------------------------------------------------------------
swSingleIPNeighborTable OBJECT-TYPE
SYNTAX SEQUENCE OF SwSingleIPNeighborEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This table contains information about Single IP Management neighbors learned by the
switch.
This table is a read-only table listing all the information about Single IP neighbors
that will be maintained automatically by the Single IP topology protocol."
::= { swSingleIPMgmt 6 }
swSingleIPNeighborEntry OBJECT-TYPE
SYNTAX SwSingleIPNeighborEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"A list of information about Single IP Management neighbors."
INDEX { swSingleIPNBReceivedPort,swSingleIPNBMacAddr }
::= { swSingleIPNeighborTable 1 }
SwSingleIPNeighborEntry ::=
SEQUENCE {
swSingleIPNBReceivedPort
INTEGER,
swSingleIPNBMacAddr
MacAddress,
swSingleIPNBRoleState
INTEGER
}
swSingleIPNBReceivedPort OBJECT-TYPE
SYNTAX INTEGER
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Specifies the received port of the neighbor switch."
::= { swSingleIPNeighborEntry 1 }
swSingleIPNBMacAddr OBJECT-TYPE
SYNTAX MacAddress
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"This object specifies the MAC address of the neighbor switch."
::= { swSingleIPNeighborEntry 2 }
swSingleIPNBRoleState OBJECT-TYPE
SYNTAX INTEGER {
commander(1),
candidate(2),
member(3)
}
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"This object specifies the role state of the neighbor switch."
::= { swSingleIPNeighborEntry 3 }
-- -----------------------------------------------------------------------------
-- Traps for use by SIM
-- -----------------------------------------------------------------------------
singleIPMSNotify OBJECT IDENTIFIER ::= {swSingleIPMIB 6}
singleIPMSNotifyPrefix OBJECT IDENTIFIER ::= {singleIPMSNotify 0}
swSingleIPMSColdStart NOTIFICATION-TYPE
OBJECTS { swSingleIPMSID, swSingleIPMSMacAddr }
STATUS current
DESCRIPTION
"The commander switch will send swSingleIPMSColdStart notification to the indicated
host when its member generates a cold start notification."
::= { singleIPMSNotifyPrefix 11 }
swSingleIPMSWarmStart NOTIFICATION-TYPE
OBJECTS { swSingleIPMSID, swSingleIPMSMacAddr }
STATUS current
DESCRIPTION
"The commander switch will send swSingleIPMSWarmStart notification to the indicated
host when its member generates a warm start notification."
::= { singleIPMSNotifyPrefix 12 }
swSingleIPMSLinkDown NOTIFICATION-TYPE
OBJECTS { swSingleIPMSID, swSingleIPMSMacAddr,ifIndex }
STATUS current
DESCRIPTION
"The commander switch will send swSingleIPMSLinkDown notification to the indicated
host when its member generates a link down notification."
::= { singleIPMSNotifyPrefix 13 }
swSingleIPMSLinkUp NOTIFICATION-TYPE
OBJECTS { swSingleIPMSID, swSingleIPMSMacAddr,ifIndex }
STATUS current
DESCRIPTION
"The commander switch will send swSingleIPMSLinkUp notification to the indicated
host when its member generates a link up notification."
::= { singleIPMSNotifyPrefix 14 }
swSingleIPMSAuthFail NOTIFICATION-TYPE
OBJECTS { swSingleIPMSID, swSingleIPMSMacAddr }
STATUS current
DESCRIPTION
"The commander switch will send swSingleIPMSAuthFail notification to the indicated
host when its member generates an authentation failure notification."
::= { singleIPMSNotifyPrefix 15 }
swSingleIPMSnewRoot NOTIFICATION-TYPE
OBJECTS { swSingleIPMSID, swSingleIPMSMacAddr }
STATUS current
DESCRIPTION
"The commander switch will send swSingleIPMSnewRoot notification to the indicated
host when its member generates a new root notification."
::= { singleIPMSNotifyPrefix 16 }
swSingleIPMSTopologyChange NOTIFICATION-TYPE
OBJECTS { swSingleIPMSID, swSingleIPMSMacAddr }
STATUS current
DESCRIPTION
"The commander switch will send swSingleIPMSTopologyChange notification to the
indicated host when its member generates a topology change notification."
::= { singleIPMSNotifyPrefix 17 }
swSingleIPMSrisingAlarm NOTIFICATION-TYPE
OBJECTS { swSingleIPMSID, swSingleIPMSMacAddr }
STATUS current
DESCRIPTION
"The commander switch will send swSingleIPMSrisingAlarm notification to
the indicated host when its member generates a rising alarm notification."
::= { singleIPMSNotifyPrefix 18 }
swSingleIPMSfallingAlarm NOTIFICATION-TYPE
OBJECTS { swSingleIPMSID,swSingleIPMSMacAddr }
STATUS current
DESCRIPTION
"The commander switch will send swSingleIPMSfallingAlarm notification to the
indicated host when its member generates a falling alarm notification."
::= { singleIPMSNotifyPrefix 19 }
swSingleIPMSmacNotification NOTIFICATION-TYPE
OBJECTS { swSingleIPMSID,swSingleIPMSMacAddr,swSingleIPMSTrapMessage }
STATUS current
DESCRIPTION
"The commander switch will send swSingleIPMSmacNotification notification to the
indicated host when its member generates a MAC address variation notification."
::= { singleIPMSNotifyPrefix 20}
swSingleIPMSPortTypeChange NOTIFICATION-TYPE
OBJECTS { swSingleIPMSID,swSingleIPMSMacAddr,ifIndex,swSingleIPMSTrapMessage }
STATUS current
DESCRIPTION
"The commander switch will send swSingleIPMSPortTypeChange notification to the
indicated host when its member generates a port type change notification."
::= { singleIPMSNotifyPrefix 21 }
swSingleIPMSPowerStatusChg NOTIFICATION-TYPE
OBJECTS { swSingleIPMSID,swSingleIPMSMacAddr,swSingleIPMSTrapMessage }
STATUS current
DESCRIPTION
"The commander switch will send swSingleIPMSPowerStatusChg notification to the
indicated host when its member generates a power status change notification."
::= { singleIPMSNotifyPrefix 22 }
swSingleIPMSPowerFailure NOTIFICATION-TYPE
OBJECTS { swSingleIPMSID,swSingleIPMSMacAddr,swSingleIPMSTrapMessage }
STATUS current
DESCRIPTION
"The commander switch will send swSingleIPMSPowerFailure notification to the
indicated host when its member generates a power failure notification."
::= { singleIPMSNotifyPrefix 23 }
swSingleIPMSPowerRecover NOTIFICATION-TYPE
OBJECTS { swSingleIPMSID,swSingleIPMSMacAddr,swSingleIPMSTrapMessage }
STATUS current
DESCRIPTION
"The commander switch will send swSingleIPMSPowerRecover notification to the
indicated host when its member generates a power recover notification."
::= { singleIPMSNotifyPrefix 24 }
-- -----------------------------------------------------------------------------
-- notificationBidings
-- -----------------------------------------------------------------------------
singleIPNotifyBidings OBJECT IDENTIFIER ::= { singleIPMSNotify 1 }
swSingleIPMSTrapMessage OBJECT-TYPE
SYNTAX OCTET STRING(SIZE (0..1024))
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The string that the member switch sent."
::= { singleIPNotifyBidings 1 }
END

View File

@ -0,0 +1,41 @@
-- *****************************************************************************
-- proprietary management MIB
-- *****************************************************************************
SWDGS1510PRIMGMT-MIB DEFINITIONS ::= BEGIN
IMPORTS
MODULE-IDENTITY FROM SNMPv2-SMI
dlink-mgmt,dlink-products FROM DLINK-ID-REC-MIB;
--
-- DGS1510 series Product
--
dlink-Dgs1510Prod OBJECT IDENTIFIER ::= { dlink-products 137 }
dlink-Dgs1510Prod-Dgs1510-20 OBJECT IDENTIFIER ::= { dlink-Dgs1510Prod 1 }
dlink-Dgs1510Prod-Dgs1510-28 OBJECT IDENTIFIER ::= { dlink-Dgs1510Prod 2 }
dlink-Dgs1510Prod-Dgs1510-28P OBJECT IDENTIFIER ::= { dlink-Dgs1510Prod 3 }
dlink-Dgs1510Prod-Dgs1510-52 OBJECT IDENTIFIER ::= { dlink-Dgs1510Prod 4 }
dlink-Dgs1510Prod-Dgs1510-28X OBJECT IDENTIFIER ::= { dlink-Dgs1510Prod 6 }
dlink-Dgs1510Prod-Dgs1510-52X OBJECT IDENTIFIER ::= { dlink-Dgs1510Prod 8 }
dlink-Dgs1510Prod-Dgs1510-28XMP OBJECT IDENTIFIER ::= { dlink-Dgs1510Prod 9 }
dlink-Dgs1510Prod-Dgs1510-52XMP OBJECT IDENTIFIER ::= { dlink-Dgs1510Prod 10 }
dlink-Dgs1510Proj OBJECT IDENTIFIER ::= { dlink-mgmt 118 }
dlink-Dgs1510ProjModel OBJECT IDENTIFIER ::= { dlink-Dgs1510Proj 1 }
dlink-Dgs1510Proj-Dgs1510-20 OBJECT IDENTIFIER ::= { dlink-Dgs1510ProjModel 1 }
dlink-Dgs1510Proj-Dgs1510-28 OBJECT IDENTIFIER ::= { dlink-Dgs1510ProjModel 2 }
dlink-Dgs1510Proj-Dgs1510-28P OBJECT IDENTIFIER ::= { dlink-Dgs1510ProjModel 3 }
dlink-Dgs1510Proj-Dgs1510-52 OBJECT IDENTIFIER ::= { dlink-Dgs1510ProjModel 4 }
dlink-Dgs1510Proj-Dgs1510-28X OBJECT IDENTIFIER ::= { dlink-Dgs1510ProjModel 6 }
dlink-Dgs1510Proj-Dgs1510-52X OBJECT IDENTIFIER ::= { dlink-Dgs1510ProjModel 8 }
dlink-Dgs1510Proj-Dgs1510-28XMP OBJECT IDENTIFIER ::= { dlink-Dgs1510ProjModel 9 }
dlink-Dgs1510Proj-Dgs1510-52XMP OBJECT IDENTIFIER ::= { dlink-Dgs1510ProjModel 10 }
END

View File

@ -0,0 +1,268 @@
-- -----------------------------------------------------------------------------
-- MIB NAME : ZONE-DEFENSE-MGMT-MIB
-- FILE NAME: ZoneDefense.mib
-- DATE : 2013/08/22
-- VERSION : 1.06
-- PURPOSE : To construct the MIB structure of Zone Defense function for
-- proprietary enterprise
-- -----------------------------------------------------------------------------
-- MODIFICTION HISTORY:
-- -----------------------------------------------------------------------------
-- Version, Date, Author
-- Description:
-- [New Object]
-- [Modification]
-- Notes: (Requested by who and which project)
--
-- Revision 1.06, 2013/08/22 by Tom Jin
-- For swZoneDefenseRemains,swZoneDefenseIpRemains,
-- swZoneDefenseMacRemains change the SYNTAX from Unsigned32 to Integer32
--
-- Revision 1.05, 2013/08/19 by Yedda Liao
-- update description of swZoneDefenseRemains,swZoneDefenseIpRemains,
-- swZoneDefenseMacRemains
--
-- Revision 1.04, 2013/08/7 by Yedda Liao
-- 1. For swZoneDefenseProtocol, swZoneDefenseMacProtocol
-- change the MAX-ACCESS from read-write to read-create
--
-- Revision 1.03, 2013/05/24 by Yedda Liao
-- 1. Add swZoneDefenseProtocol, swZoneDefenseDstPort, swZoneDefenseMacProtocol,
-- swZoneDefenseMacDstPort, swZoneDefenseStatus, swZoneDefenseRemains,
-- swZoneDefenseIpRemains, swZoneDefenseMacRemains
-- 2. Remove swZoneDefenseRemainingEntries
--
-- Revision 1.02, 2013/05/07 by Yedda Liao
-- [New Object]
-- Add swZoneDefenseProtocol, swZoneDefenseDstPort, swZoneDefenseMacProtocol,
-- swZoneDefenseMacDstPort for filter TCP/UDP/ICMP protocol packet
-- Add swZoneDefenseAclCapacity, swZoneDefenseIpRemaining,
-- swZoneDefenseMacRemaining
-- Modify OID and name of swZoneDefenseRemainingEntries on designing phase
--
-- Revision 1.01, 2013/03/27 by Yedda Liao
-- [New Object]
-- Add swZoneDefenseMacTable for blocking illegal host by MAC.
-- Add swZoneDefenseRemainingEntries.
--
-- Version 1.00, 2010/04/12
-- This is the first formal version for universal MIB definition.
-- -----------------------------------------------------------------------------
ZONE-DEFENSE-MGMT-MIB DEFINITIONS ::= BEGIN
IMPORTS
MODULE-IDENTITY,
OBJECT-TYPE,
Integer32,
Unsigned32,
IpAddress
FROM SNMPv2-SMI
RowStatus,
MacAddress
FROM SNMPv2-TC
dlink-common-mgmt FROM DLINK-ID-REC-MIB;
swZoneDefenseMIB MODULE-IDENTITY
LAST-UPDATED "201308220000Z"
ORGANIZATION "D-Link Corp."
CONTACT-INFO
"http://support.dlink.com"
DESCRIPTION
"The Structure of Zone Defense management for the proprietary enterprise."
::= { dlink-common-mgmt 92 }
swZoneDefenseMIBObjects OBJECT IDENTIFIER ::= { swZoneDefenseMIB 1 }
-- -----------------------------------------------------------------------------
-- swZoneDefenseTable
-- -----------------------------------------------------------------------------
swZoneDefenseTable OBJECT-TYPE
SYNTAX SEQUENCE OF SwZoneDefenseEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This table is used to create or delete Zone Defense ACL rules.
The rules for Zone Defense should have the highest priority of all
ACL rules."
::= { swZoneDefenseMIBObjects 1 }
swZoneDefenseEntry OBJECT-TYPE
SYNTAX SwZoneDefenseEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"Information about the Zone Defense ACL rule."
INDEX { swZoneDefenseAddress }
::= { swZoneDefenseTable 1 }
SwZoneDefenseEntry ::=
SEQUENCE {
swZoneDefenseAddress
IpAddress,
swZoneDefenseRowStatus
RowStatus,
swZoneDefenseProtocol
INTEGER,
swZoneDefenseDstPort
Integer32
}
swZoneDefenseAddress OBJECT-TYPE
SYNTAX IpAddress
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"The IP address which will be blocked by the ACL."
::= { swZoneDefenseEntry 1 }
swZoneDefenseRowStatus OBJECT-TYPE
SYNTAX RowStatus
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"This object indicates the status of this entry."
::= { swZoneDefenseEntry 2 }
swZoneDefenseProtocol OBJECT-TYPE
SYNTAX INTEGER {
all(1),
icmp(2),
tcp(3),
udp(4)
}
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"Specifies the IP protocol that needs to be filtered.
all(1) - Packet that matches the IP address of this entry will be dropped.
icmp(2) - Filter the ICMP protocol packet.
All ICMP packets that match the IP address of this entry will be dropped.
tcp(3) - Specify the TCP protocol packet.
udp(4) - Specify the UDP protocol packet."
::= { swZoneDefenseEntry 3 }
swZoneDefenseDstPort OBJECT-TYPE
SYNTAX Integer32 (-1 | 0..65535)
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"Specifies the TCP/UDP destination port.
A value of -1 indicates that this node is not actively used."
::= { swZoneDefenseEntry 4 }
-- -------------------------------------------------------------
swZoneDefenseMacTable OBJECT-TYPE
SYNTAX SEQUENCE OF SwZoneDefenseMacEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This table is used to create or delete Zone Defense ACL rules
according to MAC address.
The rules for Zone Defense should have the highest priority of all
ACL rules."
::= { swZoneDefenseMIBObjects 2 }
swZoneDefenseMacEntry OBJECT-TYPE
SYNTAX SwZoneDefenseMacEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"Information about the Zone Defense ACL rule."
INDEX { swZoneDefenseMacAddress }
::= { swZoneDefenseMacTable 1 }
SwZoneDefenseMacEntry ::=
SEQUENCE {
swZoneDefenseMacAddress
MacAddress,
swZoneDefenseMacRowStatus
RowStatus,
swZoneDefenseMacProtocol
INTEGER,
swZoneDefenseMacDstPort
Integer32
}
swZoneDefenseMacAddress OBJECT-TYPE
SYNTAX MacAddress
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"The MAC address which will be blocked by the ACL."
::= { swZoneDefenseMacEntry 1 }
swZoneDefenseMacRowStatus OBJECT-TYPE
SYNTAX RowStatus
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"This object indicates the status of this entry."
::= { swZoneDefenseMacEntry 2 }
swZoneDefenseMacProtocol OBJECT-TYPE
SYNTAX INTEGER {
all(1),
icmp(2),
tcp(3),
udp(4)
}
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"Specifies the IP protocol that needs to be filtered.
all(1) - Packet that matches the MAC address of this entry will be dropped.
icmp(2) - Filter the ICMP protocol packet.
All ICMP packets that match the MAC address of this entry will be dropped.
tcp(3) - Specify the TCP protocol packet.
udp(4) - Specify the UDP protocol packet."
::= { swZoneDefenseMacEntry 3 }
swZoneDefenseMacDstPort OBJECT-TYPE
SYNTAX Integer32 (-1 | 0..65535)
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"Specifies the TCP/UDP destination port.
A value of -1 indicates that this node is not actively used."
::= { swZoneDefenseMacEntry 4 }
-- -------------------------------------------------------------
swZoneDefenseStatus OBJECT-TYPE
SYNTAX INTEGER { enabled(1), disabled(2) }
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"The enabled/disabled status of zone defense function."
::= { swZoneDefenseMIBObjects 3 }
swZoneDefenseRemains OBJECT-TYPE
SYNTAX Integer32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The remaining entries that can be used by Zone Defense function.
It always returns -1 when swZoneDefenseStatus is disabled."
::= { swZoneDefenseMIBObjects 4 }
swZoneDefenseIpRemains OBJECT-TYPE
SYNTAX Integer32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The remaining entries that can be used by swZoneDefenseTable.
It always returns -1 when swZoneDefenseStatus is disabled."
::= { swZoneDefenseMIBObjects 5 }
swZoneDefenseMacRemains OBJECT-TYPE
SYNTAX Integer32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The remaining entries that can be used by swZoneDefenseMacTable.
It always returns -1 when swZoneDefenseStatus is disabled."
::= { swZoneDefenseMIBObjects 6 }
END

View File

@ -97,6 +97,9 @@ discovery:
mkdir($config['install_dir'] . "/mibs/$vendor/");
}
rename($config['temp_dir'] . "/{$options['o']}.mib", $config['install_dir'] . "/mibs/$vendor/$mib_name");
} elseif ($mib_name) {
$tmp_mib = explode('/', $mib_name);
$mib_name = array_pop($tmp_mib);
}
$tables = `{$config['snmptranslate']} -M {$config['mib_dir']}:{$config['mib_dir']}/$vendor -m $mib_name -TB '.*Table$' -Os`;
@ -121,7 +124,7 @@ discovery:
-
oid: $table_name
value: $value
num_oid: {$tmp_table[$value]}.{{ \$index }}
num_oid: '{$tmp_table[$value]}.{{ \$index }}'
descr: $descr";
if ($multiplier) {
$discovery[$type] .= "\n multiplier: $multiplier";

View File

@ -8,13 +8,13 @@
"sysDescr": "WS6-DGS-1210-52/F1 6.10.007",
"sysContact": null,
"version": null,
"hardware": "",
"hardware": null,
"features": null,
"location": null,
"os": "dlink",
"type": "network",
"serial": null,
"icon": "dlink.svg"
"icon": "dlink.svg",
"location": null
}
]
},
@ -28,11 +28,11 @@
"version": null,
"hardware": "WS6-DGS-1210-52/F1 Rev. ",
"features": null,
"location": null,
"os": "dlink",
"type": "network",
"serial": null,
"icon": "dlink.svg"
"icon": "dlink.svg",
"location": null
}
]
}

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff