FS.COM (Fiberstore) 'GBN' and 'SWITCH' devices support (#9734)

* Basic Support for Fiberstore devices

* Basic Support for Fiberstore devices

* mib files

* sysObjectID added

* mibs added

* MIB corrections + CPU discovery + version and SN

* CodeClimate + mempools

* CodeClimate + mempools

* mempools

* 5800

* testdata

* 5800

* tests

* mempools for 5800

* CodeClimate

* CodeClimate

* Cleaning and comments

* Tests for 5800

* CodeClimate

* Update Fs.php

* init processors[]

* optimized logo

* optimized logo

* optimized logo

* optimized logo

* split FS devices

* split FS devices

* split FS devices - tests

* split FS devices - class

* split FS devices - class

* split FS devices - tests

* removing un-necessry condition

* text and comments
This commit is contained in:
PipoCanaja 2019-02-11 00:31:25 +01:00 committed by Tony Murray
parent bc93d8c037
commit 7e18a07088
70 changed files with 149984 additions and 0 deletions

60
LibreNMS/OS/FsGbn.php Normal file
View File

@ -0,0 +1,60 @@
<?php
/**
* Fs.php
*
* -Description-
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
* @package LibreNMS
* @link http://librenms.org
* @copyright 2019 PipoCanaja
* @author PipoCanaja <pipocanaja@gmail.com>
*/
namespace LibreNMS\OS;
use LibreNMS\Device\Processor;
use LibreNMS\Interfaces\Discovery\ProcessorDiscovery;
use LibreNMS\OS;
class FsGbn extends OS implements ProcessorDiscovery
{
/**
* Discover processors.
* Returns an array of LibreNMS\Device\Processor objects that have been discovered
*
* @return array Processors
*/
public function discoverProcessors()
{
$processors = [];
// Test first pair of OIDs from GBNPlatformOAM-MIB
$processors_data = snmpwalk_cache_oid($this->getDevice(), 'cpuDescription', [], 'GBNPlatformOAM-MIB', 'fs');
$processors_data = snmpwalk_cache_oid($this->getDevice(), 'cpuIdle', $processors_data, 'GBNPlatformOAM-MIB', 'fs');
foreach ($processors_data as $index => $entry) {
$processors[] = Processor::discover(
$this->getName(),
$this->getDeviceId(),
'.1.3.6.1.4.1.13464.1.2.1.1.2.11.'.$index, //GBNPlatformOAM-MIB::cpuIdle.0 = INTEGER: 95
$index,
$entry['cpuDescription'],
-1,
100 - $entry['cpuIdle']
);
}
return $processors;
}
}

60
LibreNMS/OS/FsSwitch.php Normal file
View File

@ -0,0 +1,60 @@
<?php
/**
* Fs-switch.php
*
* -Description-
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
* @package LibreNMS
* @link http://librenms.org
* @copyright 2019 PipoCanaja
* @author PipoCanaja <pipocanaja@gmail.com>
*/
namespace LibreNMS\OS;
use LibreNMS\Device\Processor;
use LibreNMS\Interfaces\Discovery\ProcessorDiscovery;
use LibreNMS\OS;
class FsSwitch extends OS implements ProcessorDiscovery
{
/**
* Discover processors.
* Returns an array of LibreNMS\Device\Processor objects that have been discovered
*
* @return array Processors
*/
public function discoverProcessors()
{
$processors = [];
// Tests OID from SWITCH MIB.
$processors_data = snmpwalk_cache_oid($this->getDevice(), 'ssCpuIdle', [], 'SWITCH', 'fs');
foreach ($processors_data as $index => $entry) {
$processors[] = Processor::discover(
"fs-SWITCHMIB",
$this->getDeviceId(),
'.1.3.6.1.4.1.27975.1.2.11.' . $index,
$index,
"CPU",
-1,
100 - $entry['ssCpuIdle']
);
}
return $processors;
}
}

1
html/images/os/fs.svg Normal file
View File

@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" id="fs_1" viewBox="0 0 66.6 65.6"><style id="st394">.st0{display:none}.st1{fill:#a7a6a6}.st1,.st2{display:inline}.st3{fill:#d70c18}.st4{fill:#fff}.st5{fill:#4c4948}</style><circle class="st3" cx="32.8" cy="32.8" r="32.8" id="circle3832" fill="#d70c18"/><path class="st3" d="M66.6 16.4c0-3-2.5-5.5-5.5-5.5h-4c2.7 3 4.8 6.5 6.3 10.4 1.9-.8 3.2-2.7 3.2-4.9z" id="path3834" fill="#d70c18"/><path class="st4" d="M23.4 53.5h8.7c2.4 0 4.4-2 4.4-4.4 0-2.4-2-4.4-4.4-4.4h-8.7c-2.4 0-4.4 2-4.4 4.4 0 2.5 2 4.4 4.4 4.4zm1.4-15.2h20.7c2.7 0 4.9-2.2 4.9-4.9s-2.2-4.9-4.9-4.9H24.8c-2.7 0-4.9 2.2-4.9 4.9 0 2.6 2.2 4.9 4.9 4.9zM57.2 11h-31c-3 0-5.5 2.5-5.5 5.5s2.5 5.5 5.5 5.5h34.9c.8 0 1.6-.2 2.3-.5-1.4-4-3.5-7.5-6.2-10.5z" id="path3836" fill="#fff"/></svg>

After

Width:  |  Height:  |  Size: 785 B

View File

@ -0,0 +1,14 @@
os: fs-gbn
text: 'Fiberstore GBN'
type: network
icon: fs
group: fs
over:
- { graph: device_bits, text: 'Device Traffic' }
- { graph: device_processor, text: 'Processor Usage' }
- { graph: device_mempool, text: 'Memory Usage' }
mib_dir:
- fs
discovery:
- sysObjectID:
- .1.3.6.1.4.1.13464

View File

@ -0,0 +1,16 @@
os: fs-switch
text: 'Fiberstore Switch'
type: network
icon: fs
group: fs
over:
- { graph: device_bits, text: 'Device Traffic' }
- { graph: device_processor, text: 'Processor Usage' }
- { graph: device_mempool, text: 'Memory Usage' }
mib_dir:
- fs
discovery:
- sysObjectID:
- .1.3.6.1.4.1.51134
- .1.3.6.1.4.1.27975
- .1.3.6.1.4.1.12345

View File

@ -0,0 +1,34 @@
<?php
//
// Discovery for FS gbn devices.
//
//
if ($device['os'] == 'fs-gbn') {
echo 'FS : ';
//
// OIDs from GBNPlatformOAM-MIB
//
$mempools_array = snmpwalk_cache_oid($device, 'memorySize', $mempools_array, 'GBNPlatformOAM-MIB', 'fs');
$mempools_array = snmpwalk_cache_oid($device, 'memoryIdle', $mempools_array, 'GBNPlatformOAM-MIB', 'fs');
$mempools_array = snmpwalk_cache_oid($device, 'cpuDescription', $mempools_array, 'GBNPlatformOAM-MIB', 'fs');
d_echo($mempools_array);
foreach ($mempools_array as $index => $entry) {
//
// We keep the foreach in case multiple replies are seen here.
// We could replace it with a condition (if we suppose only 1 reply will ever come) but
// this would not change the complexity.
//
if ($entry['memorySize'] != 0) {
d_echo($index.' '.$entry['memorySize'].' -> '.$entry['memoryIdle'].' ('.$entry['cpuDescription'].")\n");
$descr = $entry['cpuDescription'];
if (empty($descr)) {
$descr = "Chassis CPU";
}
$descr .= " Memory";
$usage = $entry['memoryIdle'];
discover_mempool($valid_mempool, $device, $index, 'fs-gbn', $descr, '1', null, null);
} //end if
} //end foreach
} //end if
unset($mempools_array);

View File

@ -0,0 +1,22 @@
<?php
//
// Discovery for FS-switch devices.
//
if ($device['os'] == 'fs-switch') {
echo 'FS : ';
$mempools_array = snmpwalk_cache_oid($device, 'memTotalReal', [], 'SWITCH', 'fs');
$mempools_array = snmpwalk_cache_oid($device, 'memTotalFree', $mempools_array, 'SWITCH', 'fs');
$mempools_array = snmpwalk_cache_oid($device, 'memTotalUsed', $mempools_array, 'SWITCH', 'fs');
d_echo($mempools_array);
foreach ($mempools_array as $index => $entry) {
if ($entry['memTotalReal'] > 0) {
d_echo($index.' '.$entry['memTotalReal'].' -> '.$entry['memTotalFree']."\n");
$descr = "Chassis";
$descr .= " Memory";
$usage = $entry['memTotalFree'];
discover_mempool($valid_mempool, $device, $index, 'fs-switch', $descr, '1', null, null);
} //end if
} //end foreach
} //end if
unset($mempools_array);

View File

@ -0,0 +1,38 @@
<?php
//
// Polling for "fs-gbn" mempool_type, which belongs to Fiberstore devices, using
// GBNPlatformOAM-MIB mib
//
//
$oid = $mempool['mempool_index'];
d_echo('FS Mempool');
if (!is_array($mempool_cache['fs'])) {
d_echo('caching'); //only occurs the first time if multiple mempools are polled
$mempool_cache['fs'] = array();
$mempool_cache['fs'] = snmpwalk_cache_oid($device, 'memorySize', $mempool_cache['fs'], 'GBNPlatformOAM-MIB', 'fs');
$mempool_cache['fs'] = snmpwalk_cache_oid($device, 'memoryIdle', $mempool_cache['fs'], 'GBNPlatformOAM-MIB', 'fs');
d_echo($mempool_cache);
}
$entry = $mempool_cache['fs'][$oid];
//
// The mib states that it should be in bytes already, but in real life, it is not so true
// We suppose that any value below 32768 is clearly not bytes and we understand it as MBytes
//
if ($entry['memorySize'] < (32 * 1024)) {
$entry['memorySize'] = ($entry['memorySize'] * 1024 * 1024);
$entry['memoryIdle'] = ($entry['memoryIdle'] * 1024 * 1024);
}
//
// little math for usage in percents, and absolute values.
//
if ($entry['memorySize'] > 0) {
$perc = ($entry['memorySize'] - $entry['memoryIdle']) / $entry['memorySize'] * 100;
$mempool['total'] = $entry['memorySize'];
$mempool['used'] = ($entry['memorySize'] - $entry['memoryIdle']);
$mempool['free'] = ($entry['memoryIdle']);
}

View File

@ -0,0 +1,27 @@
<?php
//
// Polling for "fs-switch" mempool_type, which belongs to Fiberstore devices, using
// SWITCH mib
//
$oid = $mempool['mempool_index'];
d_echo('FS Mempool (SWITCHMIB)');
if (!is_array($mempool_cache['fs-switchmib'])) {
d_echo('caching');
$mempool_cache['fs-switchmib'] = snmpwalk_cache_oid($device, 'memTotalReal', [], 'SWITCH', 'fs');
$mempool_cache['fs-switchmib'] = snmpwalk_cache_oid($device, 'memTotalFree', $mempool_cache['fs-switchmib'], 'SWITCH', 'fs');
$mempool_cache['fs-switchmib'] = snmpwalk_cache_oid($device, 'memTotalUsed', $mempool_cache['fs-switchmib'], 'SWITCH', 'fs');
d_echo($mempool_cache);
}
$entry = $mempool_cache['fs-switchmib'][$oid];
//
// Let's do some simple calculation
//
if ($entry['memTotalReal'] > 0) {
$perc = ($entry['memTotalUsed']) / $entry['memTotalReal'] * 100;
$mempool['total'] = ($entry['memTotalReal'] * 1024);
$mempool['used'] = ($entry['memTotalUsed'] * 1024);
$mempool['free'] = ($entry['memTotalFree'] * 1024);
}

View File

@ -0,0 +1,42 @@
<?php
if (!empty($matches[2])) {
$version .= " (" . trim($matches[2]) . ")";
}
// List of OIDs for HW recognition, add any potential HW OID here.
$hwOidList = [
'.1.3.6.1.4.1.13464.1.2.1.1.2.15.0', //GBNPlatformOAM-MIB::productName.0
];
foreach ($hwOidList as $oid) {
$hardware_tmp = snmp_get($device, $oid, '-OQv');
if (!empty($hardware_tmp)) {
$hardware = $hardware_tmp;
}
}
// List of OIDs for version, add any potential OID here.
// As the mib is really buggy, let's use numeric OID for now
$verOidList = [
'.1.3.6.1.4.1.13464.1.2.1.1.2.2.0', //GBNPlatformOAM-MIB::softwareVersion.0
];
foreach ($verOidList as $oid) {
$version_tmp = snmp_get($device, $oid, '-OQv');
if (!empty($version_tmp)) {
$version = $version_tmp;
break;
}
}
//List of OIDs for SN, add any potential device SN OID here
$snOidList = [
'.1.3.6.1.4.1.13464.1.2.1.1.2.19.0',
];
foreach ($snOidList as $oid) {
$serial_tmp = snmp_get($device, $oid, '-OQv');
if (!empty($serial_tmp)) {
$serial = $serial_tmp;
break;
}
}

View File

@ -0,0 +1,42 @@
<?php
if (!empty($matches[2])) {
$version .= " (" . trim($matches[2]) . ")";
}
// List of OIDs for HW recognition, add any potential HW OID here.
$hwOidList = [
'.1.3.6.1.4.1.27975.37.1.5.1.4.1.1',
];
foreach ($hwOidList as $oid) {
$hardware_tmp = snmp_get($device, $oid, '-OQv');
if (!empty($hardware_tmp)) {
$hardware = $hardware_tmp;
}
}
// List of OIDs for version, add any potential OID here.
// As the mib is really buggy, let's use numeric OID for now
$verOidList = [
'.1.3.6.1.4.1.27975.1.3.5.0', //SWITCH::version.0
];
foreach ($verOidList as $oid) {
$version_tmp = snmp_get($device, $oid, '-OQv');
if (!empty($version_tmp)) {
$version = $version_tmp;
break;
}
}
//List of OIDs for SN, add any potential device SN OID here
$snOidList = [
'.1.3.6.1.4.1.27975.37.1.5.1.10.1.1',
];
foreach ($snOidList as $oid) {
$serial_tmp = snmp_get($device, $oid, '-OQv');
if (!empty($serial_tmp)) {
$serial = $serial_tmp;
break;
}
}

1610
mibs/MGMD-STD-MIB Normal file

File diff suppressed because it is too large Load Diff

774
mibs/MSTP-MIB Normal file
View File

@ -0,0 +1,774 @@
MSTP-MIB DEFINITIONS ::= BEGIN
IMPORTS
MODULE-IDENTITY, OBJECT-TYPE, Counter32, Integer32
FROM SNMPv2-SMI
TruthValue, RowStatus, DisplayString
FROM SNMPv2-TC
TimeTicks
FROM RFC1155-SMI
BridgeId, Timeout, dot1dBridge
FROM BRIDGE-MIB;
--gbnL2 FROM ADMIN-MASTER-MIB;
mstpMib MODULE-IDENTITY
LAST-UPDATED "0412050000Z"
ORGANIZATION "IETF Bridge MIB Working Group"
CONTACT-INFO
"Email: Bridge-mib@ietf.org"
DESCRIPTION
" The Bridge MIB Extension module for managing Sdevices
that support the Multiple Spanning Tree Protocol defined
by IEEE 802.1s."
REVISION "0412050000Z"
DESCRIPTION
"Draft 1"
::= { dot1dBridge 8 }
mstpMIBObjects OBJECT IDENTIFIER ::= { mstpMib 1 }
dot1sStp OBJECT IDENTIFIER ::= { mstpMIBObjects 1 }
dot1sStpName OBJECT-TYPE
SYNTAX DisplayString (SIZE (0..32))
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"The configuration name that identifies the MST
region and is used as one of the inputs in the
computation of the MST Configuration Identifier.
This object does not have any default value."
REFERENCE
"IEEE 802.1s clause 13.7"
::= { dot1sStp 1 }
dot1sStpRevision OBJECT-TYPE
SYNTAX Integer32 (0..65535)
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object identifies the MST revision that
identifies the MST region and is used as one
of the inputs in the computation of the MST
configuration Identifier. This object does not
have any default value."
REFERENCE
"IEEE 802.1s: Section 13.7"
::= { dot1sStp 2 }
dot1sStpEnable OBJECT-TYPE
SYNTAX TruthValue
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"This parameter is used for enabling or disabling
MST globally on all the bridging ports."
REFERENCE
"IEEE 802.1s"
DEFVAL { 2 }
::= { dot1sStp 3 }
dot1sStpBridgeMaxAge OBJECT-TYPE
SYNTAX Timeout (6..40)
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"The value that all bridges use for MaxAge when
this bridge is acting as the root. This parameter
is applicable for all MST Instances including CIST."
REFERENCE
"IEEE 802.1s: Section 13.23.4, 13.23.10"
DEFVAL { 20 }
::= { dot1sStp 4 }
dot1sStpBridgeHelloTime OBJECT-TYPE
SYNTAX Timeout (1..10)
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"The value that all bridges use for HelloTime when
this bridge is acting as the root. This parameter
is applicable for all MST Instances including CIST."
REFERENCE
"IEEE 802.1s: Section 13.23.4, 13.23.10"
DEFVAL { 2 }
::= { dot1sStp 5 }
dot1sStpBridgeForwardDelay OBJECT-TYPE
SYNTAX Timeout (4..30)
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"The value that all bridges use for ForwardDelay
when this bridge is acting as the root. This parameter
is applicable for all MST Instances including CIST."
REFERENCE
"IEEE 802.1s: Section 13.23.4, 13.23.10"
DEFVAL { 15 }
::= { dot1sStp 6 }
dot1sStpBridgeMaxHops OBJECT-TYPE
SYNTAX Unsigned32 (0..255)
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"The maximum number of hops that the information for a
particular Spanning Tree instance may traverse (via
relay of BPDUs within the applicable MST region) before
being discarded. This value is used only if this bridge
is the CIST Regional Root and/or the MSTI Regional Root
for one or more Multiple Spanning Tree instances."
DEFVAL { 20 }
::= { dot1sStp 7 }
dot1sStpTxHoldCount OBJECT-TYPE
SYNTAX Integer32 (1..15)
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The value used by the Port Transmit state machine to
limit the maximum transmission rate of MST BPDUs within
the hello interval."
REFERENCE
"IEEE 802.1s: Section 13.22"
DEFVAL { 3 }
::= { dot1sStp 8 }
dot1sStpProtocolSpecification OBJECT-TYPE
SYNTAX INTEGER {
unknown(1),
decLb100(2),
ieee8021d(3),
ieee8021w(4),
ieee8021s(5)
}
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"An indication of what version of the Spanning
Tree Protocol is being run. The value
'decLb100(2)' indicates the DEC LANbridge 100
Spanning Tree protocol. IEEE 802.1w
implementations will return 'ieee8021w(4)'. IEEE
802.1s implementations will return 'ieee8021s(5). If
future versions of the IEEE Spanning Tree Protocol
are released that are incompatible with the
current version a new value will be defined."
REFERENCE
"IEEE 802.1s: Section 13.22"
DEFVAL { 5 }
::= { dot1sStp 9 }
dot1sStpInstTable OBJECT-TYPE
SYNTAX SEQUENCE OF Dot1sStpInstEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"A table that contains MST instance-specific
configuration and operational information."
::= { dot1sStp 10 }
dot1sStpInstEntry OBJECT-TYPE
SYNTAX Dot1sStpInstEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"A list of information maintained by every mst instance
about the STP topology for that instance."
INDEX { dot1sStpInstId }
::= { dot1sStpInstTable 1 }
Dot1sStpInstEntry ::=
SEQUENCE {
dot1sStpInstId
Integer32,
dot1sStpPriority
Integer32,
dot1sStpInstTimeSinceTopologyChange
TimeTicks,
dot1sStpInstTopChanges
Counter32,
dot1sStpInstDesignatedRoot
BridgeId,
dot1sStpInstRootCost
Integer32,
dot1sStpInstRootPort
Integer32,
dot1sStpInstMaxAge
Timeout,
dot1sStpInstHelloTime
Timeout,
dot1sStpInstForwardDelay
Timeout,
dot1sStpInstAdminEnable
TruthValue,
dot1sStpInstOperEnable
TruthValue
}
dot1sStpInstId OBJECT-TYPE
SYNTAX Integer32 (1..64)
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"Identifier of this MST Instance"
REFERENCE
"IEEE 802.1s"
::= { dot1sStpInstEntry 1 }
dot1sStpPriority OBJECT-TYPE
SYNTAX Integer32 (0..61440)
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"The value of the write-able portion of the Bridge
ID, i.e., the first two octets, out of which the
priority is the most significant 4 bits of the first
octet of the (8 octet long) Bridge ID. The other
(last) 6 octets of the Bridge ID are given by the
value of dot1dBaseBridgeAddress in the BRIDGE-MIB.
The value of this object should always be a multiple
of 4096."
REFERENCE
"IEEE 802.1s: Section 13.23.2"
DEFVAL { 32768 }
::= { dot1sStpInstEntry 2 }
dot1sStpInstTimeSinceTopologyChange OBJECT-TYPE
SYNTAX TimeTicks
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The time (in hundredths of a second) since the
last time a topology change was detected by the
bridge entity running MSTP."
REFERENCE
" IEEE 802.1D-1990: Section 6.8.1.1.3"
::= { dot1sStpInstEntry 3 }
dot1sStpInstTopChanges OBJECT-TYPE
SYNTAX Counter32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The total number of topology changes detected by
this bridge entity running MST since the management
entity was last reset or initialized."
REFERENCE
" IEEE 802.1D-1990: Section 6.8.1.1.3"
::= { dot1sStpInstEntry 4 }
dot1sStpInstDesignatedRoot OBJECT-TYPE
SYNTAX BridgeId
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The bridge identifier of the root of the
corresponding spanning tree instance as determined
by the Spanning Tree Protocol for that instance.
This value is used as the CIST Root Identifier or MSTI
regional root identifier parameter in all MST BPDUs
originated by this node."
REFERENCE
"IEEE 802.1s: Section 13.23.6, 13.23.12"
::= { dot1sStpInstEntry 5 }
dot1sStpInstRootCost OBJECT-TYPE
SYNTAX Integer32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The cost of the path to the root as seen from
this bridge for this instance."
REFERENCE
"IEEE 802.1s: Section 13.23.6, 13.23.12"
::= { dot1sStpInstEntry 6 }
dot1sStpInstRootPort OBJECT-TYPE
SYNTAX Integer32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The port number of the port which offers the
lowest cost path from this bridge to the root
bridge for this instance."
REFERENCE
"IEEE 802.1s: Section 13.23.6, 13.23.12"
::= { dot1sStpInstEntry 7 }
dot1sStpInstMaxAge OBJECT-TYPE
SYNTAX Timeout
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The maximum age of Spanning Tree Protocol
information learned from the network on any port
before it is discarded, in units of hundredths of
a second. This is the actual value, which is
advertised by the Root bridge and is currently
used for this MST Instance."
REFERENCE
"IEEE 802.1s: Section 13.23.7, 13.23.13"
::= { dot1sStpInstEntry 8 }
dot1sStpInstHelloTime OBJECT-TYPE
SYNTAX Timeout
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The period of time between the transmission of
MST BPDUs by this node on any port when it is the
root of the spanning tree or trying to become so,
in units of hundredths of a second. This is the actual
value, which is advertised by the Root bridge and is
currently used for this MST Instance."
REFERENCE
"IEEE 802.1s: Section 13.23.7, 13.23.13"
::= { dot1sStpInstEntry 9 }
dot1sStpInstForwardDelay OBJECT-TYPE
SYNTAX Timeout
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"This time value, measured in units of hundredths
of a second, controls how fast a port changes its
spanning state when moving towards the Forwarding
state. The value determines how long the port
stays in each of the Discarding and Learning
states, which precede the Forwarding state. This
value is also used, when a topology change has
been detected and is underway, to age all dynamic
entries in the Forwarding Database. [Note that
this value is the one that this bridge is
currently using, in contrast to
dot1sStpBridgeForwardDelay which is the value that
this bridge and all others would start using
if/when this bridge were to become the root.]"
REFERENCE
"IEEE 802.1s: Section 13.23.7, 13.23.13"
::= { dot1sStpInstEntry 10 }
dot1sStpInstAdminEnable OBJECT-TYPE
SYNTAX TruthValue
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"The administrative enabled/disabled status of the
instance"
REFERENCE
"IEEE 802.1s"
DEFVAL { 2 }
::= { dot1sStpInstEntry 11 }
dot1sStpInstOperEnable OBJECT-TYPE
SYNTAX TruthValue
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The operational enabled/disabled status of the
instance. An MST Instance may be administratively
enabled but may not be operationally running, for
example, when no VLAN is mapped to that MST Instance."
REFERENCE
"IEEE 802.1s"
DEFVAL { 2 }
::= { dot1sStpInstEntry 12 }
dot1sStpPortTable OBJECT-TYPE
SYNTAX SEQUENCE OF Dot1sStpPortEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"A table that contains MSTP ports' information."
::= { dot1sStp 11 }
dot1sStpPortEntry OBJECT-TYPE
SYNTAX Dot1sStpPortEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"A list of information maintained by every MST port
about the Spanning Tree Protocol state for that port."
INDEX { dot1sStpPort }
::= { dot1sStpPortTable 1 }
Dot1sStpPortEntry ::=
SEQUENCE {
dot1sStpPort
Integer32,
dot1sStpPortAdminEdgePort
TruthValue,
dot1sStpPortAdminPointToPoint
INTEGER,
dot1sStpPortOperEdgePort
TruthValue,
dot1sStpPortOperPointToPoint
TruthValue,
dot1sStpPortExterPathCost
Integer32,
dot1sStpVersion
INTEGER,
dot1sStpPortSnoopingEnable
TruthValue
}
dot1sStpPort OBJECT-TYPE
SYNTAX Integer32 (0..65535)
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"The port number of the port for which this entry
contains Spanning Tree Protocol management
information."
REFERENCE
" IEEE 802.1s: Section 13.24.21"
::= { dot1sStpPortEntry 1 }
dot1sStpPortAdminEdgePort OBJECT-TYPE
SYNTAX TruthValue
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"The administrative value of the Edge Port parameter. A
value of TRUE(1) indicates that this port should be
assumed as an edge-port and a value of FALSE(2) indicates
that this port should be assumed as a non-edge-port."
REFERENCE
"IEEE 802.1s: Section 12.8.2.1.3"
::= { dot1sStpPortEntry 2 }
dot1sStpPortAdminPointToPoint OBJECT-TYPE
SYNTAX INTEGER {
forceTrue(1),
forceFalse(2),
auto(3)
}
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"The administrative point-to-point status of the LAN segment
attached to this port. A value of forceTrue(1) indicates that
this port should always be treated as if it is connected to
a point-to-point link. A value of forceFalse(2) indicates
that this port should be treated as having a shared media
connection. A value of auto(3) indicates that this port is
considered to have a point-to-point link if it is an Aggregator
and all of its members are aggregatable, or if the MAC entity
is configured for full duplex operation, either through
auto-negotiation or by management means."
REFERENCE
"IEEE 802.1s: Section 13.18"
::= { dot1sStpPortEntry 3 }
dot1sStpPortOperEdgePort OBJECT-TYPE
SYNTAX TruthValue
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The operational value of the Edge Port parameter. A
value of TRUE(1) indicates that this port should be
assumed as an edge-port and a value of FALSE(2) indicates
that this port should be assumed as a non-edge-port."
REFERENCE
"IEEE 802.1s: Section 12.8.2.1.3"
::= { dot1sStpPortEntry 4 }
dot1sStpPortOperPointToPoint OBJECT-TYPE
SYNTAX TruthValue
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The operational point-to-point status of the LAN segment
attached to this port. It indicates whether a port is
considered to have a point-to-point connection or not.
The value is determined by management or by auto-detection,
as described in the dot1dStpPortAdminPointToPoint object."
REFERENCE
"IEEE 802.1s: Section 13.18"
::= { dot1sStpPortEntry 5 }
dot1sStpPortExterPathCost OBJECT-TYPE
SYNTAX Integer32 (1..200000000)
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"The contribution of this port to the path cost of
paths towards the spanning tree root which include
this port. 802.1D-1990 recommends that the
default value of this parameter be in inverse
proportion to the speed of the attached LAN."
REFERENCE
"IEEE 802.1s: Section 13.24.8, 13.24.17"
::= { dot1sStpPortEntry 6 }
dot1sStpVersion OBJECT-TYPE
SYNTAX INTEGER {
stpCompatible(0),
rstp-mstp(2)
}
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The version of Spanning Tree Protocol the bridge is
currently running. The value 'stpCompatible(0)'
indicates the Spanning Tree Protocol specified in
IEEE 802.1D and 'rstp/mstp(2)' indicates the Rapid
Spanning Tree Protocol specified in IEEE 802.1w and
Multiple Spanning Tree Protocol specified in IEEE
802.1s. New value may be defined as future versions
of the protocol become available."
REFERENCE
"IEEE 802.1s: Section 14.2"
DEFVAL { rstp-mstp }
::= { dot1sStpPortEntry 7 }
dot1sStpInstPortTable OBJECT-TYPE
SYNTAX SEQUENCE OF Dot1sStpInstPortEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"A table that contains MST port and instance
information."
::= { dot1sStp 12 }
dot1sStpInstPortEntry OBJECT-TYPE
SYNTAX Dot1sStpInstPortEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"A list of information maintained by every MST port
for each MST instance it belongs to about the Spanning
Tree Protocol state for that port."
INDEX { dot1sStpInstId, dot1sStpPort }
::= { dot1sStpInstPortTable 1 }
Dot1sStpInstPortEntry ::=
SEQUENCE {
dot1sStpInstPortPriority
Integer32,
dot1sStpInstPortState
INTEGER,
dot1sStpInstPortPathCost
Integer32,
dot1sStpInstPortDesignatedRoot
BridgeId,
dot1sStpInstPortDesignatedCost
Integer32,
dot1sStpInstPortDesignatedBridge
BridgeId,
dot1sStpInstPortDesignatedPort
OCTET STRING,
dot1sStpInstPortForwardTransitions
Counter32,
dot1sStpInstPortRole
INTEGER
}
dot1sStpInstPortPriority OBJECT-TYPE
SYNTAX Integer32 (0..240)
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"The value of the priority field which is
contained in the most significant 4 bits
of the first (in network byte order)
octet of the (2 octet long) Port ID. As it is
contained only in 4 bits, the value has to be
a multiple of 16. The other octet of the Port
ID is given by the value of dot1dStpPort."
REFERENCE
"IEEE 802.1s: Section 13.24.21"
::= { dot1sStpInstPortEntry 1 }
dot1sStpInstPortState OBJECT-TYPE
SYNTAX INTEGER {
disabled(1),
discarding(2),
learning(3),
forwarding(4)
}
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"The port's current state as defined by
application of the Spanning Tree Protocol. This
state controls what action a port takes on
reception of a frame. For ports which
are disabled (see dot1dStpPortEnable), this object
will have a value of disabled(1)."
REFERENCE
"IEEE 802.1s: Section 13.16"
::= { dot1sStpInstPortEntry 2 }
dot1sStpInstPortPathCost OBJECT-TYPE
SYNTAX Integer32 (1..200000000)
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"The contribution of this port to the path cost of
paths towards the spanning tree root which include
this port. 802.1D-1990 recommends that the
default value of this parameter be in inverse
proportion to the speed of the attached LAN."
REFERENCE
"IEEE 802.1s: Section 13.24.8, 13.24.17"
::= { dot1sStpInstPortEntry 3 }
dot1sStpInstPortDesignatedRoot OBJECT-TYPE
SYNTAX BridgeId
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The unique Bridge Identifier of the Bridge
recorded as the Root in the Configuration BPDUs
transmitted by the Designated Bridge for the
segment to which the port is attached."
REFERENCE
"IEEE 802.1s: Section 13.24.4, 13.24.11"
::= { dot1sStpInstPortEntry 4 }
dot1sStpInstPortDesignatedCost OBJECT-TYPE
SYNTAX Integer32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The path cost of the Designated Port of the
segment connected to this port. This value is
compared to the Root Path Cost field in received
bridge PDUs."
REFERENCE
"IEEE 802.1s: Section 13.24.4, 13.24.11"
::= { dot1sStpInstPortEntry 5 }
dot1sStpInstPortDesignatedBridge OBJECT-TYPE
SYNTAX BridgeId
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The Bridge Identifier of the bridge which this
port considers to be the Designated Bridge for
this port's segment."
REFERENCE
"IEEE 802.1s: Section 13.24.4, 13.24.11"
::= { dot1sStpInstPortEntry 6 }
dot1sStpInstPortDesignatedPort OBJECT-TYPE
SYNTAX OCTET STRING (SIZE (2))
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The Port Identifier of the port on the Designated
Bridge for this port's segment."
REFERENCE
"IEEE 802.1s: Section 13.24.4, 13.24.11"
::= { dot1sStpInstPortEntry 7 }
dot1sStpInstPortForwardTransitions OBJECT-TYPE
SYNTAX Counter32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The number of times this port has transitioned
from the Learning state to the Forwarding state."
REFERENCE
"IEEE 802.1s"
::= { dot1sStpInstPortEntry 8 }
dot1sStpInstPortRole OBJECT-TYPE
SYNTAX INTEGER {
master(0),
alternate-backup(1),
root(2),
designated(3)
}
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The role of the port. As per IEEE 802.1s, the
port can have any of the following roles:
Disabled, Root, Designated, Alternate, Backup,
Master"
REFERENCE
"IEEE 802.1s: Section 13.24.25"
::= { dot1sStpInstPortEntry 9 }
dot1sStpVlanTable OBJECT-TYPE
SYNTAX SEQUENCE OF Dot1sStpVlanEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"A table that contains MSTI-VLAN mapping."
::= { dot1sStp 13 }
dot1sStpVlanEntry OBJECT-TYPE
SYNTAX Dot1sStpVlanEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"A list of information maintained by every MST instance
about the VLANs mapped to that instance."
INDEX { dot1sStpVlanIndex }
::= { dot1sStpVlanTable 1 }
Dot1sStpVlanEntry ::=
SEQUENCE {
dot1sStpVlanIndex
Integer32,
dot1sStpVlanInstId
Integer32
}
dot1sStpVlanIndex OBJECT-TYPE
SYNTAX Integer32 (1..4094)
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This is the primary index to the MSTI-VLAN Table.
It signifies the index to the VLAN range entry in
the table."
REFERENCE
"IEEE 802.1s"
::= { dot1sStpVlanEntry 1 }
dot1sStpVlanInstId OBJECT-TYPE
SYNTAX Integer32 (0..15)
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"The MST Instance value the VLAN mapped to."
REFERENCE
"IEEE 802.1s"
::= { dot1sStpVlanEntry 2 }
dot1sStpPortSnoopingEnable OBJECT-TYPE
SYNTAX TruthValue
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This parameter is used for enabling or disabling
digest snooping on the bridge port."
--使能或关闭摘要侦听特性
::= { dot1sStpPortEntry 8}
dot1sStpTrapTable OBJECT IDENTIFIER ::= { dot1sStp 14 }
dot1sStpTrapEntry OBJECT IDENTIFIER ::= { dot1sStpTrapTable 1 }
dot1sStpInstNewRoot NOTIFICATION-TYPE
OBJECTS { dot1sStpInstDesignatedRoot }
STATUS current
DESCRIPTION
"Root bridge changed for the mstp."
::= { dot1sStpTrapEntry 1 }
dot1sStpInstPortForwarding NOTIFICATION-TYPE
OBJECTS { dot1sStpPort }
STATUS current
DESCRIPTION
"Port status is turned from blocking to forwarding."
::= { dot1sStpTrapEntry 2 }
END

841
mibs/STP-MIB Normal file
View File

@ -0,0 +1,841 @@
STP-MIB DEFINITIONS ::= BEGIN
IMPORTS
MODULE-IDENTITY, Counter32, TimeTicks, OBJECT-TYPE, Integer32
FROM SNMPv2-SMI
MODULE-COMPLIANCE, OBJECT-GROUP
FROM SNMPv2-CONF
gbnL2 FROM ADMIN-MASTER-MIB;
stpMib MODULE-IDENTITY
LAST-UPDATED "9904230031Z" -- April 23, 1999
ORGANIZATION "admin Inc."
CONTACT-INFO
"admin
E-mail: "
DESCRIPTION "STP module management."
REVISION "9905130000Z" -- May 13, 1999
DESCRIPTION "Initial Version"
::= { gbnL2 3 }
stpMIBObjects OBJECT IDENTIFIER ::= { stpMib 1 }
stpDot1dStp OBJECT IDENTIFIER ::= { stpMIBObjects 1 }
-- All representations of MAC addresses in this MIB Module
-- use, as a textual convention (i.e. this convention does
-- not affect their encoding), the data type:
-- MacAddress ::= OCTET STRING (SIZE (6)) a 6 octet address
-- in the
-- "canonical"
-- order
-- defined by IEEE 802.1a, i.e., as if it were transmitted
-- least significant bit first, even though 802.5 (in
-- contrast to other n802.x protocols) requires MAC
-- addresses to be transmitted most significant bit first.
--
-- 16-bit addresses, if needed, are represented by setting
-- their upper 4 octets to all 0's, i.e., AAFF would be
-- represented as 00000000AAFF.
-- Similarly, all representations of Bridge-Id in this MIB
-- Module use, as a textual convention (i.e. this
-- convention does not affect their encoding), the data
-- type:
BridgeId ::= OCTET STRING (SIZE (8)) -- the
-- Bridge-Identifier
-- as used in the
-- Spanning Tree
-- Protocol to uniquely identify a bridge. Its first two
-- octets (in network byte order) contain a priority
-- value and its last 6 octets contain the MAC address
-- used to refer to a bridge in a unique fashion
-- (typically, the numerically smallest MAC address
-- of all ports on the bridge).
-- Several objects in this MIB module represent values of
-- timers used by the Spanning Tree Protocol. In this
-- MIB, these timers have values in units of hundreths of
-- a second (i.e. 1/100 secs).
-- These timers, when stored in a Spanning Tree Protocol's
-- BPDU, are in units of 1/256 seconds. Note, however,
-- that 802.1D-1990 specifies a settable granularity of
-- no more than 1 second for these timers. To avoid
-- ambiguity, a data type is defined here as a textual
-- convention and all representation of these timers
-- in this MIB module are defined using this data type. An
-- algorithm is also defined for converting between the
-- different units, to ensure a timer's value is not
-- distorted by multiple conversions.
-- The data type is:
Timeout ::= INTEGER -- a STP timer in units of 1/100 seconds
-- To convert a Timeout value into a value in units of
-- 1/256 seconds, the following algorithm should be used:
--
-- b = floor( (n * 256) / 100)
--
-- where:
-- floor = quotient [ignore remainder]
-- n is the value in 1/100 second units
-- b is the value in 1/256 second units
--
-- To convert the value from 1/256 second units back to
-- 1/100 seconds, the following algorithm should be used:
--
-- n = ceiling( (b * 100) / 256)
--
-- where:
-- ceiling = quotient [if remainder is 0], or
-- quotient + 1 [if remainder is non-zero]
-- n is the value in 1/100 second units
-- b is the value in 1/256 second units
--
-- Note: it is important that the arithmetic operations are
-- done in the order specified (i.e., multiply first, divide
-- second).
-- the stpDot1dStp group
-- Implementation of the dot1dStp group is optional. It is
-- implemented by those bridges that support the Spanning Tree
-- Protocol.
stpDot1dStpProtocolSpecification OBJECT-TYPE
SYNTAX INTEGER {
unknown(1),
decLb100(2),
ieee8021d(3)
}
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"An indication of what version of the Spanning
Tree Protocol is being run. The value
'decLb100(2)' indicates the DEC LANbridge 100
Spanning Tree protocol. IEEE 802.1d
implementations will return 'ieee8021d(3)'. If
future versions of the IEEE Spanning Tree Protocol
are released that are incompatible with the
current version a new value will be defined."
::= { stpDot1dStp 1 }
stpDot1dStpPriority OBJECT-TYPE
SYNTAX INTEGER (0..61440)
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"DURABLE: { 32768:all }
The value of the write-able portion of the Bridge
ID, i.e., the first two octets of the (8 octet
long) Bridge ID. The other (last) 6 octets of the
Bridge ID are given by the value of
dot1dBaseBridgeAddress.The value has to be a multiple
of 4096"
REFERENCE
"IEEE 802.1D-1990: Section 4.5.3.7"
::= { stpDot1dStp 2 }
stpDot1dStpTimeSinceTopologyChange OBJECT-TYPE
SYNTAX TimeTicks
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The time (in hundredths of a second) since the
last time a topology change was detected by the
bridge entity."
REFERENCE
"IEEE 802.1D-1990: Section 6.8.1.1.3"
::= { stpDot1dStp 3 }
stpDot1dStpTopChanges OBJECT-TYPE
SYNTAX Counter32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The total number of topology changes detected by
this bridge since the management entity was last
reset or initialized."
REFERENCE
"IEEE 802.1D-1990: Section 6.8.1.1.3"
::= { stpDot1dStp 4 }
stpDot1dStpDesignatedRoot OBJECT-TYPE
SYNTAX BridgeId
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The bridge identifier of the root of the spanning
tree as determined by the Spanning Tree Protocol
as executed by this node. This value is used as
the Root Identifier parameter in all Configuration
Bridge PDUs originated by this node."
REFERENCE
"IEEE 802.1D-1990: Section 4.5.3.1"
::= { stpDot1dStp 5 }
stpDot1dStpRootCost OBJECT-TYPE
SYNTAX Integer32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The cost of the path to the root as seen from
this bridge."
REFERENCE
"IEEE 802.1D-1990: Section 4.5.3.2"
::= { stpDot1dStp 6 }
stpDot1dStpRootPort OBJECT-TYPE
SYNTAX Integer32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The port number of the port which offers the
lowest cost path from this bridge to the root
bridge."
REFERENCE
"IEEE 802.1D-1990: Section 4.5.3.3"
::= { stpDot1dStp 7 }
stpDot1dStpMaxAge OBJECT-TYPE
SYNTAX Timeout (600..4000)
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The maximum age of Spanning Tree Protocol
information learned from the network on any port
before it is discarded, in units of hundredths of
a second. This is the actual value that this
bridge is currently using."
REFERENCE
"IEEE 802.1D-1990: Section 4.5.3.4"
::= { stpDot1dStp 8 }
stpDot1dStpHelloTime OBJECT-TYPE
SYNTAX Timeout (100..1000)
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The amount of time between the transmission of
Configuration bridge PDUs by this node on any port
when it is the root of the spanning tree or trying
to become so, in units of hundredths of a second.
This is the actual value that this bridge is
currently using."
REFERENCE
"IEEE 802.1D-1990: Section 4.5.3.5"
::= { stpDot1dStp 9 }
stpDot1dStpHoldTime OBJECT-TYPE
SYNTAX Integer32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"This time value determines the interval length
during which no more than two Configuration bridge
PDUs shall be transmitted by this node, in units
of hundredths of a second."
REFERENCE
"IEEE 802.1D-1990: Section 4.5.3.14"
::= { stpDot1dStp 10 }
stpDot1dStpForwardDelay OBJECT-TYPE
SYNTAX Timeout (400..3000)
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"This time value, measured in units of hundredths
of a second, controls how fast a port changes its
spanning state when moving towards the Forwarding
state. The value determines how long the port
stays in each of the Listening and Learning
states, which precede the Forwarding state. This
value is also used, when a topology change has
been detected and is underway, to age all dynamic
entries in the Forwarding Database. [Note that
this value is the one that this bridge is
currently using, in contrast to
stpDot1dStpBridgeForwardDelay which is the value that
this bridge and all others would start using
if/when this bridge were to become the root.]"
REFERENCE
"IEEE 802.1D-1990: Section 4.5.3.6"
::= { stpDot1dStp 11 }
stpDot1dStpBridgeMaxAge OBJECT-TYPE
SYNTAX Timeout (600..4000)
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"DURABLE: { 2000:all }
The value that all bridges use for MaxAge when
this bridge is acting as the root. Note that
802.1D-1990 specifies that the range for this
parameter is related to the value of
stpDot1dStpBridgeHelloTime. The granularity of this
timer is specified by 802.1D-1990 to be 1 second.
An agent may return a badValue error if a set is
attempted to a value which is not a whole number
of seconds."
REFERENCE
"IEEE 802.1D-1990: Section 4.5.3.8"
::= { stpDot1dStp 12 }
stpDot1dStpBridgeHelloTime OBJECT-TYPE
SYNTAX Timeout (100..1000)
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"DURABLE: { 200:all }
The value that all bridges use for HelloTime when
this bridge is acting as the root. The
granularity of this timer is specified by 802.1D-
1990 to be 1 second. An agent may return a
badValue error if a set is attempted to a value
which is not a whole number of seconds."
REFERENCE
"IEEE 802.1D-1990: Section 4.5.3.9"
::= { stpDot1dStp 13 }
stpDot1dStpBridgeForwardDelay OBJECT-TYPE
SYNTAX Timeout (400..3000)
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"DURABLE: { 1500:all }
The value that all bridges use for ForwardDelay
when this bridge is acting as the root. Note that
802.1D-1990 specifies that the range for this
parameter is related to the value of
stpDot1dStpBridgeMaxAge. The granularity of this
timer is specified by 802.1D-1990 to be 1 second.
An agent may return a badValue error if a set is
attempted to a value which is not a whole number
of seconds."
REFERENCE
"IEEE 802.1D-1990: Section 4.5.3.10"
::= { stpDot1dStp 14 }
stpPropStpEnable OBJECT-TYPE
SYNTAX INTEGER {
enabled(1),
disabled(2)
}
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"DURABLE: { enabled:all }
The enabled/disabled status of STP for the bridge entity."
::= { stpDot1dStp 16 }
-- The Spanning Tree Port Table
stpDot1dStpPortTable OBJECT-TYPE
SYNTAX SEQUENCE OF StpDot1dStpPortEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"A table that contains port-specific information
for the Spanning Tree Protocol."
::= { stpDot1dStp 15 }
stpDot1dStpPortEntry OBJECT-TYPE
SYNTAX StpDot1dStpPortEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"A list of information maintained by every port
about the Spanning Tree Protocol state for that
port."
INDEX { stpDot1dStpPort }
::= { stpDot1dStpPortTable 1 }
StpDot1dStpPortEntry ::=
SEQUENCE {
stpDot1dStpPort
INTEGER,
stpDot1dStpPortPriority
INTEGER,
stpDot1dStpPortState
INTEGER,
stpDot1dStpPortEnable
INTEGER,
stpDot1dStpPortPathCost
INTEGER,
stpDot1dStpPortDesignatedRoot
BridgeId,
stpDot1dStpPortDesignatedCost
Integer32,
stpDot1dStpPortDesignatedBridge
BridgeId,
stpDot1dStpPortDesignatedPort
OCTET STRING,
stpDot1dStpPortForwardTransitions
Counter32,
stpDot1dRemoteLoopDetect
INTEGER,
stpDot1wRstpPortTxHoldCount
INTEGER,
stpDot1wRstpPortOperP2p
INTEGER,
stpDot1wRstpPortOperEdge
INTEGER,
stpDot1wRstpPortMcheck
INTEGER,
stpDot1wRstpPortTxTcn
INTEGER,
stpDot1wRstpPortTxConfig
INTEGER,
stpDot1wRstpPortTxRstp
INTEGER,
stpDot1wRstpPortRxTcn
INTEGER,
stpDot1wRstpPortRxConfig
INTEGER,
stpDot1wRstpPortRxRstp
INTEGER,
stpDot1wRstpPortClear
INTEGER,
stpDot1wRstpPortAdminP2p
INTEGER,
stpDot1wRstpPortAdminEdge
INTEGER
}
stpDot1dStpPort OBJECT-TYPE
SYNTAX INTEGER (1..128)
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The port number of the port for which this entry
contains Spanning Tree Protocol management
information."
REFERENCE
"IEEE 802.1D-1990: Section 6.8.2.1.2"
::= { stpDot1dStpPortEntry 1 }
stpDot1dStpPortPriority OBJECT-TYPE
SYNTAX INTEGER (0..240)
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"DURABLE: { 128:all }
The value of the priority field which is
contained in the first (in network byte order)
octet of the (2 octet long) Port ID. The other
octet of the Port ID is given by the value of
stpDot1dStpPort.The value has to be a multiple
of 16"
REFERENCE
"IEEE 802.1D-1990: Section 4.5.5.1"
::= { stpDot1dStpPortEntry 2 }
stpDot1dStpPortState OBJECT-TYPE
SYNTAX INTEGER {
disabled(1),
blocking(2),
listening(3),
learning(4),
forwarding(5),
broken(6)
}
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The port's current state as defined by
application of the Spanning Tree Protocol. This
state controls what action a port takes on
reception of a frame. If the bridge has detected
a port that is malfunctioning it will place that
port into the broken(6) state. For ports which
are disabled (see stpDot1dStpPortEnable), this object
will have a value of disabled(1)."
REFERENCE
"IEEE 802.1D-1990: Section 4.5.5.2"
::= { stpDot1dStpPortEntry 3 }
stpDot1dStpPortEnable OBJECT-TYPE
SYNTAX INTEGER {
enabled(1),
disabled(2)
}
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"The enabled/disabled status of the port."
REFERENCE
"IEEE 802.1D-1990: Section 4.5.5.2"
::= { stpDot1dStpPortEntry 4 }
stpDot1dStpPortPathCost OBJECT-TYPE
SYNTAX INTEGER (1..200000000)
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"DURABLE: { 10:all }
The contribution of this port to the path cost of
paths towards the spanning tree root which include
this port. 802.1D-1990 recommends that the
default value of this parameter be in inverse
proportion to the speed of the attached LAN."
REFERENCE
"IEEE 802.1D-1990: Section 4.5.5.3"
::= { stpDot1dStpPortEntry 5 }
stpDot1dStpPortDesignatedRoot OBJECT-TYPE
SYNTAX BridgeId
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The unique Bridge Identifier of the Bridge
recorded as the Root in the Configuration BPDUs
transmitted by the Designated Bridge for the
segment to which the port is attached."
REFERENCE
"IEEE 802.1D-1990: Section 4.5.5.4"
::= { stpDot1dStpPortEntry 6 }
stpDot1dStpPortDesignatedCost OBJECT-TYPE
SYNTAX Integer32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The path cost of the Designated Port of the
segment connected to this port. This value is
compared to the Root Path Cost field in received
bridge PDUs."
REFERENCE
"IEEE 802.1D-1990: Section 4.5.5.5"
::= { stpDot1dStpPortEntry 7 }
stpDot1dStpPortDesignatedBridge OBJECT-TYPE
SYNTAX BridgeId
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The Bridge Identifier of the bridge which this
port considers to be the Designated Bridge for
this port's segment."
REFERENCE
"IEEE 802.1D-1990: Section 4.5.5.6"
::= { stpDot1dStpPortEntry 8 }
stpDot1dStpPortDesignatedPort OBJECT-TYPE
SYNTAX OCTET STRING (SIZE (2))
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The Port Identifier of the port on the Designated
Bridge for this port's segment."
REFERENCE
"IEEE 802.1D-1990: Section 4.5.5.7"
::= { stpDot1dStpPortEntry 9 }
stpDot1dStpPortForwardTransitions OBJECT-TYPE
SYNTAX Counter32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The number of times this port has transitioned
from the Learning state to the Forwarding state."
::= { stpDot1dStpPortEntry 10 }
stpDot1dRemoteLoopDetect OBJECT-TYPE
SYNTAX INTEGER {
enabled(1),
disabled(2)
}
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"The LOOP DETECT status of the port."
--端口私有生成树的开启/关闭状态
::= { stpDot1dStpPortEntry 11 }
stpDot1wRstpPortTxHoldCount OBJECT-TYPE
SYNTAX INTEGER(1..255)
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"Maximum number of BPDUs allowed to be transmitted during per helloTime"
--端口在每个helloTime时间内允许发送的最大BPDU数
::= { stpDot1dStpPortEntry 12 }
stpDot1wRstpPortOperP2p OBJECT-TYPE
SYNTAX INTEGER {
true(1),
false(2)
}
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The operational point-to-point status of the LAN segment attached to this port"
--端口实际工作的点对点链接状态
::= { stpDot1dStpPortEntry 13 }
stpDot1wRstpPortOperEdge OBJECT-TYPE
SYNTAX INTEGER {
true(1),
false(2)
}
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The operational value of the Edge Port parameter"
--端口实际工作的边界端口状态
::= { stpDot1dStpPortEntry 14 }
stpDot1wRstpPortMcheck OBJECT-TYPE
SYNTAX INTEGER {
enable(1)
}
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"force port into transmitting rstp packets"
--强制端口发送RSTP报文
::= { stpDot1dStpPortEntry 15 }
stpDot1wRstpPortTxTcn OBJECT-TYPE
SYNTAX INTEGER
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Output statistics of TCN packets"
--端口发送的TCN报文个数
::= { stpDot1dStpPortEntry 16 }
stpDot1wRstpPortTxConfig OBJECT-TYPE
SYNTAX INTEGER
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Output statistics of CONFIG packets"
--端口发送的CONFIG报文个数
::= { stpDot1dStpPortEntry 17 }
stpDot1wRstpPortTxRstp OBJECT-TYPE
SYNTAX INTEGER
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Output statistics of RSTP packets"
--端口发送的RSTP报文个数
::= { stpDot1dStpPortEntry 18 }
stpDot1wRstpPortRxTcn OBJECT-TYPE
SYNTAX INTEGER
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Input statistics of TCN packets"
--端口接收的TCN报文个数
::= { stpDot1dStpPortEntry 19 }
stpDot1wRstpPortRxConfig OBJECT-TYPE
SYNTAX INTEGER
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Input statistics of CONFIG packets"
--端口接收的CONFIG报文个数
::= { stpDot1dStpPortEntry 20 }
stpDot1wRstpPortRxRstp OBJECT-TYPE
SYNTAX INTEGER
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Input statistics of RSTP packets"
--端口接收的RSTP报文个数
::= { stpDot1dStpPortEntry 21 }
stpDot1wRstpPortClear OBJECT-TYPE
SYNTAX INTEGER{
true(1)
}
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"Clear port spanning-tree statistics"
--清除端口生成树统计信息
::= { stpDot1dStpPortEntry 22 }
stpDot1wRstpPortAdminP2p OBJECT-TYPE
SYNTAX INTEGER {
forceTrue(1),
forceFalse(2),
auto(3)
}
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"The administrative point-to-point status of the LAN segment attached to this port"
--配置的端口的点对点链接状态
::= { stpDot1dStpPortEntry 23 }
stpDot1wRstpPortAdminEdge OBJECT-TYPE
SYNTAX INTEGER {
enable(1),
disable(2)
}
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"The administrative value of the Edge Port parameter"
--配置的边界端口状态
::= { stpDot1dStpPortEntry 24 }
spanOnOff OBJECT-TYPE
SYNTAX INTEGER {
enable(1),
disable(2)
}
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"DURABLE: { enable }
Enable/Disable Spanning Tree for the bridge.
When 'disable(2)', all ports of the device are placed in the
forwarding mode, regardless of current Spanning Tree state.
When 'enable(1)', the normal STP state transitions take place."
::= { stpDot1dStp 17 }
stpDot1wRstpForceVersion OBJECT-TYPE
SYNTAX INTEGER {
ForceStp(0),
ForceRstp(2),
ForceMstp(3)
}
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"which protocol mode the bridge chooses to execute ,RSTP or STP compatible"
--桥当前的协议模式RSTP或者STP兼容模式
::= { stpDot1dStp 19 }
stpDot1dStpTrap OBJECT IDENTIFIER ::= { stpDot1dStp 18 }
----------------------------------------------------------------------------------
--STP TRAP MIB--
----------------------------------------------------------------------------------
stpDot1dStpPortBlocking NOTIFICATION-TYPE
OBJECTS { stpDot1dStpPortState }
STATUS current
DESCRIPTION
"Port status is turned from forwarding to blocking."
::= { stpDot1dStpTrap 1 }
stpDot1dStpPortException NOTIFICATION-TYPE
OBJECTS { stpDot1dStpPort }
STATUS current
DESCRIPTION
"Port packet flood to CPU rate is too big, port exception happen."
--如果端口冲击CPU的报文速率太大则发出端口异常的trap
::= { stpDot1dStpTrap 2 }
stpDot1dStpPortRecover NOTIFICATION-TYPE
OBJECTS { stpDot1dStpPort }
STATUS current
DESCRIPTION
"Port recover time pass after port encounter port CAR exception, and Port packet flood to CPU rate is normal, recover port."
--端口被端口CAR关闭后过了端口恢复时间并且该端口下冲击CPU的速率正常重新打开端口并发送端口恢复trap
::= { stpDot1dStpTrap 3 }
stpDot1dStpPortRmtLoop NOTIFICATION-TYPE
OBJECTS { stpDot1dStpPort }
STATUS current
DESCRIPTION
"Port is blocked because of remote loop."
--端口因为远端环回而被block
::= { stpDot1dStpTrap 4 }
stpDot1dStpPortRmtLoopFree NOTIFICATION-TYPE
OBJECTS { stpDot1dStpPort }
STATUS current
DESCRIPTION
"Port is released from remote loop."
--端口远端环回解除
::= { stpDot1dStpTrap 5 }
stpDot1dStpNewRoot NOTIFICATION-TYPE
OBJECTS { stpDot1dStpDesignatedRoot }
STATUS current
DESCRIPTION
"Root bridge changed for the stp."
::= { stpDot1dStpTrap 6 }
stpDot1dStpPortForwarding NOTIFICATION-TYPE
OBJECTS { stpDot1dStpPortState }
STATUS current
DESCRIPTION
"Port status is turned from blocking to forwarding."
::= { stpDot1dStpTrap 7 }
-- -----------------------------------------------------------------------------
-- STP MIB - Conformance information
-- Not really necessary other than for strict interpretation of SMIv2
-- (and it doesn't hurt anything)
-- -----------------------------------------------------------------------------
stpMIBConformance OBJECT IDENTIFIER ::= { stpMib 2 }
stpMIBGroups OBJECT IDENTIFIER ::= { stpMIBConformance 1 }
stpMIBCompliances OBJECT IDENTIFIER ::= { stpMIBConformance 2 }
stpMIBBaseGroup OBJECT-GROUP
OBJECTS {
stpDot1dStpProtocolSpecification,
stpDot1dStpPriority,
stpDot1dStpTimeSinceTopologyChange,
stpDot1dStpTopChanges,
stpDot1dStpDesignatedRoot,
stpDot1dStpRootCost,
stpDot1dStpRootPort,
stpDot1dStpMaxAge,
stpDot1dStpHelloTime,
stpDot1dStpHoldTime,
stpDot1dStpForwardDelay,
stpDot1dStpBridgeMaxAge,
stpDot1dStpBridgeHelloTime,
stpDot1dStpBridgeForwardDelay,
stpPropStpEnable,
stpDot1dStpPort,
stpDot1dStpPortPriority,
stpDot1dStpPortState,
stpDot1dStpPortEnable,
stpDot1dStpPortPathCost,
stpDot1dStpPortDesignatedRoot,
stpDot1dStpPortDesignatedCost,
stpDot1dStpPortDesignatedBridge,
stpDot1dStpPortDesignatedPort,
stpDot1dStpPortForwardTransitions
}
STATUS current
DESCRIPTION
"STP module groups."
::= { stpMIBGroups 1 }
-- -----------------------------------------------------------------------------
-- STP MIB - Compliance information
-- -----------------------------------------------------------------------------
stpMIBCompliance MODULE-COMPLIANCE
STATUS current
DESCRIPTION
"The compliance statement for STP module."
MODULE
MANDATORY-GROUPS {
stpMIBBaseGroup
}
::= { stpMIBCompliances 1 }
END

119
mibs/fs/ADMIN-MASTER-MIB Normal file
View File

@ -0,0 +1,119 @@
------------------------------------------------------------------------------
------------------------------------------------------------------------------
--
-- File : adminMasterMib.mi2
-- Description : Sample ADMIN Master OID Definition MIB
-- Version : 0.6
-- Date : August 29, 2000
--
-- Copyright (c) 2000 admin Systems, Inc. All Rights Reserved.
--
-- Reproduction of this document is authorized on condition that this
-- copyright notice is included. This sample ADMIN Master Enterprise MIB
-- embodies proprietary intellectual property of admin Systems (ADMIN).
-- ADMIN retains all title and ownership in the specification, including any
-- revisions.
--
-- It is the intent of ADMIN to encourage the widespread use of this
-- specification in connection with the management of ADMIN-based products.
-- ADMIN grants vendors, end-users, and other interested parties a
-- non-exclusive license to use this specification in connection with the
-- management of ADMIN products.
--
-- This specification is supplied "AS IS", and ADMIN makes no warranty,
-- either express or implied, as to the use, operations, condition,
-- or performance of this specification.
--
------------------------------------------------------------------------------
------------------------------------------------------------------------------
-- Sample ADMIN Master Enterprise MIB
--
-- NOTES:
-- 1. This is a SMIv2 MIB - all definitions are automatically 'exported'.
--
-- 2. This MIB:
-- - defines the 'ADMIN Product' OIDs (used as IMPORTS)
-- - defines the 'ADMIN Major Category' OIDs (used as IMPORTS)
-- - defines the 'ADMIN Internal MIB Module' OIDs (used as IMPORTS)
-- - defines/documents the 'ADMIN Generic' MIB OIDs
-- - documents the 'ADMIN OEM swAPI' MIB OIDs
-- - documents the 'ADMIN OEM Product' MIB OIDs
--
-- 3. Note that the 'defined/documents' items provide a common place to
-- define or document the required OIDs. SMIv1 MIBs can be defined
-- here and then imported into the corresponding MIB. The SMIv2
-- 'MODULE-IDENTITY' macro does not allow the second OID parameter to
-- be imported from an external MIB file. The authors of these
-- 'documented' MIBs must verify, by procedure, that the values used
-- match the values in this document.
--
-- 4. Note that some MIB compilers do not accept two sets of comments on the
-- same line. Consequently, for commented out document items, do not
-- use a second comment on the same line.
--
-- 5. Note that the admin enterprise ID (13464) is used in the sample
-- MIBs. The customer "must" replace the admin enterprise ID with
-- the registered enterprise identifier for the specific company or
-- product. The customer must also replace the ADMIN information
-- located in the 'MODULE-IDENTITY' in each sample MIB.
--
------------------------------------------------------------------------------
------------------------------------------------------------------------------
ADMIN-MASTER-MIB DEFINITIONS ::= BEGIN
IMPORTS
MODULE-IDENTITY, enterprises FROM SNMPv2-SMI;
admin MODULE-IDENTITY
LAST-UPDATED "0008290000Z" -- August 29, 2000
ORGANIZATION "Admin Systems, Inc."
CONTACT-INFO "Admin Systems, Inc.
E-mail: support@admin.com.cn"
DESCRIPTION "ADMIN Master MIB OID defines and documentation."
REVISION "0008290000Z" -- August 29, 2000
DESCRIPTION "Initial MIB creation."
::= { enterprises 13464 }
-- ADMIN Products
dataCom OBJECT IDENTIFIER ::= {admin 1}
transmission OBJECT IDENTIFIER ::= {admin 2}
wireCom OBJECT IDENTIFIER ::= {admin 3}
-- DataCom Products
vdsl OBJECT IDENTIFIER ::= {dataCom 1}
gbn OBJECT IDENTIFIER ::= {dataCom 2 }
switch OBJECT IDENTIFIER ::= {dataCom 3}
adsl OBJECT IDENTIFIER ::= {dataCom 5}
bas OBJECT IDENTIFIER ::= {dataCom 6}
voip OBJECT IDENTIFIER ::= {dataCom 7}
mnt OBJECT IDENTIFIER ::= {dataCom 10}
--VDSL Products
S5330-28TX OBJECT IDENTIFIER ::= {vdsl 1}
-- ADMIN Major MIB Categories
gbnPlatform OBJECT IDENTIFIER ::= { gbn 1 }
gbnDevice OBJECT IDENTIFIER ::= { gbn 2 }
gbnService OBJECT IDENTIFIER ::= { gbn 3 }
gbnL2 OBJECT IDENTIFIER ::= { gbn 4 }
gbnL3 OBJECT IDENTIFIER ::= { gbn 5 }
gbnLS OBJECT IDENTIFIER ::= { gbn 6 }
gbnServiceAAA OBJECT IDENTIFIER ::= { gbnService 1 }
rmonMib OBJECT IDENTIFIER ::= { gbnService 2}--gbnServiceRMON
gbnServiceMACNotification OBJECT IDENTIFIER ::= { gbnService 3}
-- Switch Products
S5330 OBJECT IDENTIFIER ::= { mnt 10 }
-- S5330
S5330-28TX OBJECT IDENTIFIER ::= {S5330 24 }
--
-- END of ADMIN-MASTER-MIB
--
END

506
mibs/fs/ERRP-MIB Normal file
View File

@ -0,0 +1,506 @@
ERRP-MIB DEFINITIONS ::= BEGIN
IMPORTS
MODULE-IDENTITY, OBJECT-TYPE,
Counter32, Unsigned32, TimeTicks
FROM SNMPv2-SMI
RowStatus, TruthValue, DisplayString,
TEXTUAL-CONVENTION, MacAddress
FROM SNMPv2-TC
gbnL2
FROM ADMIN-MASTER-MIB
MODULE-COMPLIANCE, OBJECT-GROUP
FROM SNMPv2-CONF;
errpMib MODULE-IDENTITY
LAST-UPDATED "201012140000Z"
ORGANIZATION "NEW ADMIN MIB Working Group"
CONTACT-INFO
"Email: support@admin.com"
DESCRIPTION
" The errp MIB is targeted at easing errp configuration via snmp tools."
REVISION "1012140000Z"
DESCRIPTION
"Draft 1"
::= {gbnL2 7 }
errpMIBObjects OBJECT IDENTIFIER ::= { errpMib 1 }
errp OBJECT IDENTIFIER ::= { errpMIBObjects 1 }
errpOnoff OBJECT-TYPE
SYNTAX INTEGER {
enable(1),
disable(2)
}
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"Enable/disable errp function for this bridge."
--errp使能开关
::= { errp 1 }
errpHealthTime OBJECT-TYPE
SYNTAX Integer32(1..10)
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"The hello timer is used by master or edge node for ring health detection.
The correct operational formula: FailedTimer >= 3 * HelloTimer "
--主节点和边界节点使用此定时器对环路的完整性进行周期性检测
::= { errp 2 }
errpHealthTimeout OBJECT-TYPE
SYNTAX Integer32(3..30)
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"The timeout value used by master during ring health detection.
The correct operational formula: FailedTimer >= 3 * HelloTimer"
--主节点检测环路完整性使用的超时定时器值该值必须大于等于HelloTimer的3倍。
::= { errp 3 }
errpMajorFaultTime OBJECT-TYPE
SYNTAX Integer32(2..29)
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The timeout value used by assitant edge during ring health detection."
--辅助边缘节点检测环路完整性使用的超时定时器值
::= { errp 4 }
errpPrefwdTimeout OBJECT-TYPE
SYNTAX Integer32(3..30)
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The block timeout value used by node when portup event occurs."
--端口UP时节点使用的端口阻塞超时定时器
::= { errp 5 }
errpDomainTable OBJECT-TYPE
SYNTAX SEQUENCE OF ErrpDomainEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"A table that contains domain-specific information."
--由errp域表项构成的表
::= { errp 6 }
errpDomainEntry OBJECT-TYPE
SYNTAX ErrpDomainEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"A list of information maintained by every domain."
--基于每个域的表项
INDEX { errpDomainId }
::= { errpDomainTable 1 }
ErrpDomainEntry ::=
SEQUENCE {
errpDomainId Integer32,
errpMVlanId Integer32,
errpWorkMode INTEGER,
errpDomainRowStatus RowStatus
}
errpDomainId OBJECT-TYPE
SYNTAX Integer32(0..15)
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The domain ID is used when network is managed in unit of domain, one
domain should be a set of contiguous bridges."
--域ID在网络分域管理时使用一个域就是一个毗邻的网桥集合
::= { errpDomainEntry 1 }
errpMVlanId OBJECT-TYPE
SYNTAX Integer32 (1..4093)
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"The manage VLAN ID of the domain, can not be an existing vlan."
--域的管理VLAN ID, 每个域具有两个控制VLAN分别叫做主控制VLAN和子控制VLAN。
--主环的协议报文在主控制VLAN中传播子环的协议报文在子控制VLAN中传播。
--配置时只需要指定主控制VLAN而把比主控制VLAN ID值大1的VLAN作为子控制VLAN。
--主控制VLAN和子控制VLAN都不能指定为已经存在的VLANMAC地址学习模式必须配置为IVL。
::= { errpDomainEntry 2 }
errpWorkMode OBJECT-TYPE
SYNTAX INTEGER {
standard(1),
huaWei(2)
}
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"The work mode of the domain. If standard(1) is set, then the domain works on RFC3619
standard. If huaWei(2) is set, then the domain works on RRPP standard, and is able
to work together with the Huawei equipment."
--域的工作模式
::= { errpDomainEntry 3 }
errpDomainRowStatus OBJECT-TYPE
SYNTAX RowStatus {
active(1),
createAndGo(4),
destroy(6)
}
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object is used to create or delete a domain."
::= { errpDomainEntry 4 }
errpRingTable OBJECT-TYPE
SYNTAX SEQUENCE OF ErrpRingEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"A table that contains domain-and-ring-specific information."
--由errp环表项构成的表
::= { errp 7 }
errpRingEntry OBJECT-TYPE
SYNTAX ErrpRingEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"A list of information maintained by every ring."
--基于每个环的表项
INDEX { errpDomainId, errpRingId }
::= { errpRingTable 1 }
ErrpRingEntry ::=
SEQUENCE {
errpRingId Integer32,
errpRingLevel Integer32,
errpBrdgRole INTEGER,
errpPriComPortId Integer32,
errpSecEdgePortId Integer32,
errpRingRowStatus RowStatus,
errpNodeState INTEGER,
errpPriComPortState INTEGER,
errpSecEdgePortState INTEGER,
errpQuerySolicit INTEGER
}
errpRingId OBJECT-TYPE
SYNTAX Integer32 (0..15)
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The identifier of ethernet ring which reside in a domain."
--域内以太环的ID
::= { errpRingEntry 1 }
errpRingLevel OBJECT-TYPE
SYNTAX Integer32 (0..1)
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"The ring level,0 means master ring, while 1 means sub ring."
--环的级别,0为主环,1为子环
::= { errpRingEntry 2 }
errpBrdgRole OBJECT-TYPE
SYNTAX INTEGER {
master(1),
trans(2),
edge(3),
assEdge(4)
}
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"The bridge role in ethernet ring."
--网桥在环中的角色
::= { errpRingEntry 3 }
errpPriComPortId OBJECT-TYPE
SYNTAX Integer32 (1..255)
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"The primary port id when bridge is master or transmit,the common port id otherwise."
--网桥为主节点或者传输节点时此值代表主端口,否则代表公共端口
::= { errpRingEntry 4 }
errpSecEdgePortId OBJECT-TYPE
SYNTAX Integer32 (1..255)
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"The secondary port id when bridge is master or transmit,the edge port id otherwise."
--网桥为主节点或者传输节点时此值代表副端口,否则代表边界端口
::= { errpRingEntry 5 }
errpRingRowStatus OBJECT-TYPE
SYNTAX RowStatus {
active(1),
notInService(2),
notReady(3),
createAndGo(4),
createAndWait(5),
destroy(6)
}
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object indicates the status of this ring."
--指示当前环的活动状态
::= { errpRingEntry 6 }
errpNodeState OBJECT-TYPE
SYNTAX INTEGER {
begin(0),
health(1),
fault(2),
linkUp(3),
linkDown(4),
preforwarding(5)
}
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The node state in the ring. begin(0) means node is inactive or inital state.
health(1) means master node detects the ring in a health state.
fault(2) means master node detects the ring in a fault state.
linkUp(3) means both ring ports of the transmit node are link up and in the forwarding state.
linkDown(4) means at least one ring port of the transmit node is link down.
preforwarding(5) means at least one ring port of the transmit node is just link up and in the blocking state.
Edge node and assistant edge node are same as transmit node, but only concern about the edge port state."
::= { errpRingEntry 7 }
errpPriComPortState OBJECT-TYPE
SYNTAX INTEGER {
disabled(0),
forwarding(1),
blocking(2)
}
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The primary port or common port state in the ring. disabled(0) means port is link down.
forwarding(1) means port is in the forwarding state.
blocking(2) means port is in the blocking or discarding state."
::= { errpRingEntry 8 }
errpSecEdgePortState OBJECT-TYPE
SYNTAX INTEGER {
disabled(0),
forwarding(1),
blocking(2)
}
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The secondary port or edge port state in the ring. disabled(0) means port is link down.
forwarding(1) means port is in the forwarding state.
blocking(2) means port is in the blocking or discarding state."
::= { errpRingEntry 9 }
errpQuerySolicit OBJECT-TYPE
SYNTAX INTEGER {
enable(1),
disable(2)
}
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"Enable/disable Query Solicit function of the ring."
::= { errpRingEntry 10 }
errpRingStatsTable OBJECT-TYPE
SYNTAX SEQUENCE OF ErrpRingStatsEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This table contains statistics for the ERRP ring ports."
::= { errp 8 }
errpRingStatsEntry OBJECT-TYPE
SYNTAX ErrpRingStatsEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"A list of statistics maintained by every ring port. The sequence is:
(domain,ring,priComPort),(domain,ring,secEdgePort),
(domain,next ring,priComPort),(domain,next ring,secEdgePort),...,
(next domain,ring,priComPort),(next domain,ring,secEdgePort),
(next domain,next ring,priComPort),......"
INDEX { errpDomainId, errpRingId, errpRingPortId }
::= { errpRingStatsTable 1 }
ErrpRingStatsEntry ::=
SEQUENCE {
errpRingPortId Integer32,
errpHealthTx Counter32,
errpHealthRx Counter32,
errpCommonFlushTx Counter32,
errpCommonFlushRx Counter32,
errpCompleteFlushTx Counter32,
errpCompleteFlushRx Counter32,
errpLinkDownTx Counter32,
errpLinkDownRx Counter32,
errpLinkUpTx Counter32,
errpLinkUpRx Counter32,
errpEdgeHelloTx Counter32,
errpEdgeHelloRx Counter32,
errpMajorFaultTx Counter32,
errpMajorFaultRx Counter32
}
errpRingPortId OBJECT-TYPE
SYNTAX Integer32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The port equals to errpPriComPortId or errpSecEdgePortId of the ring within errpRingTable."
::= { errpRingStatsEntry 1 }
errpHealthTx OBJECT-TYPE
SYNTAX Counter32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"A count of the number of Health(or Hello) packets transmitted on this port."
::= { errpRingStatsEntry 2 }
errpHealthRx OBJECT-TYPE
SYNTAX Counter32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"A count of the number of Health(or Hello) packets received on this port."
::= { errpRingStatsEntry 3 }
errpCommonFlushTx OBJECT-TYPE
SYNTAX Counter32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"A count of the number of Common Flush packets transmitted on this port."
::= { errpRingStatsEntry 4 }
errpCommonFlushRx OBJECT-TYPE
SYNTAX Counter32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"A count of the number of Common Flush packets received on this port."
::= { errpRingStatsEntry 5 }
errpCompleteFlushTx OBJECT-TYPE
SYNTAX Counter32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"A count of the number of Complete Flush packets transmitted on this port."
::= { errpRingStatsEntry 6 }
errpCompleteFlushRx OBJECT-TYPE
SYNTAX Counter32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"A count of the number of Complete Flush packets received on this port."
::= { errpRingStatsEntry 7 }
errpLinkDownTx OBJECT-TYPE
SYNTAX Counter32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"A count of the number of Link Down packets transmitted on this port."
::= { errpRingStatsEntry 8 }
errpLinkDownRx OBJECT-TYPE
SYNTAX Counter32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"A count of the number of Link Down packets received on this port."
::= { errpRingStatsEntry 9 }
errpLinkUpTx OBJECT-TYPE
SYNTAX Counter32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"A count of the number of Link Up packets transmitted on this port."
::= { errpRingStatsEntry 10 }
errpLinkUpRx OBJECT-TYPE
SYNTAX Counter32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"A count of the number of Link Up packets received on this port."
::= { errpRingStatsEntry 11 }
errpEdgeHelloTx OBJECT-TYPE
SYNTAX Counter32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"A count of the number of Edge Hello packets transmitted on this port."
::= { errpRingStatsEntry 12 }
errpEdgeHelloRx OBJECT-TYPE
SYNTAX Counter32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"A count of the number of Edge Hello packets received on this port."
::= { errpRingStatsEntry 13 }
errpMajorFaultTx OBJECT-TYPE
SYNTAX Counter32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"A count of the number of Major Fault packets transmitted on this port."
::= { errpRingStatsEntry 14 }
errpMajorFaultRx OBJECT-TYPE
SYNTAX Counter32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"A count of the number of Major Fault packets received on this port."
::= { errpRingStatsEntry 15 }
errpTrap OBJECT IDENTIFIER ::= { errp 9 }
----------------------------------------------------------------------------------
--ERRP TRAP MIB--
----------------------------------------------------------------------------------
errpRingNodeStateChange NOTIFICATION-TYPE
OBJECTS { errpNodeState }
STATUS current
DESCRIPTION
"The node state in the ring turns to health or fault.
health(1) means master node detects the ring in a health state.
fault(2) means master node detects the ring in a fault state."
::= { errpTrap 1 }
errpPriComPortStateChange NOTIFICATION-TYPE
OBJECTS { errpPriComPortState }
STATUS current
DESCRIPTION
"The primary port or common port state in the ring turns to disabled, forwarding, or blocking.
disabled(0) means port is link down.
forwarding(1) means port is in the forwarding state.
blocking(2) means port is in the blocking or discarding state."
::= { errpTrap 2 }
errpSecEdgePortStateChange NOTIFICATION-TYPE
OBJECTS { errpSecEdgePortState }
STATUS current
DESCRIPTION
"The secondary port or edge port state in the ring turns to disabled, forwarding, or blocking.
disabled(0) means port is link down.
forwarding(1) means port is in the forwarding state.
blocking(2) means port is in the blocking or discarding state."
::= { errpTrap 3 }
END

2886
mibs/fs/GARP-MIB Normal file

File diff suppressed because it is too large Load Diff

425
mibs/fs/GBNDeviceOEM-MIB Normal file
View File

@ -0,0 +1,425 @@
------------------------------------------------------------------------------
------------------------------------------------------------------------------
--
-- File : bcm5600-oem.mi2
-- Description : GBN OEM Product Enterprise MIB
-- Version : 0.03
-- Date : May 03, 2001
-- Copyright (c) 2002-2005 admin Systems, Inc. All Rights Reserved.
------------------------------------------------------------------------------
------------------------------------------------------------------------------
GBNDeviceOEM-MIB DEFINITIONS ::= BEGIN
IMPORTS
MODULE-IDENTITY, OBJECT-TYPE,
Integer32, Counter64 FROM SNMPv2-SMI
DisplayString, TruthValue FROM SNMPv2-TC
MODULE-COMPLIANCE, OBJECT-GROUP FROM SNMPv2-CONF
gbnDevice FROM ADMIN-MASTER-MIB
PortList FROM Q-BRIDGE-MIB;
bcm5600 MODULE-IDENTITY
LAST-UPDATED "0105030000Z" -- May 03,2001
ORGANIZATION "Admin Systems, Inc."
CONTACT-INFO "Admin Systems, Inc.
E-mail: support@admin.com.cn"
DESCRIPTION "GBN Broadcom BCM5600 StrataSwitch OEM-Product
Enterprise MIB definition."
REVISION "0105030000Z" -- May 03,2001
DESCRIPTION "Initial MIB creation."
::= { gbnDevice 3 }
------------------------------------------------------------------------------
-- Textual Conventions (i.e., these do not affect object encoding):
------------------------------------------------------------------------------
--
-- "DURABLE":
-- Objects that are saved across a system reset and/or power cycle
-- are noted as "DURABLE" for convenience in the DESCRIPTION
-- section of the object definition. Code must be explicitly
-- written to implement these DURABLE objects.
--
------------------------------------------------------------------------------
-- define groups in OEM-BCM5600-MIB
------------------------------------------------------------------------------
oemArchIface OBJECT IDENTIFIER ::= { bcm5600 1 }
oemChip OBJECT IDENTIFIER ::= { bcm5600 2 }
oemProdConformance OBJECT IDENTIFIER ::= { bcm5600 3 }
oemProdGroups OBJECT IDENTIFIER ::= { oemProdConformance 1 }
oemProdCompliances OBJECT IDENTIFIER ::= { oemProdConformance 2 }
------------------------------------------------------------------------------
oemArchIfaceTable OBJECT-TYPE
SYNTAX SEQUENCE OF OemArchIfaceEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"A table of switch interfaces and associated properties."
::= { oemArchIface 1 }
oemArchIfaceEntry OBJECT-TYPE
SYNTAX OemArchIfaceEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"Table entry for switch interface control and status information."
INDEX { oemArchIfaceUnit, oemArchIfacePort }
::= { oemArchIfaceTable 1 }
OemArchIfaceEntry ::= SEQUENCE {
oemArchIfaceUnit Integer32,
oemArchIfacePort Integer32,
oemArchIfaceLLWHPort Integer32,
oemArchIfaceIfIndex Integer32,
oemArchIfaceName DisplayString,
oemArchIfaceEnable TruthValue,
oemArchIfaceSTPEnable TruthValue,
oemArchIfaceLink INTEGER,
oemArchIfaceDuplexSpeedSet INTEGER,
oemArchIfaceDuplexSpeedGet INTEGER,
oemArchIfacePortLoop INTEGER,
oemArchIfaceFlowControl INTEGER,
oemArchIfaceTxVlanTagPkts Counter64,
oemArchIfaceTxL3Pkts Counter64,
oemArchIfaceTxL3AbortedPkts Counter64,
oemArchIfaceRxIpInHdrErrors Counter64,
oemArchIfaceL2Tunneling INTEGER,
oemArchIfaceLinkUpTime Integer32,
oemArchIfaceMasterMode INTEGER
}
oemArchIfaceUnit OBJECT-TYPE
SYNTAX Integer32 (1..4)
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"An index that uniquely identifies a unit in the TiNet Switch
stack. If an invalid value is used for the index, a SNMP
'noSuchName' error (SNMPv1) or 'noSuchInstance' exception
(SNMPv2/v3) is returned. For implementations that do not support
stacking, the same response is returned for any unit index other
than 1."
::= { oemArchIfaceEntry 1 }
oemArchIfacePort OBJECT-TYPE
SYNTAX Integer32 (1..26)
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"An index that uniquely identifies a GBN Application 'logical port'
(i.e., IEEE 802.3ad Aggregator) within the oemArchIfaceUnit."
::= { oemArchIfaceEntry 2 }
oemArchIfaceLLWHPort OBJECT-TYPE
SYNTAX Integer32 (8193..8296)
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"A value that uniquely identifies a GBN Application 'logical port'
(i.e., IEEE 802.3ad Aggregator) in the GBN BCM5600 stack. This is
a 'Layered Linear With Holes' (LLWH) port number that may may have
holes for missing ports or units. For this MIB, 26 port numbers
are reserved for each unit in the stack. For example, LLHW port
8193 is unit 1, port 1 ."
::= { oemArchIfaceEntry 3 }
oemArchIfaceIfIndex OBJECT-TYPE
SYNTAX Integer32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The ifIndex of this GBN Application 'logical port' (i.e., IEEE
802.3ad Aggregator). Note that an ifIndex value of 34603009
(0x02100001) represents the Aggregator layer, unit 1, slot 0
(base unit ports), port 1."
::= { oemArchIfaceEntry 4 }
oemArchIfaceName OBJECT-TYPE
SYNTAX DisplayString (SIZE (0..128))
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"DURABLE:
The textual name of this interface, e.g., 'John'."
::= { oemArchIfaceEntry 5 }
oemArchIfaceEnable OBJECT-TYPE
SYNTAX TruthValue
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"DURABLE: { true:all }
This object is true(1) when this interface is enabled and
false(1) when it is disabled. For this product, this is the
ONLY way to enable or disable this interface. Note that
'ifAdminStatus' in RFC1213 and RFC2233 and 'dot1dStpPortEnable'
in RFC1493 are each implemented as 'read-only'."
::= { oemArchIfaceEntry 6 }
oemArchIfaceSTPEnable OBJECT-TYPE
SYNTAX TruthValue
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"DURABLE: { true:all }
This object is true(1) when Spanning Tree operation is enabled
for this interface and false(2) when it is disabled."
::= { oemArchIfaceEntry 7 }
oemArchIfaceLink OBJECT-TYPE
SYNTAX INTEGER {
up(1),
down(2)
}
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The state of Link Detect on this interface."
::= { oemArchIfaceEntry 8 }
oemArchIfaceDuplexSpeedSet OBJECT-TYPE
SYNTAX INTEGER {
autonegotiate(1),
half-10(2),
full-10(3),
half-100(4),
full-100(5),
half-1000(6),
full-1000(7),
auto-10(8),
auto-100(9),
auto-1000(10),
full-10000(11),
illegal(99),
full-2500(13),
}
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"DURABLE: { autonegotiate:all }
The desired speed and duplex for this interface. If the selected
control is not possible on the interface, a value of illegal(99)
is returned. If the port type does NOT support the default
of autonegotiate(1), then the application initializes the
port to a valid value (e.g., 1000full(6)). Note that not all
controls are possible for all interfaces. For example, only
full-1000(6) is available for Gigabit Ethernet interfaces."
::= { oemArchIfaceEntry 9 }
oemArchIfaceDuplexSpeedGet OBJECT-TYPE
SYNTAX INTEGER {
unknown(1),
half-10(2),
full-10(3),
half-100(4),
full-100(5),
half-1000(6),
full-1000(7),
auto10(8),
auto100(9),
auto1000(10),
full-10000(11),
illegal(99),
full-2500(13),
}
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The actual speed and duplex for this interface. If the
interface is not configured for an acceptable value, a value of
illegal(99) is returned. A value of unknown(1) is returned when
the 'oemArchIfaceLink' indicates down(2) for this interface."
::= { oemArchIfaceEntry 10 }
oemArchIfacePortLoop OBJECT-TYPE
SYNTAX INTEGER {
internalEnable(1),
externalEnable(2),
disable(3)
}
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"The state of Link Detect on this interface."
::= { oemArchIfaceEntry 11 }
oemArchIfaceFlowControl OBJECT-TYPE
SYNTAX INTEGER {
enable(1),
disable(2)
}
ACCESS read-write
STATUS current
DESCRIPTION
"DURABLE: { enable }
Set the flow control on the interface to enable(1) or disable(2)."
::= { oemArchIfaceEntry 12 }
oemArchIfaceTxVlanTagPkts OBJECT-TYPE
SYNTAX Counter64
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The number of VLAN tagged packets transmitted on this interface."
::= { oemArchIfaceEntry 13 }
oemArchIfaceTxL3Pkts OBJECT-TYPE
SYNTAX Counter64
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The number of Layer 3 packets transmitted on this interface."
::= { oemArchIfaceEntry 14 }
oemArchIfaceTxL3AbortedPkts OBJECT-TYPE
SYNTAX Counter64
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The number of Layer 3 transmit packets aborted on this interface."
::= { oemArchIfaceEntry 15 }
oemArchIfaceRxIpInHdrErrors OBJECT-TYPE
SYNTAX Counter64
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The number of Layer 3 packets received on this interface that
were discarded due to IP header errors (e.g., bad checksum,
invalid versions, format errors)."
::= { oemArchIfaceEntry 16 }
oemArchIfaceL2Tunneling OBJECT-TYPE
SYNTAX INTEGER(1..63)
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"When l2 entities (such as STP bridges) conneted across a VPN network, l2 PDUs need
delivering through VPN without being processed.To achieve this, users need enbling l2-
tunneling on VPN's edge ports, i.e. ports connected to customer bridges. One 32bits
width integer variable is used for each port to represent what kind of PDUs need tunneling
when coming in this ports.Notes, only the six least-significant bits are used here ,each
bit corresponds to one protocol, following is the detail:
bit0 <----> CDP
bit1 <----> LACP
bit2 <----> PAGP
bit3 <----> STP
bit4 <----> UDLD
bit5 <----> VTP
bit6-bit31 <--> reserved.
when set one, corresponding PDU tunneling is asserted, deasserted otherwise."
::= { oemArchIfaceEntry 17 }
oemArchIfaceLinkUpTime OBJECT-TYPE
SYNTAX Integer32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The duration of linkup on this interface. The unit is second."
::= { oemArchIfaceEntry 18 }
oemArchIfaceMasterMode OBJECT-TYPE
SYNTAX INTEGER {
slave(0),
master(1),
auto(2)
}
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"The master/slave mode on this interface."
::= { oemArchIfaceEntry 19 }
------------------------------------------------------------------------------
-- Chip Interface Section
------------------------------------------------------------------------------
--
oemChipStub OBJECT-TYPE
SYNTAX INTEGER {
noop(1),
chip-value2(2),
chip-value3(3)
}
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object is a place holder for the OEM Chip interface."
::= { oemChip 1 }
------------------------------------------------------------------------------
------------------------------------------------------------------------------
-- conformance information
------------------------------------------------------------------------------
-- --------------------------------------------------------------------------
-- units of conformance
-- --------------------------------------------------------------------------
oemArchIfaceGroup OBJECT-GROUP
OBJECTS {
oemArchIfaceLLWHPort,
oemArchIfaceIfIndex,
oemArchIfaceName,
oemArchIfaceEnable,
oemArchIfaceSTPEnable,
oemArchIfaceLink,
oemArchIfaceDuplexSpeedSet,
oemArchIfaceDuplexSpeedGet,
oemArchIfacePortLoop,
oemArchIfaceFlowControl,
oemArchIfaceTxVlanTagPkts,
oemArchIfaceTxL3Pkts,
oemArchIfaceTxL3AbortedPkts,
oemArchIfaceRxIpInHdrErrors
}
STATUS current
DESCRIPTION
"This group configures and retrieves Architecture interface
specific objects."
::= { oemProdGroups 1 }
oemChipGroup OBJECT-GROUP
OBJECTS {
oemChipStub
}
STATUS current
DESCRIPTION
"This group configures OEM Chip specific objects."
::= { oemProdGroups 2 }
-- --------------------------------------------------------------------------
-- compliance statements
-- --------------------------------------------------------------------------
oemProdCompliance MODULE-COMPLIANCE
STATUS current
DESCRIPTION
"The compliance statement."
MODULE -- this module
MANDATORY-GROUPS {
oemArchIfaceGroup
}
GROUP oemChipGroup
DESCRIPTION
"This group is optional."
::= { oemProdCompliances 1 }
--
-- END of OEM-BCM5600-MIB
--
END

287
mibs/fs/GBNDevicePoe-MIB Normal file
View File

@ -0,0 +1,287 @@
GBNDevicePoe-MIB DEFINITIONS ::= BEGIN
IMPORTS
Integer32 FROM SNMPv2-SMI
gbnDevice FROM ADMIN-MASTER-MIB
DisplayString FROM SNMPv2-TC;
gbnDevicePoe MODULE-IDENTITY
LAST-UPDATED "0011020000Z" -- November 2, 2000
ORGANIZATION "admin Systems, Inc."
CONTACT-INFO "admin Systems, Inc.
E-mail: support@admin.com.cn"
DESCRIPTION "Gbn Common Enterprise MIB definition."
REVISION "0011020000Z" -- November 2, 2000
DESCRIPTION "Initial MIB creation."
::= { gbnDevice 4 }
poePowerSupplyTable OBJECT-TYPE
SYNTAX SEQUENCE OF PoePowerSupplyEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"A table of power supply."
::= { gbnDevicePoe 2 }
poePowerSupplyEntry OBJECT-TYPE
SYNTAX PoePowerSupplyEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"A table of power supply."
INDEX { powerindex }
::= { poePowerSupplyTable 1 }
PoePowerSupplyEntry ::= SEQUENCE {
powerindex Integer32,
poeVersion DisplayString,
powerstatus DisplayString,
poeDevicePowerLimit Integer32,
poeDevicePowerConsume Integer32
}
powerindex OBJECT-TYPE
SYNTAX Integer32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"unit index, start from 1 "
::= { poePowerSupplyEntry 1 }
poeVersion OBJECT-TYPE
SYNTAX DisplayString
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"A string of poe firmware."
::= { poePowerSupplyEntry 2 }
powerstatus OBJECT-TYPE
SYNTAX DisplayString
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"descriptions of power supply"
::= { poePowerSupplyEntry 3 }
poeDevicePowerLimit OBJECT-TYPE
SYNTAX Integer32(37..806)
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"power limit of device.unit is Watt"
::= { poePowerSupplyEntry 4 }
poeDevicePowerConsume OBJECT-TYPE
SYNTAX Integer32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"power consumption of device.unit is Watt"
::= { poePowerSupplyEntry 5 }
poePortTable OBJECT-TYPE
SYNTAX SEQUENCE OF PoePortEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"A table of poe port."
::= { gbnDevicePoe 4 }
poePortEntry OBJECT-TYPE
SYNTAX PoePortEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"A table of poe port."
INDEX { portIndex }
::= { poePortTable 1 }
PoePortEntry ::= SEQUENCE {
portIndex
Integer32,
powerlimit
Integer32,
powerConsume
Integer32
}
portIndex OBJECT-TYPE
SYNTAX Integer32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"port index, start from 1 "
::= { poePortEntry 1 }
powerlimit OBJECT-TYPE
SYNTAX Integer32
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"power limit of port.unit is mW"
::= { poePortEntry 2 }
powerConsume OBJECT-TYPE
SYNTAX Integer32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"power consumption of port.unit is mW"
::= { poePortEntry 3 }
poePdPortTable OBJECT-TYPE
SYNTAX SEQUENCE OF PoePdPortEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"A table of poe port."
::= { gbnDevicePoe 5 }
poePdPortEntry OBJECT-TYPE
SYNTAX PoePdPortEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"A table of poe port."
INDEX { portPdIndex }
::= { poePdPortTable 1 }
PoePdPortEntry ::= SEQUENCE {
portPdIndex
Integer32,
portPoePdEnable
Integer32,
portPoePdConfig
Integer32
}
portPdIndex OBJECT-TYPE
SYNTAX Integer32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"port index, start from 1 "
::= { poePdPortEntry 1 }
portPoePdEnable OBJECT-TYPE
SYNTAX Integer32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"poe feedback real time port enable state.unit is mW"
::= { poePdPortEntry 2 }
portPoePdConfig OBJECT-TYPE
SYNTAX Integer32
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"poe feedback config port enable.unit is mW"
::= { poePdPortEntry 3 }
poeFanControlTable OBJECT-TYPE
SYNTAX SEQUENCE OF PoeFanControlEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"A table of poe fan set."
::= { gbnDevicePoe 6 }
poeFanControlEntry OBJECT-TYPE
SYNTAX PoeFanControlEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"A table of poe fan set."
INDEX { poeFandefault }
::= { poeFanControlTable 1 }
PoeFanControlEntry ::= SEQUENCE {
poeFandefault
INTEGER,
poeFanlowVaule
Integer32,
poeFanmiddleVaule
Integer32,
poeFanhighVaule
Integer32,
poeFanModeSet
INTEGER,
poeFan1Speed
Integer32,
poeFan2Speed
Integer32,
poeTemperature
DisplayString
}
poeFandefault OBJECT-TYPE
SYNTAX INTEGER {
default(1),
user-defined(0)
}
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"poe fans' mode set or get."
::= { poeFanControlEntry 1 }
poeFanlowVaule OBJECT-TYPE
SYNTAX Integer32(0..25)
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"poe fan-control low-temperature"
::= { poeFanControlEntry 2 }
poeFanmiddleVaule OBJECT-TYPE
SYNTAX Integer32(26..60)
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"poe fan-control middle-temperature"
::= { poeFanControlEntry 3 }
poeFanhighVaule OBJECT-TYPE
SYNTAX Integer32(61..70)
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"poe fan-control high-temperature"
::= { poeFanControlEntry 4 }
poeFanModeSet OBJECT-TYPE
SYNTAX INTEGER {
default(0),
user-defined(1)
}
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"poe fan-control user defined set"
::= { poeFanControlEntry 5 }
poeFan1Speed OBJECT-TYPE
SYNTAX Integer32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"the fan1 speed of the switch"
::= { poeFanControlEntry 6 }
poeFan2Speed OBJECT-TYPE
SYNTAX Integer32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"the fan2 speed of the switch"
::= { poeFanControlEntry 7 }
poeTemperature OBJECT-TYPE
SYNTAX DisplayString
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"the temperture of the switch"
::= { poeFanControlEntry 8 }
END

3259
mibs/fs/GBNDeviceSWAPI-MIB Normal file

File diff suppressed because it is too large Load Diff

437
mibs/fs/GBNDeviceStack-MIB Normal file
View File

@ -0,0 +1,437 @@
GBNDeviceStack-MIB DEFINITIONS ::= BEGIN
IMPORTS
MODULE-IDENTITY, OBJECT-TYPE,
Integer32, IpAddress,
NOTIFICATION-TYPE FROM SNMPv2-SMI
DisplayString, MacAddress,
RowStatus, TruthValue FROM SNMPv2-TC
MODULE-COMPLIANCE, OBJECT-GROUP FROM SNMPv2-CONF
gbnDevice FROM ADMIN-MASTER-MIB
;
gbnDeviceStackMib MODULE-IDENTITY
LAST-UPDATED "2013/07/09" -- July 09, 2013
ORGANIZATION "ADMIN"
CONTACT-INFO "ADMIN
E-mail: support@admin.com"
DESCRIPTION "gbn stack Enterprise MIB definition."
REVISION "2013/07/09" -- July 09, 2013
DESCRIPTION "Initial MIB creation."
::= { gbnDevice 5 }
------------------------------------------------------------------------------
-- Textual Conventions (i.e., these do not affect object encoding):
------------------------------------------------------------------------------
--
-- "DURABLE":
-- Objects that are saved across a system reset and/or power cycle
-- are noted as "DURABLE" for convenience in the DESCRIPTION
-- section of the object definition. Code must be explicitly
-- written to implement these DURABLE objects.
--
------------------------------------------------------------------------------
-- define groups in gbn-stack-MIB
stackEnableRunning OBJECT-TYPE
SYNTAX TruthValue
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"stack mode running status."
::= { gbnDeviceStackMib 1 }
stackEnableConfig OBJECT-TYPE
SYNTAX TruthValue
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"trigger to enable or disable stack mode, need to reboot to take effect."
::= { gbnDeviceStackMib 2 }
stackUnitMax OBJECT-TYPE
SYNTAX Integer32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"max unit members support in stack mode."
::= { gbnDeviceStackMib 3 }
stackPortVirtualLinkTable OBJECT-TYPE
SYNTAX SEQUENCE OF StackPortVirtualLinkEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"table of virtual link."
REFERENCE
"9.6.1"
::= { gbnDeviceStackMib 4 }
stackPortVirtualLinkEntry OBJECT-TYPE
SYNTAX StackPortVirtualLinkEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"virtuallink is a virtual link, it includes none or some real physical ports.System have two virtuallink:virtuallink 1 and virtualink 2."
INDEX { stackPortVirtualLinkPhyPort }
::= { stackPortVirtualLinkTable 1 }
StackPortVirtualLinkEntry ::=
SEQUENCE {
stackPortVirtualLinkDevice
Integer32,
stackPortVirtualLinkSlot
Integer32,
stackPortVirtualLinkPortNum
Integer32,
stackPortVirtualLinkPhyPort
Integer32,
stackPortVirtualLinkModeRunning
INTEGER,
stackPortVirtualLinkModeConfig
INTEGER,
stackPortVirtualLinkLinkStatus
INTEGER,
stackPortVirtualLinkLinkSpeed
INTEGER,
}
stackPortVirtualLinkPhyPort OBJECT-TYPE
SYNTAX Integer32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"port number of switch."
::= { stackPortVirtualLinkEntry 1 }
stackPortVirtualLinkDevice OBJECT-TYPE
SYNTAX Integer32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"device in <device/slot/portnum>."
::= { stackPortVirtualLinkEntry 2 }
stackPortVirtualLinkSlot OBJECT-TYPE
SYNTAX Integer32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"slot in <device/slot/portnum>."
::= { stackPortVirtualLinkEntry 3 }
stackPortVirtualLinkPortNum OBJECT-TYPE
SYNTAX Integer32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"portnum in <device/slot/portnum>."
::= { stackPortVirtualLinkEntry 4 }
stackPortVirtualLinkModeRunning OBJECT-TYPE
SYNTAX INTEGER {
none(0),
virtuallink1(1),
virtuallink2(2)
}
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"running status."
::= { stackPortVirtualLinkEntry 5 }
stackPortVirtualLinkModeConfig OBJECT-TYPE
SYNTAX INTEGER {
none(0),
virtuallink1(1),
virtuallink2(2)
}
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"trigger to change virtuallink mode of phyical port, need to reboot to tabke effect."
::= { stackPortVirtualLinkEntry 6 }
stackPortVirtualLinkLinkStatus OBJECT-TYPE
SYNTAX INTEGER {
linkdown(0),
linkup(1)
}
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"link status of this phyical port."
::= { stackPortVirtualLinkEntry 7 }
stackPortVirtualLinkLinkSpeed OBJECT-TYPE
SYNTAX INTEGER {
s10g(0),
s12g(1),
s1g(2),
s2-5g(3),
s5g(4),
s10m(5),
s100m(6),
unknow(7)
}
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"link speed of this phyical port."
::= { stackPortVirtualLinkEntry 8 }
stackMemberTable OBJECT-TYPE
SYNTAX SEQUENCE OF StackMemberEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"table of stack members."
REFERENCE
"9.6.1"
::= { gbnDeviceStackMib 5 }
stackMemberEntry OBJECT-TYPE
SYNTAX StackMemberEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"members of stack system, when stack is not running, only unit 0 can use."
INDEX { stackMemberUnit }
::= { stackMemberTable 1 }
StackMemberEntry ::=
SEQUENCE {
stackMemberUnit
Integer32,
stackMemberMode
INTEGER,
stackMemberNewUnit
Integer32,
stackMemberPriorityRunning
Integer32,
stackMemberPriorityConfig
Integer32,
stackMemberReboot
TruthValue,
stackMemberVirtualLink1Hop
Integer32,
stackMemberVirtualLink2Hop
Integer32,
stackMemberMac
MacAddress,
}
stackMemberUnit OBJECT-TYPE
SYNTAX Integer32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"unit number, range is form 0 to (stackUnitMax - 1)."
::= { stackMemberEntry 1 }
stackMemberMode OBJECT-TYPE
SYNTAX INTEGER {
slave(0),
master(1)
}
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"member unit is master or slave."
::= { stackMemberEntry 2 }
stackMemberNewUnit OBJECT-TYPE
SYNTAX Integer32
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"trigger to change unit number, range is form 0 to (stackUnitMax - 1).need to reboot to tabke effect"
::= { stackMemberEntry 3 }
stackMemberPriorityRunning OBJECT-TYPE
SYNTAX Integer32 (0..255)
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"running priorty of this unit.default is 0"
::= { stackMemberEntry 4 }
stackMemberPriorityConfig OBJECT-TYPE
SYNTAX Integer32 (0..255)
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"trigger to change priortiy of this unit, need to reboot to tabke effect.default is 0.need to reboot to tabke effect"
::= { stackMemberEntry 5 }
stackMemberReboot OBJECT-TYPE
SYNTAX TruthValue
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"trigger to reboot this unit."
::= { stackMemberEntry 6 }
stackMemberVirtualLink1Hop OBJECT-TYPE
SYNTAX Integer32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"how many hops can master unit reach this unit from virtuallink 1.range is from 0 to stackUnitMax, and stackUnitMax means infinite."
::= { stackMemberEntry 7 }
stackMemberVirtualLink2Hop OBJECT-TYPE
SYNTAX Integer32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"how many hops can master unit reach this unit from virtuallink 2.range is from 0 to stackUnitMax, and stackUnitMax means infinite."
::= { stackMemberEntry 8 }
stackMemberMac OBJECT-TYPE
SYNTAX MacAddress
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"mac address of this unit."
::= { stackMemberEntry 9 }
stackLinkdownDelay OBJECT-TYPE
SYNTAX TruthValue
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"enable or disable linkdown-delay function.default is disable.this mib can be accessed only when stackEnableRunning is true."
::= { gbnDeviceStackMib 6 }
stackHelloTimeOut OBJECT-TYPE
SYNTAX Integer32 (1..32)
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"enable or disable linkdown-delay function.default is disable.default is 30 seconds.this mib can be accessed only when stackEnableRunning is true."
::= { gbnDeviceStackMib 7 }
stackLacpMadDomain OBJECT-TYPE
SYNTAX Integer32 (0..255)
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"lacp mad domain id.default is 0.this mib can be accessed only when stackEnableRunning is true."
::= { gbnDeviceStackMib 8 }
stackLacpMadTable OBJECT-TYPE
SYNTAX SEQUENCE OF StackLacpMadEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"table of lacp mad.this mib can be accessed only when stackEnableRunning is true."
REFERENCE
"9.6.1"
::= { gbnDeviceStackMib 9 }
stackLacpMadEntry OBJECT-TYPE
SYNTAX StackLacpMadEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"table of lacp mad."
INDEX { lacpMadChannelGroup }
::= { stackLacpMadTable 1 }
StackLacpMadEntry ::=
SEQUENCE {
lacpMadChannelGroup
Integer32,
lacpMadEnable
TruthValue,
}
lacpMadChannelGroup OBJECT-TYPE
SYNTAX Integer32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"lacp channel group number."
::= { stackLacpMadEntry 1 }
lacpMadEnable OBJECT-TYPE
SYNTAX TruthValue
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"enable or disable lacp mad function.default is disable."
::= { stackLacpMadEntry 2 }
stackMadExcludeTable OBJECT-TYPE
SYNTAX SEQUENCE OF StackMadExcludeEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"table of mad exclude of port.this mib can be accessed only when stackEnableRunning is true."
REFERENCE
"9.6.1"
::= { gbnDeviceStackMib 10 }
stackMadExcludeEntry OBJECT-TYPE
SYNTAX StackMadExcludeEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"table of mad exclude of port."
INDEX { madExcludePort }
::= { stackMadExcludeTable 1 }
StackMadExcludeEntry ::=
SEQUENCE {
madExcludePort
Integer32,
macExcludeEnable
TruthValue,
}
madExcludePort OBJECT-TYPE
SYNTAX Integer32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"port number of system."
::= { stackMadExcludeEntry 1 }
macExcludeEnable OBJECT-TYPE
SYNTAX TruthValue
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"enable or disable mad exclude function.default is disable."
::= { stackMadExcludeEntry 2 }
----------------------------------------------------------------------------------
--stack TRAP MIB--
----------------------------------------------------------------------------------
stackTrap OBJECT IDENTIFIER ::= { gbnDeviceStackMib 11 }
stackPortVirtualLinkStateChange NOTIFICATION-TYPE
OBJECTS { stackPortVirtualLinkDevice, stackPortVirtualLinkSlot,
stackPortVirtualLinkPortNum, stackPortVirtualLinkLinkStatus }
STATUS current
DESCRIPTION
"A link state change trap signifies that the SNMP entity,
acting in an agent role, has detected that the
stackPortVirtualLinkLinkStatus object for one of its communication
links is about to enter the down or up state from some other state."
::= { stackTrap 1 }
--
-- END of gbn-stack-MIB
--
END

2796
mibs/fs/GBNDeviceSwitch-MIB Normal file

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,364 @@
GBNL2Dhcp6Snooping-MIB DEFINITIONS ::= BEGIN
IMPORTS
MODULE-IDENTITY, OBJECT-TYPE,
Integer32, Counter32,
TimeTicks, IpAddress FROM SNMPv2-SMI
DisplayString, TruthValue,RowStatus,
MacAddress FROM SNMPv2-TC
MODULE-COMPLIANCE, OBJECT-GROUP FROM SNMPv2-CONF
gbnL2 FROM ADMIN-MASTER-MIB;
gbnL2Dhcp6Snooping MODULE-IDENTITY
LAST-UPDATED "0105030000Z" -- May 03,2001
ORGANIZATION "Admin Co., Ltd."
CONTACT-INFO "Admin Co., Ltd.
E-mail: support@newzyxel.com"
DESCRIPTION "ADMIN Enterprise MIB definition."
REVISION "0105030000Z" -- May 03,2001
DESCRIPTION "Initial MIB creation."
::= { gbnL2 9 }
------------------------------------------------------------------------------
-- Textual Conventions (i.e., these do not affect object encoding):
------------------------------------------------------------------------------
dhcp6snoopingOnOff OBJECT-TYPE
SYNTAX TruthValue
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"start/stop dhcp6snooping.Default is off¡£"
::= { gbnL2Dhcp6Snooping 1 }
dhcp6snoopingPortTable OBJECT-TYPE
SYNTAX SEQUENCE OF Dhcp6snoopingPortEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"A table that contains port informations of dhcp6snooping."
::= { gbnL2Dhcp6Snooping 2 }
dhcp6snoopingPortEntry OBJECT-TYPE
SYNTAX Dhcp6snoopingPortEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"Port informations of dhcp6snooping. This is indexed
by the port number."
INDEX { portIndex }
::= { dhcp6snoopingPortTable 1 }
Dhcp6snoopingPortEntry ::=
SEQUENCE {
portIndex
INTEGER,
portTrustMode
INTEGER,
portMaxNum
INTEGER,
portIpSourceGuardMode
INTEGER
}
portIndex OBJECT-TYPE
SYNTAX INTEGER
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The Index of the port."
::= { dhcp6snoopingPortEntry 1 }
portTrustMode OBJECT-TYPE
SYNTAX INTEGER {
trust(1),
untrust(2)
}
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"Port mode of dhcp6snooping.Default is untrust."
::= { dhcp6snoopingPortEntry 2 }
portMaxNum OBJECT-TYPE
SYNTAX INTEGER
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"Max clients in this port.Range is from 0 to 2048.Default is 2048."
::= { dhcp6snoopingPortEntry 3 }
portIpSourceGuardMode OBJECT-TYPE
SYNTAX INTEGER {
on(1),
off(2)
}
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"Port IP source guard mode .Default is off."
::= { dhcp6snoopingPortEntry 4 }
dhcp6snoopingVlanTable OBJECT-TYPE
SYNTAX SEQUENCE OF Dhcp6snoopingVlanEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"A table that contains vlan informations of dhcp6snooping."
::= { gbnL2Dhcp6Snooping 3 }
dhcp6snoopingVlanEntry OBJECT-TYPE
SYNTAX Dhcp6snoopingVlanEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"VLAN informations of dhcp6snooping. This is indexed
by the vlan number."
INDEX { vlanIndex }
::= { dhcp6snoopingVlanTable 1 }
Dhcp6snoopingVlanEntry ::=
SEQUENCE {
vlanIndex
INTEGER,
vlanMaxNum
INTEGER
}
vlanIndex OBJECT-TYPE
SYNTAX INTEGER (1..4094)
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The Index of the vlan."
::= { dhcp6snoopingVlanEntry 1 }
vlanMaxNum OBJECT-TYPE
SYNTAX INTEGER
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"Max clients in this vlan.Range is from 0 to 2048.Default is 2048."
::= { dhcp6snoopingVlanEntry 2 }
dhcp6snoopingPortDownAction OBJECT-TYPE
SYNTAX INTEGER {
fastRemove(1),
autoAging(2)
}
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"When port moves to down state, if fast-remove is enabled, switch will remove entries immediately,
if auto-aging is enabled, switch will wait until lease time expires and remove entries."
::= { gbnL2Dhcp6Snooping 4 }
-- dhcpv6 snooping client table
dhcp6snoopingClientTable OBJECT-TYPE
SYNTAX SEQUENCE OF Dhcp6snoopingClientEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"A table to show dhcpv6 snooping clients."
::= { gbnL2Dhcp6Snooping 6 }
dhcp6snoopingClientEntry OBJECT-TYPE
SYNTAX Dhcp6snoopingClientEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"entry of dhcpv6 snooping clients table."
INDEX { client6MacAddr }
::= { dhcp6snoopingClientTable 1 }
Dhcp6snoopingClientEntry ::=
SEQUENCE {
client6MacAddr MacAddress,
client6VlanId INTEGER,
client6PortId INTEGER,
client6LeaseNum INTEGER,
client6IpAddrStr OCTET STRING,
client6IpAddrStr2 OCTET STRING,
client6LeaseTime OCTET STRING
}
client6MacAddr OBJECT-TYPE
SYNTAX MacAddress
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"dhcpv6 snooping client mac address."
::= { dhcp6snoopingClientEntry 1 }
client6VlanId OBJECT-TYPE
SYNTAX INTEGER(1..4094)
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"dhcpv6 snooping client vlan id."
::= { dhcp6snoopingClientEntry 2 }
client6PortId OBJECT-TYPE
SYNTAX INTEGER(1..255)
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"dhcpv6 snooping client port id."
::= { dhcp6snoopingClientEntry 3 }
client6LeaseNum OBJECT-TYPE
SYNTAX INTEGER(1..255)
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"dhcpv6 snooping client lease number."
::= { dhcp6snoopingClientEntry 4 }
client6IpAddrStr OBJECT-TYPE
SYNTAX OCTET STRING (SIZE(0..255))
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"dhcpv6 snooping client ip address string."
::= { dhcp6snoopingClientEntry 5 }
client6IpAddrStr2 OBJECT-TYPE
SYNTAX OCTET STRING (SIZE(0..255))
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"dhcpv6 snooping client ip address string 2."
::= { dhcp6snoopingClientEntry 6 }
client6LeaseTime OBJECT-TYPE
SYNTAX OCTET STRING (SIZE(0..255))
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"dhcpv6 snooping client lease time string."
::= { dhcp6snoopingClientEntry 7 }
-- dhcpv6 snooping ipv6 source guard bind table
dhcpsIpv6SourceGuardBindTable OBJECT-TYPE
SYNTAX SEQUENCE OF DhcpsIpv6SourceGuardBindEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"A table that contains ipv6 source guard bind informations of dhcp6snooping."
::= { gbnL2Dhcp6Snooping 7 }
dhcpsIpv6SourceGuardBindEntry OBJECT-TYPE
SYNTAX DhcpsIpv6SourceGuardBindEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"entry of dhcpv6 snooping ipv6 source guard bind table."
INDEX { ip6BindIndex }
::= { dhcpsIpv6SourceGuardBindTable 1 }
DhcpsIpv6SourceGuardBindEntry ::=
SEQUENCE {
ip6BindIndex INTEGER,
ip6BindIpAddr OCTET STRING,
ip6BindMacAddr MacAddress,
ip6BindPortId INTEGER,
ip6BindVlanId INTEGER,
ip6SourceGuardBindRowstatus RowStatus
}
ip6BindIndex OBJECT-TYPE
SYNTAX INTEGER(1..380)
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"ipv6 source guard bind port id."
::= { dhcpsIpv6SourceGuardBindEntry 1 }
ip6BindIpAddr OBJECT-TYPE
SYNTAX OCTET STRING (SIZE(0..39))
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"ipv6 source guard bind ipv6 address."
::= { dhcpsIpv6SourceGuardBindEntry 2 }
ip6BindMacAddr OBJECT-TYPE
SYNTAX MacAddress
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"ipv6 source guard bind mac address."
::= { dhcpsIpv6SourceGuardBindEntry 3 }
ip6BindPortId OBJECT-TYPE
SYNTAX INTEGER(1..255)
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"ipv6 source guard bind port id."
::= { dhcpsIpv6SourceGuardBindEntry 4 }
ip6BindVlanId OBJECT-TYPE
SYNTAX INTEGER(1..4094)
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"ipv6 source guard bind vlan id."
::= { dhcpsIpv6SourceGuardBindEntry 5 }
ip6SourceGuardBindRowstatus OBJECT-TYPE
SYNTAX RowStatus
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"RowStatus."
::= { dhcpsIpv6SourceGuardBindEntry 6 }
-- others
ipv6SourceGuardDisabledVlanString OBJECT-TYPE
SYNTAX OCTET STRING (SIZE(0..255))
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"IP Source Guard is disabled in following vlans."
::= { gbnL2Dhcp6Snooping 8 }
-- dhcp6snooping infomation
dhcp6snoopingInfomation OBJECT IDENTIFIER ::= { gbnL2Dhcp6Snooping 20 }
dhcp6snoopingInfoOption18Enable OBJECT-TYPE
SYNTAX INTEGER { true(1), false(0) }
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"dhcp6snooping infomation options 18 enabled, default disable(0)."
::= { dhcp6snoopingInfomation 1 }
dhcp6snoopingInfoOption37Enable OBJECT-TYPE
SYNTAX INTEGER { true(1), false(0) }
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"dhcp6snooping infomation options 37 enabled, default disable(0)."
::= { dhcp6snoopingInfomation 2 }
dhcp6snoopingInfoRemoteId OBJECT-TYPE
SYNTAX INTEGER { ipv4(1), ipv6(2), hostname(3), selfdefined(4) }
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"dhcp6snooping infomation remote id, default hostname(3)."
::= { dhcp6snoopingInfomation 3 }
dhcp6snoopingInfoRemoteStr OBJECT-TYPE
SYNTAX OCTET STRING (SIZE(0..64))
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"dhcp6snooping infomation option content, it is associated with remote id.
when remote id is 1, and this string can translate into ipv4 address,
or remote id is 2, and this string can translate into ipv6 address,
or remote id is 3,
or remote id is 4, and this string is not zerolength,
these two value commit to the system."
::= { dhcp6snoopingInfomation 4 }
dhcp6snoopingInfoInterfaceId OBJECT-TYPE
SYNTAX INTEGER { ipv4(1), ipv6(2), hostname(3), selfdefined(4) }
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"dhcp6snooping infomation remote id, default hostname(3)."
::= { dhcp6snoopingInfomation 5 }
dhcp6snoopingInfoInterfaceStr OBJECT-TYPE
SYNTAX OCTET STRING (SIZE(0..64))
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"dhcp6snooping infomation option content, it is associated with remote id.
when remote id is 1, and this string can translate into ipv4 address,
or remote id is 2, and this string can translate into ipv6 address,
or remote id is 3,
or remote id is 4, and this string is not zerolength,
these two value commit to the system."
::= { dhcp6snoopingInfomation 6 }
END

View File

@ -0,0 +1,192 @@
GBNL2DhcpSnooping-MIB DEFINITIONS ::= BEGIN
IMPORTS
MODULE-IDENTITY, OBJECT-TYPE,
Integer32, Counter32,
TimeTicks, IpAddress FROM SNMPv2-SMI
DisplayString, TruthValue,RowStatus FROM SNMPv2-TC
MODULE-COMPLIANCE, OBJECT-GROUP FROM SNMPv2-CONF
gbnL2 FROM ADMIN-MASTER-MIB;
gbnL2DhcpSnooping MODULE-IDENTITY
LAST-UPDATED "0105030000Z" -- May 03,2001
ORGANIZATION "New admin Co., Ltd."
CONTACT-INFO "New admin Co., Ltd.
E-mail: support@newzyxel.com"
DESCRIPTION "ADMIN Enterprise MIB definition."
REVISION "0105030000Z" -- May 03,2001
DESCRIPTION "Initial MIB creation."
::= { gbnL2 8 }
------------------------------------------------------------------------------
-- Textual Conventions (i.e., these do not affect object encoding):
------------------------------------------------------------------------------
dhcpsnoopingOnOff OBJECT-TYPE
SYNTAX TruthValue
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"start/stop dhcpsnooping.Default is off。"
--开启关闭Dhcpsnooping功能。
::= { gbnL2DhcpSnooping 1 }
dhcpsnoopingPortTable OBJECT-TYPE
SYNTAX SEQUENCE OF DhcpsnoopingPortEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"A table that contains port informations of dhcpsnooping."
--DHCPSnooping的端口信息表。
::= { gbnL2DhcpSnooping 2 }
dhcpsnoopingPortEntry OBJECT-TYPE
SYNTAX DhcpsnoopingPortEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"Port informations of dhcpsnooping. This is indexed
by the port number."
--DHCPSnooping的端口信息表以端口号为索引。
INDEX { portIndex }
::= { dhcpsnoopingPortTable 1 }
DhcpsnoopingPortEntry ::=
SEQUENCE {
portIndex
INTEGER,
portTrustMode
INTEGER,
portMaxNum
INTEGER,
portIpSourceGuardMode
INTEGER
}
portIndex OBJECT-TYPE
SYNTAX INTEGER
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The Index of the port."
--端口索引,也就是端口号
::= { dhcpsnoopingPortEntry 1 }
portTrustMode OBJECT-TYPE
SYNTAX INTEGER {
trust(1),
untrust(2)
}
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"Port mode of dhcpsnooping.Default is untrust."
--端口模式默认为untrust。
::= { dhcpsnoopingPortEntry 2 }
portMaxNum OBJECT-TYPE
SYNTAX INTEGER
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"Max clients in this port.Range is from 0 to 2048.Default is 2048."
--端口最多可以学习到的DHCP客户端取值范围为0~2048。默认为2048。
::= { dhcpsnoopingPortEntry 3 }
portIpSourceGuardMode OBJECT-TYPE
SYNTAX INTEGER {
ip(1),
ipMac(2),
ipMacVlan(3),
off(4)
}
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"Port IP source guard mode .Default is off."
--端口IP地址保护模式默认为关闭。
::= { dhcpsnoopingPortEntry 4 }
dhcpsnoopingVlanTable OBJECT-TYPE
SYNTAX SEQUENCE OF DhcpsnoopingVlanEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"A table that contains vlan informations of dhcpsnooping."
--DHCPSnooping的VLAN信息表。
::= { gbnL2DhcpSnooping 3 }
dhcpsnoopingVlanEntry OBJECT-TYPE
SYNTAX DhcpsnoopingVlanEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"VLAN informations of dhcpsnooping. This is indexed
by the vlan number."
--DHCPSnooping的VLAN信息表以VLAN号为索引。
INDEX { vlanIndex }
::= { dhcpsnoopingVlanTable 1 }
DhcpsnoopingVlanEntry ::=
SEQUENCE {
vlanIndex
INTEGER,
vlanMaxNum
INTEGER,
vlandhcpsnoopingOnOff
TruthValue
}
vlanIndex OBJECT-TYPE
SYNTAX INTEGER (1..4094)
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The Index of the vlan."
--VLAN索引也就是VLAN号
::= { dhcpsnoopingVlanEntry 1 }
vlanMaxNum OBJECT-TYPE
SYNTAX INTEGER
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"Max clients in this vlan.Range is from 0 to 2048.Default is 2048."
--VLAN最多可以学习到的DHCP客户端取值范围为0~2048。默认为2048。
::= { dhcpsnoopingVlanEntry 2 }
vlandhcpsnoopingOnOff OBJECT-TYPE
SYNTAX TruthValue
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"start/stop dhcpsnooping of this vlan.Default is on。"
--开启关闭VLAN Dhcpsnooping功能。
::= { dhcpsnoopingVlanEntry 3 }
dhcpsnoopingNto1VlanOnOff OBJECT-TYPE
SYNTAX TruthValue
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"start/stop N:1 vlan.Default is off."
--开启关闭N:1 vlan功能。
::= { gbnL2DhcpSnooping 4 }
dhcpsnoopingPortDownAction OBJECT-TYPE
SYNTAX INTEGER {
fastRemove(1),
autoAging(2)
}
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"When port moves to down state, if fast-remove is enabled, switch will remove entries immediately,
if auto-aging is enabled, switch will wait until lease time expires and remove entries."
::= { gbnL2DhcpSnooping 5 }
END

View File

@ -0,0 +1,501 @@
GBNL2PortSecurity-MIB DEFINITIONS ::= BEGIN
IMPORTS
MODULE-IDENTITY, OBJECT-TYPE,
Integer32, IpAddress,
NOTIFICATION-TYPE FROM SNMPv2-SMI
DisplayString, MacAddress,
RowStatus, TruthValue FROM SNMPv2-TC
MODULE-COMPLIANCE, OBJECT-GROUP FROM SNMPv2-CONF
gbnL2 FROM ADMIN-MASTER-MIB
;
gbnL2Switch OBJECT IDENTIFIER ::= { gbnL2 1 }
gbnL2PortSecurityMib MODULE-IDENTITY
LAST-UPDATED "2013/01/24" -- Jan 24, 2013
ORGANIZATION "Admin"
CONTACT-INFO "Admin
E-mail: support@admin.com"
DESCRIPTION "gbn PortSecurity Enterprise MIB definition."
REVISION "2013/01/24" -- Jan 24, 2013
DESCRIPTION "Initial MIB creation."
::= { gbnL2Switch 8 }
------------------------------------------------------------------------------
-- Textual Conventions (i.e., these do not affect object encoding):
------------------------------------------------------------------------------
--
-- "DURABLE":
-- Objects that are saved across a system reset and/or power cycle
-- are noted as "DURABLE" for convenience in the DESCRIPTION
-- section of the object definition. Code must be explicitly
-- written to implement these DURABLE objects.
--
------------------------------------------------------------------------------
-- define groups in gbn-PortSecurity-MIB
portSecurityNotifications OBJECT IDENTIFIER ::= { gbnL2PortSecurityMib 0 }
portSecurityPortTable OBJECT-TYPE
SYNTAX SEQUENCE OF PortSecurityPortEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"table of information of ports."
REFERENCE
"9.6.1"
::= { gbnL2PortSecurityMib 1 }
portSecurityPortEntry OBJECT-TYPE
SYNTAX PortSecurityPortEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"table of information of ports."
INDEX { portSecurityPortNum }
::= { portSecurityPortTable 1 }
PortSecurityPortEntry ::=
SEQUENCE {
portSecurityPortNum
Unsigned32,
portSecurityEnable
TruthValue,
portSecurityMaxNum
Integer32,
portSecurityCurrentNum
Integer32,
portSecurityViolationMode
INTEGER,
portSecurityAgingStatic
TruthValue,
portSecurityAgingTime
Integer32,
portSecuritySticky
TruthValue,
portSecurityShutdown
TruthValue,
portSecurityRecovery
TruthValue,
portSecurityRecoveryTime
Integer32
}
portSecurityPortNum OBJECT-TYPE
SYNTAX Unsigned32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The Port number associated with this Port."
::= { portSecurityPortEntry 1 }
portSecurityEnable OBJECT-TYPE
SYNTAX TruthValue
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"Enable/disable port security of this Port.default is disabled."
::= { portSecurityPortEntry 2 }
portSecurityMaxNum OBJECT-TYPE
SYNTAX Integer32 (0..4000)
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"Max secure mac address.default is 0."
::= { portSecurityPortEntry 3 }
portSecurityCurrentNum OBJECT-TYPE
SYNTAX Integer32 (0..4000)
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Current mac address."
::= { portSecurityPortEntry 4 }
portSecurityViolationMode OBJECT-TYPE
SYNTAX INTEGER {
protect(0), -- drop packets
restrict(1), -- drop packets, send trap
shutdown(2) -- drop packets, send trap, shutdown port
}
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"action when receive illegal packets.default is protect."
::= { portSecurityPortEntry 5 }
portSecurityAgingStatic OBJECT-TYPE
SYNTAX TruthValue
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"enable static mac aging.default is false."
::= { portSecurityPortEntry 6 }
portSecurityAgingTime OBJECT-TYPE
SYNTAX Integer32 (1..1440)
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"value of aging time.default is 1 minute"
::= { portSecurityPortEntry 7 }
portSecuritySticky OBJECT-TYPE
SYNTAX TruthValue
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"enable sticky function.default is false."
::= { portSecurityPortEntry 8 }
portSecurityShutdown OBJECT-TYPE
SYNTAX TruthValue
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"whether port is shutdown by port-security."
::= { portSecurityPortEntry 9 }
portSecurityRecovery OBJECT-TYPE
SYNTAX TruthValue
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"whether port auto recovery after shutdown."
::= { portSecurityPortEntry 10 }
portSecurityRecoveryTime OBJECT-TYPE
SYNTAX Integer32 (1..3660)
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"value of auto recovery time.default is 5 minute"
::= { portSecurityPortEntry 11 }
portSecurityMacRuleTable OBJECT-TYPE
SYNTAX SEQUENCE OF PortSecurityMacRuleEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"table of mac rules of ports."
REFERENCE
"9.6.1"
::= { gbnL2PortSecurityMib 2 }
portSecurityMacRuleEntry OBJECT-TYPE
SYNTAX PortSecurityMacRuleEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"table of mac rules of ports."
INDEX { portSecurityMacRulePortNum, portSecurityMacRuleMac }
::= { portSecurityMacRuleTable 1 }
PortSecurityMacRuleEntry ::=
SEQUENCE {
portSecurityMacRulePortNum
Unsigned32,
portSecurityMacRuleMac
MacAddress,
portSecurityMacRuleAction
INTEGER,
portSecurityMacRuleVid
Integer32,
portSecurityMacRuleIpv4
IpAddress,
portSecurityMacRuleType
INTEGER,
portsecurityMacRuleRowStatus
RowStatus
}
portSecurityMacRulePortNum OBJECT-TYPE
SYNTAX Unsigned32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The Port number associated with this Port."
::= { portSecurityMacRuleEntry 1 }
portSecurityMacRuleMac OBJECT-TYPE
SYNTAX MacAddress
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"mac address."
::= { portSecurityMacRuleEntry 2 }
portSecurityMacRuleAction OBJECT-TYPE
SYNTAX INTEGER {
permit(0),
deny(1),
sticky(2)
}
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"forward action of mac address."
::= { portSecurityMacRuleEntry 3 }
portSecurityMacRuleVid OBJECT-TYPE
SYNTAX Integer32 (0..4094)
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"vlan id of mac address.0 means no configured."
::= { portSecurityMacRuleEntry 4 }
portSecurityMacRuleIpv4 OBJECT-TYPE
SYNTAX IpAddress
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"vlan if of mac address.0.0.0.0 means no configured."
::= { portSecurityMacRuleEntry 5 }
portSecurityMacRuleType OBJECT-TYPE
SYNTAX INTEGER {
mac(0),
macvid(1),
macip(2)
}
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"type of mac address."
::= { portSecurityMacRuleEntry 6 }
portsecurityMacRuleRowStatus OBJECT-TYPE
SYNTAX RowStatus
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"use to create or delete a rule.step:1)portsecurityMacRuleRowStatus with value 5(create and wait);2)other mib needed;
for mac rule just portSecurityMacRuleType and portSecurityMacRuleAction, for mac+vid rule just portSecurityMacRuleType, portSecurityMacRuleAction,
and portSecurityMacRuleVid, for mac+ip rule just portSecurityMacRuleType, portSecurityMacRuleAction, and portSecurityMacRuleIpv4;
3)portsecurityMacRuleRowStatus with value 4(create and go) to create, or portsecurityMacRuleRowStatus with value 6(destroy) to delete"
::= { portSecurityMacRuleEntry 7 }
portSecurityIpRuleTable OBJECT-TYPE
SYNTAX SEQUENCE OF PortSecurityIpRuleEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"table of ip rules of ports."
REFERENCE
"9.6.1"
::= { gbnL2PortSecurityMib 3 }
portSecurityIpRuleEntry OBJECT-TYPE
SYNTAX PortSecurityIpRuleEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"table of ip rules of ports."
INDEX { portSecurityIpRulePortNum, portSecurityIpRuleIpv4Start, portSecurityIpRuleIpv4End }
::= { portSecurityIpRuleTable 1 }
PortSecurityIpRuleEntry ::=
SEQUENCE {
portSecurityIpRulePortNum
Unsigned32,
portSecurityIpRuleIpv4Start
IpAddress,
portSecurityIpRuleIpv4End
IpAddress,
portSecurityIpRuleAction
INTEGER,
portsecurityIpRuleRowStatus
RowStatus
}
portSecurityIpRulePortNum OBJECT-TYPE
SYNTAX Unsigned32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The Port number associated with this Port."
::= { portSecurityIpRuleEntry 1 }
portSecurityIpRuleIpv4Start OBJECT-TYPE
SYNTAX IpAddress
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"start ip address of this rule."
::= { portSecurityIpRuleEntry 2 }
portSecurityIpRuleIpv4End OBJECT-TYPE
SYNTAX IpAddress
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"end ip address of this rule."
::= { portSecurityIpRuleEntry 3 }
portSecurityIpRuleAction OBJECT-TYPE
SYNTAX INTEGER {
permit(0),
deny(1)
}
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"forward action of ip address."
::= { portSecurityIpRuleEntry 4 }
portsecurityIpRuleRowStatus OBJECT-TYPE
SYNTAX RowStatus
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"use to create or delete a rule.step:1)portsecurityIpRuleRowStatus with value 5(create and wait);2)portSecurityIpRuleAction;
3)portsecurityIpRuleRowStatus with value 4(create and go) to create, or portsecurityIpRuleRowStatus with value 6(destroy) to delete"
::= { portSecurityIpRuleEntry 5 }
portSecurityActiveMacTable OBJECT-TYPE
SYNTAX SEQUENCE OF PortSecurityActiveMacEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"table of active mac."
REFERENCE
"9.6.1"
::= { gbnL2PortSecurityMib 4 }
portSecurityActiveMacEntry OBJECT-TYPE
SYNTAX PortSecurityActiveMacEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"table of active mac."
INDEX { portSecurityActiveMacDevice, portSecurityActiveMacMacAddr }
::= { portSecurityActiveMacTable 1 }
PortSecurityActiveMacEntry ::=
SEQUENCE {
portSecurityActiveMacDevice
Integer32,
portSecurityActiveMacMacAddr
MacAddress,
portSecurityActiveMacPortNum
Unsigned32,
portSecurityActiveMacAction
INTEGER,
portSecurityActiveMacVid
Integer32,
portSecurityActiveMacIpv4
IpAddress,
portSecurityActiveMacType
INTEGER,
}
portSecurityActiveMacDevice OBJECT-TYPE
SYNTAX Integer32 (0..7)
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"member unit of the switch."
::= { portSecurityActiveMacEntry 0 }
portSecurityActiveMacMacAddr OBJECT-TYPE
SYNTAX MacAddress
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"mac address."
::= { portSecurityActiveMacEntry 1 }
portSecurityActiveMacPortNum OBJECT-TYPE
SYNTAX Unsigned32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The Port number associated with this Port."
::= { portSecurityActiveMacEntry 2 }
portSecurityActiveMacAction OBJECT-TYPE
SYNTAX INTEGER {
permit(0),
deny(1)
}
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"forward action of ip address."
::= { portSecurityActiveMacEntry 3 }
portSecurityActiveMacVid OBJECT-TYPE
SYNTAX Integer32 (1..4094)
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"vlan id of mac address."
::= { portSecurityActiveMacEntry 4 }
portSecurityActiveMacIpv4 OBJECT-TYPE
SYNTAX IpAddress
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"vlan if of mac address.0.0.0.0 means no information."
::= { portSecurityActiveMacEntry 5 }
portSecurityActiveMacType OBJECT-TYPE
SYNTAX INTEGER {
mac(0),
macvid(1),
macip(2),
ip(3),
learned(4)
}
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"type of mac address."
::= { portSecurityActiveMacEntry 6 }
--
-- Notifications Section
--
--
portSecurityMacDenyNotification NOTIFICATION-TYPE
OBJECTS { portSecurityActiveMacPortNum, portSecurityActiveMacVid, portSecurityActiveMacIpv4, portSecurityActiveMacType }
STATUS current
DESCRIPTION
" This notification indicates that a mac address matching a deny rule."
::= { portSecurityNotifications 1 }
portSecurityMaxDenyNotification NOTIFICATION-TYPE
OBJECTS { portSecurityCurrentNum }
STATUS current
DESCRIPTION
" This notification indicates that current learned mac address number is bigger than max number."
::= { portSecurityNotifications 2 }
portSecurityShutdownNotification NOTIFICATION-TYPE
OBJECTS { portSecurityShutdown }
STATUS current
DESCRIPTION
" This notification indicates that port is shutdown by port-security."
::= { portSecurityNotifications 3 }
--
-- END of gbn-PortSecurity-MIB
--
END

View File

@ -0,0 +1,51 @@
GBNL2PppoePlus-MIB DEFINITIONS ::= BEGIN
IMPORTS
MODULE-IDENTITY, OBJECT-TYPE,
Integer32, Counter32,
TimeTicks, IpAddress FROM SNMPv2-SMI
DisplayString, TruthValue,RowStatus FROM SNMPv2-TC
MODULE-COMPLIANCE, OBJECT-GROUP FROM SNMPv2-CONF
gbnL2 FROM ADMIN-MASTER-MIB;
gbnL2PppoePlus MODULE-IDENTITY
LAST-UPDATED "0711220000Z" -- November 22,2007
ORGANIZATION "admin Systems, Inc."
CONTACT-INFO "admin Systems, Inc.
E-mail: support@admin.com.cn"
DESCRIPTION "ADMIN Enterprise MIB definition."
REVISION "07110220000Z" -- November 22,2007
DESCRIPTION "Initial MIB creation."
::= { gbnL2 6 }
------------------------------------------------------------------------------
-- Textual Conventions (i.e., these do not affect object encoding):
------------------------------------------------------------------------------
pppoeplusOnOff OBJECT-TYPE
SYNTAX TruthValue
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"start/stop pppoe plus.Default is off。"
--开启关闭 pppoe plus 功能。
::= { gbnL2PppoePlus 1 }
pppoeplusType OBJECT-TYPE
SYNTAX INTEGER{
standard(0),
huawei(1)
}
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"ppoeplus type."
--pppoeplus 类型默认为standard.
::= { gbnL2PppoePlus 2 }
END

5675
mibs/fs/GBNL2QACL-MIB Normal file

File diff suppressed because it is too large Load Diff

1303
mibs/fs/GBNL2Switch-MIB Normal file

File diff suppressed because it is too large Load Diff

1138
mibs/fs/GBNL3-MIB Normal file

File diff suppressed because it is too large Load Diff

238
mibs/fs/GBNL3DhcpRelay-MIB Normal file
View File

@ -0,0 +1,238 @@
GBNL3DhcpRelay-MIB DEFINITIONS ::= BEGIN
IMPORTS
MODULE-IDENTITY, OBJECT-TYPE,
Integer32, Counter32,
TimeTicks, IpAddress FROM SNMPv2-SMI
DisplayString, TruthValue,
RowStatus, MacAddress FROM SNMPv2-TC
MODULE-COMPLIANCE, OBJECT-GROUP FROM SNMPv2-CONF
gbnL3 FROM ADMIN-MASTER-MIB;
gbnL3DhcpRelay MODULE-IDENTITY
LAST-UPDATED "0105030000Z" -- May 03,2001
ORGANIZATION "admin Systems, Inc."
CONTACT-INFO "admin Systems, Inc.
E-mail: support@admin.com.cn"
DESCRIPTION "GBN Enterprise MIB definition."
REVISION "0105030000Z" -- May 03,2001
DESCRIPTION "Initial MIB creation."
::= { gbnL3 5 }
------------------------------------------------------------------------------
-- Textual Conventions (i.e., these do not affect object encoding):
------------------------------------------------------------------------------
dhcpRelayEnableStatus OBJECT-TYPE
SYNTAX INTEGER {
enable(1),
disable(2)
}
MAX-ACCESS read-write
STATUS current
DESCRIPTION
""
::= { gbnL3DhcpRelay 1 }
dhcpRelayDebugStatus OBJECT-TYPE
SYNTAX INTEGER {
enable(1),
disable(2)
}
MAX-ACCESS read-write
STATUS obsolete
DESCRIPTION
""
::= { gbnL3DhcpRelay 2 }
dhcpRelayGroupTable OBJECT-TYPE
SYNTAX SEQUENCE OF DhcpRelayGroupEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
""
::= { gbnL3DhcpRelay 3 }
dhcpRelayGroupEntry OBJECT-TYPE
SYNTAX DhcpRelayGroupEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"Table entry for switch interface control and status information."
INDEX { dhcpRelaySvrGroupNo }
::= { dhcpRelayGroupTable 1 }
DhcpRelayGroupEntry ::= SEQUENCE {
dhcpRelaySvrGroupNo Integer32,
dhcpRelayServerIp IpAddress
}
dhcpRelaySvrGroupNo OBJECT-TYPE
SYNTAX Integer32(1..256)
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Group number"
::= { dhcpRelayGroupEntry 1 }
dhcpRelayServerIp OBJECT-TYPE
SYNTAX IpAddress
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"Dhcp Server IP Address of the group"
::= { dhcpRelayGroupEntry 2 }
dhcpRelayIfaceTable OBJECT-TYPE
SYNTAX SEQUENCE OF DhcpRelayIfaceEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
""
::= { gbnL3DhcpRelay 4 }
dhcpRelayIfaceEntry OBJECT-TYPE
SYNTAX DhcpRelayIfaceEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"Table entry for switch interface control and status information."
INDEX { dhcpRelaySvrVlanIfaceNo, dhcpRelayVlanIfaceGroupNo }
::= { dhcpRelayIfaceTable 1 }
DhcpRelayIfaceEntry ::= SEQUENCE {
dhcpRelaySvrVlanIfaceNo Integer32(1..256),
dhcpRelayVlanIfaceGroupNo Integer32(1..8),
dhcpRelayVlanIfaceServerNo Integer32(1..256)
}
dhcpRelaySvrVlanIfaceNo OBJECT-TYPE
SYNTAX Integer32(1..256)
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"interface number"
::= { dhcpRelayIfaceEntry 1 }
dhcpRelayVlanIfaceGroupNo OBJECT-TYPE
SYNTAX Integer32(1..8)
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Group number of interface"
::= { dhcpRelayIfaceEntry 2 }
dhcpRelayVlanIfaceServerNo OBJECT-TYPE
SYNTAX Integer32(1..256)
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"Dhcp server number"
::= { dhcpRelayIfaceEntry 3 }
dhcpRelayHideServerIp OBJECT-TYPE
SYNTAX INTEGER {
enable(1),
disable(2)
}
MAX-ACCESS read-write
STATUS current
DESCRIPTION
""
::= { gbnL3DhcpRelay 5 }
dhcpRelayMaxHops OBJECT-TYPE
SYNTAX Integer32(1..16)
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"dhcp relay max hops"
::= { gbnL3DhcpRelay 6 }
dhcpRelayClientTable OBJECT-TYPE
SYNTAX SEQUENCE OF DhcpRelayClientEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"Table for client information on dhcp server. Only Get operation
can execute on the table, not support Get-Next or Walk operation."
::= { gbnL3DhcpRelay 7 }
dhcpRelayClientEntry OBJECT-TYPE
SYNTAX DhcpRelayClientEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"Table entry for client information on dhcp server."
INDEX { dhcpRelayUserMac }
::= { dhcpRelayClientTable 1 }
DhcpRelayClientEntry ::= SEQUENCE {
dhcpRelayUserMac MacAddress,
dhcpRelayVlanId Integer32,
dhcpRelayIpAddress IpAddress,
dhcpRelayHostName DisplayString
}
dhcpRelayUserMac OBJECT-TYPE
SYNTAX MacAddress
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"mac address of user"
::= { dhcpRelayClientEntry 1 }
dhcpRelayVlanId OBJECT-TYPE
SYNTAX Integer32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"vlan id of user"
::= { dhcpRelayClientEntry 2 }
dhcpRelayIpAddress OBJECT-TYPE
SYNTAX IpAddress
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"ip address of user"
::= { dhcpRelayClientEntry 3 }
dhcpRelayHostName OBJECT-TYPE
SYNTAX DisplayString
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"host name of user"
::= { dhcpRelayClientEntry 4 }
dhcpRelaySvrTraps OBJECT IDENTIFIER ::= { gbnL3DhcpRelay 8 }
dhcpRelaySvrTrapEnable OBJECT-TYPE
SYNTAX TruthValue
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"enable traps on dhcp server"
::= { dhcpRelaySvrTraps 1 }
dhcpRelaySvrClientTrap NOTIFICATION-TYPE
OBJECTS {
dhcpRelayUserMac,
dhcpRelayVlanId,
dhcpRelayIpAddress
}
STATUS current
DESCRIPTION
"A trap is sent to the management entity with the OID of the ip
address that has been allocated to client by the dhcp server."
::= { dhcpRelaySvrTraps 2 }
END

450
mibs/fs/GBNL3IPPool-MIB Normal file
View File

@ -0,0 +1,450 @@
------------------------------------------------------------------------------
-- File : gbnL3IPPool-MIB.mi2
-- Description : ADMIN Enterprise MIB
-- Version : 0.03
-- Date : April 03, 2003
--
-- Copyright (c) 2002-2005 admin Systems, Inc. All Rights Reserved.
------------------------------------------------------------------------------
------------------------------------------------------------------------------
GBNL3IPPool-MIB DEFINITIONS ::= BEGIN
IMPORTS
MODULE-IDENTITY, OBJECT-TYPE,
Integer32, Counter32,
TimeTicks, IpAddress FROM SNMPv2-SMI
DisplayString, TruthValue,RowStatus FROM SNMPv2-TC
MODULE-COMPLIANCE, OBJECT-GROUP FROM SNMPv2-CONF
gbnL3 FROM ADMIN-MASTER-MIB;
gbnL3IPPoolMib MODULE-IDENTITY
LAST-UPDATED "0105030000Z" -- May 03,2001
ORGANIZATION "admin Systems, Inc."
CONTACT-INFO "admin Systems, Inc.
E-mail: support@admin.com.cn"
DESCRIPTION "GBN Enterprise MIB definition."
REVISION "0105030000Z" -- May 03,2001
DESCRIPTION "Initial MIB creation."
::= { gbnL3 6 }
------------------------------------------------------------------------------
-- Textual Conventions (i.e., these do not affect object encoding):
------------------------------------------------------------------------------
--
-- "DURABLE":
-- Objects that are saved across a system reset and/or power cycle
-- are noted as "DURABLE" for convenience in the DESCRIPTION
-- section of the object definition. Code must be explicitly
-- written to implement these DURABLE objects.
--
------------------------------------------------------------------------------
-- define groups in gbnL3IPPool-MIB
------------------------------------------------------------------------------
ipPool OBJECT IDENTIFIER ::= { gbnL3IPPoolMib 1 }
ipPoolTable OBJECT-TYPE
SYNTAX SEQUENCE OF ipPoolEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"A table of Ip Pool."
::= { ipPool 1 }
ipPoolEntry OBJECT-TYPE
SYNTAX ipPoolEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"Table entry of Ip Pool."
INDEX { ipPoolIndex }
::= { ipPoolTable 1 }
ipPoolEntry ::= SEQUENCE {
ipPoolIndex INTEGER(1..12),
ipPoolName DisplayString,
ipPoolGatewayIp IpAddress,
ipPoolSubnetMask IpAddress,
ipPoolPrimaryDNSIp IpAddress,
ipPoolSecondDNSIp IpAddress,
ipPoolThirdDNSIp IpAddress,
ipPoolFourthDNSIp IpAddress,
ipPoolPrimaryNBNSIp IpAddress,
ipPoolSecondNBNSIp IpAddress,
ipPoolLeaseTime Integer32,
ipPoolDnsSuffixName DisplayString,
ipPoolRowStatus RowStatus,
ipPoolRouterIp IpAddress,
ipPoolOption43Format INTEGER,
ipPoolOption43Value OCTET STRING,
ipPoolTftpServerName DisplayString,
ipPoolBootfileName DisplayString,
ipPoolTftpServerIpFirst IpAddress,
ipPoolTftpServerIpSecond IpAddress,
ipPoolTftpServerIpThird IpAddress,
ipPoolTftpServerIpFourth IpAddress,
ipPoolFtpServerUser DisplayString,
ipPoolFtpServerPassword DisplayString,
ipPoolFtpServerIpaddress IpAddress,
ipPoolOption145Hostname DisplayString,
ipPoolOption145Hostver DisplayString
}
ipPoolIndex OBJECT-TYPE
SYNTAX INTEGER(1..12)
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"Pool ID"
::= { ipPoolEntry 1 }
ipPoolName OBJECT-TYPE
SYNTAX DisplayString(SIZE(1..32))
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"Pool Name ;
It can be made up of only numbers and English letters,
and must begin with a letter."
::= { ipPoolEntry 2 }
ipPoolGatewayIp OBJECT-TYPE
SYNTAX IpAddress
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"Gateway IP Address of the Pool"
::= { ipPoolEntry 3 }
ipPoolSubnetMask OBJECT-TYPE
SYNTAX IpAddress
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"SubnetMask of the Pool"
::= { ipPoolEntry 4 }
ipPoolPrimaryDNSIp OBJECT-TYPE
SYNTAX IpAddress
MAX-ACCESS read-write
STATUS current
DESCRIPTION
" IP Address of Primary DNS Server "
::= { ipPoolEntry 5 }
ipPoolSecondDNSIp OBJECT-TYPE
SYNTAX IpAddress
MAX-ACCESS read-write
STATUS current
DESCRIPTION
" IP Address of second DNS server "
::= { ipPoolEntry 6 }
ipPoolThirdDNSIp OBJECT-TYPE
SYNTAX IpAddress
MAX-ACCESS read-write
STATUS current
DESCRIPTION
" IP Address of second DNS server "
::= { ipPoolEntry 7 }
ipPoolFourthDNSIp OBJECT-TYPE
SYNTAX IpAddress
MAX-ACCESS read-write
STATUS current
DESCRIPTION
" IP Address of second DNS server "
::= { ipPoolEntry 8 }
ipPoolPrimaryNBNSIp OBJECT-TYPE
SYNTAX IpAddress
MAX-ACCESS read-write
STATUS current
DESCRIPTION
" IP Address of primary NetBios name server "
::= { ipPoolEntry 9 }
ipPoolSecondNBNSIp OBJECT-TYPE
SYNTAX IpAddress
MAX-ACCESS read-write
STATUS current
DESCRIPTION
" IP Address of second NetBios name server "
::= { ipPoolEntry 10 }
ipPoolLeaseTime OBJECT-TYPE
SYNTAX Integer32
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"Lease time of ip pool"
::= { ipPoolEntry 11 }
ipPoolDnsSuffixName OBJECT-TYPE
SYNTAX DisplayString(SIZE(1..32))
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"Pool Dns suffix Name ;"
::= { ipPoolEntry 12 }
ipPoolRowStatus OBJECT-TYPE
SYNTAX RowStatus
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"Row status"
::= { ipPoolEntry 13 }
ipPoolRouterIp OBJECT-TYPE
SYNTAX IpAddress
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"Router IP Address of the Pool"
::= { ipPoolEntry 14 }
ipPoolOption43Format OBJECT-TYPE
SYNTAX INTEGER {
ascii(1),
hex(2)
}
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"format value of dhcp option 43 of the Pool.need to set this first,then set ipPoolOption43Value"
::= { ipPoolEntry 15 }
ipPoolOption43Value OBJECT-TYPE
SYNTAX OCTET STRING
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"value of dhcp option 43 of the Pool.max length is 64, when length is 0, means delete"
::= { ipPoolEntry 16 }
ipPoolTftpServerName OBJECT-TYPE
SYNTAX DisplayString(SIZE(1..32))
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"dhcp option 66: tftp-server name"
::= { ipPoolEntry 17 }
ipPoolBootfileName OBJECT-TYPE
SYNTAX DisplayString(SIZE(1..32))
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"dhcp option 67: bootfile name"
::= { ipPoolEntry 18 }
ipPoolTftpServerIpFirst OBJECT-TYPE
SYNTAX IpAddress
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"dhcp option 150: tftp-server first ipaddress"
::= { ipPoolEntry 19 }
ipPoolTftpServerIpSecond OBJECT-TYPE
SYNTAX IpAddress
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"dhcp option 150: tftp-server second ipaddress"
::= { ipPoolEntry 20 }
ipPoolTftpServerIpThird OBJECT-TYPE
SYNTAX IpAddress
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"dhcp option 150: tftp-server third ipaddress"
::= { ipPoolEntry 21 }
ipPoolTftpServerIpFourth OBJECT-TYPE
SYNTAX IpAddress
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"dhcp option 150: tftp-server fourth ipaddress"
::= { ipPoolEntry 22 }
ipPoolFtpServerUser OBJECT-TYPE
SYNTAX DisplayString(SIZE(1..32))
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"dhcp option 141: FTP/SFTP user name"
::= { ipPoolEntry 23 }
ipPoolFtpServerPassword OBJECT-TYPE
SYNTAX DisplayString(SIZE(1..32))
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"dhcp option 142: FTP/SFTP user password"
::= { ipPoolEntry 24 }
ipPoolFtpServerIpaddress OBJECT-TYPE
SYNTAX IpAddress
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"dhcp option 143: ftp-server ipaddress"
::= { ipPoolEntry 25 }
ipPoolOption145Hostname OBJECT-TYPE
SYNTAX DisplayString(SIZE(1..32))
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"dhcp option 145: host name"
::= { ipPoolEntry 26 }
ipPoolOption145Hostver OBJECT-TYPE
SYNTAX DisplayString(SIZE(1..32))
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"dhcp option 145: host version"
::= { ipPoolEntry 27 }
ipSectionTable OBJECT-TYPE
SYNTAX SEQUENCE OF ipSectionEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"A table of switch interfaces and associated properties."
::= { ipPool 2 }
ipSectionEntry OBJECT-TYPE
SYNTAX ipSectionEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"Table entry for switch interface control and status information."
INDEX { ipPoolID,ipSectionID }
::= { ipSectionTable 1 }
ipSectionEntry ::= SEQUENCE {
ipPoolID INTEGER(1..12),
ipSectionID INTEGER(1..8),
ipSectionStartIp IpAddress,
ipSectionEndIp IpAddress,
ipSectionIpCount Integer32,
ipSectionRowStatus RowStatus
}
ipPoolID OBJECT-TYPE
SYNTAX INTEGER(1..12)
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Pool ID"
::= { ipSectionEntry 1 }
ipSectionID OBJECT-TYPE
SYNTAX INTEGER(1..8)
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"section ID"
::= { ipSectionEntry 2 }
ipSectionStartIp OBJECT-TYPE
SYNTAX IpAddress
MAX-ACCESS read-write
STATUS current
DESCRIPTION
" The start IP Address of a section in the specified pool "
::= { ipSectionEntry 3 }
ipSectionEndIp OBJECT-TYPE
SYNTAX IpAddress
MAX-ACCESS read-write
STATUS current
DESCRIPTION
" The end IP Address of a section "
::= { ipSectionEntry 4 }
ipSectionIpCount OBJECT-TYPE
SYNTAX Integer32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Number of ip address in this section"
::= { ipSectionEntry 5 }
ipSectionRowStatus OBJECT-TYPE
SYNTAX RowStatus
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"Row status of Entry"
::= { ipSectionEntry 6 }
--
-- END of ipSectionTable
--
ipDisableTable OBJECT-TYPE
SYNTAX SEQUENCE OF ipDisableEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"A table of disabled ip."
::= { ipPool 3 }
ipDisableEntry OBJECT-TYPE
SYNTAX ipDisableEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"Table entry of disabled ip ."
INDEX {ipDisableAddr}
::= { ipDisableTable 1 }
ipDisableEntry ::= SEQUENCE {
ipDisableAddr IpAddress,
ipDisablePoolId INTEGER(1..12),
ipDisableStatus INTEGER
}
ipDisableAddr OBJECT-TYPE
SYNTAX IpAddress
MAX-ACCESS read-only
STATUS current
DESCRIPTION
" Disabled IP Address"
::= { ipDisableEntry 1 }
ipDisablePoolId OBJECT-TYPE
SYNTAX INTEGER(1..12)
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Pool ID of a disabled IP"
::= { ipDisableEntry 2 }
ipDisableStatus OBJECT-TYPE
SYNTAX INTEGER {
True(1),
False(2)
}
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"status of Entry"
::= { ipDisableEntry 3 }
--
-- END of gbnL3IPPool-MIB
--
END

469
mibs/fs/GBNL3If-MIB Normal file
View File

@ -0,0 +1,469 @@
GBNL3If-MIB DEFINITIONS ::= BEGIN
IMPORTS
MODULE-IDENTITY, OBJECT-TYPE,
Counter32, Gauge32,
Unsigned32, Integer32,
IpAddress FROM SNMPv2-SMI
RowStatus, TruthValue,
DisplayString, MacAddress FROM SNMPv2-TC
-- IpAddress FROM RFC1155-SMI
VlanIndex FROM Q-BRIDGE-MIB
MODULE-COMPLIANCE, OBJECT-GROUP FROM SNMPv2-CONF
gbnL3 FROM ADMIN-MASTER-MIB;
gbnL3If MODULE-IDENTITY
LAST-UPDATED "0105102004Z" -- May 10, 2004
ORGANIZATION "Admin Systems, Inc."
CONTACT-INFO "Admin Systems, Inc.
E-mail: support@admin.com.cn"
DESCRIPTION "GBN Generic router id MIB definition."
REVISION "0105102004Z" -- May 10, 2004
DESCRIPTION "Initial MIB creation."
::= { gbnL3 1 }
------------------------------------------------------------------------------
-- gbnL3Mib OBJECT IDENTIFIER ::= { gbnL3If 1 }
gbnL3SuperVLAN OBJECT IDENTIFIER ::= { gbnL3If 2 }
gbnL3Arp OBJECT IDENTIFIER ::= { gbnL3If 3 }
gbnL3IP OBJECT IDENTIFIER ::= { gbnL3If 4 }
gbnL3DHCP OBJECT IDENTIFIER ::= { gbnL3If 5 }
gbnL3URPF OBJECT IDENTIFIER ::= { gbnL3If 6 }
------------------------------------------------------------------------------
--
-- gbnL3SuperVLAN:
--
--
------------------------------------------------------------------------------
arpProxy OBJECT-TYPE
SYNTAX INTEGER{
enable(1),
disable(2)
}
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"Enable/disable the ARP proxy."
::= { gbnL3SuperVLAN 1 }
superVLANTable OBJECT-TYPE
SYNTAX SEQUENCE OF SuperVLANEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"A table of superVLAN.When create a new entry,must set superVLANStatus to be active to create
a entry first,or set superVLANsw/superVLANsuper fisrt will return no suchinstanc error"
::= { gbnL3SuperVLAN 2 }
superVLANEntry OBJECT-TYPE
SYNTAX SuperVLANEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"Table entry for superVLAN."
INDEX { superVLANVID }
::= { superVLANTable 1 }
SuperVLANEntry ::= SEQUENCE {
superVLANVID INTEGER,
superVLANsw INTEGER,
superVLANsuper TruthValue,
superVLANStatus RowStatus
}
superVLANVID OBJECT-TYPE
SYNTAX INTEGER (1..4094)
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"vlan id."
::= { superVLANEntry 1 }
superVLANsw OBJECT-TYPE
SYNTAX INTEGER (0..12)
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"sw,0 means not existting."
::= { superVLANEntry 2 }
superVLANsuper OBJECT-TYPE
SYNTAX TruthValue
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"The interface is superVLAN or not"
::= { superVLANEntry 3 }
superVLANStatus OBJECT-TYPE
SYNTAX RowStatus
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"the status of this entry"
::= { superVLANEntry 4 }
------------------------------------------------------------------------------
--
-- gbnL3Arp:
--
--
------------------------------------------------------------------------------
arpTable OBJECT-TYPE
SYNTAX SEQUENCE OF ArpEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION "此表为系统ARP的高速缓存表在rfc1213中已经定义了两个有关系统
ARP的表格at组中的atTable和ip组中的ipNetToMediaTable但此两
个表没有VLAN信息和交换机端口信息故定义此扩展表。"
::= { gbnL3Arp 1 }
arpEntry OBJECT-TYPE
SYNTAX ArpEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION "系统ARP的高速缓存表。"
INDEX { arpIpAddress }
::= { arpTable 1 }
ArpEntry ::=
SEQUENCE {
arpIpAddress IpAddress,
arpMacAddress MacAddress,
arpIfIndex INTEGER,
arpVlan INTEGER,
arpPort INTEGER,
arpType INTEGER,
arpRowStatus RowStatus
}
arpIpAddress OBJECT-TYPE
SYNTAX IpAddress
MAX-ACCESS read-only
STATUS current
DESCRIPTION "IP地址作为索引。"
::= { arpEntry 1 }
arpMacAddress OBJECT-TYPE
SYNTAX MacAddress
MAX-ACCESS read-write
STATUS current
DESCRIPTION "IP地址对应的MAC地址。"
::= { arpEntry 2 }
arpIfIndex OBJECT-TYPE
SYNTAX INTEGER
MAX-ACCESS read-only
STATUS current
DESCRIPTION "IP地址所在的接口索引。"
::= { arpEntry 3 }
arpVlan OBJECT-TYPE
SYNTAX INTEGER
MAX-ACCESS read-write
STATUS current
DESCRIPTION "IP地址所在的VLAN。"
::= { arpEntry 4 }
arpPort OBJECT-TYPE
SYNTAX INTEGER (1..26)
MAX-ACCESS read-write
STATUS current
DESCRIPTION "学习到IP地址的交换机端口号。"
::= { arpEntry 5 }
arpType OBJECT-TYPE
SYNTAX INTEGER {
other(1),
invalid(2),--无效ARP表项
dynamic(3),--学习到的ARP表项
static(4) --静态添加的ARP表项
}
MAX-ACCESS read-write
STATUS current
DESCRIPTION "此ARP表项的类型。"
::= { arpEntry 6 }
arpRowStatus OBJECT-TYPE
SYNTAX RowStatus
MAX-ACCESS read-write
STATUS current
DESCRIPTION "此ARP表项的状态用来添加/删除静态ARP表项ative为添加destroy为删除。创建表项时首先
添加mac地址只有添加了VLAN和端口后active才可以返回成功。"
::= { arpEntry 7 }
arpAging OBJECT-TYPE
SYNTAX INTEGER(3..2880)
MAX-ACCESS read-write
STATUS current
DESCRIPTION "The age time of dynamic arp entry.Unit is minute.Default is 20."
--arp表的老化时间单位为分钟默认为20分钟。
::= { gbnL3Arp 2 }
arpNum OBJECT-TYPE
SYNTAX INTEGER(0..8192)
MAX-ACCESS read-only
STATUS current
DESCRIPTION "Total arp entries."
--arp条目的总个数。
::= { gbnL3Arp 3 }
------------------------------------------------------------------------------
--
-- gbnL3IP:
--
--
------------------------------------------------------------------------------
ipRangeTable OBJECT-TYPE
SYNTAX SEQUENCE OF IpRangeEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"A table of ipaddress range for VLAN/Supervlan interface."
--VLAN/SuperVLAN接口的IP地址范围限制表.
::= { gbnL3IP 1 }
ipRangeEntry OBJECT-TYPE
SYNTAX IpRangeEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"Table entry for ipRangeTable."
INDEX { ipRangeIndex }
::= { ipRangeTable 1 }
IpRangeEntry ::= SEQUENCE {
ipRangeSW Integer32,
ipRangeIndex Integer32,
ipRangeStartIP IpAddress,
ipRangeEndIP IpAddress,
ipRangeStatus RowStatus
}
ipRangeSW OBJECT-TYPE
SYNTAX Integer32
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"sw,for 3526 1-32, for 3750 1-256"
--IP接口的ID,为gbnL3IpSubnetIfIndex的后2个字节的取值,对于3526范围为1-12,而对于3750为1-256
::= { ipRangeEntry 1 }
ipRangeIndex OBJECT-TYPE
SYNTAX Integer32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Index number of range."
--每个IP接口可以最多配置2048/4096个子范围.
::= { ipRangeEntry 2 }
ipRangeStartIP OBJECT-TYPE
SYNTAX IpAddress
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"The start ipaddress of this range."
--开始IP地址.
::= { ipRangeEntry 3 }
ipRangeEndIP OBJECT-TYPE
SYNTAX IpAddress
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"The end ipaddress of this range."
--结束IP地址.
::= { ipRangeEntry 4 }
ipRangeStatus OBJECT-TYPE
SYNTAX RowStatus
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"the status of this entry"
::= { ipRangeEntry 5 }
------------------------------------------------------------------------------
--
-- gbnL3DHCP:
--
--
------------------------------------------------------------------------------
Option82 OBJECT-TYPE
SYNTAX INTEGER{
enable(1),
disable(2)
}
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"Enable/disable option82.Default is disalbe"
--DHCP中继option82开关.默认为关闭
::= { gbnL3DHCP 1 }
Option82Strategy OBJECT-TYPE
SYNTAX INTEGER{
drop(1),
keep(2),
replace(3)
}
MAX-ACCESS read-write
STATUS obsolete
DESCRIPTION
"Actions when receive packets with option82."
--在option82开启后当DHCP中继接收到带option82选项内容的报文时采取的策略.
--drop为丢弃报文,keep为保留报文的option82选项内容,而replace为替换报文中的option82内容.
--默认为replace
::= { gbnL3DHCP 2 }
option82Format OBJECT-TYPE
SYNTAX INTEGER{
normal(1),
verbose(2),
henan(3)
}
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"packet format of dhcp option 82.Default is normal(1)"
::= { gbnL3DHCP 3 }
option82FormatVerboseNodeIdentifier OBJECT-TYPE
SYNTAX DisplayString(SIZE(0..50))
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"when format is verbose,can set value of node-identifier.Except special string listing below, others string means user-define string.
default is 0 length of value, means use switch mac"
--"hostname" means switch hostname
::= { gbnL3DHCP 4 }
option82PortTable OBJECT-TYPE
SYNTAX SEQUENCE OF Option82PortEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"A port table of dhcp option 82."
::= { gbnL3DHCP 5 }
option82PortEntry OBJECT-TYPE
SYNTAX Option82PortEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"Table entry for option82PortTable."
INDEX { option82PortIndex }
::= { option82PortTable 1 }
Option82PortEntry ::= SEQUENCE {
option82PortIndex Integer32,
option82PortStrategy INTEGER,
option82PortCircuitId DisplayString,
option82PortRemoteId DisplayString
}
option82PortIndex OBJECT-TYPE
SYNTAX Integer32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"port index"
::= { option82PortEntry 1 }
option82PortStrategy OBJECT-TYPE
SYNTAX INTEGER{
drop(1),
keep(2),
replace(3),
appendhostname(4),
appendhostnameip(5)
}
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"Actions when receive packets with option82.drop(1) means drop packets, keep(2) means not change the packet
replace(3) means relace option82 value, appendhostname(4) means append option82 suboption 9 with hostname,
appendhostnameip(5) means append option82 suboption 9 with hostname and ip.default is replace(3)."
::= { option82PortEntry 2 }
option82PortCircuitId OBJECT-TYPE
SYNTAX DisplayString(SIZE(0..64))
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"circuit-id string of port.default is 0 length of value."
::= { option82PortEntry 3 }
option82PortRemoteId OBJECT-TYPE
SYNTAX DisplayString(SIZE(0..64))
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"circuit-id string of port.default is 0 length of value.Except special string listing below, others string means user-define string. "
--"hostname" means switch hostname
::= { option82PortEntry 4 }
------------------------------------------------------------------------------
--
-- gbnL3URPF:
--
--
------------------------------------------------------------------------------
UrpfTable OBJECT-TYPE
SYNTAX SEQUENCE OF UrpfEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"A table of URPF state of every interface.Each interface can be of URPF strict mode,
URPF loose mode,or be URPF turned off. "
::= { gbnL3URPF 1 }
urpfEntry OBJECT-TYPE
SYNTAX UrpfEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"Table entry for UrpfTable."
INDEX { urpfIfIndex }
::= { UrpfTable 1 }
UrpfEntry ::= SEQUENCE {
urpfIfIndex INTEGER,
urpfState INTEGER
}
urpfIfIndex OBJECT-TYPE
SYNTAX INTEGER(1..512)
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Interface index,for 3650 1-256, for 3750-48 1-512"
--接口索引
::= { urpfEntry 1 }
urpfState OBJECT-TYPE
SYNTAX INTEGER{
off(1),
strict(2),
loose(3)
}
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"URPF state."
--urpf 状态,默认为关闭
::= { urpfEntry 2 }
END

527
mibs/fs/GBNL3Igmp-MIB Normal file
View File

@ -0,0 +1,527 @@
GBNL3Igmp-MIB DEFINITIONS ::= BEGIN
IMPORTS
MODULE-IDENTITY, OBJECT-TYPE,
Integer32, Counter64,IpAddress FROM SNMPv2-SMI
DisplayString, TruthValue,MacAddress,RowStatus FROM SNMPv2-TC
PortList FROM Q-BRIDGE-MIB
MODULE-COMPLIANCE, OBJECT-GROUP FROM SNMPv2-CONF
gbnL3 FROM ADMIN-MASTER-MIB
mib-2 FROM RFC1213-MIB;
gbnL3IgmpMib MODULE-IDENTITY
LAST-UPDATED "0411190001Z" -- November 19,2004
ORGANIZATION "Admin Co. Ltd, Inc."
CONTACT-INFO "Admin Co. Ltd, Inc.
E-mail: support@admin.com.cn"
DESCRIPTION "GBN Enterprise MIB definition."
REVISION "0411190001Z" -- November 19,2004
DESCRIPTION "Initial MIB creation."
::= { gbnL3 7 }
PortList ::= TEXTUAL-CONVENTION
STATUS current
DESCRIPTION
"Each octet within this value specifies a set of eight
ports, with the first octet specifying ports 1 through
8, the second octet specifying ports 9 through 16, etc.
Within each octet, the most significant bit represents
the lowest numbered port, and the least significant bit
represents the highest numbered port. Thus, each port
of the bridge is represented by a single bit within the
value of this object. If that bit has a value of '1'
then that port is included in the set of ports; the port
is not included if its bit has a value of '0'."
SYNTAX OCTET STRING
gbnL3IgmpProxyGroup OBJECT IDENTIFIER ::= { gbnL3IgmpMib 1 }
igmpProxyEnable OBJECT-TYPE
SYNTAX TruthValue
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"The enabled status of igmp proxy on this switch."
--在交换机上打开igmp代理的使能状态
::= { gbnL3IgmpProxyGroup 1 }
igmpProxyIfIndex OBJECT-TYPE
SYNTAX Integer32
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"The interface from which all IP multicast datagrams are received,
or 0 if the upstream interface is not configged."
--上行接口索引IGMP打开代理功能后作为一个主机向此
--接口发送报告和离开报文。
::= { gbnL3IgmpProxyGroup 2 }
igmpGrpNum OBJECT-TYPE
SYNTAX Integer32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The summation of group which is learned from IGMP and
configged statically."
--通过IGMP学习和静态配置的多播组数
::= { gbnL3IgmpProxyGroup 3 }
igmpGrpMembNum OBJECT-TYPE
SYNTAX Integer32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The summation of group member which is learned from IGMP
and configged statically."
--通过IGMP学习和静态配置的多播成员数
::= { gbnL3IgmpProxyGroup 4 }
-- IGMP interface extend MIB
igmpIfExTable OBJECT-TYPE
SYNTAX SEQUENCE OF IgmpIfExEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"IGMP interface extend information including the configured access control
list and querier timeout."
--IGMP的访问控制列表定义和查询者生存时间等
::= { gbnL3IgmpMib 2 }
igmpIfExEntry OBJECT-TYPE
SYNTAX IgmpIfExEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"Information describing the configured ACL and querier timeout ."
--访问控制列表信息
INDEX { igmpifIndex }
::= { igmpIfExTable 1 }
IgmpIfExEntry ::=
SEQUENCE {
igmpifIndex Integer32,
igmpIfPortList PortList,
igmpifAccessNum Integer32,
igmpifQuerierExpire Integer32,
igmpifV2QuerierTimer TimeTicks,
igmpifLimiGroupNum Integer32,
igmpifSSMMappingEnable TruthValue
}
igmpifIndex OBJECT-TYPE
SYNTAX Integer32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"the index of the interface receiving IGMP packets."
--接收IGMP报文的接口索引
::= { igmpIfExEntry 1 }
igmpIfPortList OBJECT-TYPE
SYNTAX PortList
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"the ports filter IGMP packets in this interface."
--过滤IGMP报文的端口列表
::= { igmpIfExEntry 2 }
igmpifAccessNum OBJECT-TYPE
SYNTAX Integer32
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"the number of the access control list used to filter IGMP packet"
--用于过滤IGMP报文的访问控制列表号
::= { igmpIfExEntry 3 }
igmpifQuerierExpire OBJECT-TYPE
SYNTAX Integer32
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"The amount of time elapsed before the Other Querier
Present Timer expires"
--查询者超时时间,当其他查询者存在时必须要等一段时间,在这段时间内
--没有收到其他查询者的查询报文后,本地才能成为查询者。
::= { igmpIfExEntry 4 }
igmpifV2QuerierTimer OBJECT-TYPE
SYNTAX TimeTicks
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The time remaining until the host assumes that there are no
IGMPv2 routers present on the interface. While this is non-
zero and igmpInterfaceV1QuerierTimer is zero, the host will
reply to all queries with version 2 membership reports."
--v2版本查询者超时定时器。当该值不为0且v1版本查询者超时定时
--器为0时将定时发送v2的查询报文。
::= { igmpIfExEntry 5 }
igmpifLimiGroupNum OBJECT-TYPE
SYNTAX Integer32
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"the limit count of group for the interface"
--限制接口加入的多播组个数。默认值为产品所支持的最大多播组个数如S3526为255S3750为1024
::= { igmpIfExEntry 6 }
igmpifSSMMappingEnable OBJECT-TYPE
SYNTAX TruthValue
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"The enabled status of igmp ssm-mapping on this interface."
--在接口上打开igmp ssm映射的使能状态
::= { igmpIfExEntry 7 }
igmpGroupVlanTable OBJECT-TYPE
SYNTAX SEQUENCE OF IgmpGroupVlanEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
" the list information of static group and ingress vlan."
--静态多播组和入vlan信息表
::= { gbnL3IgmpMib 3 }
igmpGroupVlanEntry OBJECT-TYPE
SYNTAX IgmpGroupVlanEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
" entry of information about static group and ingress vlan"
--静态多播组和入vlan表项
INDEX { igmpGroupIP, igmpVlanID }
::= { igmpGroupVlanTable 1 }
IgmpGroupVlanEntry ::= SEQUENCE {
igmpGroupIP IpAddress,
igmpVlanID Integer32,
igmpGroupVlanStatus RowStatus
}
igmpGroupIP OBJECT-TYPE
SYNTAX IpAddress
MAX-ACCESS read-write
STATUS current
DESCRIPTION
" the static multicast group ip "
--静态多播组
::= { igmpGroupVlanEntry 1 }
igmpVlanID OBJECT-TYPE
SYNTAX Integer32
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"the specific ingress vlan"
--指定入vlan
::= { igmpGroupVlanEntry 2 }
igmpGroupVlanStatus OBJECT-TYPE
SYNTAX RowStatus
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"The status of this entry."
--表项状态
::= { igmpGroupVlanEntry 3 }
-- igmpCacheExTable extend MIB
-- igmp多播组表扩展.added by xzy (2006-8-2 for igmpv3)
FilterMode ::= INTEGER {
include(1),
exclude(2)
}
igmpCacheExTable OBJECT-TYPE
SYNTAX SEQUENCE OF IgmpCacheExEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"IGMP cache extend information including the configured filter mode and source list."
--IGMP的组过滤模式和源地址列表等
::= { gbnL3IgmpMib 4 }
igmpCacheExEntry OBJECT-TYPE
SYNTAX IgmpCacheExEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"Information describing the configured filter mode and source list."
--组过滤模式和源地址列表信息
INDEX { igmpCacheAddressEx, igmpCacheIfIdxEx }
::= { igmpCacheExTable 1 }
IgmpCacheExEntry ::= SEQUENCE {
igmpCacheAddressEx IpAddress,
igmpCacheIfIdxEx Integer32,
igmpCacheVersion2HostTimer TimeTicks,
igmpCacheFilterMode FilterMode,
igmpCacheStatic TruthValue
}
igmpCacheAddressEx OBJECT-TYPE
SYNTAX IpAddress
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"The IP multicast group address for which this entry
contains information."
--多播组地址
::= { igmpCacheExEntry 1 }
igmpCacheIfIdxEx OBJECT-TYPE
SYNTAX Integer32
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"The interface for which this entry contains information for
an IP multicast group address."
--接口索引
::= { igmpCacheExEntry 2 }
igmpCacheVersion2HostTimer OBJECT-TYPE
SYNTAX TimeTicks
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The time remaining until the local router will assume that
there are no longer any IGMP version 2 members on the IP
subnet attached to this interface. Upon hearing any IGMPv2
Membership Report, this value is reset to the group
membership timer."
--v2主机存在时间定时器
::= { igmpCacheExEntry 3 }
igmpCacheFilterMode OBJECT-TYPE
SYNTAX FilterMode
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The Filter Mode for the IP multicast group address."
--组的过滤模式
::= { igmpCacheExEntry 4 }
igmpCacheStatic OBJECT-TYPE
SYNTAX TruthValue
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"An indication of whether the cache is a static member of
this group address on this interface."
DEFVAL { true }
::= { igmpCacheExEntry 5 }
igmpSrcInfoTable OBJECT-TYPE
SYNTAX SEQUENCE OF IgmpSrcInfoEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
" the list information of specific source ip addres."
--源地址列表信息
::= { gbnL3IgmpMib 5 }
igmpSrcInfoEntry OBJECT-TYPE
SYNTAX IgmpSrcInfoEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
" entry of information about specific source"
--指定源地址表项
INDEX { igmpCacheAddressEx, igmpCacheIfIdxEx, igmpSrcAddress }
::= { igmpSrcInfoTable 1 }
IgmpSrcInfoEntry ::= SEQUENCE {
igmpSrcAddress IpAddress,
igmpSrcTimer TimeTicks,
igmpSrcInfoStatus RowStatus
}
igmpSrcAddress OBJECT-TYPE
SYNTAX IpAddress
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"the specific source address"
--指定源地址
::= { igmpSrcInfoEntry 1 }
igmpSrcTimer OBJECT-TYPE
SYNTAX TimeTicks
MAX-ACCESS read-only
STATUS current
DESCRIPTION
" the timer of the specific source address"
--指定源定时器
::= { igmpSrcInfoEntry 2 }
igmpSrcInfoStatus OBJECT-TYPE
SYNTAX RowStatus
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"The status of this entry."
--表项状态
::= { igmpSrcInfoEntry 3 }
--- IGMP MFIB extend MIB. added by x0084(2007-11-27)
IgmpProxyState ::= INTEGER {
nonMember(0),
delayingMember(1),
idleMember(2)
}
igmpMFIBTable OBJECT-TYPE
SYNTAX SEQUENCE OF IgmpMFIBEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
" the Multicast Forward Information Base."
::= { gbnL3IgmpMib 6 }
igmpMFIBEntry OBJECT-TYPE
SYNTAX IgmpMFIBEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
" entry of information about MFIB"
--指定源地址表项
INDEX { igmpGrpAddress }
::= { igmpMFIBTable 1 }
IgmpMFIBEntry ::= SEQUENCE {
igmpGrpAddress IpAddress,
igmpGrpMembIdx Integer32,
igmpProxyState IgmpProxyState,
igmpGrpMembCount Integer32
}
igmpGrpAddress OBJECT-TYPE
SYNTAX IpAddress
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"the IP address of multicast group"
--组地址
::= { igmpMFIBEntry 1 }
igmpGrpMembIdx OBJECT-TYPE
SYNTAX Integer32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"the first group member's index "
--用户侧第一个多播接口成员索引
::= { igmpMFIBEntry 2 }
igmpProxyState OBJECT-TYPE
SYNTAX IgmpProxyState
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The status of Igmp-proxy."
--多播组proxy状态
::= { igmpMFIBEntry 3 }
igmpGrpMembCount OBJECT-TYPE
SYNTAX Integer32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The count of this multicast group's member."
--加入此多播组的端口数
::= { igmpMFIBEntry 4 }
-- IGMP SSM-Mapping information
igmpSSMMappingTable OBJECT-TYPE
SYNTAX SEQUENCE OF IgmpSSMMappingEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
" Group Range information of SSM-Mapping "
::= { gbnL3IgmpMib 7 }
igmpSSMMappingEntry OBJECT-TYPE
SYNTAX IgmpSSMMappingEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
" An entry (conceptual row) in the igmpSSMMappingTable. "
INDEX { igmpSSMMappingGrp, igmpSSMMappingGrpPrefixLen, igmpSSMMappingACL, igmpSSMMappingSrc }
::= { igmpSSMMappingTable 1 }
IgmpSSMMappingEntry ::= SEQUENCE {
igmpSSMMappingGrp Integer32,
igmpSSMMappingGrpPrefixLen Integer32,
igmpSSMMappingACL Integer32,
igmpSSMMappingSrc Integer32,
igmpSSMMappingStatus RowStatus
}
igmpSSMMappingGrp OBJECT-TYPE
SYNTAX Integer32
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"Group Address of the SSM-Mapping Entry"
--SSM-Mapping表项的组IP地址
::= { igmpSSMMappingEntry 1 }
igmpSSMMappingGrpPrefixLen OBJECT-TYPE
SYNTAX Integer32
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"Group Address Prefix Length of the SSM-Mapping Entry"
--SSM-Mapping表项的组IP地址前缀长度
::= { igmpSSMMappingEntry 2 }
igmpSSMMappingACL OBJECT-TYPE
SYNTAX Integer32(1..99)
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"ACL of SSM-Mapping Entry"
--SSM-Mapping的访问控制列表号。标准访问控制列表1~99
::= { igmpSSMMappingEntry 3}
igmpSSMMappingSrc OBJECT-TYPE
SYNTAX Integer32
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"Source Address of the SSM-Mapping Entry"
--SSM-Mapping表项的源IP地址
::= { igmpSSMMappingEntry 4 }
igmpSSMMappingStatus OBJECT-TYPE
SYNTAX RowStatus
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"The status of this entry."
--表项状态
::= { igmpSSMMappingEntry 5 }
END

224
mibs/fs/GBNL3Ospf-MIB Normal file
View File

@ -0,0 +1,224 @@
-----------------------------------------------------------------------------
-- File : gbnL3Ospf-Mib.mi2
-- Description : ADMIN Enterprise MIB
-- Version : 0.03
-- Date : May 03, 2002
--
-- Copyright (c) 2002-2005 admin Systems, Inc. All Rights Reserved.
------------------------------------------------------------------------------
------------------------------------------------------------------------------
GBNL3Ospf-MIB DEFINITIONS ::= BEGIN
IMPORTS
MODULE-IDENTITY, OBJECT-TYPE,
Integer32, Counter64 FROM SNMPv2-SMI
DisplayString, TruthValue,MacAddress,RowStatus FROM SNMPv2-TC
MODULE-COMPLIANCE, OBJECT-GROUP FROM SNMPv2-CONF
gbnL3 FROM ADMIN-MASTER-MIB
mib-2 FROM RFC1213-MIB;
gbnL3OspfMib MODULE-IDENTITY
LAST-UPDATED "0308180001Z" -- Autumn 18,2003
ORGANIZATION "admin Systems, Inc."
CONTACT-INFO "admin Systems, Inc.
E-mail: support@admin.com.cn"
DESCRIPTION "GBN Enterprise MIB definition."
REVISION "0308180001Z" -- Autumn 18,2003
DESCRIPTION "Initial MIB creation."
::= { gbnL3 3 }
Metric ::= TEXTUAL-CONVENTION
STATUS current
DESCRIPTION
"The OSPF Internal Metric."
SYNTAX Integer32 (0..'FFFFFF'h)
gbnL3OspfGroup OBJECT IDENTIFIER ::= { gbnL3OspfMib 1 }
ospfRedistriDefaultMetric OBJECT-TYPE
SYNTAX Metric
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"其他路由协议的路由引入到OSPF的默认花费值."
REFERENCE
"OSPF Version 2, C.1 Global parameters"
DEFVAL { 1 }
::= { gbnL3OspfGroup 1 }
ospfRedistriDefaultType OBJECT-TYPE
SYNTAX INTEGER {
type1 (1),
type2 (2)
}
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"其他路由协议的路由引入到OSPF的默认类型.第一类或第二类。"
REFERENCE
"OSPF Version 2, C.1 Global parameters"
DEFVAL { type2 }
::= { gbnL3OspfGroup 2 }
ospfRedistriDefaultTag OBJECT-TYPE
SYNTAX Integer32
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"此项暂时不用."
DEFVAL { 1 }
::= { gbnL3OspfGroup 3 }
ospfRedistriDefaultInterval OBJECT-TYPE
SYNTAX Integer32
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"OSPF引入外部路由的默认引入间隔以秒S为单位."
REFERENCE
"OSPF Version 2, C.1 Global parameters"
DEFVAL { 1 }
::= { gbnL3OspfGroup 4 }
ospfRedistriDefaultLimit OBJECT-TYPE
SYNTAX Integer32
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"OSPF每次引入外部路由的最大数目."
REFERENCE
"OSPF Version 2, C.1 Global parameters"
DEFVAL { 1000 }
::= { gbnL3OspfGroup 5 }
ospfMibBinding OBJECT-TYPE
SYNTAX Integer32(0..10)
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"Bind OSPF MIBs to OSPF process. OSPF MIBs access the binging process only."
DEFVAL { 0 }
::= { gbnL3OspfGroup 6 }
-- OSPF redistribute Variables
-- These parameters apply globally to the Router's
-- OSPF Process when OSPF redistribute routes of other protocal.
ospfRedistributeTable OBJECT-TYPE
SYNTAX SEQUENCE OF OspfRedistributeEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"Information describing the configured parame-
ters of redistribute."
::= { gbnL3OspfMib 2 }
ospfRedistributeEntry OBJECT-TYPE
SYNTAX OspfRedistributeEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"Information describing the configured parame-
ters of redistribute."
INDEX { ospfRedistributeProtocal }
::= { ospfRedistributeTable 1 }
OspfRedistributeEntry ::=
SEQUENCE {
ospfRedistributeProtocal
Integer32,
ospfRedistributeMetric
Metric,
ospfRedistributeType
INTEGER,
ospfRedistributeTag
Integer32,
ospfRedistributeStatus
RowStatus,
ospfRedistributeAlways
TruthValue
}
ospfRedistributeProtocal OBJECT-TYPE
SYNTAX Integer32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"OSPF引入的外部路由协议."
REFERENCE
"OSPF Version 2, C.1 Global parameters"
::= { ospfRedistributeEntry 1 }
ospfRedistributeMetric OBJECT-TYPE
SYNTAX Metric
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"定义其他路由协议的路由引入到OSPF时路由的基准花费
如:引入RIP路由协议的路由配置RIP的metric为100
此条路由在RIP中的跳数为10则引入OSPF后此条路由的
实际花费为110."
::= { ospfRedistributeEntry 2 }
ospfRedistributeType OBJECT-TYPE
SYNTAX INTEGER {
type1 (1),
type2 (2)
}
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"OSPF将所引入的自治系统外部路由分成两类type1和type2
第一类是指引入的是IGP路由例如RIPIGRPSTATIC
于这类路由的可信程度高一些,所以计算出的外部路由的花费
与自治系统内部的路由花费的数量级是相同的,即到第一类外部
路由的花费值 = 本路由器到相应的ASBR的花费值+ASBR到该路由
目的地址的花费值。对于第二类外部路由是指引入的是BGP路由
由于这类路由的可信度比较低所以OSPF协议认为从ASBR到自治
系统之外的花费远远大于在自治系统之内到达ASBR的花费。所以
计算路由花费时将主要考虑前者,即到第二类外部路由的花费值
= ASBR到该路由目的地址的花费值。如果该值相等再考虑本路
由器到相应的ASBR的花费值。如果加上前面所述的两种路由类型."
::= { ospfRedistributeEntry 3 }
ospfRedistributeTag OBJECT-TYPE
SYNTAX Integer32
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"tag"
::= { ospfRedistributeEntry 4 }
ospfRedistributeStatus OBJECT-TYPE
SYNTAX RowStatus
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object indicates the status of this entry."
::= { ospfRedistributeEntry 5 }
ospfRedistributeAlways OBJECT-TYPE
SYNTAX TruthValue
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"always 这个关键字使得就算本机没有配置缺省路由也要产生一个描
述缺省路由的ase lsa 发布出去若未指定该关键字本机必须要配置缺
省路由才可以引入产生缺省路由的ase lsa这个参数只有在引入默认
路由时才用."
::= { ospfRedistributeEntry 6 }
END

336
mibs/fs/GBNL3PIM-MIB Normal file
View File

@ -0,0 +1,336 @@
-----------------------------------------------------------------------------
-- File : gbnL3Pim-Mib.mi2
-- Description : ADMIN Enterprise MIB
-- Version : 1.00
-- Date : July 04, 2005
--
-- Copyright (c) 2002-2005 admin Systems, Inc. All Rights Reserved.
------------------------------------------------------------------------------
------------------------------------------------------------------------------
GBNL3PIM-MIB DEFINITIONS ::= BEGIN
IMPORTS
MODULE-IDENTITY, OBJECT-TYPE,
Integer32, Unsigned32 FROM SNMPv2-SMI
DisplayString, TruthValue,MacAddress,RowStatus FROM SNMPv2-TC
InterfaceIndex FROM IF-MIB
MODULE-COMPLIANCE, OBJECT-GROUP FROM SNMPv2-CONF
gbnL3 FROM ADMIN-MASTER-MIB
pimBsrCandidateRPAddressType, pimBsrCandidateRPAddress, pimBsrCandidateRPGroupAddress, pimBsrCandidateRPGroupPrefixLength FROM PIM-BSR-MIB;
gbnL3PimMib MODULE-IDENTITY
LAST-UPDATED "0507040001Z" -- July 04,2005
ORGANIZATION "ADMIN Systems, Inc."
CONTACT-INFO "ADMIN Systems, Inc.
E-mail: support@admin.com.cn"
DESCRIPTION "ADMIN Enterprise MIB definition."
REVISION "0507040001Z" -- July 04,2005
DESCRIPTION "Initial MIB creation."
::= { gbnL3 8 }
gbnL3PimGroup OBJECT IDENTIFIER ::= { gbnL3PimMib 1 }
pimCommonTraceOption OBJECT-TYPE
SYNTAX Unsigned32
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"PIM common trace option, including hello packet debug
switch and event debug switch and<6E>timer debug switch"
--PIM-DM和PIM-SM通用调试打印选项开关
::= { gbnL3PimGroup 1 }
pimDmTraceOption OBJECT-TYPE
SYNTAX Unsigned32
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"PIM dense mode trace option"
--PIM-DM调试打印选项开关
::= { gbnL3PimGroup 2 }
pimSmTraceOption OBJECT-TYPE
SYNTAX Unsigned32
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"PIM sparse mode trace option"
--PIM-SM调试打印选项开关
::= { gbnL3PimGroup 3 }
pimSourcePolicy OBJECT-TYPE
SYNTAX Integer32(0..99)
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"Access control list(ACL) used for PIM multicast source"
::= { gbnL3PimGroup 4 }
pimStaticRpAddr OBJECT-TYPE
SYNTAX IpAddress
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"static RP for local router"
--静态的RP地址如果找不到映射的RP则使用默认RP
::= { gbnL3PimGroup 5 }
pimSptThreshold OBJECT-TYPE
SYNTAX Unsigned32 { immediately(0), infinity(4294967295)}
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"threshold for join into spt"
--切换加入到spt的阀值。默认为infinity表示用不切换到spt
::= { gbnL3PimGroup 6 }
pimStaticEntryCount OBJECT-TYPE
SYNTAX Unsigned32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The number of static entries in the ipMRouteTable. This can be used
to monitor the multicast routing table size."
--静态组播转发表项数
::= { gbnL3PimGroup 7 }
-- PIM interface extra information
pimInterfaceExtraTable OBJECT-TYPE
SYNTAX SEQUENCE OF PimInterfaceExtraEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"extra information of PIM interface"
::= { gbnL3PimMib 2 }
pimInterfaceExtraEntry OBJECT-TYPE
SYNTAX PimInterfaceExtraEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"Extra information describing the configured parame-
ters of interface."
INDEX { pimInterfaceIndex }
::= { pimInterfaceExtraTable 1 }
PimInterfaceExtraEntry ::=
SEQUENCE {
pimInterfaceIndex InterfaceIndex,
pimInterfaceNeighborLimit Integer32,
pimInterfaceNeighborPolicy Integer32,
pimInterfaceBsrBorder TruthValue,
pimInterfaceNeighborCount Integer32
}
pimInterfaceIndex OBJECT-TYPE
SYNTAX InterfaceIndex
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"PIM interface index"
--PIM接口索引
::= { pimInterfaceExtraEntry 1 }
pimInterfaceNeighborLimit OBJECT-TYPE
SYNTAX Integer32(1..128)
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"The max number of neighbors on this interface"
--一个接口上最多可以学习到的邻居数
::= { pimInterfaceExtraEntry 2 }
pimInterfaceNeighborPolicy OBJECT-TYPE
SYNTAX Integer32(1..99)
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"The neighbor filter, only neighbors which match the policy
can be thought valid."
--邻居访问控制列表号标准访问控制列表1~99
::= { pimInterfaceExtraEntry 3 }
pimInterfaceBsrBorder OBJECT-TYPE
SYNTAX TruthValue
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"Whether the interface is the bsr border."
--该接口是否bsr border
DEFVAL { false }
::= { pimInterfaceExtraEntry 4 }
pimInterfaceNeighborCount OBJECT-TYPE
SYNTAX Integer32(1..128)
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The current number of neighbors on this interface"
--当前接口上已学习到的邻居数
::= { pimInterfaceExtraEntry 5 }
-- The BSR Candidate-RP extra Table
pimBsrCRPExtraTable OBJECT-TYPE
SYNTAX SEQUENCE OF PimBsrCRPExtraEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"extra information of Candidate-RP Table."
::= { gbnL3PimMib 3 }
pimBsrCRPExtraEntry OBJECT-TYPE
SYNTAX PimBsrCRPExtraEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"An entry (conceptual row) in the
pimBsrCRPExtraTable."
INDEX { pimBsrCandidateRPAddressType,
pimBsrCandidateRPAddress,
pimBsrCandidateRPGroupAddress,
pimBsrCandidateRPGroupPrefixLength }
::= { pimBsrCRPExtraTable 1 }
PimBsrCRPExtraEntry ::= SEQUENCE {
pimBsrCRPAddressType INTEGER,
pimBsrCRPAddress OCTET STRING,
pimBsrCRPGroupAddress OCTET STRING,
pimBsrCRPGroupPrefixLength Unsigned32,
pimBsrCRPGroupACL Integer32
}
pimBsrCRPAddressType OBJECT-TYPE
SYNTAX INTEGER
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"The Inet address type of the Candidate-RP."
--C-RP的地址类型IPv4或者IPv6
::= { pimBsrCRPExtraEntry 1 }
pimBsrCRPAddress OBJECT-TYPE
SYNTAX OCTET STRING (SIZE (0..255)) --(SIZE (4|8|16|20))
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"The (unicast) address that will be advertised as a
Candidate-RP. The InetAddressType is given by the
pimBsrCandidateRPAddressType object."
--C-RP的地址此地址为单播地址
::= { pimBsrCRPExtraEntry 2 }
pimBsrCRPGroupAddress OBJECT-TYPE
SYNTAX OCTET STRING (SIZE (0..255)) --(SIZE (4|8|16|20))
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"The IP multicast group address that, when combined with
the corresponding value of
pimBsrCandidateRPGroupPrefixLength, identifies a group
prefix for which the local router will advertise itself
as a Candidate-RP. The InetAddressType is given by the
pimBsrCandidateRPAddressType object."
--对应本条目的C-RP所管理的组地址
::= { pimBsrCRPExtraEntry 3 }
pimBsrCRPGroupPrefixLength OBJECT-TYPE
SYNTAX Unsigned32 (4..128)
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"The multicast group address mask that, when combined
with the corresponding value of
pimBsrCandidateRPGroupAddress, identifies a group prefix
for which the local router will advertise itself as a
Candidate-RP. The InetAddressType is given by the
pimBsrCandidateRPAddressType object."
--多播组前缀长度
::= { pimBsrCRPExtraEntry 4 }
pimBsrCRPGroupACL OBJECT-TYPE
SYNTAX Integer32(1..99)
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"ACL of Group"
--多播组访问控制列表标准访问控制列表1~99
::= { pimBsrCRPExtraEntry 5 }
-- PIM-SSM information
pimSSMGrpRangeTable OBJECT-TYPE
SYNTAX SEQUENCE OF PimSSMGrpRangeEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
" Group Range information of PIM-SSM "
::= { gbnL3PimMib 4 }
pimSSMGrpRangeEntry OBJECT-TYPE
SYNTAX PimSSMGrpRangeEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
" An entry (conceptual row) in the pimSSMGrpRangeTable. "
INDEX { pimSSMGrpRangeGrp, pimSSMGrpRangeGrpPrefixLen, pimSSMGrpRangeACL }
::= { pimSSMGrpRangeTable 1 }
PimSSMGrpRangeEntry ::= SEQUENCE {
pimSSMGrpRangeGrp Integer32,
pimSSMGrpRangeGrpPrefixLen Integer32,
pimSSMGrpRangeACL Integer32,
pimSSMGrpRangeStatus RowStatus
}
pimSSMGrpRangeGrp OBJECT-TYPE
SYNTAX Integer32
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"Group Address of the SSM Group Range Entry"
--PIM-SSM组地址范围表项的组IP地址
::= { pimSSMGrpRangeEntry 1 }
pimSSMGrpRangeGrpPrefixLen OBJECT-TYPE
SYNTAX Integer32
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"Group Address Prefix Length of the SSM Group Range Entry"
--PIM-SSM组地址范围表项的组IP地址前缀长度
::= { pimSSMGrpRangeEntry 2 }
pimSSMGrpRangeACL OBJECT-TYPE
SYNTAX Integer32(1..100)
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"ACL of SSM"
--PIM-SSM的组地址范围的访问控制列表号。标准访问控制列表1~99
--100表示使用标准的SSM组地址范围232.0.0.0/8
::= { pimSSMGrpRangeEntry 3}
pimSSMGrpRangeStatus OBJECT-TYPE
SYNTAX RowStatus
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"The status of this entry."
--表项状态
::= { pimSSMGrpRangeEntry 4 }
END

350
mibs/fs/GBNL3Rip-MIB Normal file
View File

@ -0,0 +1,350 @@
------------------------------------------------------------------------------
-- File : gbnL3RipMib.mi2
-- Description : ADMIN Enterprise MIB
-- Version : 0.03
-- Date : May 03, 2002
--
-- Copyright (c) 2002-2005 admin Systems, Inc. All Rights Reserved.
------------------------------------------------------------------------------
------------------------------------------------------------------------------
GBNL3Rip-MIB DEFINITIONS ::= BEGIN
IMPORTS
MODULE-IDENTITY, OBJECT-TYPE,
Integer32, Counter64 FROM SNMPv2-SMI
RowStatus,
DisplayString, TruthValue FROM SNMPv2-TC
MODULE-COMPLIANCE, OBJECT-GROUP FROM SNMPv2-CONF
gbnL3 FROM ADMIN-MASTER-MIB
PortList FROM Q-BRIDGE-MIB;
gbnL3RipMib MODULE-IDENTITY
LAST-UPDATED "0105030001Z" -- May 03,2001
ORGANIZATION "admin Systems, Inc."
CONTACT-INFO "admin Systems, Inc.
E-mail: support@admin.com.cn"
DESCRIPTION "GBN Enterprise MIB definition."
REVISION "0105030001Z" -- May 03,2001
DESCRIPTION "Initial MIB creation."
::= { gbnL3 4 }
------------------------------------------------------------------------------
-- Textual Conventions (i.e., these do not affect object encoding):
------------------------------------------------------------------------------
--
-- "DURABLE":
-- Objects that are saved across a system reset and/or power cycle
-- are noted as "DURABLE" for convenience in the DESCRIPTION
-- section of the object definition. Code must be explicitly
-- written to implement these DURABLE objects.
--
------------------------------------------------------------------------------
-- define groups in gbnL3Rip-MIB.mi2
------------------------------------------------------------------------------
gbnL3Rip OBJECT IDENTIFIER ::= { gbnL3RipMib 1 }
gbnL3RipSummarry OBJECT-TYPE
SYNTAX INTEGER {
noSummarry (0),
summarry (1)
}
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"enable/disable route summarry."
DEFVAL { summarry }
::= { gbnL3Rip 1 }
gbnL3RipHostRouteRx OBJECT-TYPE
SYNTAX INTEGER {
noHostRouteRx (0),
hostRouteRx (1)
}
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"enable/disable receive host route ."
DEFVAL { hostRouteRx }
::= { gbnL3Rip 2 }
gbnL3RipTable OBJECT-TYPE
SYNTAX SEQUENCE OF gbnL3RipEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"A list of RIP extern."
::= {gbnL3Rip 3 }
gbnL3RipEntry OBJECT-TYPE
SYNTAX gbnL3RipEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"extern config option."
INDEX { gbnL3RipIfConfAddress }
::= { gbnL3RipTable 1 }
gbnL3RipEntry ::=
SEQUENCE {
gbnL3RipIfConfAddress
IpAddress,
gbnL3RipSplit
INTEGER,
gbnL3RipMetricIn
INTEGER,
gbnL3RipMetricOut
INTEGER,
gbnL3RipPreIfSend
INTEGER,
gbnL3RipPreIfReceive
INTEGER
}
gbnL3RipIfConfAddress OBJECT-TYPE
SYNTAX IpAddress
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"This address is same as rip2IfExternAddress in RIP2.
The IP Address of this system on the indicated
subnet. For unnumbered interfaces, the value 0.0.0.N,
where the least significant 24 bits (N) is the ifIndex
for the IP Interface in network byte order."
::= { gbnL3RipEntry 1 }
gbnL3RipSplit OBJECT-TYPE
SYNTAX INTEGER {
noSplit (0),
split (1)
}
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"enable/disable split."
DEFVAL { split }
::= { gbnL3RipEntry 2}
gbnL3RipMetricIn OBJECT-TYPE
SYNTAX INTEGER ( 0..15)
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"MetricIn."
DEFVAL { 0 }
::= { gbnL3RipEntry 3 }
gbnL3RipMetricOut OBJECT-TYPE
SYNTAX INTEGER ( 0..15)
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"MetricOut."
DEFVAL { 0 }
::= { gbnL3RipEntry 4}
------------------------------------------------------------------------------
-- define mib parameter for remember the pre Rip interfaces status
------------------------------------------------------------------------------
gbnL3RipPreIfSend OBJECT-TYPE
SYNTAX INTEGER {
ripVersion1 (2),
rip1Compatible (3),
ripVersion2 (4),
ripV1Demand (5),
ripV2Demand (6)
}
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"store the pre rip interface send status, no including the disable."
DEFVAL { rip1Compatible }
::= { gbnL3RipEntry 5 }
gbnL3RipPreIfReceive OBJECT-TYPE
SYNTAX INTEGER {
rip1 (1),
rip2 (2),
rip1OrRip2 (3)
}
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"store the pre rip interface receive status, no including the disable."
DEFVAL { rip1OrRip2 }
::= { gbnL3RipEntry 6}
gbnL3RipRedistributeTable OBJECT-TYPE
SYNTAX SEQUENCE OF GbnL3RipRedistributeEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"A list of RIP redistribute infomation."
--RIP重发布信息列表
::= {gbnL3Rip 4 }
gbnL3RipRedistributeEntry OBJECT-TYPE
SYNTAX GbnL3RipRedistributeEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"RIP redistribute information entry."
--RIP重发布信息条目
INDEX { gbnL3RipRedistributeProto }
::= { gbnL3RipRedistributeTable 1 }
GbnL3RipRedistributeEntry ::=
SEQUENCE {
gbnL3RipRedistributeProto
INTEGER,
gbnL3RipRedistributeMetric
INTEGER,
gbnL3RipRedistributePrefixName
OCTET STRING,
gbnL3RipRedistributeRowStatus
RowStatus
}
gbnL3RipRedistributeProto OBJECT-TYPE
SYNTAX INTEGER {
connected(1),
static(2),
ospf(3)
}
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"redistribute protocol"
--重发布协议号
::= { gbnL3RipRedistributeEntry 1 }
gbnL3RipRedistributeMetric OBJECT-TYPE
SYNTAX INTEGER ( 1..16 )
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"redistribute metric"
--重发布度量值
::= { gbnL3RipRedistributeEntry 2 }
gbnL3RipRedistributePrefixName OBJECT-TYPE
SYNTAX OCTET STRING (SIZE (0..31))
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"redistribute prefix-list name"
--重发布使用的前缀控制列表名
::= { gbnL3RipRedistributeEntry 3 }
gbnL3RipRedistributeRowStatus OBJECT-TYPE
SYNTAX RowStatus
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"row status."
--行状态
--删除重发布信息条目时只需将行状态设置为destroy(6)即可
::= { gbnL3RipRedistributeEntry 4 }
gbnL3RipDistributeList OBJECT IDENTIFIER ::= { gbnL3Rip 5 }
gbnL3RipDistributeListGateIn OBJECT-TYPE
SYNTAX OCTET STRING (SIZE (0..31))
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"distribute-list name of gateway ingress"
--基于路由源的发布列表
::= { gbnL3RipDistributeList 1 }
gbnL3RipDistributeListAllIn OBJECT-TYPE
SYNTAX OCTET STRING (SIZE (0..31))
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"distribute-list name of ingress"
--基于收到路由的发布列表
::= { gbnL3RipDistributeList 2 }
gbnL3RipDistributeListAllOut OBJECT-TYPE
SYNTAX OCTET STRING (SIZE (0..31))
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"distribute-list name of egress"
--基于发出路由的发布列表
::= { gbnL3RipDistributeList 3 }
gbnL3RipSummaryAddrTable OBJECT-TYPE
SYNTAX SEQUENCE OF GbnL3RipSummaryAddrEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"RIP summary address table."
--RIP路由聚合网段表
::= {gbnL3Rip 6 }
gbnL3RipSummaryAddrEntry OBJECT-TYPE
SYNTAX GbnL3RipSummaryAddrEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"RIP summary address entry."
--RIP路由聚合网段条目
INDEX { gbnL3RipSummaryNetwork, gbnL3RipSummaryMask }
::= { gbnL3RipSummaryAddrTable 1 }
GbnL3RipSummaryAddrEntry ::=
SEQUENCE {
gbnL3RipSummaryNetwork
IpAddress,
gbnL3RipSummaryMask
IpAddress,
gbnL3RipSummaryAddrRowStatus
RowStatus
}
gbnL3RipSummaryNetwork OBJECT-TYPE
SYNTAX IpAddress
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"summary network"
--聚合网段地址
::= { gbnL3RipSummaryAddrEntry 1 }
gbnL3RipSummaryMask OBJECT-TYPE
SYNTAX IpAddress
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"summary network mask"
--聚合网段掩码
::= { gbnL3RipSummaryAddrEntry 2 }
gbnL3RipSummaryAddrRowStatus OBJECT-TYPE
SYNTAX RowStatus
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"row status."
--行状态
--添加聚合网段条目时将行状态设为active(1)、createAndGo(4)或createAndWait(5)
--删除聚合网段条目时只需将行状态设置为destroy(6)即可
::= { gbnL3RipSummaryAddrEntry 3 }
END

View File

@ -0,0 +1,57 @@
GBNL3RouteCommon-MIB DEFINITIONS ::= BEGIN
IMPORTS
MODULE-IDENTITY, OBJECT-TYPE,
Counter32, Gauge32,
Unsigned32, Integer32,
IpAddress FROM SNMPv2-SMI
RowStatus, TruthValue,
DisplayString, MacAddress FROM SNMPv2-TC
MODULE-COMPLIANCE, OBJECT-GROUP FROM SNMPv2-CONF
gbnL3 FROM ADMIN-MASTER-MIB;
gbnL3RouteCommon MODULE-IDENTITY
LAST-UPDATED "0105102004Z" -- May 10, 2004
ORGANIZATION "admin Systems, Inc."
CONTACT-INFO "admin Systems, Inc.
E-mail: support@admin.com.cn"
DESCRIPTION "ADMIN Generic router id MIB definition."
REVISION "0105102004Z" -- May 10, 2004
DESCRIPTION "Initial MIB creation."
::= { gbnL3 2 }
------------------------------------------------------------------------------
routerId OBJECT IDENTIFIER ::= { gbnL3RouteCommon 1 }
------------------------------------------------------------------------------
--
-- routerId:
--
--
------------------------------------------------------------------------------
--
routerIdConfig OBJECT-TYPE
SYNTAX TruthValue
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"此router id是配置的还是系统自动选举的"
::= { routerId 1 }
routerIdValue OBJECT-TYPE
SYNTAX IpAddress
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"当前配置或选举的router id"
::= { routerId 2 }
END

View File

@ -0,0 +1,541 @@
------------------------------------------------------------------------------
--
-- File : gbnPlatformChassis-MIB.mi2
-- Description : Sample gbn chassis management MIB
-- Version : 1.0
-- Date : May 4, 2011
-- Author : xiaojianfeng
-- Copyright (c) 2011 admin Systems, Inc. All Rights Reserved.
--
------------------------------------------------------------------------------
GBNPlatformChassis-MIB DEFINITIONS ::= BEGIN
IMPORTS
MODULE-IDEntry, OBJECT-TYPE,
Integer32, IpAddress,
Counter32, Counter64,
Unsigned32,
NOTIFICATION-TYPE FROM SNMPv2-SMI
DisplayString FROM RFC1213-MIB
MODULE-COMPLIANCE, OBJECT-GROUP FROM SNMPv2-CONF
gbnPlatform FROM ADMIN-MASTER-MIB;
gbnPlatformChassis MODULE-IDENTITY
LAST-UPDATED "1105040000Z" -- May 4, 2011
ORGANIZATION "Admin Systems, Inc."
CONTACT-INFO "Admin Systems, Inc.
E-mail: support@admin.com.cn"
DESCRIPTION "GBN Chassis Management Enterprise MIB definition."
REVISION "1105040000Z" -- May 4, 2011
DESCRIPTION "Initial MIB creation."
::= { gbnPlatform 3 }
------------------------------------------------------------------------------
-- define groups in GBN-Chassis-MIB
------------------------------------------------------------------------------
gbnChassis OBJECT IDENTIFIER ::= { gbnPlatformChassis 1 }
gbnBoard OBJECT IDENTIFIER ::= { gbnPlatformChassis 2 }
gbnChassisTrap OBJECT IDENTIFIER ::= { gbnPlatformChassis 3 }
------------------------------------------------------------------------------
------------------------------------------------------------------------------
--
-- gbnChassis
--
------------------------------------------------------------------------------
chassisVersion OBJECT-TYPE
SYNTAX DisplayString
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Chassis version, the format is V3.0."
--机架的版本号格式为V3.0.
::= { gbnChassis 1 }
chassisSerialNo OBJECT-TYPE
SYNTAX DisplayString
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Product Serial Number."
--产品序列号.
::= { gbnChassis 2 }
chassisType OBJECT-TYPE
SYNTAX INTEGER {
s8600-04(0),
s8600-08(1),
s8600-16(2)
}
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Chassis type."
--机架类型.
::= { gbnChassis 3 }
chassisSlotAppTable OBJECT-TYPE
SYNTAX SEQUENCE OF ChassisSlotAppEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"Slots application tablefor control board or line board."
--槽位用途表,用于主控板还是业务板.
::= { gbnChassis 4 }
chassisSlotAppEntry OBJECT-TYPE
SYNTAX ChassisSlotAppEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"Slots application tablefor control board or line board."
--槽位用途表,用于主控板还是业务板.
INDEX { slotNum }
::= { chassisSlotAppTable 1 }
ChassisSlotAppEntry ::= SEQUENCE {
slotNum INTEGER,
slotApp INTEGER
}
slotNum OBJECT-TYPE
SYNTAX INTEGER
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Slot number of the chassis."
--机架槽位号.
::= { chassisSlotAppEntry 1 }
slotApp OBJECT-TYPE
SYNTAX INTEGER {
unknown(0),
forLineboard(1),
forControlboard(2)
}
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"slots application, for control board or line board."
--槽位用途,用于主控板或业务板.
::= { chassisSlotAppEntry 2 }
powerTable OBJECT-TYPE
SYNTAX SEQUENCE OF PowerEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"Power status table."
::= { gbnChassis 5 }
powerEntry OBJECT-TYPE
SYNTAX PowerEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"Power table entry."
INDEX { powerIndex }
::= { powerTable 1 }
PowerEntry ::= SEQUENCE {
powerIndex INTEGER,
powerInsertedStaus INTEGER,
powerRunningStatus INTEGER
}
powerIndex OBJECT-TYPE
SYNTAX INTEGER {
power0(0),
power1(1)
}
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Power index."
::= { powerEntry 1 }
powerInsertedStaus OBJECT-TYPE
SYNTAX INTEGER {
empty(0),
inserted(1)
}
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Power inserted status."
::= { powerEntry 2 }
powerRunningStatus OBJECT-TYPE
SYNTAX INTEGER {
notGood(0),
good(1)
}
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Power running status."
::= { powerEntry 3 }
boardTable OBJECT-TYPE
SYNTAX SEQUENCE OF BoardEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"Board table,for board management."
::= { gbnBoard 1 }
boardEntry OBJECT-TYPE
SYNTAX BoardEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"board table entry,for board management."
INDEX { boardIndex }
::= { boardTable 1 }
BoardEntry ::= SEQUENCE {
boardIndex INTEGER,
boardStatus INTEGER,
boardType INTEGER,
boardIfNum INTEGER,
boardProdSerialNo DisplayString,
boardSoftwarePlate DisplayString,
boardSoftwareVersion DisplayString,
boardSoftwareCompiledTime DisplayString,
boardCpuDescription DisplayString,
boardSdramDescription DisplayString,
boardFlashDescription DisplayString,
boardHardwareVersion DisplayString,
boardBootromVersion DisplayString,
boardCpuIdle INTEGER,
boardMemorySize INTEGER,
boardMemoryIdle INTEGER,
boardSysReset INTEGER
}
boardIndex OBJECT-TYPE
SYNTAX INTEGER
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Index of board table,corresponding to slot number."
::= { boardEntry 1 }
boardStatus OBJECT-TYPE
SYNTAX INTEGER{
noInsert(0),
insertAsMaster(1),
insertAsSlave(2),
insertButUnconnected(3),
insertAndConnected(4)
}
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Status of boardBelow four states for control board: 'noInsert(0)', 'insertAsMaster(1)' ,'insertAsSlave(2)' and insertButUnconnected(3).
Below three states for line board: 'noInsert(0)', 'insertButUnconnected(3)' and 'insertAndConnected(4)'."
::= { boardEntry 2 }
boardType OBJECT-TYPE
SYNTAX INTEGER{
unknown(0),
controlboard0(1),
lineboard0fiber(2),
lineboard1copper(3),
lineboard2copper(4),
lineboard3fiber(5)
}
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Type of boardor unknown if unavailable."
::= { boardEntry 3 }
boardIfNum OBJECT-TYPE
SYNTAX INTEGER
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The number of physical interface in line board,or 0 if unavailable.For a control board ,it's always returned 0."
::= { boardEntry 4 }
boardProdSerialNo OBJECT-TYPE
SYNTAX DisplayString
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"serial number of the board,or an empty string if unavailable."
::= { boardEntry 5 }
boardSoftwarePlate OBJECT-TYPE
SYNTAX DisplayString
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Software Plate of the board ,or an empty string if unavailable."
::= { boardEntry 6 }
boardSoftwareVersion OBJECT-TYPE
SYNTAX DisplayString
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Software Version of the board,the format is V100R001B02D06P03SP3, or an empty string if unavailable."
::= { boardEntry 7 }
boardSoftwareCompiledTime OBJECT-TYPE
SYNTAX DisplayString
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Software CompiledTime of the board,the format is Feburary 17 2003 15:47:00, or an empty string if unavailable."
::= { boardEntry 8 }
boardCpuDescription OBJECT-TYPE
SYNTAX DisplayString
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Cpu description of the board,the format is Mips 32334, 133MHz, or an empty string if unavailable."
::= { boardEntry 9 }
boardFlashDescription OBJECT-TYPE
SYNTAX DisplayString
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Flash description of the board , format is 32M, or an empty string if unavailable."
::= { boardEntry 10 }
boardHardwareVersion OBJECT-TYPE
SYNTAX DisplayString
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Hardware Version of the board,the format is V3.0, or an empty string if unavailable."
::= { boardEntry 11 }
boardBootromVersion OBJECT-TYPE
SYNTAX DisplayString
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Bootrom Version of the board,the format is V2.0, or an empty string if unavailable."
::= { boardEntry 12 }
boardCpuIdle OBJECT-TYPE
SYNTAX INTEGER
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The percentage of free CPU in the board,or 0 if unavailable."
::= { boardEntry 13 }
boardMemorySize OBJECT-TYPE
SYNTAX INTEGER
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The system memory size, unit is byte, or 0 if unavailable."
::= { boardEntry 14 }
boardMemoryIdle OBJECT-TYPE
SYNTAX INTEGER
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The current system idle memory size, unit is byte, or 0 if unavailable."
::= { boardEntry 15 }
boardSysReset OBJECT-TYPE
SYNTAX INTEGER{
noop(1),
reset(2)
}
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"Performs a hardware reset of the board. Use with care.
A 'reset(2)' resets the board,and 'noop(1)'does nothing.
A value of 'noop(1)' is always returned for a GET operation."
::= { boardEntry 16 }
boardIfIndexTable OBJECT-TYPE
SYNTAX SEQUENCE OF BoardIfIndexEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"Interface index table,show interface index in all connected lineboards."
::= { gbnBoard 2}
boardIfIndexEntry OBJECT-TYPE
SYNTAX BoardIfIndexEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"Interface index table,show interface index in all connected lineboards."
INDEX { boardNumber, boardPortLocalIndex }
::= { boardIfIndexTable 1 }
BoardIfIndexEntry ::= SEQUENCE{
boardNumber INTEGER,
boardPortLocalIndex INTEGER,
boardIfIndex INTEGER
}
boardNumber OBJECT-TYPE
SYNTAX INTEGER
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"board number, matches boardTable boardIndex."
::= { boardIfIndexEntry 1 }
boardPortLocalIndex OBJECT-TYPE
SYNTAX INTEGER
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Local index of port of the board, from 1 start, end of max port num of the board.
For example,the boardPortLocalIndex range of line1copper is 1-24. "
::= { boardIfIndexEntry 2 }
boardIfIndex OBJECT-TYPE
SYNTAX INTEGER
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Board interface system index, matches RFC1213/RFC2233 ifTable IfIndex."
--插板端口的系统接口索引对应于RFC1213/RFC2233 的ifIndex
::= { boardIfIndexEntry 3 }
--
-- gbnChassisTrap - chassis status TRAP
--
powerRemoveTrap NOTIFICATION-TYPE
STATUS current
DESCRIPTION
"Power remove trap."
::= { gbnChassisTrap 1 }
powerInsertTrap NOTIFICATION-TYPE
STATUS current
DESCRIPTION
"Power insert trap."
--电源 插入trap.
::= { gbnChassisTrap 2 }
fanRemoveTrap NOTIFICATION-TYPE
STATUS current
DESCRIPTION
"Fan remove trap."
::= { gbnChassisTrap 3 }
fanInsertTrap NOTIFICATION-TYPE
STATUS current
DESCRIPTION
"Fan remove trap."
::= { gbnChassisTrap 4 }
boardRemoveTrap NOTIFICATION-TYPE
STATUS current
DESCRIPTION
"Board remove trap."
-- 插板 拔出trap.
::= { gbnChassisTrap 5 }
boardInsertTrap NOTIFICATION-TYPE
STATUS current
DESCRIPTION
"Board insert trap."
-- 插板 插入trap.
::= { gbnChassisTrap 6 }
boardConnectedTrap NOTIFICATION-TYPE
STATUS current
DESCRIPTION
"Line board connnected trap."
--业务板 已连接trap.
::= { gbnChassisTrap 7 }
boardUnconnectedTrap NOTIFICATION-TYPE
STATUS current
DESCRIPTION
"Line board unconnnect trap."
--业务板 失去连接trap.
::= { gbnChassisTrap 8 }
boardRoletoSlaveTrap NOTIFICATION-TYPE
STATUS current
DESCRIPTION
"To-Slave trap. Role of the control board change to slave."
--To-slave trap:主控板的主从角色转变为slave.
::= { gbnChassisTrap 9 }
boardRoletoMasterTrap NOTIFICATION-TYPE
STATUS current
DESCRIPTION
"To-master trap. Role of the control board change to master."
--To-master trap:主控板主从角色转变为master.
::= { gbnChassisTrap 10 }
powerRunningNoGoodTrap NOTIFICATION-TYPE
STATUS current
DESCRIPTION
"Power running status is no good"
--电源运行状态不正常.
::= { gbnChassisTrap 11 }
powerRunningGoodTrap NOTIFICATION-TYPE
STATUS current
DESCRIPTION
"Power running status is good"
--电源运行状态正常
::= { gbnChassisTrap 12 }
alarmPowerNoInsertTrap NOTIFICATION-TYPE
STATUS current
DESCRIPTION
"A power is not inserted When the system startup is completed."
--启动完成时有一个电源没有插入
::= { gbnChassisTrap 13 }
alarmControlNoInsertTrap NOTIFICATION-TYPE
STATUS current
DESCRIPTION
"A control board is not inserted When the system startup is completed."
--启动完成时有一块主控板没有插入
::= { gbnChassisTrap 14 }
------------------------------------------------------------------------------
--
-- gbnSwitchOver - chassis Switch over
--
------------------------------------------------------------------------------
gbnSwitchOver OBJECT-TYPE
SYNTAX INTEGER{
noop(1),
switchover(2)
}
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"Performs switchover of the master control board. Use with care.
A 'switchover(2)' switchover the master board,and 'noop(1)'does nothing.
A value of 'noop(1)' is always returned for a GET operation."
--主备倒换,请小心使用。'switchover(2)'用于切换主备角色,而'noop(1)'没有任何操作。对于一个get请求总是返回'noop(1)'的值.
::= { gbnPlatformChassis 4 }
--
-- END of gbnPlatformChassis-MIB
--
END

File diff suppressed because it is too large Load Diff

1613
mibs/fs/GBNPlatformOAM-MIB Normal file

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,160 @@
------------------------------------------------------------------------------
--
-- File : gbnPlatformOAMMailalarm-MIB.mi2
-- Description : Mailalarm configuration MIB
-- Version : 1.0
-- Date : Jul 25, 2005
-- Author : wukaijian
-- Copyright (c) 2001-2008 admin Co. Ltd. All Rights Reserved.
--
------------------------------------------------------------------------------
GBNPlatformOAMMailalarm-MIB DEFINITIONS ::= BEGIN
IMPORTS
MODULE-IDENTITY, OBJECT-TYPE,
Counter32, Gauge32,
Unsigned32, Integer32,
IpAddress, NOTIFICATION-TYPE FROM SNMPv2-SMI
RowStatus, TruthValue,
DisplayString, MacAddress FROM SNMPv2-TC
MODULE-COMPLIANCE, OBJECT-GROUP FROM SNMPv2-CONF
snmpTraps FROM SNMPv2-MIB
gbnPlatformOAM FROM GBNPlatformOAM-MIB;
gbnPlatformOAMMailalarm MODULE-IDENTITY
LAST-UPDATED "0507250000Z" -- Jul 25, 2005
ORGANIZATION "admin Co. Ltd"
CONTACT-INFO "admin Co. Ltd
E-mail: service@admin.com.cn"
DESCRIPTION "Mailalarm mib definition."
REVISION "0507250000Z" -- Jul 25, 2005
DESCRIPTION "Initial MIB creation."
::= { gbnPlatformOAM 12 }
mailalarmState OBJECT-TYPE
SYNTAX INTEGER {
enable(1),
disable(2)
}
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"enable or disable Mailalarm."
--打开或关闭邮件告警功能。
::= { gbnPlatformOAMMailalarm 1 }
mailalarmSrvAddr OBJECT-TYPE
SYNTAX IpAddress
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"the address of the SMTP server used by Mailalarm."
--邮件告警使用的SMTP服务器地址。
::= { gbnPlatformOAMMailalarm 2 }
mailalarmRceiverAddr OBJECT-TYPE
SYNTAX OCTET STRING (SIZE (0..127))
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"the e-mail address of the receiver."
--邮件接收者的e-mail地址。
::= { gbnPlatformOAMMailalarm 3 }
mailalarmLogLevel OBJECT-TYPE
SYNTAX INTEGER (0..7)
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"the mailalarm level of syslog."
--发送邮件告警的syslog级别。
::= { gbnPlatformOAMMailalarm 4 }
mailalarmSmtpAuthEnable OBJECT-TYPE
SYNTAX INTEGER {
enable(1),
disable(2)
}
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"enable or disable smtp authentication."
--使能或禁止smtp身份验证。
::= { gbnPlatformOAMMailalarm 5 }
mailalarmSmtpUsername OBJECT-TYPE
SYNTAX OCTET STRING (SIZE (0..31))
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"smtp username."
--smtp用户帐号。
::= { gbnPlatformOAMMailalarm 6 }
mailalarmSmtpPasswd OBJECT-TYPE
SYNTAX OCTET STRING (SIZE (0..31))
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"smtp password."
--smtp用户密码。
::= { gbnPlatformOAMMailalarm 7 }
------------------------------------------------------------------------------
-- mailalarmCcAddrTable:
------------------------------------------------------------------------------
mailalarmCcAddrTable OBJECT-TYPE
SYNTAX SEQUENCE OF MailalarmCcAddrEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"the e-mail address table of the Cc. receiver."
--需要抄送的邮件接收者e-mail地址表。
::= { gbnPlatformOAMMailalarm 8 }
mailalarmCcAddrEntry OBJECT-TYPE
SYNTAX MailalarmCcAddrEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"the e-mail address entry of the Cc. receiver."
--需要抄送的邮件接收者e-mail地址条目。
INDEX { mailalarmCcAddrIdx }
::= { mailalarmCcAddrTable 1 }
MailalarmCcAddrEntry ::=
SEQUENCE {
mailalarmCcAddrIdx
INTEGER (0..3),
mailalarmCcAddr
OCTET STRING (SIZE (0..127))
}
mailalarmCcAddrIdx OBJECT-TYPE
SYNTAX INTEGER (0..3)
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"the index of the address entry."
--地址条目的索引。
::= { mailalarmCcAddrEntry 1 }
mailalarmCcAddr OBJECT-TYPE
SYNTAX OCTET STRING (SIZE (0..127))
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"the e-mail address of the Cc. receiver."
--需要抄送的邮件接收者e-mail地址。
::= { mailalarmCcAddrEntry 2 }
END

View File

@ -0,0 +1,305 @@
GBNPlatformOAMSntpClient-MIB DEFINITIONS ::= BEGIN
IMPORTS
MODULE-IDENTITY, OBJECT-TYPE,
Counter32, Gauge32,
Unsigned32, Integer32,
IpAddress FROM SNMPv2-SMI
RowStatus, TruthValue,
DisplayString, MacAddress FROM SNMPv2-TC
MODULE-COMPLIANCE, OBJECT-GROUP FROM SNMPv2-CONF
gbnPlatformOAM FROM GBNPlatformOAM-MIB;
gbnPlatformOAMSntpClient MODULE-IDENTITY
LAST-UPDATED "0107152004Z" -- July 15, 2004
ORGANIZATION "admin Systems, Inc."
CONTACT-INFO "admin Systems, Inc.
E-mail: support@admin.com.cn"
DESCRIPTION "SNTP mib definition."
REVISION "0107152004Z" -- July 15, 2004
DESCRIPTION "Initial MIB creation."
::= { gbnPlatformOAM 8 }
------------------------------------------------------------------------------
------------------------------------------------------------------------------
-- sntpClientGeneral:
------------------------------------------------------------------------------
sntpClientGeneral OBJECT IDENTIFIER ::= { gbnPlatformOAMSntpClient 1 }
sntpClientMode OBJECT-TYPE
SYNTAX INTEGER {
unicast (1),
anycast(2),
broadcast(4),
multicast(8) }
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"SNTP客户端的工作方式"
DEFVAL { broadcast }
::= { sntpClientGeneral 1 }
sntpClientPollInterval OBJECT-TYPE
SYNTAX INTEGER( 64..1024 )
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"发送请求的间隔,用于单播和任意播方式"
DEFVAL { 1000 }
::= { sntpClientGeneral 2 }
sntpClientRetransInterval OBJECT-TYPE
SYNTAX INTEGER( 1..30 )
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"客户端重传请求的间隔"
DEFVAL { 5 }
::= { sntpClientGeneral 3 }
sntpClientRetransTimes OBJECT-TYPE
SYNTAX INTEGER( 0..10 )
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"客户端没有收到回应时,重传请求的次数,用于单播和任意播方式"
DEFVAL { 0 }
::= { sntpClientGeneral 4 }
sntpClientServer OBJECT-TYPE
SYNTAX IpAddress
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"正在使用的服务器地址,用于出单播和任意播方式"
::= { sntpClientGeneral 5 }
sntpClientSynthFlag OBJECT-TYPE
SYNTAX TruthValue
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"客户端的时间是否被同步"
::= { sntpClientGeneral 6 }
sntpClientState OBJECT-TYPE
SYNTAX INTEGER
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"客户端当前的状态,空闲状态或等待回应报文状态"
::= { sntpClientGeneral 7 }
sntpClientLastSynthTime OBJECT-TYPE
SYNTAX Integer32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"客户端最后一次同步的时间"
::= { sntpClientGeneral 8 }
sntpClientLastSynthErrno OBJECT-TYPE
SYNTAX INTEGER
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"客户端最后一次同步若失败时的错误码。"
::= { sntpClientGeneral 9 }
sntpClientAdminStatus OBJECT-TYPE
SYNTAX INTEGER{
enable(1),
disable(2)
}
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"客户端打开和关闭状态"
::= { sntpClientGeneral 10 }
sntpClientBcastDelay OBJECT-TYPE
SYNTAX INTEGER ( 1..9999 )
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"客户端工作在广播方式下的估计传输延时(毫秒数)"
::= { sntpClientGeneral 11 }
sntpClientMcastTtl OBJECT-TYPE
SYNTAX INTEGER ( 1..255 )
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"客户端工作在组播方式下的TTL值"
::= { sntpClientGeneral 12 }
sntpClientAuthFlag OBJECT-TYPE
SYNTAX TruthValue
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"authentication enable flag"
--认证使能标记TRUE打开认证FALSE关闭认证--
::= { sntpClientGeneral 13 }
sntpClientUniKeyID OBJECT-TYPE
SYNTAX Unsigned32
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"in client/server mode, client send request with this keyID"
--在客户端/服务器模式下客户端发送请求使用的keyID--
::= { sntpClientGeneral 14 }
sntpClientAnyKeyID OBJECT-TYPE
SYNTAX Unsigned32
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"in anycast mode, client send request with this keyID"
--在任意播模式下客户端使用广播发送请求使用的keyID--
::= { sntpClientGeneral 15 }
sntpClientServerBackup OBJECT-TYPE
SYNTAX IpAddress
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"server backup"
::= { sntpClientGeneral 16 }
------------------------------------------------------------------------------
-- sntpValidSrcTable:
------------------------------------------------------------------------------
sntpClientValidServerTable OBJECT-TYPE
SYNTAX SEQUENCE OF SntpClientValidServerEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"合法服务器网段表SNTP根据次表检查报文源地址只有源地址落在这个这个
表中的报文才为合法报文,否则丢弃。相当于访问控制列表"
::= { gbnPlatformOAMSntpClient 2 }
sntpClientValidServerEntry OBJECT-TYPE
SYNTAX SntpClientValidServerEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"定义一条合法服务器列表."
INDEX { sntpClientValidServerNet, sntpClientValidServerMask }
::= { sntpClientValidServerTable 1 }
SntpClientValidServerEntry ::=
SEQUENCE {
sntpClientValidServerNet
IpAddress,
sntpClientValidServerMask
IpAddress,
sntpClientValidServerRowStatus
RowStatus
}
sntpClientValidServerNet OBJECT-TYPE
SYNTAX IpAddress
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"源地址所在网段号"
::= { sntpClientValidServerEntry 1 }
sntpClientValidServerMask OBJECT-TYPE
SYNTAX IpAddress
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"源地址所在网段掩码"
::= { sntpClientValidServerEntry 2 }
sntpClientValidServerRowStatus OBJECT-TYPE
SYNTAX RowStatus
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"行状态"
::= { sntpClientValidServerEntry 3 }
------------------------------------------------------------------------------
-- sntpAuthKeyTable:
------------------------------------------------------------------------------
sntpAuthKeyTable OBJECT-TYPE
SYNTAX SEQUENCE OF SntpAuthKeyEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"keys userd for SNTP authentication"
--用于SNTP认证的密码表--
::= { gbnPlatformOAMSntpClient 3 }
sntpAuthKeyEntry OBJECT-TYPE
SYNTAX SntpAuthKeyEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"define a key item."
--定义一个密码表项--
INDEX { sntpAuthKeyId }
::= { sntpAuthKeyTable 1 }
SntpAuthKeyEntry ::=
SEQUENCE {
sntpAuthKeyId
Unsigned32,
sntpAuthKeyValue
DisplayString (SIZE (1..16)),
sntpAuthKeyTrustFlag
TruthValue,
sntpAuthKeyRowStatus
RowStatus
}
sntpAuthKeyId OBJECT-TYPE
SYNTAX Unsigned32 ( 1..4294967295 )
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"key number"
--key ID--
::= { sntpAuthKeyEntry 1 }
sntpAuthKeyValue OBJECT-TYPE
SYNTAX DisplayString (SIZE (1..16))
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"key value"
--一个最长为16字节的字符串--
::= { sntpAuthKeyEntry 2 }
sntpAuthKeyTrustFlag OBJECT-TYPE
SYNTAX TruthValue
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"whether the key is trusted"
--此密码是否为可信任的标记--
::= { sntpAuthKeyEntry 3 }
sntpAuthKeyRowStatus OBJECT-TYPE
SYNTAX RowStatus
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"row status"
--行状态,用于删除--
::= { sntpAuthKeyEntry 4 }
END

View File

@ -0,0 +1,96 @@
------------------------------------------------------------------------------
--
-- File : gbnPlatformOAMSsh-MIB.mi2
-- Description : SSH configuration MIB
-- Version : 1.0
-- Date : May 25, 2005
-- Author : wukaijian
-- Copyright (c) 2001-2008 admin Co. Ltd. All Rights Reserved.
--
------------------------------------------------------------------------------
GBNPlatformOAMSsh-MIB DEFINITIONS ::= BEGIN
IMPORTS
MODULE-IDENTITY, OBJECT-TYPE,
Counter32, Gauge32,
Unsigned32, Integer32,
IpAddress, NOTIFICATION-TYPE FROM SNMPv2-SMI
RowStatus, TruthValue,
DisplayString, MacAddress FROM SNMPv2-TC
MODULE-COMPLIANCE, OBJECT-GROUP FROM SNMPv2-CONF
snmpTraps FROM SNMPv2-MIB
gbnPlatformOAM FROM GBNPlatformOAM-MIB;
gbnPlatformOAMSsh MODULE-IDENTITY
LAST-UPDATED "0505250000Z" -- May 25, 2005
ORGANIZATION "admin Co. Ltd"
CONTACT-INFO "admin Co. Ltd
E-mail: service@admin.com.cn"
DESCRIPTION "Ssh mib definition."
REVISION "0505250000Z" -- May 25, 2005
DESCRIPTION "Initial MIB creation."
::= { gbnPlatformOAM 11 }
sshVersion OBJECT-TYPE
SYNTAX INTEGER {
v1(1),
v2(2)
}
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"SSH version."
--SSH 版本。
::= { gbnPlatformOAMSsh 1 }
sshState OBJECT-TYPE
SYNTAX INTEGER {
enable(1),
disable(2)
}
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"enable or disable SSH."
--打开或关闭SSH功能。
::= { gbnPlatformOAMSsh 2 }
sshKeyAvailable OBJECT-TYPE
SYNTAX INTEGER {
available(1),
unavailable(2)
}
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"SSH key file state."
--SSH密钥文件状态: 已从Flash中加载密钥文件则状态为available否则为unavailable。
::= { gbnPlatformOAMSsh 3 }
sshUserLimit OBJECT-TYPE
SYNTAX Integer32 (0..5)
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"The max user limit of ssh"
--允许ssh登录的最大用户数目
::= { gbnPlatformOAMSsh 4 }
sshLoginUsers OBJECT-TYPE
SYNTAX Counter32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Current login users of ssh"
--当前ssh登录的用户数目
::= { gbnPlatformOAMSsh 5 }
END

View File

@ -0,0 +1,434 @@
------------------------------------------------------------------------------
--
-- File : gbnPlatformOAMSyslog-MIB.mi2
-- Description : Syslog configuration MIB
-- Version : 1.0
-- Date : Oct 10, 2004
-- Author : wukaijian
-- Copyright (c) 2001-2008 admin Co. Ltd. All Rights Reserved.
--
------------------------------------------------------------------------------
GBNPlatformOAMSyslog-MIB DEFINITIONS ::= BEGIN
IMPORTS
MODULE-IDENTITY, OBJECT-TYPE,
Counter32, Gauge32,
Unsigned32, Integer32,
IpAddress, NOTIFICATION-TYPE FROM SNMPv2-SMI
RowStatus, TruthValue,
DisplayString, MacAddress FROM SNMPv2-TC
MODULE-COMPLIANCE, OBJECT-GROUP FROM SNMPv2-CONF
snmpTraps FROM SNMPv2-MIB
gbnPlatformOAM FROM GBNPlatformOAM-MIB;
gbnPlatformOAMSyslog MODULE-IDENTITY
LAST-UPDATED "0410100000Z" -- October 10, 2004
ORGANIZATION "Admin Co. Ltd"
CONTACT-INFO "Admin Co. Ltd
E-mail: support@admin.com.cn"
DESCRIPTION "Syslog mib definition."
REVISION "0410100000Z" -- October 10, 2004
DESCRIPTION "Initial MIB creation."
::= { gbnPlatformOAM 9 }
syslogState OBJECT-TYPE
SYNTAX INTEGER {
enable(1),
disable(2)
}
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"enable or disable Syslog."
--打开或关闭Syslog功能。
::= { gbnPlatformOAMSyslog 1 }
syslogSeqNoEnable OBJECT-TYPE
SYNTAX INTEGER {
enable(1),
disable(2)
}
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"display or not display sequence number in output messages."
--在输出信息中显示或不显示序列号。
::= { gbnPlatformOAMSyslog 2 }
syslogTimestampType OBJECT-TYPE
SYNTAX INTEGER {
notime(1),
uptime(2),
datetime(3)
}
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"set timestamp type shown in output messages.
notime: not show timestamp;
uptime: show elapse time as timestamp;
datetime: show datetime as timestamp."
--配置输出信息中显示的时间戳类型。
--notime: 不显示时间戳;
--uptime: 显示开机时间作为时间戳;
--datetime: 显示绝对时间作为时间戳。
::= { gbnPlatformOAMSyslog 3 }
syslogLanguageType OBJECT-TYPE
SYNTAX INTEGER {
english(1),
chinese(2)
}
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"set language type used in output messages."
--配置输出信息中使用的语言类型。
::= { gbnPlatformOAMSyslog 4 }
syslogFacility OBJECT-TYPE
SYNTAX INTEGER {
kernel(0),
userlevel(1),
mail(2),
system(3),
security1(4),
syslogd(5),
lineprinter(6),
networknews(7),
uucp(8),
clock1(9),
security2(10),
ftp(11),
ntp(12),
logaudit(13),
logalert(14),
clock2(15),
localuse0(16),
localuse1(17),
localuse2(18),
localuse3(19),
localuse4(20),
localuse5(21),
localuse6(22),
localuse7(23)
}
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"set loghost facility code."
--配置日志主机(Syslog服务器)记录工具代号。
::= { gbnPlatformOAMSyslog 5 }
syslogSourceIp OBJECT-TYPE
SYNTAX IpAddress
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"specify source address used in syslog.
0 means no source address used.
the ip address must belong to the device."
--指定Syslog使用的固定源地址发至Syslog服务器的报文将使用此地址作为源地址。
--0代表不使用固定源地址此时系统将使用出接口的地址作为源地址。
--指定的源地址必须为设备上某一接口的地址,否则设置不成功。
::= { gbnPlatformOAMSyslog 6 }
syslogInfo OBJECT-TYPE
SYNTAX OCTET STRING (SIZE (0..256))
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"node that used to bind infomation to send trap by syslog."
--Syslog使用此节点绑定信息发送Trap。
::= { gbnPlatformOAMSyslog 7 }
------------------------------------------------------------------------------
-- syslogOutputDevInfoTable:
------------------------------------------------------------------------------
syslogOutputDevInfoTable OBJECT-TYPE
SYNTAX SEQUENCE OF SyslogOutputDevInfoEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"syslog output device infomation table."
--Syslog输出设备信息表。描述各输出方向的相关信息。
::= { gbnPlatformOAMSyslog 8 }
syslogOutputDevInfoEntry OBJECT-TYPE
SYNTAX SyslogOutputDevInfoEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"syslog output device infomation entry."
--Syslog输出设备信息条目。描述某一输出方向的相关信息。
INDEX { syslogOutputDevInfoName }
::= { syslogOutputDevInfoTable 1 }
SyslogOutputDevInfoEntry ::=
SEQUENCE {
syslogOutputDevInfoName
OCTET STRING,
syslogOutputDevInfoSwitch
INTEGER,
syslogOutputDevInfoLogged
Gauge32,
syslogOutputDevInfoDiscard
Gauge32,
syslogOutputDevInfoOverflow
Gauge32
}
syslogOutputDevInfoName OBJECT-TYPE
SYNTAX OCTET STRING (SIZE (0..32))
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"output device name."
--输出设备名。
--设备名由系统指定,用户不可设置。
--输出设备包括控制台、Telnet终端、历史缓冲区、Flash存储器、日志主机和SNMP Agent。
--除日志主机Syslog服务器其他输出设备使用固定的名字。日志主机使用IP地址作为
--其设备名,用户已配置的日志主机显示在表中,未配置的不显示。用户可通过命令行或者
--MIB表syslogLoghostAddrTable配置日志主机地址。
::= { syslogOutputDevInfoEntry 1 }
syslogOutputDevInfoSwitch OBJECT-TYPE
SYNTAX INTEGER {
enable(1),
disable(2)
}
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"output device switch."
--输出设备信息开关。配置是否允许信息输出至该方向。
::= { syslogOutputDevInfoEntry 2 }
syslogOutputDevInfoLogged OBJECT-TYPE
SYNTAX Gauge32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"number of messages logged in this output device."
--该输出方向已记录的信息个数。
--系统统计信息,用户不可配置。
::= { syslogOutputDevInfoEntry 3 }
syslogOutputDevInfoDiscard OBJECT-TYPE
SYNTAX Gauge32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"number of messages discard in this output device."
--该输出方向已丢弃的信息个数。
--系统统计信息,用户不可配置。
::= { syslogOutputDevInfoEntry 4 }
syslogOutputDevInfoOverflow OBJECT-TYPE
SYNTAX Gauge32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"number of messages overflowed in this output device."
--该输出方向已覆盖的信息个数。
--系统统计信息,用户不可配置。
::= { syslogOutputDevInfoEntry 5 }
------------------------------------------------------------------------------
-- syslogLoghostAddrTable:
------------------------------------------------------------------------------
syslogLoghostAddrTable OBJECT-TYPE
SYNTAX SEQUENCE OF SyslogLoghostAddrEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"loghost address table."
--日志主机地址表。记录已配置的日志主机条目。
::= { gbnPlatformOAMSyslog 9 }
syslogLoghostAddrEntry OBJECT-TYPE
SYNTAX SyslogLoghostAddrEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"loghost address entry."
--日志主机地址条目。记录已配置的日志主机。
INDEX { syslogLoghostAddrIp }
::= { syslogLoghostAddrTable 1 }
SyslogLoghostAddrEntry ::=
SEQUENCE {
syslogLoghostAddrIp
IpAddress,
syslogLoghostAddrRowstatus
RowStatus
}
syslogLoghostAddrIp OBJECT-TYPE
SYNTAX IpAddress
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"loghost ip address."
--日志主机IP地址。
--用户可添加或者删除日志主机。
::= { syslogLoghostAddrEntry 1 }
syslogLoghostAddrRowstatus OBJECT-TYPE
SYNTAX RowStatus
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"row status."
--行状态。
--添加日志主机时必须首先设置日志主机地址此时行状态自动设为notInService(2)
--然后设置行状态为createAndGo(4)或者createAndWait(5)。
--删除日志主机时只需将行状态设置为destroy(6)即可。
::= { syslogLoghostAddrEntry 2 }
------------------------------------------------------------------------------
-- syslogFilterRuleTable:
------------------------------------------------------------------------------
syslogFilterRuleTable OBJECT-TYPE
SYNTAX SEQUENCE OF SyslogFilterRuleEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"syslog filter rule table."
--Syslog过滤规则表。
::= { gbnPlatformOAMSyslog 10 }
syslogFilterRuleEntry OBJECT-TYPE
SYNTAX SyslogFilterRuleEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"syslog filter rule entry."
--Syslog过滤规则条目。
INDEX { syslogFilterRuleDevname, syslogFilterRuleModname }
::= { syslogFilterRuleTable 1 }
SyslogFilterRuleEntry ::=
SEQUENCE {
syslogFilterRuleDevname
OCTET STRING,
syslogFilterRuleModname
OCTET STRING,
syslogFilterRuleLevelmask
BITS
}
syslogFilterRuleDevname OBJECT-TYPE
SYNTAX OCTET STRING (SIZE (0..32))
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"output device name."
--输出设备名。
--设备名由系统指定,用户不可设置。
--输出设备包括控制台、Telnet终端、历史缓冲区、Flash存储器、日志主机和SNMP Agent。
--除日志主机Syslog服务器其他输出设备使用固定的名字。日志主机使用IP地址作为
--其设备名,用户已配置的日志主机显示在表中,未配置的不显示。用户可通过命令行或者
--MIB表syslogLoghostAddrTable配置日志主机地址。
::= { syslogFilterRuleEntry 1 }
syslogFilterRuleModname OBJECT-TYPE
SYNTAX OCTET STRING (SIZE (0..32))
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"module name."
--模块名。
--用户不可设置,由系统根据系统中已有的模块显示。
::= { syslogFilterRuleEntry 2 }
syslogFilterRuleLevelmask OBJECT-TYPE
SYNTAX BITS
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"a 8 bits mask used to decide whether the infomation output to the device.
every bit corresponds to a level, 1 means output allowed."
--一个8位的掩码决定信息是否输出到某一设备。
--每一位对应一个信息级别该位为1则该级别信息允许输出到设备。
--第0至7位最低位位第0位分别对应的信息级别为emergenciesalertscritical
--errorswarningsnotificationsinformationaldebugging。
::= { syslogFilterRuleEntry 3 }
------------------------------------------------------------------------------
-- syslogDbgTable:
------------------------------------------------------------------------------
syslogDbgTable OBJECT-TYPE
SYNTAX SEQUENCE OF SyslogDbgEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"syslog debug switch table."
--Syslog调试开关状态表。
::= { gbnPlatformOAMSyslog 11 }
syslogDbgEntry OBJECT-TYPE
SYNTAX SyslogDbgEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"syslog debug switch entry."
--Syslog调试开关状态条目。
INDEX { syslogDbgModname }
::= { syslogDbgTable 1 }
SyslogDbgEntry ::=
SEQUENCE {
syslogDbgModname
OCTET STRING,
syslogDbgState
INTEGER
}
syslogDbgModname OBJECT-TYPE
SYNTAX OCTET STRING (SIZE (0..32))
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"module name."
--模块名。
--用户不可设置,由系统根据系统中已有的模块显示。
::= { syslogDbgEntry 1 }
syslogDbgState OBJECT-TYPE
SYNTAX INTEGER {
enable(1),
disable(2)
}
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"debug switch state."
--调试开关状态。用户可打开或关闭模块的调试开关。
::= { syslogDbgEntry 2 }
------------------------------------------------------------------------------
-- syslogTrap:
------------------------------------------------------------------------------
syslogTrap NOTIFICATION-TYPE
OBJECTS { syslogInfo }
STATUS current
DESCRIPTION
"trap node that used to send syslog messages."
--发送Syslog信息的Trap节点。
::= { gbnPlatformOAMSyslog 12 }
END

View File

@ -0,0 +1,153 @@
------------------------------------------------------------------------------
--
-- File : gbnPlatformOAMTelnet-MIB.mi2
-- Description : Telnet configuration MIB
-- Version : 1.0
-- Date : April 16, 2013
-- Author : tangrenxiang
-- Copyright (c) 2001-2008 admin Co. Ltd. All Rights Reserved.
--
------------------------------------------------------------------------------
GBNPlatformOAMTelnet-MIB DEFINITIONS ::= BEGIN
IMPORTS
MODULE-IDENTITY, OBJECT-TYPE,
Counter32, Gauge32,
Unsigned32, Integer32,
IpAddress, NOTIFICATION-TYPE FROM SNMPv2-SMI
RowStatus, TruthValue,
DisplayString, MacAddress FROM SNMPv2-TC
MODULE-COMPLIANCE, OBJECT-GROUP FROM SNMPv2-CONF
snmpTraps FROM SNMPv2-MIB
gbnPlatformOAM FROM GBNPlatformOAM-MIB;
gbnPlatformOAMTelnet MODULE-IDENTITY
LAST-UPDATED "1304160000Z" -- April 16, 2013
ORGANIZATION "admin Co. Ltd"
CONTACT-INFO "admin Co. Ltd
E-mail: service@admin.com.cn"
DESCRIPTION "Telnet mib definition."
REVISION "1304160000Z" -- April 16, 2013
DESCRIPTION "Initial MIB creation."
::= { gbnPlatformOAM 15 }
telnetState OBJECT-TYPE
SYNTAX INTEGER {
enable(1),
disable(2)
}
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"enable or disable telnet."
--打开或关闭telnet功能。
::= { gbnPlatformOAMTelnet 1 }
telnetUserLimit OBJECT-TYPE
SYNTAX Integer32 (0..5)
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"The max user limit of telnet"
--允许telnet登录的最大用户数目
::= { gbnPlatformOAMTelnet 2 }
telnetLoginUsers OBJECT-TYPE
SYNTAX Counter32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Current login users of telnet"
--当前telnet登录的用户数目
::= { gbnPlatformOAMTelnet 3 }
telnetUserTable OBJECT-TYPE
SYNTAX SEQUENCE OF TelnetUserEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"A table of login user information"
--登录用户信息表
::= { gbnPlatformOAMTelnet 4 }
telnetUserEntry OBJECT-TYPE
SYNTAX TelnetUserEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"A list of login user information"
--登录用户信息列表
INDEX { telnetUserTerminal }
::= { telnetUserTable 1 }
TelnetUserEntry ::= SEQUENCE {
telnetUserTerminal Counter32,
telnetUserAddrIp DisplayString,
telnetUserName DisplayString,
telnetUserLoginTime DisplayString,
telnetUserTransport DisplayString,
telnetUserRowStatus RowStatus
}
telnetUserTerminal OBJECT-TYPE
SYNTAX Counter32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"login terminal number"
--登录终端号
::= { telnetUserEntry 1 }
telnetUserAddrIp OBJECT-TYPE
SYNTAX DisplayString(SIZE(1..64))
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"login ip address"
-- 登录ip地址,包括IPV4和IPV6.
::= { telnetUserEntry 2 }
telnetUserName OBJECT-TYPE
SYNTAX DisplayString (SIZE(1..32))
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"login user name"
--登录用户名称
::= { telnetUserEntry 3 }
telnetUserLoginTime OBJECT-TYPE
SYNTAX DisplayString (SIZE(0..100))
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"login time"
--登录时间
::= { telnetUserEntry 4 }
telnetUserTransport OBJECT-TYPE
SYNTAX DisplayString (SIZE(0..20))
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"transport type"
--登录类型, telnet或ssh
::= { telnetUserEntry 5 }
telnetUserRowStatus OBJECT-TYPE
SYNTAX RowStatus
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"login user rowstatus"
--登录用户行状态,用来剔除用户
::= { telnetUserEntry 6 }
END

245
mibs/fs/GBNServiceCM-MIB Normal file
View File

@ -0,0 +1,245 @@
------------------------------------------------------------------------------
------------------------------------------------------------------------------
--
-- File : gbn8021xCM.mib
-- Description : Sample admin 802.1x CM module configuration MIB
-- Version : 1.0
-- Date : July 2, 2002
--
-- Copyright (c) 1999-2000 admin Systems, Inc. All Rights Reserved.
--
------------------------------------------------------------------------------
GBNServiceCM-MIB DEFINITIONS ::= BEGIN
IMPORTS
MODULE-IDENTITY, OBJECT-TYPE,
Integer32, IpAddress,
NOTIFICATION-TYPE FROM SNMPv2-SMI
DisplayString, MacAddress,
RowStatus, TruthValue FROM SNMPv2-TC
MODULE-COMPLIANCE, OBJECT-GROUP FROM SNMPv2-CONF
gbnServiceAAA FROM ADMIN-MASTER-MIB
;
gbn8021xCmMib MODULE-IDENTITY
LAST-UPDATED "2002/07/02" -- July 2, 2002
ORGANIZATION "admin Systems, Inc."
CONTACT-INFO "admin Systems, Inc.
E-mail: support@admin.com.cn"
DESCRIPTION "admin CM Enterprise MIB definition."
REVISION "2002/07/02" -- July 2, 2002
DESCRIPTION "Initial MIB creation."
::= { gbnServiceAAA 1 }
------------------------------------------------------------------------------
-- Textual Conventions (i.e., these do not affect object encoding):
------------------------------------------------------------------------------
--
-- "DURABLE":
-- Objects that are saved across a system reset and/or power cycle
-- are noted as "DURABLE" for convenience in the DESCRIPTION
-- section of the object definition. Code must be explicitly
-- written to implement these DURABLE objects.
--
------------------------------------------------------------------------------
-- define groups in GBN-8021xCM-MIB
------------------------------------------------------------------------------
-------------------------------------------------------------------
--Add gbn8021xCmConfTable MIB 2002/07/02 ouyangchunbo
-------------------------------------------------------------------
gbn8021xCmConfTable OBJECT-TYPE
SYNTAX SEQUENCE OF gbn8021xCmConfEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"A Table of Radius configuration table"
::= { gbn8021xCmMib 1 }
gbn8021xCmConfEntry OBJECT-TYPE
SYNTAX gbn8021xCmConfEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"A list of radius parameters."
INDEX { DomainIndex }
::= { gbn8021xCmConfTable 1 }
gbn8021xCmConfEntry ::= SEQUENCE {
DomainIndex Integer32,
DomainName DisplayString,
ServerName DisplayString,
MaxLinks Integer32,
CurrentLinks Integer32,
nActive TruthValue,
bCmUsed TruthValue,
scheme Integer32
}
DomainIndex OBJECT-TYPE
SYNTAX Integer32 (1..1024)
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"A simple index into 'gbn8021xCmConfTable'."
::= { gbn8021xCmConfEntry 1 }
DomainName OBJECT-TYPE
SYNTAX DisplayString (SIZE(1..24))
MAX-ACCESS read-write
STATUS current
DESCRIPTION
" A simple DomainName of gbn8021xCmConfEntry."
::= { gbn8021xCmConfEntry 2 }
ServerName OBJECT-TYPE
SYNTAX DisplayString (SIZE(1..32))
MAX-ACCESS read-write
STATUS current
DESCRIPTION
" A simple ServerName of gbn8021xCmConfEntry."
::= { gbn8021xCmConfEntry 3 }
MaxLinks OBJECT-TYPE
SYNTAX Integer32(1..640)
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"DURABLE: { 1024:all }
A simple MaxLinks of 'gbn8021xCmConfTable'.0xFFFF means disable"
::= { gbn8021xCmConfEntry 4 }
CurrentLinks OBJECT-TYPE
SYNTAX Integer32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"A simple CurrentLinks of 'gbn8021xCmConfTable'."
::= { gbn8021xCmConfEntry 5 }
nActive OBJECT-TYPE
SYNTAX TruthValue
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"Status of the current Domain 1-acitved 2 - unactived'."
::= { gbn8021xCmConfEntry 6 }
bCmUsed OBJECT-TYPE
SYNTAX TruthValue
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"Status of the current Domain 1-used 2 - unused'."
::= { gbn8021xCmConfEntry 7 }
scheme OBJECT-TYPE
SYNTAX Integer32 {
radius(0),
local(1),
radiuslocal(2)
}
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"scheme of this domain.default is radius(0)'."
::= { gbn8021xCmConfEntry 8 }
gbn8021xEAPType OBJECT-TYPE
SYNTAX Integer32 {
eap-finish(1),
eap-transfer(2)
}
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"The operation form of EAP.
eap-finish :Eap msg be processed in local device
eap-transfer:Eap msg will be transfered to RADIUS Server
"
::= { gbn8021xCmMib 2 }
defaultDomain OBJECT-TYPE
SYNTAX DisplayString (SIZE(1..24))
MAX-ACCESS read-write
STATUS current
DESCRIPTION
" A simple default domain name."
::= { gbn8021xCmMib 3 }
gbnLocalUserTable OBJECT-TYPE
SYNTAX SEQUENCE OF GbnLocalUserEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"A Table of local user table"
::= { gbn8021xCmMib 4 }
gbnLocalUserEntry OBJECT-TYPE
SYNTAX GbnLocalUserEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"A list of local user."
INDEX { localUserName }
::= { gbnLocalUserTable 1 }
GbnLocalUserEntry ::= SEQUENCE {
localUserName DisplayString,
localUserPassword DisplayString,
localUserVlan Integer32,
localUserStatus RowStatus
}
localUserName OBJECT-TYPE
SYNTAX DisplayString (SIZE(1..64))
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"name of a local user'."
::= { gbnLocalUserEntry 1 }
localUserPassword OBJECT-TYPE
SYNTAX DisplayString (SIZE(1..64))
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"password of a local user'."
::= { gbnLocalUserEntry 2 }
localUserVlan OBJECT-TYPE
SYNTAX Integer32 (1..4094)
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"vlan attribute of a local user'."
::= { gbnLocalUserEntry 3 }
localUserStatus OBJECT-TYPE
SYNTAX RowStatus
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"rowstartus of a local user'."
::= { gbnLocalUserEntry 4 }
--
-- END of GBN-8021xCM-MIB
--
END

View File

@ -0,0 +1,356 @@
GBNServiceMACAUTHEN-MIB DEFINITIONS ::= BEGIN
IMPORTS
MODULE-IDENTITY, OBJECT-TYPE,
Integer32, IpAddress,
NOTIFICATION-TYPE FROM SNMPv2-SMI
DisplayString, MacAddress,
RowStatus, TruthValue FROM SNMPv2-TC
MODULE-COMPLIANCE, OBJECT-GROUP FROM SNMPv2-CONF
gbnServiceAAA FROM ADMIN-MASTER-MIB
;
gbnMacAuthenMib MODULE-IDENTITY
LAST-UPDATED "2010/06/01" -- Jun 01, 2010
ORGANIZATION "Admin"
CONTACT-INFO "Admin
E-mail: support@Admin.com"
DESCRIPTION "gbn macauthen Enterprise MIB definition."
REVISION "2010/06/01" -- Jun 01, 2010
DESCRIPTION "Initial MIB creation."
::= { gbnServiceAAA 4 }
------------------------------------------------------------------------------
-- Textual Conventions (i.e., these do not affect object encoding):
------------------------------------------------------------------------------
--
-- "DURABLE":
-- Objects that are saved across a system reset and/or power cycle
-- are noted as "DURABLE" for convenience in the DESCRIPTION
-- section of the object definition. Code must be explicitly
-- written to implement these DURABLE objects.
--
------------------------------------------------------------------------------
-- define groups in gbn-TACACS-MIB
globalEnable OBJECT-TYPE
SYNTAX TruthValue
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"global config of mac-authentication.default is false."
::= { gbnMacAuthenMib 1 }
radiusDomain OBJECT-TYPE
SYNTAX DisplayString (SIZE (0..24))
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"domain name of radius domain.use size 0 to delete.default is size 0,indicating none."
::= { gbnMacAuthenMib 2 }
offlineTimer OBJECT-TYPE
SYNTAX Integer32 (30..3600)
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"offline time of mac.unit is second.default is 300 seconds."
::= { gbnMacAuthenMib 3 }
quietTimer OBJECT-TYPE
SYNTAX Integer32 (30..3600)
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"quiet time of mac.unit is second.default is 60 secondsl"
::= { gbnMacAuthenMib 4 }
userMode OBJECT-TYPE
SYNTAX INTEGER {
fixed(1), -- use fixed name and password
macaddress(0) -- use mac-address
}
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"how to make username and password of radius.default is macaddress(0)."
::= { gbnMacAuthenMib 5 }
userName OBJECT-TYPE
SYNTAX DisplayString (SIZE (0..63))
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"username when usermode is fiexed.use size 0 to delete.default is size 0,indicating none."
::= { gbnMacAuthenMib 6 }
password OBJECT-TYPE
SYNTAX DisplayString (SIZE (0..63))
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"password when usermode is fiexed.use size 0 to delete.default is size 0,indicating none."
::= { gbnMacAuthenMib 7 }
macAuthenPortTable OBJECT-TYPE
SYNTAX SEQUENCE OF MacAuthenPortEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"table of information of ports."
REFERENCE
"9.6.1"
::= { gbnMacAuthenMib 8 }
macAuthenPortEntry OBJECT-TYPE
SYNTAX MacAuthenPortEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"table of information of ports."
INDEX { macAuthenPortNumber }
::= { macAuthenPortTable 1 }
MacAuthenPortEntry ::=
SEQUENCE {
macAuthenPortNumber
Unsigned32,
macAuthenEnable
TruthValue,
guestVlan
Integer32,
maxUsers
Integer32,
rateLimit
Integer32,
rateLimitTimer
Integer32,
uplink
TruthValue
}
macAuthenPortNumber OBJECT-TYPE
SYNTAX Unsigned32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The Port number associated with this Port."
REFERENCE
"9.6.1, Port number"
::= { macAuthenPortEntry 1 }
macAuthenEnable OBJECT-TYPE
SYNTAX TruthValue
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"Enable/disable mac-authentication of this Port.default is disabled."
REFERENCE
"9.6.1, Protocol version"
::= { macAuthenPortEntry 2 }
guestVlan OBJECT-TYPE
SYNTAX Integer32 (0..4094)
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"guest vlan.0 is disable.default is 0."
::= { macAuthenPortEntry 3 }
maxUsers OBJECT-TYPE
SYNTAX Integer32 (1..256)
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"maximum users.range is from 1 to 256.default is 256."
::= { macAuthenPortEntry 4 }
rateLimit OBJECT-TYPE
SYNTAX Integer32 (10..300)
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"rate limit of authentition packets.when reach this value, the port can not authenticate users, is in block state.range is form 10 to 300.default is 300 packets per sencond"
::= { macAuthenPortEntry 5 }
rateLimitTimer OBJECT-TYPE
SYNTAX Integer32 (30..3600)
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"when port is in block state because ratelimit, after this timer ,port turns to normal state..default is 60"
::= { macAuthenPortEntry 6 }
uplink OBJECT-TYPE
SYNTAX TruthValue
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"uplink port of vlan"
::= { macAuthenPortEntry 7 }
encrptionMode OBJECT-TYPE
SYNTAX INTEGER {
chap(1), -- use chap
pap(0) -- use pap
}
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"radius password encrption mode,default is pap."
::= { gbnMacAuthenMib 9 }
macvlanEnable OBJECT-TYPE
SYNTAX TruthValue
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"whethe to use mac vlan function.default is false."
::= { gbnMacAuthenMib 10 }
questVlanReauthTimer OBJECT-TYPE
SYNTAX Integer32 (30..3600)
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"guestvlan users reauthentication timer .unit is second.range is from 30 to 3600.default is 30 secondsl"
::= { gbnMacAuthenMib 11 }
macUsersTable OBJECT-TYPE
SYNTAX SEQUENCE OF MacUsersEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"table of information of users."
REFERENCE
"9.6.1"
::= { gbnMacAuthenMib 12 }
macUsersEntry OBJECT-TYPE
SYNTAX MacUsersEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"table of information of users."
INDEX { userMac }
::= { macUsersTable 1 }
MacUsersEntry ::=
SEQUENCE {
userMac
MacAddress,
userState
Unsigned32,
userPort
Unsigned32,
userVlan
Integer32,
userInGuestVlan
TruthValue,
userPriority
Integer32,
userAcl
DisplayString,
userRate
Integer32,
userPeakRate
Integer32,
userBasicRate
Integer32
}
userMac OBJECT-TYPE
SYNTAX MacAddress
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"user macaddress."
::= { macUsersEntry 1 }
userState OBJECT-TYPE
SYNTAX Unsigned32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"user state.bit 0:quiet state,bit 1:authenticating state,bit 2:authenticated state, bit 3:off-line detecting state"
::= { macUsersEntry 2 }
userPort OBJECT-TYPE
SYNTAX Unsigned32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"the port number of this user belongs to.start form 1"
::= { macUsersEntry 3 }
userVlan OBJECT-TYPE
SYNTAX Integer32 (1..4094)
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"the vlan number of this user belongs to."
::= { macUsersEntry 4 }
userInGuestVlan OBJECT-TYPE
SYNTAX TruthValue
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"whether user is in guest vlan."
::= { macUsersEntry 5 }
userPriority OBJECT-TYPE
SYNTAX Integer32 (0..7)
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"the priority of this user belongs to."
::= { macUsersEntry 6 }
userAcl OBJECT-TYPE
SYNTAX DisplayString (SIZE (0..63))
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"the acl name of this user belongs to."
::= { macUsersEntry 7 }
userRate OBJECT-TYPE
SYNTAX Integer32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"average bandwith of this user.unit is kbps"
::= { macUsersEntry 8 }
userPeakRate OBJECT-TYPE
SYNTAX Integer32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"peak bandwith of this user.unit is kbps"
::= { macUsersEntry 9 }
userBasicRate OBJECT-TYPE
SYNTAX Integer32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"basic bandwith of this user.unit is kbps"
::= { macUsersEntry 10 }
--
-- END of gbn-MACAUTHEN-MIB
--
END

View File

@ -0,0 +1,229 @@
------------------------------------------------------------------------------
------------------------------------------------------------------------------
--
-- File : gbnRadius.mib
-- Description : Sample admin Radius configuration MIB
-- Version : 1.0
-- Date : July 2, 2002
--
-- Copyright (c) 1999-2000 admin Systems, Inc. All Rights Reserved.
--
------------------------------------------------------------------------------
GBNServiceRADIUS-MIB DEFINITIONS ::= BEGIN
IMPORTS
MODULE-IDENTITY, OBJECT-TYPE,
Integer32, IpAddress,
NOTIFICATION-TYPE FROM SNMPv2-SMI
DisplayString, MacAddress,
RowStatus, TruthValue FROM SNMPv2-TC
MODULE-COMPLIANCE, OBJECT-GROUP FROM SNMPv2-CONF
gbnServiceAAA FROM ADMIN-MASTER-MIB;
gbnRadiusMib MODULE-IDENTITY
LAST-UPDATED "0008290000Z"
ORGANIZATION "admin Systems, Inc."
CONTACT-INFO "admin Systems, Inc.
E-mail: support@admin.com.cn"
DESCRIPTION "admin Radius Enterprise MIB definition."
REVISION "0008290000Z"
DESCRIPTION "admin Radius Enterprise MIB definition."
::= { gbnServiceAAA 2 }
------------------------------------------------------------------------------
-- define groups in admin-RADIUS-MIB
------------------------------------------------------------------------------
-------------------------------------------------------------------
--Add gbnRadiusConfTable MIB 2002/07/02 ouyangchunbo
-------------------------------------------------------------------
gbnRadiusConfTable OBJECT-TYPE
SYNTAX SEQUENCE OF gbnRadiusConfEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"A Table of Radius configuration table"
::= { gbnRadiusMib 1 }
gbnRadiusConfEntry OBJECT-TYPE
SYNTAX gbnRadiusConfEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"A list of radius parameters."
INDEX { ServerIndex }
::= { gbnRadiusConfTable 1 }
gbnRadiusConfEntry ::= SEQUENCE {
ServerIndex Integer32,
ServerName DisplayString,
PrimServerIP DisplayString,
PrimAuthPort Integer32,
PrimAcctPort Integer32,
SecServerIP DisplayString,
SecAuthPort Integer32,
SecAcctPort Integer32,
Key DisplayString,
bRadiusUsed TruthValue,
UserNameFormat TruthValue,
RealAcctTime Integer32,
bRealAcct TruthValue,
gbnRadiusClientIp DisplayString,
PrimAcctServerIP DisplayString,
SecAcctServerIP DisplayString,
acctKey DisplayString
}
ServerIndex OBJECT-TYPE
SYNTAX Integer32 (1..1024)
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"A simple index into 'gbnRadiusConfTable'."
::= { gbnRadiusConfEntry 1 }
ServerName OBJECT-TYPE
SYNTAX DisplayString
MAX-ACCESS read-write
STATUS current
DESCRIPTION
" A simple ServerName of gbnRadiusConfEntry."
::= { gbnRadiusConfEntry 2 }
PrimServerIP OBJECT-TYPE
SYNTAX DisplayString
MAX-ACCESS read-write
STATUS current
DESCRIPTION
" A simple PrimServerIP of gbnRadiusConfEntry."
::= { gbnRadiusConfEntry 3 }
PrimAuthPort OBJECT-TYPE
SYNTAX Integer32
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"DURABLE: { 1812:all }
The authenticate port of prime radius server"
::= { gbnRadiusConfEntry 4 }
PrimAcctPort OBJECT-TYPE
SYNTAX Integer32
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"DURABLE: { 1813:all }
The account port of prime radius server"
::= { gbnRadiusConfEntry 5 }
SecServerIP OBJECT-TYPE
SYNTAX DisplayString
MAX-ACCESS read-write
STATUS current
DESCRIPTION
" A simple SecServerIP of gbnRadiusConfEntry."
::= { gbnRadiusConfEntry 6 }
SecAuthPort OBJECT-TYPE
SYNTAX Integer32
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"DURABLE: { 1812:all }
The authenticate port of second radius server"
::= { gbnRadiusConfEntry 7 }
SecAcctPort OBJECT-TYPE
SYNTAX Integer32
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"DURABLE: { 1813:all }
The account port of second radius server"
::= { gbnRadiusConfEntry 8 }
Key OBJECT-TYPE
SYNTAX DisplayString
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"DURABLE: { '' }
A simple Key of gbnRadiusConfEntry."
::= { gbnRadiusConfEntry 9 }
bRadiusUsed OBJECT-TYPE
SYNTAX TruthValue
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"Status of the current radius server 1-used 2 - unused."
::= { gbnRadiusConfEntry 10 }
UserNameFormat OBJECT-TYPE
SYNTAX TruthValue
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"Status of user name format configuration 1-with domain 2-without domain."
::= { gbnRadiusConfEntry 11 }
RealAcctTime OBJECT-TYPE
SYNTAX Integer32
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"The realtime account time of radius server,the value of default is 12 minutes"
::= { gbnRadiusConfEntry 12 }
bRealAcct OBJECT-TYPE
SYNTAX TruthValue
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"Status of the realtime account switch 1-used 2 - unused."
::= { gbnRadiusConfEntry 13 }
gbnRadiusClientIp OBJECT-TYPE
SYNTAX DisplayString
MAX-ACCESS read-write
STATUS current
DESCRIPTION
" A system IP address for RADIUS client to report who it is to the server."
::= { gbnRadiusConfEntry 14 }
PrimAcctServerIP OBJECT-TYPE
SYNTAX DisplayString
MAX-ACCESS read-write
STATUS current
DESCRIPTION
" A simple PrimAcctServerIP of gbnRadiusConfEntry."
::= { gbnRadiusConfEntry 15 }
SecAcctServerIP OBJECT-TYPE
SYNTAX DisplayString
MAX-ACCESS read-write
STATUS current
DESCRIPTION
" A simple SecAcctServerIP of gbnRadiusConfEntry."
::= { gbnRadiusConfEntry 16 }
acctKey OBJECT-TYPE
SYNTAX DisplayString
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"DURABLE: { '' }
A simple Key of gbnRadiusConfEntry."
::= { gbnRadiusConfEntry 17 }
--
-- END of admin-RADIUS-MIB
--
END

1560
mibs/fs/GBNServiceRMON-MIB Normal file

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,112 @@
GBNServiceTACACS-MIB DEFINITIONS ::= BEGIN
IMPORTS
MODULE-IDENTITY, OBJECT-TYPE,
Integer32, IpAddress,
NOTIFICATION-TYPE FROM SNMPv2-SMI
DisplayString, MacAddress,
RowStatus, TruthValue FROM SNMPv2-TC
MODULE-COMPLIANCE, OBJECT-GROUP FROM SNMPv2-CONF
gbnServiceAAA FROM ADMIN-MASTER-MIB
;
gbnTacacsMib MODULE-IDENTITY
LAST-UPDATED "2009/05/27" -- May 27, 2009
ORGANIZATION "QTECH LLC"
CONTACT-INFO "Basil Budko
E-mail: budko@qtech.ru"
DESCRIPTION "admin tacacs Enterprise MIB definition."
REVISION "2009/05/27" -- May 27, 2009
DESCRIPTION "Initial MIB creation."
::= { gbnServiceAAA 3 }
------------------------------------------------------------------------------
-- Textual Conventions (i.e., these do not affect object encoding):
------------------------------------------------------------------------------
--
-- "DURABLE":
-- Objects that are saved across a system reset and/or power cycle
-- are noted as "DURABLE" for convenience in the DESCRIPTION
-- section of the object definition. Code must be explicitly
-- written to implement these DURABLE objects.
--
------------------------------------------------------------------------------
-- define groups in gbn-TACACS-MIB
PriServerIP OBJECT-TYPE
SYNTAX IpAddress
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"ip address of primary tacacs+ server."
::= { gbnTacacsMib 1 }
SecServerIP OBJECT-TYPE
SYNTAX IpAddress
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"ip address of secondary tacacs+ server."
::= { gbnTacacsMib 2 }
PriServerKey OBJECT-TYPE
SYNTAX DisplayString
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"key of primary tacacs+ server."
::= { gbnTacacsMib 3 }
SecServerKey OBJECT-TYPE
SYNTAX DisplayString
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"key of secondary tacacs+ server."
::= { gbnTacacsMib 4 }
PriServerPort OBJECT-TYPE
SYNTAX Integer32
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"tcp port of primary tacacs+ server, range is from 1 to 65535, default is 49."
::= { gbnTacacsMib 5 }
SecServerPort OBJECT-TYPE
SYNTAX Integer32
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"tcp port of secondary tacacs+ server, range is from 1 to 65535, default is 49."
::= { gbnTacacsMib 6 }
PriServerTimeout OBJECT-TYPE
SYNTAX Integer32
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"timeout of connection to primary tacacs+ server, range is from 1 to 70, default is 5 seconds."
::= { gbnTacacsMib 7 }
SecServerTimeout OBJECT-TYPE
SYNTAX Integer32
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"timeout of connection to secondary tacacs+ server, range is from 1 to 70, default is 5 seconds."
::= { gbnTacacsMib 8 }
--
-- END of gbn-TACACS-MIB
--
END

153
mibs/fs/LAG-ARCH-MIB Normal file
View File

@ -0,0 +1,153 @@
LAG-ARCH-MIB DEFINITIONS ::= BEGIN
IMPORTS
enterprises, IpAddress, TimeTicks FROM RFC1155-SMI
OBJECT-TYPE FROM RFC-1212
TRAP-TYPE FROM RFC-1215
DisplayString FROM RFC1213-MIB;
admin OBJECT IDENTIFIER ::= { enterprises 13464 }
lag OBJECT IDENTIFIER ::= { admin 1556 }
lagArchTrunkGroup OBJECT IDENTIFIER ::= { lag 1 }
-- -------------------------------------------------------------
-- The Link Aggregator Trunk Group Table
-- -------------------------------------------------------------
lagTrunkGroupTable OBJECT-TYPE
SYNTAX SEQUENCE OF lagTrunkGroupEntry
ACCESS not-accessible
STATUS mandatory
DESCRIPTION
"A table that contains the Trunk Group Table Entry rule
that defines the distribution algorithm for every Link Aggregator
that is associated with this System."
::= { lagArchTrunkGroup 1 }
lagTrunkGroupTableEntry OBJECT-TYPE
SYNTAX lagTrunkGroupEntry
ACCESS not-accessible
STATUS mandatory
DESCRIPTION
"A list of the rules applied to the entries of the Trunk Group
Table parameters. This is indexed by the ifIndex of the
Aggregator, which is also the dot3adAggIndex."
INDEX { lagTrunkGroupTableAggIndex }
::= { lagTrunkGroupTable 1 }
lagTrunkGroupEntry ::=
SEQUENCE {
lagTrunkGroupTableAggIndex INTEGER,
lagTrunkGroupTableRule INTEGER
}
lagTrunkGroupTableAggIndex OBJECT-TYPE
SYNTAX INTEGER
ACCESS not-accessible
STATUS mandatory
DESCRIPTION
"The unique identifier allocated to this Aggregator by the
local System. This attribute identifies an Aggregator instance
among the subordinate managed objects of the containing object.
This value is read-only. This is the same value as the
dot3adAggIndex in the dot3adAggTable."
REFERENCE
"IEEE 802.3 Section 30.7.1.1.1"
::= { lagTrunkGroupTableEntry 1 }
lagTrunkGroupTableRule OBJECT-TYPE
SYNTAX INTEGER {
srcMAC(1),
destMAC(2),
srcXORDestMAC(3),
srcIP(4),
destIP(5),
srcXORDestIP(6)
}
ACCESS read-write
STATUS mandatory
DESCRIPTION
" The Rule to be applied to this Link Aggregator's Trunk Group
Table. The rules are based on the following selections SrcMAC (1),
means that the last three bits of the Source MAC Address are used to
index the Trunk Group to get the destination port. DestMAC (2), means
the last three bits of the Destination MAC Address are used to index
into the Trunk Group to get the destination port. SrcXORDestMAC (3),
means that the last three bits of the Source MAC Address are logically
XORed with the last three bits of the Destination MAC Address and used
to index into the Trunk Group to get the destination port. SrcIP (4),
means the last three bits of the Source IP Address are used to index
into the Trunk Group to get the destination port. DestIP (5), means
the last three bits of the Destination IP Address are used to index
into the Trunk Group to get the destination port. SrcXORDestIP (6),
means the last three bits of the Source IP Address are logically XORed
with the last three bits of the Destination IP Address and used to
index into the Trunk Group to get the destination port. This rule
defines the distribution algorithm applied to the aggregated link."
::= { lagTrunkGroupTableEntry 2 }
lagLinkStateTable OBJECT-TYPE
SYNTAX SEQUENCE OF lagLinkStateTableEntry
ACCESS not-accessible
STATUS mandatory
DESCRIPTION
"A table that contains the Link State Table Entry
that defines the state of each ports link."
::= { lagArchTrunkGroup 2 }
lagLinkStateTableEntry OBJECT-TYPE
SYNTAX lagLinkStateTableEntry
ACCESS not-accessible
STATUS mandatory
DESCRIPTION
"A list of the link states. This is indexed by the ifIndex of the
Aggregator, which is also the dot3adAggIndex."
INDEX { lagLinkStateAggIndex }
::= { lagLinkStateTable 1 }
lagLinkStateTableEntry ::=
SEQUENCE {
lagLinkStateAggIndex INTEGER,
lagLinkState INTEGER,
lagAggregateOrIndividual INTEGER
}
lagLinkStateAggIndex OBJECT-TYPE
SYNTAX INTEGER
ACCESS not-accessible
STATUS mandatory
DESCRIPTION
"The unique identifier allocated to this Aggregator by the
local System. This attribute identifies an Aggregator instance
among the subordinate managed objects of the containing object."
::= { lagLinkStateTableEntry 1 }
lagLinkState OBJECT-TYPE
SYNTAX INTEGER {
up(1),
down(2)
}
ACCESS read-write
STATUS mandatory
DESCRIPTION
" The state of this Link Aggregator port."
::= { lagLinkStateTableEntry 2 }
lagAggregateOrIndividual OBJECT-TYPE
SYNTAX INTEGER {
true(1),
false(2)
}
ACCESS read-write
STATUS mandatory
DESCRIPTION
" The state of this Link Aggregator port. Indicating whether
the Aggregation Port is able to Aggregate ('TRUE') or is
only able to operate as an Individual link ('FALSE')."
::= { lagLinkStateTableEntry 3 }
END

54
mibs/fs/LLDPPRIVATE-MIB Normal file
View File

@ -0,0 +1,54 @@
LLDPPRIVATE-MIB DEFINITIONS ::= BEGIN
IMPORTS
MODULE-IDENTITY, Counter32, TimeTicks, OBJECT-TYPE, Integer32
FROM SNMPv2-SMI
MODULE-COMPLIANCE, OBJECT-GROUP
FROM SNMPv2-CONF
gbnL2 FROM ADMIN-MASTER-MIB;
lldpPrivateMIB MODULE-IDENTITY
LAST-UPDATED "20060727Z" -- July 27, 2006
ORGANIZATION "admin Inc."
CONTACT-INFO
"admin
E-mail: "
DESCRIPTION "LLDP private module management."
REVISION "20060727Z" -- July 27, 2006
DESCRIPTION "Initial Version"
::= { gbnL2 5 }
lldpPrivateObjects OBJECT IDENTIFIER ::= { lldpPrivateMIB 0 }
--
-- ***********************************************************
--
-- L L D P PRIVATE C O N F I G
--
-- ***********************************************************
--
lldpAdminStatus OBJECT-TYPE
SYNTAX INTEGER {
enable(1),
disable(2)
}
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"If lldpAdminStatus object has a value of 'enable(1)',then LLDP
module configuration will be active. If lldpAdminStatus object has a
value of 'disable(2)',then LLDP module configuration will be
inactive."
REFERENCE
"LLDP system admin status"
DEFVAL { disable }
::= { lldpPrivateObjects 1 }
END

View File

@ -0,0 +1,437 @@
-- *****************************************************************
-- gbnServiceMAC-NOTIFICATION-MIB.mi2: MAC Notification MIB
-- *****************************************************************
MAC-NOTIFICATION-MIB DEFINITIONS ::= BEGIN
IMPORTS
MODULE-IDENTITY, OBJECT-TYPE, Counter32, NOTIFICATION-TYPE,
Unsigned32, Integer32
FROM SNMPv2-SMI
MODULE-COMPLIANCE, OBJECT-GROUP, NOTIFICATION-GROUP
FROM SNMPv2-CONF
TruthValue, TimeStamp, MacAddress, TEXTUAL-CONVENTION
FROM SNMPv2-TC
ifIndex
FROM IF-MIB
VlanId
FROM Q-BRIDGE-MIB
gbnServiceMACNotification
FROM ADMIN-MASTER-MIB;
macNotificationMIB MODULE-IDENTITY
LAST-UPDATED "201204080000Z"
ORGANIZATION "New admin, Inc."
CONTACT-INFO "http://www.admin.com"
DESCRIPTION
"This MIB module is for configuration of the MAC notification
feature. MAC notification is a mechanism to inform monitoring
devices when there are MAC addresses learnt or removed from
the forwarding database of the monitored devices."
REVISION "201204080000Z"
DESCRIPTION
"Initial version of this MIB module."
::= { gbnServiceMACNotification 1 }
-- Textual Conventions
Percent ::= TEXTUAL-CONVENTION
STATUS current
DESCRIPTION
"An integer that is in the range of a percent value."
SYNTAX Integer32 (1..100)
PhysicalIndex ::= TEXTUAL-CONVENTION
DISPLAY-HINT "d"
STATUS current
DESCRIPTION
"An arbitrary value that uniquely identifies the physical
entity. The value should be a small, positive integer.
Index values for different physical entities are not
necessarily contiguous."
SYNTAX Integer32 (1..2147483647)
-- MAC Notification MIB object definitions
macNotificationMIBObjects OBJECT IDENTIFIER
::= { macNotificationMIB 1 }
-- MAC Notification MIB consists of the following groups
-- [1] Mac Notification Global Group (mnGlobalObjects).
-- [2] Mac Notification Interface Group (mnInterfaceObjects).
mnGlobalObjects OBJECT IDENTIFIER
::= { macNotificationMIBObjects 1 }
mnInterfaceObjects OBJECT IDENTIFIER
::= { macNotificationMIBObjects 2 }
--**********************************************************************
-- Mac Notification Global Group
--**********************************************************************
mnGlobalFeatureEnabled OBJECT-TYPE
SYNTAX TruthValue
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"Indicates whether the MAC notification feature is currently
running in the device.
Setting this object to false(2) disables the MAC notification
feature globally thus disabling the feature at each interface.
Setting this object to true(1) will start the MAC notification
feature running in the device. If the feature is already
running, setting to true(1) has no effect. Once the MAC
notification is enabled, whether the feature is running at each
interface is controlled by the mnIfConfigTable."
::= { mnGlobalObjects 1 }
mnNotificationInterval OBJECT-TYPE
SYNTAX Unsigned32 (0..4294967295)
UNITS "seconds"
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object specifies the maximum interval of time between
mnMacChangedNotifications being generated by the device.
If the value of mnNotificationsEnabled is true(1), the
device will send out the generated mnMacChangedNotifications
and archive the MAC change notification events in the
mnHistoryTable. If the value of mnNotificationsEnabled is
false(2), the device will not send out the generated
mnMacChangedNotifications but it will archive these events
in the mnHistoryTable.
If the value of this object is equal to 0, the device will
generate mnMacChangedNotifications and archive the MAC
change notification events in the mnHistoryTable as soon as
there is MAC address learnt or removed by the device.
If the value of this object is greater than 0, the device will
wait for a period of time equal to the value of this object
before generate the mnMacChangedNotifications and archive
the MAC change notification events in the mnHistoryTable."
::= { mnGlobalObjects 2 }
mnMacAddressesLearnt OBJECT-TYPE
SYNTAX Counter32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Indicates the number of MAC addresses learnt by the
device."
::= { mnGlobalObjects 3 }
mnMacAddressesRemoved OBJECT-TYPE
SYNTAX Counter32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Indicates the number of MAC addresses removed from the
forwarding database."
::= { mnGlobalObjects 4 }
mnNotificationsEnabled OBJECT-TYPE
SYNTAX TruthValue
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"Indicates whether mnMacChangedNotification notifications
will or will not be sent when there are MAC addresses
learnt or removed from the device's forwarding database.
Disabling notifications does not prevent the MAC address
info from being added to the mnHistoryTable."
DEFVAL { false }
::= { mnGlobalObjects 5 }
mnNotificationsSent OBJECT-TYPE
SYNTAX Counter32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Indicates the number of mnMacChangedNotifications sent out
by the device."
::= { mnGlobalObjects 6 }
mnHistTableMaxLength OBJECT-TYPE
SYNTAX Unsigned32 (0..500)
UNITS "entries"
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"The upper limit on the number of entries that the
mnHistoryTable may contain. A value of 0 will
prevent any history from being retained. When this
table is full, the oldest entry will be deleted and
a new one will be created."
DEFVAL { 1 }
::= { mnGlobalObjects 7 }
mnHistoryTable OBJECT-TYPE
SYNTAX SEQUENCE OF MnHistoryEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This table will archive the MAC change notification events
generated by this device. The MAC change notification
events are archived here even if mnMacChangesNotifications
are not actually sent."
::= { mnGlobalObjects 8 }
mnHistoryEntry OBJECT-TYPE
SYNTAX MnHistoryEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"A MAC change notification message that was previously
generated by this device. Each entry is indexed by a message
index."
INDEX { mnHistIndex }
::= { mnHistoryTable 1 }
MnHistoryEntry ::=
SEQUENCE {
mnHistIndex
Unsigned32,
mnHistMacChangedMsg
OCTET STRING,
mnHistTimestamp
TimeStamp
}
mnHistIndex OBJECT-TYPE
SYNTAX Unsigned32 (1..4294967295)
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"An index that uniquely identifies a MAC change notification
event previously generated by the device. This index starts at
1 and increases by one when a MAC change notification is
generated. When it reaches the maximum value, the agent wraps
the value back to 1."
::= { mnHistoryEntry 1 }
mnHistMacChangedMsg OBJECT-TYPE
SYNTAX OCTET STRING (SIZE(1..254))
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"This object contains the information of a MAC change
notification event. It consists of several tuples packed
together in the format of '<tuple1><tuple2>...'.
Each tuple consist of 11 octets in the format of
'<operation><VLAN><MAC><dot1dBasePort>' where
<operation> is of size 1 octet and supports the following values
0 - End of MIB object.
1 - MAC learnt.
2 - MAC removed.
<VLAN> is VLAN number of the VLAN which the MAC address is
belonged to and has size of 2 octet.
<MAC> is the Layer2 Mac Address and has size of 6 octets.
<dot1dBasePort> is the value of dot1dBasePort for the
interface from which the MAC address is learnt and has size
of 2 octets."
::= { mnHistoryEntry 2 }
mnHistTimestamp OBJECT-TYPE
SYNTAX TimeStamp
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The value of sysUpTime when the mnMacChangedNotification
containing the information denoted by the mnHistMacChangedMsg
object in this entry was generated."
::= { mnHistoryEntry 3 }
--*********************************************************************
-- Mac Notification Interface Group
--*********************************************************************
--
-- mnIfConfigTable
--
mnIfConfigTable OBJECT-TYPE
SYNTAX SEQUENCE OF MnIfConfigEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This table enables or disables the generation of notification
at each interface when MAC address is learnt or removed."
::= { mnInterfaceObjects 1 }
mnIfConfigEntry OBJECT-TYPE
SYNTAX MnIfConfigEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"Each entry contains the configuration for enabling the
MAC notification at each interface that supports this
feature."
INDEX { ifIndex }
::= { mnIfConfigTable 1 }
MnIfConfigEntry ::= SEQUENCE {
mnMacAddrLearntEnable TruthValue,
mnMacAddrRemovedEnable TruthValue
}
mnMacAddrLearntEnable OBJECT-TYPE
SYNTAX TruthValue
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"Indicates whether this interface is enabled to send
mnMacChangedNotification when it learns a new MAC address. This
variable has no effect when the value of mnGlobalFeatureEnabled
object is false(2).
Setting this object to true(1) enables the sending of
mnMacChangedNotification when this interface learns a
new MAC address.
Setting this object to false(2) disables the sending
of mnMacChangedNotification when this interface learns
a new MAC address."
DEFVAL { false }
::= { mnIfConfigEntry 1 }
mnMacAddrRemovedEnable OBJECT-TYPE
SYNTAX TruthValue
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"Indicates whether this interface is enabled to send
mnMacChangedNotification when a MAC address which it learnt
previously is removed from the forwarding table. This variable
has no effect when the value of mnGlobalFeatureEnabled object
is false(2).
Setting this object to true(1) enables the sending of
mnMacChangedNotification when a MAC address which this
interface learnt previously is removed from the forwarding
table.
Setting this object to false(2) disables the sending of
mnMacChangedNotification when a MAC address which this
interface learnt previously is removed from the forwarding
table."
DEFVAL { false }
::= { mnIfConfigEntry 2 }
--
--
-- Notification
--
mnMIBNotificationPrefix OBJECT IDENTIFIER
::= { macNotificationMIB 2 }
mnMIBNotifications
OBJECT IDENTIFIER ::= { mnMIBNotificationPrefix 0 }
mnMacChangedNotification NOTIFICATION-TYPE
OBJECTS { mnHistMacChangedMsg, mnHistTimestamp }
STATUS current
DESCRIPTION
"This notification is generated when there is enough MAC
address information to fully occupy a maximum size SNMP trap
message. This notification is also generated when there
is at least one MAC address changed or removed and the amount
of time elapsed from the previous notification is greater
than the maximum wait time denoted by
mnNotificationInterval object.
If there are more MAC addresses information than can fit into
one mmHistTrapContent object, then multiple notifications
will be generated."
::= { mnMIBNotifications 1 }
--
-- Conformance
--
mnMIBConformance OBJECT IDENTIFIER ::= { macNotificationMIB 3 }
mnMIBCompliances OBJECT IDENTIFIER
::= { mnMIBConformance 1 }
mnMIBGroups OBJECT IDENTIFIER
::= { mnMIBConformance 2 }
-- Compliance
mnMIBCompliance MODULE-COMPLIANCE
STATUS deprecated
DESCRIPTION
"The compliance statement for the MAC-NOTIFICATION-MIB."
MODULE
MANDATORY-GROUPS { mnGlobalGroup,
mnInterfaceGroup,
mnNotificationGroup }
::= { mnMIBCompliances 1 }
mnMIBComplianceVer1 MODULE-COMPLIANCE
STATUS current
DESCRIPTION
"The compliance statement for the MAC-NOTIFICATION-MIB."
MODULE
MANDATORY-GROUPS { mnGlobalGroup,
mnInterfaceGroup,
mnNotificationGroup
}
::= { mnMIBCompliances 2 }
--
-- Units of Conformance
--
-- Units of Conformance
--
mnGlobalGroup OBJECT-GROUP
OBJECTS {
mnGlobalFeatureEnabled,
mnNotificationInterval,
mnMacAddressesLearnt,
mnMacAddressesRemoved,
mnNotificationsEnabled,
mnHistTableMaxLength,
mnHistMacChangedMsg,
mnHistTimestamp,
mnNotificationsSent
}
STATUS current
DESCRIPTION
"A collection of objects providing the global configuration
and information for MAC notification."
::= { mnMIBGroups 1 }
mnInterfaceGroup OBJECT-GROUP
OBJECTS {
mnMacAddrLearntEnable,
mnMacAddrRemovedEnable
}
STATUS current
DESCRIPTION
"A collection of objects providing the configuration information
for MAC notification at each interface."
::= { mnMIBGroups 2 }
mnNotificationGroup NOTIFICATION-GROUP
NOTIFICATIONS { mnMacChangedNotification }
STATUS current
DESCRIPTION
"The notification generated by the MAC-NOTIFICATION-MIB."
::= { mnMIBGroups 3 }
END

View File

@ -0,0 +1,649 @@
NSCRTV-EPON-ALARM-MGM-MIB DEFINITIONS ::= BEGIN
IMPORTS
MODULE-IDENTITY, OBJECT-TYPE,Counter32, Unsigned32, TimeTicks
FROM SNMPv2-SMI
DateAndTime, MacAddress, TimeStamp, RowStatus, TruthValue, DisplayString, TEXTUAL-CONVENTION
FROM SNMPv2-TC
EponDeviceIndex, EponCardIndex, EponPortIndex, EponAlarmCode, EponAlarmInstance, EponSeverityType,
AutoNegotiationTechAbility, TAddress, EponStats15MinRecordType, EponStats24HourRecordType, EponStatsThresholdType
FROM NSCRTV-EPONEOC-EPON-MIB
eponAlarmTree, eponTrapObjectGroup, eponAlarmObjGroup, eponManagementObjGroup
FROM NSCRTV-EPONEOC-EPON-MIB;
--------------------------------------------------------------------------------
-- AlarmManagementObjects[告警管理项](1.3.6.1.4.1.17409.2.2.11)
--------------------------------------------------------------------------------
eponNotifications OBJECT IDENTIFIER ::= { eponTrapObjectGroup 1 }
eponAlarmNotification NOTIFICATION-TYPE
OBJECTS { eponTrapSequenceNumber, eponTrapOccurTime, eponTrapCode, eponTrapInstance,
eponTrapSeverity, eponTrapCorrelationId, eponTrapAdditionalText
}
STATUS current
DESCRIPTION
"Alarm TRAP definition"
::= { eponNotifications 1 }
eponEventNotification NOTIFICATION-TYPE
OBJECTS { eponTrapSequenceNumber, eponTrapOccurTime, eponTrapCode, eponTrapInstance,
eponTrapAdditionalText
}
STATUS current
DESCRIPTION
"Event TRAP definition"
::= { eponNotifications 2 }
eponTrapObjects OBJECT IDENTIFIER ::= { eponTrapObjectGroup 2 }
eponTrapInstance OBJECT-TYPE
SYNTAX EponAlarmInstance
MAX-ACCESS accessible-for-notify
STATUS current
DESCRIPTION
"Alarm instance, indicates the detailed managed object, which
detects faults.
"
::= { eponTrapObjects 1 }
eponTrapCorrelationId OBJECT-TYPE
SYNTAX Unsigned32
MAX-ACCESS accessible-for-notify
STATUS current
DESCRIPTION
"The unique sequence number for the alarm to be cleared, for alarm clearing.
Set to 0 for alarm reporting"
::= { eponTrapObjects 2 }
eponTrapAdditionalText OBJECT-TYPE
SYNTAX OCTET STRING ( SIZE (0..256) )
MAX-ACCESS accessible-for-notify
STATUS current
DESCRIPTION
"Additional info to the alarm, for further desciption of the
alarm. The format of it shall be related to each kind alarm
defined in alarm reference table"
::= { eponTrapObjects 3 }
eponTrapCode OBJECT-TYPE
SYNTAX EponAlarmCode
MAX-ACCESS accessible-for-notify
STATUS current
DESCRIPTION
"
告警代码见附录C"
::= { eponTrapObjects 4 }
eponTrapSeverity OBJECT-TYPE
SYNTAX EponSeverityType
MAX-ACCESS accessible-for-notify
STATUS current
DESCRIPTION
"
告警严重程度。"
::= { eponTrapObjects 5 }
eponTrapOccurTime OBJECT-TYPE
SYNTAX DateAndTime
MAX-ACCESS accessible-for-notify
STATUS current
DESCRIPTION
"
告警产生时间。"
::= { eponTrapObjects 6 }
eponTrapSequenceNumber OBJECT-TYPE
SYNTAX Unsigned32
MAX-ACCESS accessible-for-notify
STATUS current
DESCRIPTION
"
A unique sequence number for each trap generated by node. The sequence
number shall be reset to 1 when node restarts.
The alarm sequence number shall be independent of the event sequence
number. Each shall be self-governed.
--------------------------------------------------------------------------------
The sequence ID of alarm shall be assigned from the order of transmitting
trap to the NMS, instead of the order of alarm occurance. Therefore the NMS
will receive the continuous sequence ID.
1. When device is in active/standby mode, sequence ID shall be synchronized
between active and standby control module.
2. When control module switchover takes place, the current sequence ID shall
keep the synchronized value.
3. When device restarts, sequence ID shall start from 1.
4. It shall be increased per alarm trap including both alarm raising and clear.
5. Non-zero value shall be used. When reaches the maximum number, it shall
roll back to 1.
--------------------------------------------------------------------------------
The sequence ID of event shall be assigned from the order of transmitting
trap to the NMS. Therefore the NMS will receive the continuous sequence ID.
1. When device is in active/standby mode, sequence ID shall be synchronized
between active and standby control module.
2. When control module switchover takes place, the current sequence ID shall
keep the synchronized value.
3. When device restarts, sequence ID shall start from 1.
4. It shall be increased per event trap.
5. Non-zero value shall be used. When reaches the maximum number, it shall
roll back to 1.
"
::= { eponTrapObjects 7 }
activeAlarmTable OBJECT-TYPE
SYNTAX SEQUENCE OF ActiveAlarmEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"Active alarm table
The device shall maintain this table, to maintain all outstanding
(not cleared) alarms generated by the device, including:
1. Not hit device local alarm filter. That means had been reported to
trap receiver (NMS or EMS)
2. Hit local alarm filter. That means not trap is reported to trap receiver
for the alarm.
The device shall maintain two numbers:
1. Alarm sequence number: As described in eponTrapSequenceNumber, it is initially
set to 1 when device restarts, increases per trap reported to trap receiver,
and rollover to 1 once it reaches the maximum value.
From NMS's view, traps received from a nodes will be consecutive, by identifying
the alarm sequence number carried in alarm trap. If breaks, means some trap
may be lost, since packet loss between NMS and NE.
2. Alarm raising number: This is maintained by NE internally and does not intend for
being acknowledged by external manage system. It is designed to uniquely indentify
each alarm raised by NE, excluding duplicates. Once one alarm raised, despite
whether it is hit by alarm filter, NE shall assign a raising number to it. So, it
major functionality is to uniquely identify alarms hit NE local alarm filter, since
this kindly alarm will not be reported to NMS, and hence no alarm sequence number
is assigned to it.
It is initially set to 1 when device restarts, increases per alarm generation (
excluding duplicates), and rollover to 1 once it reaches the maximum value.
FUNCTION DESCRIPTION OF ACTIVE ALARM TABLE:
ALARM RAISING
----------------------
1. When NE detects one fault and associates to one kind of alarm, it shall check whether
there is same alarm in active alarm table, which is indexed by alarm code and alarm
instance. If hits, it means duplicates, update the corresponding entry of the table.
Otherwise,
2. The alarm is not a duplicate. Assign an alarm raising number. Check whether the
alarm hits local alarm filters. If hits, set alarm sequence number to 0.
Create an entry into active alarm table. Otherwise,
3. Assign an alarm sequence number to the alarm. Create an entry into active alarm
table. Report the alarm trap to all trap receivers.
ALARM CLEARING
----------------------
1. When NE detects one fault is cleared and associates to one kind of alarm, it shall
check whether there is corresponding alarm in active alarm table, which is indexed
by alarm code and alarm instance. If no hit, escape this clear event. Upon a hit,
if the alarm sequence number is 0, move the active alarm entry to history alarm
table and update the corresponding fields. At this case, historyAlarmCorrelationId
and historyAlarmSeqNum will be set to 0.
Otherwise,
2. Assign an alarm sequence number to the clear trap. Report the alarm clear trap to
all trap receivers. Move the active alarm entry to history alarm table and update
the corresponding fields. At this case, activeAlarmSeqNum shall be copied to
historyAlarmCorrelationId, and historyAlarmSeqNum shall be set to the new alarm
sequence number for the clear trap.
ALARM SYNCHRONIZATION BETWEEN NE AND NMS
---------------------------------------------
1. Once NMS finds the alarm sequence number in reported alarm traps is not continuous,
it will walk active or history alarm table of the NE for the lost seuqence number.
"
::= { eponAlarmObjGroup 1 }
activeAlarmEntry OBJECT-TYPE
SYNTAX ActiveAlarmEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
""
INDEX { activeAlarmSeqNum, activeAlarmRaisingNumber }
::= { activeAlarmTable 1 }
ActiveAlarmEntry ::=
SEQUENCE {
activeAlarmSeqNum
Unsigned32,
activeAlarmCode
EponAlarmCode,
activeAlarmInstance
EponAlarmInstance,
activeAlarmSeverity
EponSeverityType,
activeAlarmRaisingNumber
Unsigned32,
activeAlarmFirstOccurTime
DateAndTime,
activeAlarmLastOccurTime
DateAndTime,
activeAlarmRepeats
Counter32,
activeAlarmConfirm
TruthValue,
activeAlarmAdditionalText
OCTET STRING
}
activeAlarmSeqNum OBJECT-TYPE
SYNTAX Unsigned32
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"Alarm sequence number
The definition refered to the description of activeAlarmTable"
::= { activeAlarmEntry 1 }
activeAlarmCode OBJECT-TYPE
SYNTAX EponAlarmCode
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"
告警代码见附录C
"
::= { activeAlarmEntry 2 }
activeAlarmInstance OBJECT-TYPE
SYNTAX EponAlarmInstance
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Alarm instance, indicates the detailed managed object"
::= { activeAlarmEntry 3 }
activeAlarmSeverity OBJECT-TYPE
SYNTAX EponSeverityType
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"
告警严重程度。"
::= { activeAlarmEntry 4 }
activeAlarmRaisingNumber OBJECT-TYPE
SYNTAX Unsigned32
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"Alarm raising number.
The definition refered to the description of activeAlarmTable"
::= { activeAlarmEntry 5 }
activeAlarmFirstOccurTime OBJECT-TYPE
SYNTAX DateAndTime
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"
告警初始发生的时间
The time stamp when alarm occurs, which triggered to create the
active alarm entry."
::= { activeAlarmEntry 6 }
activeAlarmLastOccurTime OBJECT-TYPE
SYNTAX DateAndTime
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"
The time stamp when alarm occurs, where the alarm is duplicated
with existed active alarm entry, and it was the latest one. "
::= { activeAlarmEntry 7 }
activeAlarmRepeats OBJECT-TYPE
SYNTAX Counter32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Number of repeated alarms for this active alarm entry"
::= { activeAlarmEntry 8 }
activeAlarmConfirm OBJECT-TYPE
SYNTAX TruthValue
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"
告警确认
Node shall not clear an active alarm, upon the confirmation
of the active alarm, but just mark an acknowledged status.
An alarm will only be cleared once the clear condition hits."
::= { activeAlarmEntry 9 }
activeAlarmAdditionalText OBJECT-TYPE
SYNTAX OCTET STRING (SIZE (0..256))
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Additional info to the alarm, for further desciption of the
alarm. The format of it shall be related to each kind alarm
defined in alarm reference table"
::= { activeAlarmEntry 10 }
historyAlarmTable OBJECT-TYPE
SYNTAX SEQUENCE OF HistoryAlarmEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"History alarm table.
The device shall maintain this table, to maintain all cleared
alarms generated by the device, including:
1. Not hit device local alarm filter. That means had been reported to
trap receiver (NMS or EMS)
2. Hit local alarm filter. That means not trap is reported to trap receiver
for the alarm.
The number of history alarm enteries in the table could be device-specific.
However, it is recommended no less than 200 entries.
The detailed function definition refers to that given in description of
activeAlarmTable.
"
::= { eponAlarmObjGroup 2 }
historyAlarmEntry OBJECT-TYPE
SYNTAX HistoryAlarmEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
""
INDEX { historyAlarmSeqNum, historyAlarmRaisingNumber }
::= { historyAlarmTable 1 }
HistoryAlarmEntry ::=
SEQUENCE {
historyAlarmSeqNum
Unsigned32,
historyAlarmCode
EponAlarmCode,
historyAlarmInstance
EponAlarmInstance,
historyAlarmSeverity
EponSeverityType,
historyAlarmRaisingNumber
Unsigned32,
historyAlarmFirstOccurTime
DateAndTime,
historyAlarmLastOccurTime
DateAndTime,
historyAlarmRepeats
Counter32,
historyAlarmCorrelationId
Unsigned32,
historyAlarmAdditionalText
OCTET STRING,
historyAlarmClearTime
DateAndTime
}
historyAlarmSeqNum OBJECT-TYPE
SYNTAX Unsigned32
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"Alarm sequence number
The definition refered to the description of historyAlarmTable"
::= { historyAlarmEntry 1 }
historyAlarmCode OBJECT-TYPE
SYNTAX EponAlarmCode
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"
告警代码见附录C
"
::= { historyAlarmEntry 2 }
historyAlarmInstance OBJECT-TYPE
SYNTAX EponAlarmInstance
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Alarm instance, indicates the detailed managed object"
::= { historyAlarmEntry 3 }
historyAlarmSeverity OBJECT-TYPE
SYNTAX EponSeverityType
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"
告警严重程度。"
::= { historyAlarmEntry 4 }
historyAlarmRaisingNumber OBJECT-TYPE
SYNTAX Unsigned32
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"Alarm raising number.
The definition refered to the description of historyAlarmTable"
::= { historyAlarmEntry 5 }
historyAlarmFirstOccurTime OBJECT-TYPE
SYNTAX DateAndTime
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"
告警初始发生的时间
The time stamp when alarm occurs, which triggered to create the
history alarm entry."
::= { historyAlarmEntry 6 }
historyAlarmLastOccurTime OBJECT-TYPE
SYNTAX DateAndTime
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"
The time stamp when alarm occurs, where the alarm is duplicated
with existed history alarm entry, and it was the latest one. "
::= { historyAlarmEntry 7 }
historyAlarmRepeats OBJECT-TYPE
SYNTAX Counter32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Number of repeated alarms for this history alarm entry"
::= { historyAlarmEntry 8 }
historyAlarmCorrelationId OBJECT-TYPE
SYNTAX Unsigned32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"It is the corresponding sequence ID of the alarm that to
be cleared. "
::= { historyAlarmEntry 9 }
historyAlarmAdditionalText OBJECT-TYPE
SYNTAX OCTET STRING (SIZE (0..256))
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Additional info to the alarm, for further desciption of the
alarm. The format of it shall be related to each kind alarm
defined in alarm reference table"
::= { historyAlarmEntry 10 }
historyAlarmClearTime OBJECT-TYPE
SYNTAX DateAndTime
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Define when the alarm was cleared"
::= { historyAlarmEntry 11 }
eventLogTable OBJECT-TYPE
SYNTAX SEQUENCE OF EventLogEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"Event log table.
The device shall maintain this table, to maintain all events had
be reported by the device, including:
1. The event table shall be saved in RAM memory and shall be flushed
when OLT restarts.
2. The event log table shall support no less than 200 entries. When
the event log table is full, the oldest entry in the table shall be
removed first.
3. When OLT is configured with control module redundancy, active controller
shall automatically synchronize the events in event log table b/w active
and standby.
"
::= { eponAlarmObjGroup 3 }
eventLogEntry OBJECT-TYPE
SYNTAX EventLogEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
""
INDEX { eventSeqNum }
::= { eventLogTable 1 }
EventLogEntry ::=
SEQUENCE {
eventSeqNum
Unsigned32,
eventCode
EponAlarmCode,
eventInstance
EponAlarmInstance,
eventOccurTime
DateAndTime,
eventAdditionalText
OCTET STRING,
}
eventSeqNum OBJECT-TYPE
SYNTAX Unsigned32
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"Event sequence number
The definition refered to the description of eponTrapSequenceNumber"
::= { eventLogEntry 1 }
eventCode OBJECT-TYPE
SYNTAX EponAlarmCode
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"
事件代码见附录C
"
::= { eventLogEntry 2 }
eventInstance OBJECT-TYPE
SYNTAX EponAlarmInstance
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Event instance, indicates the detailed managed object"
::= { eventLogEntry 3 }
eventOccurTime OBJECT-TYPE
SYNTAX DateAndTime
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"
The time stamp when event occurs"
::= { eventLogEntry 4 }
eventAdditionalText OBJECT-TYPE
SYNTAX OCTET STRING (SIZE (0..256))
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Additional info to the event, for further desciption of the
event. The format of it shall be related to each kind event
defined in event reference table"
::= { eventLogEntry 5 }
eponManagementAddrTable OBJECT-TYPE
SYNTAX SEQUENCE OF EponManagementAddrEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"A table of transport addresses to be used in the generation
of SNMP messages."
::= { eponManagementObjGroup 1 }
eponManagementAddrEntry OBJECT-TYPE
SYNTAX EponManagementAddrEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"A transport address to be used in the generation
of SNMP operations.
Entries in the snmpTargetAddrTable are created and
deleted using the snmpTargetAddrRowStatus object."
INDEX { eponManagementAddrName }
::= { eponManagementAddrTable 1 }
EponManagementAddrEntry ::=
SEQUENCE {
eponManagementAddrName
OCTET STRING,
eponManagementAddrTAddress
TAddress,
eponManagementAddrCommunity
OCTET STRING,
eponManagementAddrRowStatus
RowStatus
}
eponManagementAddrName OBJECT-TYPE
SYNTAX OCTET STRING (SIZE (1..32))
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"
EMS网管节点的名字"
::= { eponManagementAddrEntry 1 }
eponManagementAddrTAddress OBJECT-TYPE
SYNTAX TAddress
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"
网管节点的传输层地址和TRAP UDP端口号。"
::= { eponManagementAddrEntry 2 }
eponManagementAddrCommunity OBJECT-TYPE
SYNTAX OCTET STRING (SIZE (0..64) )
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"
发送TRAP的Community。"
::= { eponManagementAddrEntry 3 }
eponManagementAddrRowStatus OBJECT-TYPE
SYNTAX RowStatus
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"
增加删除一个EPON管理地址。"
::= { eponManagementAddrEntry 4 }
--
-- END of NSCRTV-EPON-ALARM-MGM-MIB
--
END

View File

@ -0,0 +1,732 @@
NSCRTV-EPON-IGMP-MGM-MIB DEFINITIONS ::= BEGIN
IMPORTS
MODULE-IDENTITY, OBJECT-TYPE, Counter32, Unsigned32, TimeTicks
FROM SNMPv2-SMI
DateAndTime, MacAddress, TimeStamp, RowStatus, TruthValue, DisplayString, TEXTUAL-CONVENTION
FROM SNMPv2-TC
EponDeviceIndex, EponCardIndex, EponPortIndex, EponAlarmCode, EponAlarmInstance, EponSeverityType,
AutoNegotiationTechAbility, TAddress, EponStats15MinRecordType, EponStats24HourRecordType, EponStatsThresholdType
FROM NSCRTV-EPONEOC-EPON-MIB
igmpManagementObjects
FROM NSCRTV-EPONEOC-EPON-MIB;
--------------------------------------------------------------------------------
-- igmpManagementObjects[IGMP管理项](1.3.6.1.4.1.17409.2.3.6)
--------------------------------------------------------------------------------
igmpEntityTable OBJECT-TYPE
SYNTAX SEQUENCE OF IgmpEntityEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"
IGMP实体表"
::= { igmpManagementObjects 1 }
igmpEntityEntry OBJECT-TYPE
SYNTAX IgmpEntityEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
" "
INDEX { igmpDeviceIndex }
::= { igmpEntityTable 1 }
IgmpEntityEntry ::=
SEQUENCE {
igmpDeviceIndex
INTEGER,
igmpMode
INTEGER,
maxQueryResponseTime
INTEGER,
robustVariable
INTEGER,
queryInterval
INTEGER,
lastMemberQueryInterval
INTEGER,
lastMemberQueryCount
INTEGER,
igmpVersion
INTEGER
}
igmpDeviceIndex OBJECT-TYPE
SYNTAX INTEGER
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"
设备索引号。
For OLT, set to corresponding device
For ONU, set to 0"
::= { igmpEntityEntry 1 }
igmpMode OBJECT-TYPE
SYNTAX INTEGER
{
centralized(1),
distributedwithcm(2),
disabled(3),
distributedwocm(4)
}
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"
IGMP工作模式
centralized(1) - All the multicast control is done by OLT
distributedwithcm(2) - Both OLT and ONU perform IGMP proxy and
controlled multicast will be enabled. At
this case, if igmp joins shall follow the
definition in multicastPackageList, for the
port
disabled(3) - Disable IGMP proxy on OLT and ONU
distributedwocm(4) - Both OLT and ONU perform IGMP proxy and
controlled multicast will be disabled. At
this case, if igmp joins shall be accept even
violate the definition in multicastPackageList,
for the port.
"
DEFVAL { disabled }
::= { igmpEntityEntry 2 }
maxQueryResponseTime OBJECT-TYPE
SYNTAX INTEGER
UNITS "tenth second"
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"
最大响应查询时间
单位1/10秒
This is used for sending general query"
::= { igmpEntityEntry 3 }
robustVariable OBJECT-TYPE
SYNTAX INTEGER
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"
健壮性变量
This is used for sending general query
No less than 1"
::= { igmpEntityEntry 4 }
queryInterval OBJECT-TYPE
SYNTAX INTEGER
UNITS "seconds"
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"
发送查询报文的时间间隔
单位:秒
This is used for sending general query
"
::= { igmpEntityEntry 5 }
lastMemberQueryInterval OBJECT-TYPE
SYNTAX INTEGER
UNITS "tenth second"
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"
Max Response Time inserted into Group-Specific Queries sent in response
to Leave Group messages, and is also the amount of time between
Group-Specific Query messages
"
::= { igmpEntityEntry 6 }
lastMemberQueryCount OBJECT-TYPE
SYNTAX INTEGER
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"
Number of Group-Specific Queries sent before the router assumes there
are no local members
"
::= { igmpEntityEntry 7 }
igmpVersion OBJECT-TYPE
SYNTAX INTEGER
{
v1(1),
v2(2),
v3(3)
}
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"
IGMP版本"
DEFVAL { v2 }
::= { igmpEntityEntry 8 }
igmpProxyParaTable OBJECT-TYPE
SYNTAX SEQUENCE OF IgmpProxyParaEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"
IGMP proxy参数表 - 频道列表"
::= { igmpManagementObjects 2 }
igmpProxyParaEntry OBJECT-TYPE
SYNTAX IgmpProxyParaEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
" "
INDEX { proxyIndex }
::= { igmpProxyParaTable 1 }
IgmpProxyParaEntry ::=
SEQUENCE {
proxyIndex
INTEGER,
proxyName
OCTET STRING,
proxySrcIPAddress
IpAddress,
proxyMulticastVID
INTEGER,
proxyMulticastIPAddress
IpAddress,
multicastAssuredBW
Unsigned32,
multicastMaxBW
Unsigned32,
proxyRowStatus
RowStatus
}
proxyIndex OBJECT-TYPE
SYNTAX INTEGER (1..2000)
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"
IGMP Proxy索引号 - 频道号"
::= { igmpProxyParaEntry 1 }
proxyName OBJECT-TYPE
SYNTAX OCTET STRING (SIZE (0..256))
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"
IGMP Proxy别名如央视、文广传媒等"
::= { igmpProxyParaEntry 2 }
proxySrcIPAddress OBJECT-TYPE
SYNTAX IpAddress
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"
proxy源IP地址"
::= { igmpProxyParaEntry 3 }
proxyMulticastVID OBJECT-TYPE
SYNTAX INTEGER
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"
IGMP Proxy对应组播VID
只有在可控组播模式下组播VID才有意义"
::= { igmpProxyParaEntry 4 }
proxyMulticastIPAddress OBJECT-TYPE
SYNTAX IpAddress
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"
组播IP地址"
::= { igmpProxyParaEntry 5 }
multicastAssuredBW OBJECT-TYPE
SYNTAX Unsigned32
UNITS "kbps"
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"
组播保证带宽
单位kbps"
::= { igmpProxyParaEntry 6 }
multicastMaxBW OBJECT-TYPE
SYNTAX Unsigned32
UNITS "kbps"
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"
组播最大带宽
单位kbps"
::= { igmpProxyParaEntry 7 }
proxyRowStatus OBJECT-TYPE
SYNTAX RowStatus
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"
行状态"
::= { igmpProxyParaEntry 8 }
igmpForwardingTable OBJECT-TYPE
SYNTAX SEQUENCE OF IgmpForwardingEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"
Multicast forwarding table
"
::= { igmpManagementObjects 3 }
igmpForwardingEntry OBJECT-TYPE
SYNTAX IgmpForwardingEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
" "
INDEX { groupDeviceIndex, groupVlanIndex, groupMacAddress }
::= { igmpForwardingTable 1 }
IgmpForwardingEntry ::=
SEQUENCE {
groupDeviceIndex
INTEGER,
groupVlanIndex
INTEGER,
groupMacAddress
MacAddress,
groupPortList
OCTET STRING
}
groupDeviceIndex OBJECT-TYPE
SYNTAX INTEGER
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"
设备索引号。
For OLT, set to corresponding OLT device
For ONU, set to 0
"
::= { igmpForwardingEntry 1 }
groupVlanIndex OBJECT-TYPE
SYNTAX INTEGER
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"
Vlan索引号"
::= { igmpForwardingEntry 2 }
groupMacAddress OBJECT-TYPE
SYNTAX MacAddress
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"
组Mac地址索引号"
::= { igmpForwardingEntry 3 }
groupPortList OBJECT-TYPE
SYNTAX OCTET STRING
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"
Forwarding port list
1. OLT
-------------------------------------------------------------------
It is presented by member port list. Each member port is identified
by 4-byte format, same as TC of EponDeviceIndex. The actual length of
this string depends of the number of member ports in the port list.
The relationship is:
Length of the string = 4 * (NUM of member ports)
For example, if device 1, port 1/2 and 2/3 is the member ports,
then this object will be presented as:
01 01 02 00 01 02 03 00
2. ONU
-------------------------------------------------------------------
It is presented by member port list. Each member port is identified
by 2-byte format, One for slot ID, the last for port ID. The actual
length of this string depends of the number of member ports. If the
ONU is fixed (not modulized), set slot ID to 0, the NMS could ignore
the slot info.
Note that, slot here shall follow the last byte definition of
EponCardIndex to indicate the main-slot and sub-slot index.
The relationship is:
Length of the string = 2 * (NUM of member ports)
For example, if port 1/2 and 3/4 is the member ports of the group,
then the object is presented as:
01 02 03 04
"
::= { igmpForwardingEntry 4 }
controllededMulticastTable OBJECT-IDENTITY
STATUS current
DESCRIPTION
"
可控组播表"
::= { igmpManagementObjects 4 }
controlledMulticastUserAuthorityTable OBJECT-TYPE
SYNTAX SEQUENCE OF ControlledMulticastUserAuthorityEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"
可控组播用户权限表
"
::= { controllededMulticastTable 1 }
controlledMulticastUserAuthorityEntry OBJECT-TYPE
SYNTAX ControlledMulticastUserAuthorityEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
" "
INDEX { cmDeviceIndex, cmCardIndex, cmPortIndex }
::= { controlledMulticastUserAuthorityTable 1 }
ControlledMulticastUserAuthorityEntry ::=
SEQUENCE {
cmDeviceIndex
EponDeviceIndex,
cmCardIndex
EponCardIndex,
cmPortIndex
EponPortIndex,
multicastPackageList
OCTET STRING,
igmpGlobalBW
Unsigned32,
igmpGlobalBWUsed
Unsigned32,
cmUserAuthorityRowStatus
RowStatus
}
cmDeviceIndex OBJECT-TYPE
SYNTAX EponDeviceIndex
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"
设备索引号
For OLT, set to corresponding device/slot/port/ONU
For ONU, set to 0"
::= { controlledMulticastUserAuthorityEntry 1 }
cmCardIndex OBJECT-TYPE
SYNTAX EponCardIndex
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"
板卡索引号
Set to corresponding UNI slot
"
::= { controlledMulticastUserAuthorityEntry 2 }
cmPortIndex OBJECT-TYPE
SYNTAX EponPortIndex
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"
Port ID
Set to corresponding UNI port
"
::= { controlledMulticastUserAuthorityEntry 3 }
multicastPackageList OBJECT-TYPE
SYNTAX OCTET STRING (SIZE(0..250))
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"
可控组播组列表.
用法类似于cmProxyList每个bit对应于cmIndex"
::= { controlledMulticastUserAuthorityEntry 4 }
igmpGlobalBW OBJECT-TYPE
SYNTAX Unsigned32
UNITS "kbps"
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"
IGMP全局带宽池大小 - 该端口支持的最大组播带宽
单位kbps"
::= { controlledMulticastUserAuthorityEntry 5 }
igmpGlobalBWUsed OBJECT-TYPE
SYNTAX Unsigned32
UNITS "kbps"
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"
IGMP全局带宽池当前使用大小 - 该端口当前实际使用的组播带宽
单位kbps"
::= { controlledMulticastUserAuthorityEntry 6 }
cmUserAuthorityRowStatus OBJECT-TYPE
SYNTAX RowStatus
MAX-ACCESS read-create
STATUS current
DESCRIPTION
""
::= { controlledMulticastUserAuthorityEntry 7 }
controlledMulticastPackageTable OBJECT-TYPE
SYNTAX SEQUENCE OF ControlledMulticastPackageEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"
可控组播业务包表"
::= { controllededMulticastTable 2 }
controlledMulticastPackageEntry OBJECT-TYPE
SYNTAX ControlledMulticastPackageEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
" "
INDEX { cmIndex }
::= { controlledMulticastPackageTable 1 }
ControlledMulticastPackageEntry ::=
SEQUENCE {
cmIndex
INTEGER,
cmName
OCTET STRING,
cmProxyList
OCTET STRING,
multicastUserAuthority
INTEGER,
maxRequestChannelNum
INTEGER,
singlePreviewTime
INTEGER,
totalPreviewTime
INTEGER,
previewResetTime
INTEGER,
previewCount
INTEGER,
cmRowStatus
RowStatus
}
cmIndex OBJECT-TYPE
SYNTAX INTEGER (1..2000)
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
""
::= { controlledMulticastPackageEntry 1 }
cmName OBJECT-TYPE
SYNTAX OCTET STRING (SIZE(0..256))
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"
该可控组播业务包名称"
::= { controlledMulticastPackageEntry 2 }
cmProxyList OBJECT-TYPE
SYNTAX OCTET STRING (SIZE (0..250))
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"
该可控组播业务包支持的Proxy列表
采用类似INTERNET比特顺序从左到右的OCTET分别为OCTET 0, OCTET 1, ...
每个OCTET的bit从左到右分别为bit0bit1...bit7。
按照bit和OCTET由小到大的顺序每个bit对应于igmpProxyParaTable中的
一个proxyIndex如果bit置位表示该proxyIndex支持否则不支持。
举例来说如果规划了80个频道proxyIndex范围为1..80用10个字节表示
proxy列表假设该PON口只支持频道列表1,15,38对应的cmProxyList可以
设置成0x80 02 00 00 04 00 00 00 00 00"
::= { controlledMulticastPackageEntry 3 }
multicastUserAuthority OBJECT-TYPE
SYNTAX INTEGER
{
permit(1),
preview(2),
deny(3)
}
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"
用户权限permit、preview、deny"
::= { controlledMulticastPackageEntry 4 }
maxRequestChannelNum OBJECT-TYPE
SYNTAX INTEGER
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"
最大允许请求频道数"
::= { controlledMulticastPackageEntry 5 }
singlePreviewTime OBJECT-TYPE
SYNTAX INTEGER
UNITS "seconds"
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"
单次预览时长,单位:秒"
::= { controlledMulticastPackageEntry 6 }
totalPreviewTime OBJECT-TYPE
SYNTAX INTEGER
UNITS "seconds"
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"
预览总时长,单位:秒"
::= { controlledMulticastPackageEntry 7 }
previewResetTime OBJECT-TYPE
SYNTAX INTEGER
UNITS "seconds"
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"
预览复位时间,单位:秒"
::= { controlledMulticastPackageEntry 8 }
previewCount OBJECT-TYPE
SYNTAX INTEGER
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"
预览次数"
::= { controlledMulticastPackageEntry 9 }
cmRowStatus OBJECT-TYPE
SYNTAX RowStatus
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"
行状态"
::= { controlledMulticastPackageEntry 10 }
igmpOnuUniTable OBJECT-TYPE
SYNTAX SEQUENCE OF igmpOnuUniEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"A list of igmpOnuUniTable entries. "
::= { igmpManagementObjects 5 }
igmpOnuUniEntry OBJECT-TYPE
SYNTAX igmpOnuUniEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"The igmpOnuUniEntry Information"
INDEX { uniMvlanDeviceIndex,uniMvlanCardIndex,uniMvlanPortIndex}
::={ igmpOnuUniTable 1 }
igmpOnuUniEntry ::= SEQUENCE {
uniMvlanDeviceIndex EponDeviceIndex,
uniMvlanCardIndex EponCardIndex,
uniMvlanPortIndex EponPortIndex,
uniMvlanVid OCTET STRING,
uniMaxMultiNum INTEGER,
uniMvlanTag INTEGER,
uniMvlanRowstatus INTEGER
}
uniMvlanDeviceIndex OBJECT-TYPE
SYNTAX EponDeviceIndex
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"设备索引 "
::= { igmpOnuUniEntry 1 }
uniMvlanCardIndex OBJECT-TYPE
SYNTAX EponCardIndex
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"板卡索引"
::= { igmpOnuUniEntry 2 }
uniMvlanPortIndex OBJECT-TYPE
SYNTAX EponPortIndex
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"端口索引"
::= { igmpOnuUniEntry 3 }
uniMvlanVid OBJECT-TYPE
SYNTAX OCTET STRING (SIZE (0..20))
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"uni端口组播vlan 最大8个"
::= { igmpOnuUniEntry 4 }
uniMaxMultiNum OBJECT-TYPE
SYNTAX INTEGER
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"最大组播数"
::= { igmpOnuUniEntry 5 }
uniMvlanTag OBJECT-TYPE
SYNTAX INTEGER(0..1)
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"是否剥离0剥离 1不剥离"
::= { igmpOnuUniEntry 6 }
uniMvlanRowstatus OBJECT-TYPE
SYNTAX INTEGER
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"行状态"
::= { igmpOnuUniEntry 7 }
--
-- END of NSCRTV-EPON-IGMP-MGM-MIB
--
END

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,524 @@
NSCRTV-EPON-QOS-MGM-MIB DEFINITIONS ::= BEGIN
IMPORTS
MODULE-IDENTITY, OBJECT-TYPE, Counter32, Unsigned32, TimeTicks
FROM SNMPv2-SMI
DateAndTime, MacAddress, TimeStamp, RowStatus, TruthValue, DisplayString, TEXTUAL-CONVENTION
FROM SNMPv2-TC
EponDeviceIndex, EponCardIndex, EponPortIndex, EponAlarmCode, EponAlarmInstance, EponSeverityType,
AutoNegotiationTechAbility, TAddress, EponStats15MinRecordType, EponStats24HourRecordType, EponStatsThresholdType
FROM NSCRTV-EPONEOC-EPON-MIB
qosManagementObjects
FROM NSCRTV-EPONEOC-EPON-MIB;
--------------------------------------------------------------------------------
-- qosManagementObjects[ Qos管理项](1.3.6.1.4.1.17409.2.3.8)
--------------------------------------------------------------------------------
qosGlobalSetTable OBJECT-TYPE
SYNTAX SEQUENCE OF QosGlobalSetEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"Global QoS parameters."
::= { qosManagementObjects 1 }
qosGlobalSetEntry OBJECT-TYPE
SYNTAX QosGlobalSetEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
""
INDEX { qosGlobalSetDeviceIndex }
::= { qosGlobalSetTable 1 }
QosGlobalSetEntry ::=
SEQUENCE {
qosGlobalSetDeviceIndex
EponDeviceIndex,
qosGlobalSetMaxQueueCount
INTEGER,
qosGlobalSetMode
INTEGER
}
qosGlobalSetDeviceIndex OBJECT-TYPE
SYNTAX EponDeviceIndex
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"
Device index
For OLT - Set to corresponding device
For ONU - Set to 0
"
::= { qosGlobalSetEntry 1 }
qosGlobalSetMaxQueueCount OBJECT-TYPE
SYNTAX INTEGER (1..256)
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"
最大队列数该设备支持的最大队列数。如果最大队列数为8则队列编号为0-7。"
::= { qosGlobalSetEntry 2 }
qosGlobalSetMode OBJECT-TYPE
SYNTAX INTEGER
{
deviceBased(1),
portBased(2)
}
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"
Define how to set QoS parameter
deviceBased(1) - When set, only the table started with deviceBase is applicable
portBased(2) - When set, only the table started with portBase is applicable
"
DEFVAL { deviceBased }
::= { qosGlobalSetEntry 3 }
deviceBaseQosMapTable OBJECT-TYPE
SYNTAX SEQUENCE OF DeviceBaseQosMapEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"Deviced based setting.
It is used to define how to map QoS options to queue"
::= { qosManagementObjects 2 }
deviceBaseQosMapEntry OBJECT-TYPE
SYNTAX DeviceBaseQosMapEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
""
INDEX { deviceBaseQosMapDeviceIndex, deviceBaseQosMapRuleIndex }
::= { deviceBaseQosMapTable 1 }
DeviceBaseQosMapEntry ::=
SEQUENCE {
deviceBaseQosMapDeviceIndex
EponDeviceIndex,
deviceBaseQosMapRuleIndex
INTEGER,
deviceBaseQosMapOctet
OCTET STRING
}
deviceBaseQosMapDeviceIndex OBJECT-TYPE
SYNTAX EponDeviceIndex
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"
Device index
For OLT - Set to corresponding device/slot/port
For ONU - Set to 0
"
::= { deviceBaseQosMapEntry 1 }
deviceBaseQosMapRuleIndex OBJECT-TYPE
SYNTAX INTEGER
{
cos(1),
tos(2),
diffserv(3)
}
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"
映射规则编号"
::= { deviceBaseQosMapEntry 2 }
deviceBaseQosMapOctet OBJECT-TYPE
SYNTAX OCTET STRING (SIZE (8 | 64))
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"
映射值。
长度为8字节或64字节。每字节表示一个映射关系。
队列编号不能超过对应的qosGlobalSetMaxQueueCount值如果qosGlobalSetMaxQueueCount为8则队列编号为0-7。
对于 cos长度为 8字节每个字节分别表示cos0-7 映射到的队列编号。
对于 tos长度为 16字节每个字节分别表示tos0-15 映射到的队列编号。
对于 diffserv长度为64字节每个字节分别表示diffserv0-63映射到的队列编号。
举例如下:
get 1.3.6.1.4.1.17409.2.3.8.3.1.3.deviceBaseQosMapDeviceIndex(410100101).cos(1) = hex(00 00 01 02 03 03 04 04)
则映射关系为:
cos 0 -> queue 0
cos 1 -> queue 0
cos 2 -> queue 1
cos 3 -> queue 2
cos 4 -> queue 3
cos 5 -> queue 3
cos 6 -> queue 4
cos 7 -> queue 4
"
::= { deviceBaseQosMapEntry 3 }
deviceBaseQosPolicyTable OBJECT-TYPE
SYNTAX SEQUENCE OF DeviceBaseQosPolicyEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"Deviced based setting
It is used to define QoS specification"
::= { qosManagementObjects 3 }
deviceBaseQosPolicyEntry OBJECT-TYPE
SYNTAX DeviceBaseQosPolicyEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
""
INDEX { deviceBaseQosPolicyDeviceIndex }
::= { deviceBaseQosPolicyTable 1 }
DeviceBaseQosPolicyEntry ::=
SEQUENCE {
deviceBaseQosPolicyDeviceIndex
EponDeviceIndex,
deviceBaseQosPolicyMode
INTEGER,
deviceBaseQosPolicyWeightOctet
OCTET STRING,
deviceBaseQosPolicySpBandwidthRange
OCTET STRING
}
deviceBaseQosPolicyDeviceIndex OBJECT-TYPE
SYNTAX EponDeviceIndex
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"
Device index
For OLT - Set to corresponding device/slot/port
For ONU - Set to 0
"
::= { deviceBaseQosPolicyEntry 1 }
deviceBaseQosPolicyMode OBJECT-TYPE
SYNTAX INTEGER
{
sp(1),
wrr(2),
spWrr(3),
wfp(4)
}
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"
调度模式"
::= { deviceBaseQosPolicyEntry 2 }
deviceBaseQosPolicyWeightOctet OBJECT-TYPE
SYNTAX OCTET STRING
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"
权重值。
长度等于队列数目,每字节表示一个队列的权重。
对于 sp读写该节点无意义读时始终为全0。
对于 wrr每字节描述一个队列的权重。权重的范围为1-100全部队列权重之和应等于100。
对于 spWrr每字节描述一个队列的权重。权重范围为0-100权重为0表示该队列用sp模式权重值非0的队列权重之和应等于100。
对于 wfp读写该节点无意义读时始终为全0。
举例如下:
get 1.3.6.1.4.1.17409.2.3.8.4.1.2.deviceBaseQosPolicyDeviceIndex(410100101). = wrr(2)
get 1.3.6.1.4.1.17409.2.3.8.4.1.3.deviceBaseQosPolicyDeviceIndex(410100101). = hex(5 5 5 5 10 20 20 30)
说明共8个队列
queue 0 权重为 5
queue 1 权重为 5
queue 2 权重为 5
queue 3 权重为 5
queue 4 权重为 10
queue 5 权重为 20
queue 6 权重为 20
queue 7 权重为 30
"
::= { deviceBaseQosPolicyEntry 3 }
deviceBaseQosPolicySpBandwidthRange OBJECT-TYPE
SYNTAX OCTET STRING
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"
Define SP assured bandwidth for each queue.
The size of this object is 4*(number of queue). For each queue, use 4 octets
to represend the assured bandwidth for the queue. The four-octet could be mapped
to an unsigned integer, in units of kbps. The sequence of the map is from queue
0 to queue max (for example, 7).
For example, 00 00 00 10 00 00 01 00 00 00 00 00 00 00 00 00
00 00 10 00 00 00 00 01 00 01 01 00 00 00 11 11
It means, 8 queues and the assured bandwidth for each queue as:
queue 0 16kbps
queue 1 256kbps
queue 2 0
queue 3 0
queue 4 4096kbps
queue 5 1kbps
queue 6 65792kbps
queue 7 65535kbps
"
::= { deviceBaseQosPolicyEntry 4 }
portBaseQosMapTable OBJECT-TYPE
SYNTAX SEQUENCE OF PortBaseQosMapEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
""
::= { qosManagementObjects 4 }
portBaseQosMapEntry OBJECT-TYPE
SYNTAX PortBaseQosMapEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
""
INDEX { deviceBaseQosMapDeviceIndex, portBaseQosMapCardIndex, portBaseQosMapPortIndex, deviceBaseQosMapRuleIndex }
::= { portBaseQosMapTable 1 }
PortBaseQosMapEntry ::=
SEQUENCE {
portBaseQosMapDeviceIndex
EponDeviceIndex,
portBaseQosMapCardIndex
EponPortIndex,
portBaseQosMapPortIndex
EponPortIndex,
portBaseQosMapRuleIndex
INTEGER,
portBaseQosMapOctet
OCTET STRING
}
portBaseQosMapDeviceIndex OBJECT-TYPE
SYNTAX EponDeviceIndex
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"
Device index
For OLT, set to corresponding SNI port or PON port
For ONU, set to 0
"
::= { portBaseQosMapEntry 1 }
portBaseQosMapCardIndex OBJECT-TYPE
SYNTAX EponPortIndex
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"
板卡索引号
For OLT, set to 0
For ONU, set to corresponding slot
"
::= { portBaseQosMapEntry 2 }
portBaseQosMapPortIndex OBJECT-TYPE
SYNTAX EponPortIndex
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"
端口索引
For OLT, set to 0
For ONU, set to corresponding port
"
::= { portBaseQosMapEntry 3 }
portBaseQosMapRuleIndex OBJECT-TYPE
SYNTAX INTEGER
{
cos(1),
tos(2),
diffserv(3)
}
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"
映射规则编号"
::= { portBaseQosMapEntry 4 }
portBaseQosMapOctet OBJECT-TYPE
SYNTAX OCTET STRING (SIZE (8..64))
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"
映射值。
长度为8字节或64字节。每字节表示一个映射关系。
队列编号不能超过对应的qosGlobalSetMaxQueueCount值如果qosGlobalSetMaxQueueCount为8则队列编号为0-7。
对于 cos长度为 8字节每个字节分别表示cos0-7 映射到的队列编号。
对于 tos长度为 16字节每个字节分别表示tos0-16 映射到的队列编号。
对于 diffserv长度为64字节每个字节分别表示diffserv0-64映射到的队列编号。
举例如下:
get 1.3.6.1.4.1.17409.2.3.8.3.1.3.deviceBaseQosMapDeviceIndex(410100101).cos(1) = hex(00 00 01 02 03 03 04 04)
则映射关系为:
cos 0 -> queue 0
cos 1 -> queue 0
cos 2 -> queue 1
cos 3 -> queue 2
cos 4 -> queue 3
cos 5 -> queue 3
cos 6 -> queue 4
cos 7 -> queue 4
"
::= { portBaseQosMapEntry 5 }
portBaseQosPolicyTable OBJECT-TYPE
SYNTAX SEQUENCE OF PortBaseQosPolicyEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"Description."
::= { qosManagementObjects 5 }
portBaseQosPolicyEntry OBJECT-TYPE
SYNTAX PortBaseQosPolicyEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
""
INDEX { deviceBaseQosPolicyDeviceIndex, portBaseQosPolicyCardIndex, portBaseQosPolicyPortIndex }
::= { portBaseQosPolicyTable 1 }
PortBaseQosPolicyEntry ::=
SEQUENCE {
portBaseQosPolicyDeviceIndex
EponDeviceIndex,
portBaseQosPolicyCardIndex
EponPortIndex,
portBaseQosPolicyPortIndex
EponPortIndex,
portBaseQosPolicyMode
INTEGER,
portBaseQosPolicyWeightOctet
OCTET STRING,
portBaseQosPolicySpBandwidthRange
OCTET STRING
}
portBaseQosPolicyDeviceIndex OBJECT-TYPE
SYNTAX EponDeviceIndex
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"
Device index
For OLT, set to corresponding SNI port or PON port
For ONU, set to 0
"
::= { portBaseQosPolicyEntry 1 }
portBaseQosPolicyCardIndex OBJECT-TYPE
SYNTAX EponPortIndex
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"
板卡索引号
For OLT, set to 0
For ONU, set to corresponding slot
"
::= { portBaseQosPolicyEntry 2 }
portBaseQosPolicyPortIndex OBJECT-TYPE
SYNTAX EponPortIndex
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"
端口索引
For OLT, set to 0
For ONU, set to corresponding port
"
::= { portBaseQosPolicyEntry 3 }
portBaseQosPolicyMode OBJECT-TYPE
SYNTAX INTEGER
{
sp(1),
wrr(2),
spWrr(3),
wfp(4)
}
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"
调度模式
sp 严格优先级
wrr 加权轮循
spWrr sp+wrr混合
wfp 加权公平排队"
::= { portBaseQosPolicyEntry 4 }
portBaseQosPolicyWeightOctet OBJECT-TYPE
SYNTAX OCTET STRING (SIZE (1..256))
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"
权重值
长度等于队列数目,每字节表示一个队列的权重。
对于 sp读写该节点无意义读时始终为全0。
对于 wrr每字节描述一个队列的权重。权重的范围为1-100全部队列权重之和应等于100。
对于 spWrr每字节描述一个队列的权重。权重范围为0-100权重为0表示该队列用sp模式权重值非0的队列权重之和应等于100。
对于 wfp读写该节点无意义读时始终为全0。
举例如下:
get 1.3.6.1.4.1.17409.2.3.8.4.1.2.deviceBaseQosPolicyDeviceIndex(410100101). = wrr(2)
get 1.3.6.1.4.1.17409.2.3.8.4.1.3.deviceBaseQosPolicyDeviceIndex(410100101). = hex(5 5 5 5 10 20 20 30)
说明共8个队列
queue 0 权重为 5
queue 1 权重为 5
queue 2 权重为 5
queue 3 权重为 5
queue 4 权重为 10
queue 5 权重为 20
queue 6 权重为 20
queue 7 权重为 30
"
::= { portBaseQosPolicyEntry 5 }
portBaseQosPolicySpBandwidthRange OBJECT-TYPE
SYNTAX OCTET STRING
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"
Define SP assured bandwidth for each queue.
The size of this object is 4*(number of queue). For each queue, use 4 octets
to represend the assured bandwidth for the queue. The four-octet could be mapped
to an unsigned integer, in units of kbps. The sequence of the map is from queue
0 to queue max (for example, 7).
For example, 00 00 00 10 00 00 01 00 00 00 00 00 00 00 00 00
00 00 10 00 00 00 00 01 00 01 01 00 00 00 11 11
It means, 8 queues and the assured bandwidth for each queue as:
queue 0 16kbps
queue 1 256kbps
queue 2 0
queue 3 0
queue 4 4096kbps
queue 5 1kbps
queue 6 65792kbps
queue 7 65535kbps
"
::= { portBaseQosPolicyEntry 6 }
--
-- END of NSCRTV-EPON-QOS-MGM-MIB
--
END

719
mibs/fs/NSCRTV-EPON-SNI-MIB Normal file
View File

@ -0,0 +1,719 @@
NSCRTV-EPON-SNI-MIB DEFINITIONS ::= BEGIN
IMPORTS
MODULE-IDENTITY, OBJECT-TYPE, Counter32, Unsigned32, TimeTicks
FROM SNMPv2-SMI
DateAndTime, MacAddress, TimeStamp, RowStatus, TruthValue, DisplayString, TEXTUAL-CONVENTION
FROM SNMPv2-TC
EponDeviceIndex, EponCardIndex, EponPortIndex, EponAlarmCode, EponAlarmInstance, EponSeverityType,
AutoNegotiationTechAbility, TAddress, EponStats15MinRecordType, EponStats24HourRecordType, EponStatsThresholdType
FROM NSCRTV-EPONEOC-EPON-MIB
sniObjects
FROM NSCRTV-EPONEOC-EPON-MIB;
--------------------------------------------------------------------------------
-- sniObjects [OLTÉÏÁª¶Ë¿ÚÊôÐÔ¹ÜÀíÏî](1.3.6.1.4.1.17409.2.3.2)
--------------------------------------------------------------------------------
sniAttributeTable OBJECT-TYPE
SYNTAX SEQUENCE OF SniAttributeEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"A list of sniAttributeTable entries. "
::= {sniObjects 1 }
sniAttributeEntry OBJECT-TYPE
SYNTAX SniAttributeEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"The sniAttributeEntry Information"
INDEX { sniAttributeDeviceIndex, sniAttributeCardIndex,sniAttributePortIndex }
::={sniAttributeTable 1 }
SniAttributeEntry ::= SEQUENCE {
sniAttributeDeviceIndex INTEGER,
sniAttributeCardIndex EponCardIndex,
sniAttributePortIndex EponPortIndex,
sniPortName DisplayString,
sniAdminStatus INTEGER,
sniOperationStatus INTEGER,
sniMediaType INTEGER,
sniAutoNegotiationStatus INTEGER,
sniAutoNegotiationMode INTEGER,
sniPerfStats15minuteEnable TruthValue,
sniPerfStats24hourEnable TruthValue,
sniLastStatusChangeTime TimeTicks,
sniMacAddrLearnMaxNum INTEGER,
sniIsolationEnable TruthValue
}
sniAttributeDeviceIndex OBJECT-TYPE
SYNTAX INTEGER
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"Device Index"
::= {sniAttributeEntry 1 }
sniAttributeCardIndex OBJECT-TYPE
SYNTAX EponCardIndex
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"Card Index"
::= {sniAttributeEntry 2 }
sniAttributePortIndex OBJECT-TYPE
SYNTAX EponPortIndex
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"Port Index"
::= {sniAttributeEntry 3 }
sniPortName OBJECT-TYPE
SYNTAX DisplayString
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"Port Name"
::= {sniAttributeEntry 4 }
sniAdminStatus OBJECT-TYPE
SYNTAX INTEGER {
up(1),
down(2),
testing(3)
}
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"Admin Status"
::= {sniAttributeEntry 5 }
sniOperationStatus OBJECT-TYPE
SYNTAX INTEGER {
up(1),
down(2),
testing(3)
}
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Operation Status"
::= {sniAttributeEntry 6 }
sniMediaType OBJECT-TYPE
SYNTAX INTEGER {
twistedPair(1),
fiber(2),
other(3)
}
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Media Type"
::= {sniAttributeEntry 7 }
sniAutoNegotiationStatus OBJECT-TYPE
SYNTAX INTEGER {
auto-negotiate(1),
half-10(2),
full-10(3),
half-100(4),
full-100(5),
full-1000(6),
full-10000(7),
unknown(8)
}
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Auto Negotiation Status"
::= {sniAttributeEntry 8 }
sniAutoNegotiationMode OBJECT-TYPE
SYNTAX INTEGER {
auto-negotiate(1),
half-10(2),
full-10(3),
half-100(4),
full-100(5),
full-1000(6),
full-10000(7)
}
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"Auto Negotiation Mode"
::= {sniAttributeEntry 9 }
sniPerfStats15minuteEnable OBJECT-TYPE
SYNTAX TruthValue
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"true(1) false(2)"
::= {sniAttributeEntry 10 }
sniPerfStats24hourEnable OBJECT-TYPE
SYNTAX TruthValue
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"true(1) false(2)"
::= {sniAttributeEntry 11 }
sniLastStatusChangeTime OBJECT-TYPE
SYNTAX TimeTicks
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Last Change Time"
::= {sniAttributeEntry 12 }
sniMacAddrLearnMaxNum OBJECT-TYPE
SYNTAX INTEGER
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"Number of MAC address limited on the SNI port.
value 0 means no limit"
::= {sniAttributeEntry 13 }
sniIsolationEnable OBJECT-TYPE
SYNTAX TruthValue
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"Whether or not isolate the SNI port to other ports"
::= {sniAttributeEntry 14 }
sniTrunkManagement OBJECT-IDENTITY
STATUS current
DESCRIPTION
""
::= { sniObjects 2 }
sniTrunkGroupConfigTable OBJECT-TYPE
SYNTAX SEQUENCE OF SniTrunkGroupConfigEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"A list of sniTrunkGroupConfigTable entries."
::= {sniTrunkManagement 1 }
sniTrunkGroupConfigEntry OBJECT-TYPE
SYNTAX SniTrunkGroupConfigEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"The sniTrunk Group Config Entry Information"
INDEX { sniTrunkGroupConfigIndex }
::={sniTrunkGroupConfigTable 1 }
SniTrunkGroupConfigEntry ::= SEQUENCE {
sniTrunkGroupConfigIndex INTEGER,
sniTrunkGroupConfigName DisplayString,
sniTrunkGroupConfigMember OCTET STRING,
sniTrunkGroupConfigPolicy INTEGER,
sniTrunkGroupConfigRowstatus RowStatus
}
sniTrunkGroupConfigIndex OBJECT-TYPE
SYNTAX INTEGER
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"Trunk Group Config Index"
::= {sniTrunkGroupConfigEntry 1 }
sniTrunkGroupConfigName OBJECT-TYPE
SYNTAX DisplayString
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"Trunk Group Config Name"
::= {sniTrunkGroupConfigEntry 2 }
sniTrunkGroupConfigMember OBJECT-TYPE
SYNTAX OCTET STRING
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"Trunk Group Config Member.
It is presented by member port list. Each member port is identified
by 4-byte format, same as TC of EponDeviceIndex. The actual length of
this string depends of the number of member ports in the trunk group.
The relationship is:
Length of the string = 4 * (NUM of member ports)
For example, if device 1, port 1/2 and 2/3 is the member ports of the
trunk, then sniTrunkGroupConfigMember is presented as:
01 01 02 00 01 02 03 00
"
::= {sniTrunkGroupConfigEntry 3 }
sniTrunkGroupConfigPolicy OBJECT-TYPE
SYNTAX INTEGER
{
srcMac(1),
destMac(2),
srcMacNDestMac(3),
srcIp(4),
destIp(5),
srcIpNDestIp(6)
}
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"Trunk Group Config Policy"
::= {sniTrunkGroupConfigEntry 4 }
sniTrunkGroupConfigRowstatus OBJECT-TYPE
SYNTAX RowStatus
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"Trunk Group Config Rowstatus"
::= {sniTrunkGroupConfigEntry 5 }
sniTrunkGroupTable OBJECT-TYPE
SYNTAX SEQUENCE OF SniTrunkGroupEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"a list of sniTrunkGroupConfigTable entries. "
::= {sniTrunkManagement 2 }
sniTrunkGroupEntry OBJECT-TYPE
SYNTAX SniTrunkGroupEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"Trunk Group Entry"
INDEX { sniTrunkGroupIndex }
::={sniTrunkGroupTable 1 }
SniTrunkGroupEntry ::= SEQUENCE {
sniTrunkGroupIndex INTEGER,
sniTrunkGroupOperationStatus INTEGER,
sniTrunkGroupActualSpeed INTEGER,
sniTrunkGroupAdminStatus INTEGER
}
sniTrunkGroupIndex OBJECT-TYPE
SYNTAX INTEGER
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"Trunk Group Index "
::= {sniTrunkGroupEntry 1 }
sniTrunkGroupOperationStatus OBJECT-TYPE
SYNTAX INTEGER {
up(1),
down(2),
testing(3)
}
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Trunk Group Operation Status"
::= {sniTrunkGroupEntry 2 }
sniTrunkGroupActualSpeed OBJECT-TYPE
SYNTAX INTEGER
UNITS "Mbps"
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Trunk Group Actual Speed.
The speed is the aggregated rates of all operational UP member
ports of the trunk.
For example, 4 member ports of the trunk, two are UP, each is 1000M
then the SUN is 2000M. As a result, the return of the MIB shall be
2000Mbps"
::= {sniTrunkGroupEntry 3 }
sniTrunkGroupAdminStatus OBJECT-TYPE
SYNTAX INTEGER {
up(1),
down(2),
testing(3)
}
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"Trunk Group AdminStatus"
::= {sniTrunkGroupEntry 4 }
sniMirrorTable OBJECT-TYPE
SYNTAX SEQUENCE OF SniMirrorEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"a list of sniMirrorTable entries."
::= {sniObjects 3 }
sniMirrorEntry OBJECT-TYPE
SYNTAX SniMirrorEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"The Mirror Information."
INDEX { sniMirrorGroupIndex }
::={sniMirrorTable 1 }
SniMirrorEntry ::= SEQUENCE {
sniMirrorGroupIndex INTEGER,
sniMirrorGroupName DisplayString,
sniMirrorGroupDstPortList OCTET STRING,
sniMirrorGroupSrcInPortList OCTET STRING,
sniMirrorGroupSrcOutPortList OCTET STRING,
sniMirrorGroupRowstatus RowStatus
}
sniMirrorGroupIndex OBJECT-TYPE
SYNTAX INTEGER
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"Mirror Group Index"
::= {sniMirrorEntry 1 }
sniMirrorGroupName OBJECT-TYPE
SYNTAX DisplayString
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"Mirror Group Name"
::= {sniMirrorEntry 2 }
sniMirrorGroupDstPortList OBJECT-TYPE
SYNTAX OCTET STRING
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"Mirror Group Dst Port List.
It is presented by destination port list. Each port is identified
by 4-byte format, same as TC of EponDeviceIndex. The actual length of
this string depends of the number of destination ports in this mirror
instance.
The relationship is:
Length of the string = 4 * (NUM of ports)
For example, if device 1, port 2/3 is the destination port of the
mirror instance, then object will be presented as:
01 02 03 00
"
::= {sniMirrorEntry 3 }
sniMirrorGroupSrcInPortList OBJECT-TYPE
SYNTAX OCTET STRING
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"Mirror Group Src In Port List.
It will includes the PON ports.
It is presented by source ingress port list. Each port is identified
by 4-byte format, same as TC of EponDeviceIndex. The actual length of
this string depends of the number of source ingress ports in this mirror
instance.
The relationship is:
Length of the string = 4 * (NUM of ports)
For example, if device 1, port 2/3, device 6, port 7/8 is the source
ingress port of the mirror instance, then object will be presented as:
01 02 03 00 06 07 08 00
"
::= {sniMirrorEntry 4 }
sniMirrorGroupSrcOutPortList OBJECT-TYPE
SYNTAX OCTET STRING
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"Mirror Group Src Out Port List.
It will includes the PON ports.
It is presented by source egress port list. Each port is identified
by 4-byte format, same as TC of EponDeviceIndex. The actual length of
this string depends of the number of source egress ports in this mirror
instance.
The relationship is:
Length of the string = 4 * (NUM of ports)
For example, if device 1, port 2/3, device 6, port 7/8 is the source
egress port of the mirror instance, then object will be presented as:
01 02 03 00 06 07 08 00
"
::= {sniMirrorEntry 5 }
sniMirrorGroupRowstatus OBJECT-TYPE
SYNTAX RowStatus
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"Mirror Group Rowstatus"
::= {sniMirrorEntry 6 }
sniMacAddressManagement OBJECT-IDENTITY
STATUS current
DESCRIPTION
""
::= { sniObjects 4 }
sniMacAddressManagementTable OBJECT-TYPE
SYNTAX SEQUENCE OF SniMacAddressManagementEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
" A list of MacAddressManagement entries. "
::= { sniMacAddressManagement 1 }
sniMacAddressManagementEntry OBJECT-TYPE
SYNTAX SniMacAddressManagementEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"The Mac Address Management Information"
INDEX { sniMacAddressManagementDeviceIndex }
::= { sniMacAddressManagementTable 1 }
SniMacAddressManagementEntry ::= SEQUENCE {
sniMacAddressManagementDeviceIndex INTEGER,
sniMacAddrTableAgingTime INTEGER,
sniMacAddrTableClear INTEGER
}
sniMacAddressManagementDeviceIndex OBJECT-TYPE
SYNTAX INTEGER
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"device Index"
::= { sniMacAddressManagementEntry 1 }
sniMacAddrTableAgingTime OBJECT-TYPE
SYNTAX INTEGER
UNITS "Seconds"
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"Mac Address Table Aging Time"
::= { sniMacAddressManagementEntry 2 }
sniMacAddrTableClear OBJECT-TYPE
SYNTAX INTEGER { allDynamic(1) }
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"Mac Address Table Clear"
::= { sniMacAddressManagementEntry 3 }
sniMacAddressTable OBJECT-TYPE
SYNTAX SEQUENCE OF SniMacAddressEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"A list of MacAddress entries."
::= { sniMacAddressManagement 2 }
sniMacAddressEntry OBJECT-TYPE
SYNTAX SniMacAddressEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"The Mac Address Information"
INDEX { sniMacAddrIndex, sniMacAddrVlanIdIndex }
::= { sniMacAddressTable 1 }
SniMacAddressEntry ::= SEQUENCE {
sniMacAddrIndex MacAddress,
sniMacAddrVlanIdIndex INTEGER,
sniMacAddrType INTEGER,
sniMacAddrPortId EponDeviceIndex,
sniMacAddrRowStatus RowStatus
}
sniMacAddrIndex OBJECT-TYPE
SYNTAX MacAddress
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"Mac Address Index"
::= { sniMacAddressEntry 1 }
sniMacAddrVlanIdIndex OBJECT-TYPE
SYNTAX INTEGER
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"Mac Address Vlan Id Index"
::= { sniMacAddressEntry 2 }
sniMacAddrType OBJECT-TYPE
SYNTAX INTEGER {
static(1),
dynamic(2),
other(3)}
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"Mac Address Type"
::= { sniMacAddressEntry 3}
sniMacAddrPortId OBJECT-TYPE
SYNTAX EponDeviceIndex
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"Mac Address Port Id"
::= { sniMacAddressEntry 4 }
sniMacAddrRowStatus OBJECT-TYPE
SYNTAX RowStatus
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"delete,create,Update"
::= { sniMacAddressEntry 5 }
sniBroadcastStormSuppressionTable OBJECT-TYPE
SYNTAX SEQUENCE OF SniBroadcastStormSuppressionEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"A list of BroadcastStormSuppression entries."
::= { sniObjects 5 }
sniBroadcastStormSuppressionEntry OBJECT-TYPE
SYNTAX SniBroadcastStormSuppressionEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"The Broadcast Storm Suppression Information"
INDEX { sniBroadcastStormSuppressionDeviceIndex, sniBroadcastStormSuppressionCardIndex, sniBroadcastStormSuppressionPortIndex }
::= { sniBroadcastStormSuppressionTable 1 }
SniBroadcastStormSuppressionEntry ::=
SEQUENCE {
sniBroadcastStormSuppressionDeviceIndex INTEGER,
sniBroadcastStormSuppressionCardIndex EponCardIndex,
sniBroadcastStormSuppressionPortIndex EponPortIndex,
sniUnicastStormEnable TruthValue,
sniUnicastStormInPacketRate INTEGER,
sniUnicastStormOutPacketRate INTEGER,
sniMulticastStormEnable TruthValue,
sniMulticastStormInPacketRate INTEGER,
sniMulticastStormOutPacketRate INTEGER,
sniBroadcastStormEnable TruthValue,
sniBroadcastStormInPacketRate INTEGER,
sniBroadcastStormOutPacketRate INTEGER
}
sniBroadcastStormSuppressionDeviceIndex OBJECT-TYPE
SYNTAX INTEGER
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"device Index"
::= { sniBroadcastStormSuppressionEntry 1 }
sniBroadcastStormSuppressionCardIndex OBJECT-TYPE
SYNTAX EponCardIndex
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"card Index"
::= { sniBroadcastStormSuppressionEntry 2 }
sniBroadcastStormSuppressionPortIndex OBJECT-TYPE
SYNTAX EponPortIndex
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"port Index"
::= { sniBroadcastStormSuppressionEntry 3 }
sniUnicastStormEnable OBJECT-TYPE
SYNTAX TruthValue
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"Cast Storm Enable"
::= { sniBroadcastStormSuppressionEntry 4 }
sniUnicastStormInPacketRate OBJECT-TYPE
SYNTAX INTEGER
UNITS "pps"
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"Cast Storm In Packet Rate"
::= { sniBroadcastStormSuppressionEntry 5 }
sniUnicastStormOutPacketRate OBJECT-TYPE
SYNTAX INTEGER
UNITS "pps"
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"Cast Storm Out Packet Rate"
::= { sniBroadcastStormSuppressionEntry 6 }
sniMulticastStormEnable OBJECT-TYPE
SYNTAX TruthValue
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"true(1) false(2)"
::= { sniBroadcastStormSuppressionEntry 7 }
sniMulticastStormInPacketRate OBJECT-TYPE
SYNTAX INTEGER
UNITS "pps"
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"Multicast Storm In Packet Rate"
::= { sniBroadcastStormSuppressionEntry 8 }
sniMulticastStormOutPacketRate OBJECT-TYPE
SYNTAX INTEGER
UNITS "pps"
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"Multicast Storm Out Packet Rate"
::= { sniBroadcastStormSuppressionEntry 9 }
sniBroadcastStormEnable OBJECT-TYPE
SYNTAX TruthValue
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"true(1) false(2)"
::= { sniBroadcastStormSuppressionEntry 10 }
sniBroadcastStormInPacketRate OBJECT-TYPE
SYNTAX INTEGER
UNITS "pps"
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"Broadcast Storm In Packet Rate"
::= { sniBroadcastStormSuppressionEntry 11 }
sniBroadcastStormOutPacketRate OBJECT-TYPE
SYNTAX INTEGER
UNITS "pps"
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"Broadcast Storm Out Packet Rate"
::= { sniBroadcastStormSuppressionEntry 12 }
--
-- END of NSCRTV-EPON-SNI-MIB
--
END

View File

@ -0,0 +1,493 @@
NSCRTV-EPON-STP-MGM-MIB DEFINITIONS ::= BEGIN
IMPORTS
BridgeId, Timeout
FROM BRIDGE-MIB
MODULE-IDENTITY, OBJECT-TYPE, Counter32, Unsigned32, TimeTicks
FROM SNMPv2-SMI
DateAndTime, MacAddress, TimeStamp, RowStatus, TruthValue, DisplayString, TEXTUAL-CONVENTION
FROM SNMPv2-TC
EponDeviceIndex, EponCardIndex, EponPortIndex, EponAlarmCode, EponAlarmInstance, EponSeverityType,
AutoNegotiationTechAbility, TAddress, EponStats15MinRecordType, EponStats24HourRecordType, EponStatsThresholdType
FROM NSCRTV-EPONEOC-EPON-MIB
stpManagementObjects
FROM NSCRTV-EPONEOC-EPON-MIB;
--------------------------------------------------------------------------------
-- stpManagementObjects[STP管理项](1.3.6.1.4.1.17409.2.3.9)
--------------------------------------------------------------------------------
stpGlobalSetTable OBJECT-TYPE
SYNTAX SEQUENCE OF StpGlobalSetEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"
STP全局表"
::= { stpManagementObjects 1 }
stpGlobalSetEntry OBJECT-TYPE
SYNTAX StpGlobalSetEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
""
INDEX { stpGlobalSetIndex }
::= { stpGlobalSetTable 1 }
StpGlobalSetEntry ::=
SEQUENCE {
stpGlobalSetIndex
EponDeviceIndex,
stpGlobalSetVersion
INTEGER,
stpGlobalSetPriority
INTEGER,
stpGlobalSetTimeSinceTopologyChange
TimeTicks,
stpGlobalSetTopChanges
Counter32,
stpGlobalSetDesignatedRoot
BridgeId,
stpGlobalSetRootCost
INTEGER,
stpGlobalSetRootPort
OCTET STRING,
stpGlobalSetMaxAge
Timeout,
stpGlobalSetHelloTime
Timeout,
stpGlobalSetHoldTime
INTEGER,
stpGlobalSetForwardDelay
Timeout,
stpGlobalSetBridgeMaxAge
Timeout,
stpGlobalSetBridgeHelloTime
Timeout,
stpGlobalSetBridgeForwardDelay
Timeout,
stpGlobalSetRstpTxHoldCount
INTEGER,
stpGlobalSetEnable
TruthValue
}
stpGlobalSetIndex OBJECT-TYPE
SYNTAX EponDeviceIndex
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"
索引号
For OLT - Set to corresponding device
For ONU - Set to 0
"
::= { stpGlobalSetEntry 1 }
stpGlobalSetVersion OBJECT-TYPE
SYNTAX INTEGER
{
rstp(1),
stp(2)
}
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"
生成树协议版本。"
DEFVAL { rstp }
::= { stpGlobalSetEntry 2 }
stpGlobalSetPriority OBJECT-TYPE
SYNTAX INTEGER (0..65535)
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"
优先级。
在支持IEEE 802.1d或者IEEE 802.1w的网桥上取值范围是0-61440步长是4096。"
::= { stpGlobalSetEntry 3 }
stpGlobalSetTimeSinceTopologyChange OBJECT-TYPE
SYNTAX TimeTicks
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"
变更时间,网桥实体检测到最近一次拓扑改变之后经历的时间。"
::= { stpGlobalSetEntry 4 }
stpGlobalSetTopChanges OBJECT-TYPE
SYNTAX Counter32
UNITS "topology changes"
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"
变更次数,网桥重启或初始化化拓扑的变更次数。"
::= { stpGlobalSetEntry 5 }
stpGlobalSetDesignatedRoot OBJECT-TYPE
SYNTAX BridgeId
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"
根桥指定根桥的BridgeId。"
::= { stpGlobalSetEntry 6 }
stpGlobalSetRootCost OBJECT-TYPE
SYNTAX INTEGER
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"
根路径开销,网桥到根桥的路径消耗。"
::= { stpGlobalSetEntry 7 }
stpGlobalSetRootPort OBJECT-TYPE
SYNTAX OCTET STRING (SIZE (3))
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"
根端口,是连接本网桥和根网桥的端口,它提供的路径消耗最小
The port is presented by three octets, in sequence of device ID, slot,
and port.
For ONU, device ID is meaningless and shall set 0. Slot and port shall
be set to corresponding value.
For OLT, device ID, slot, and port shall be set to corresponding value.
For example,
01 02 03 means device 1, slot 2, port 3 is root port.
0x00 04 05 means ONU slot 4, port 5 is root port.
"
::= { stpGlobalSetEntry 8 }
stpGlobalSetMaxAge OBJECT-TYPE
SYNTAX Timeout
UNITS "centi-seconds"
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"
老化时间端口从网络中学习到的生成树协议信息的老化时间单位1/100 secs。"
::= { stpGlobalSetEntry 9 }
stpGlobalSetHelloTime OBJECT-TYPE
SYNTAX Timeout
UNITS "centi-seconds"
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"
报文发送间隔网桥在任意端口发送配置网桥PDU的时间间隔。"
::= { stpGlobalSetEntry 10 }
stpGlobalSetHoldTime OBJECT-TYPE
SYNTAX INTEGER
UNITS "centi-seconds"
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"
维持时间在这个时间间隔内本网桥不会发送两个以上配置网桥PDU。"
::= { stpGlobalSetEntry 11 }
stpGlobalSetForwardDelay OBJECT-TYPE
SYNTAX Timeout
UNITS "centi-seconds"
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"
转换时延,控制一个端口多快地改变自己的生成状态,决定了本端口开始转发前,在监听状态和学习状态滞留多长时间。
当一个发现一个拓扑变更,并且正在处理时,这个值也用来控制动态过滤表的老化时间。
"
::= { stpGlobalSetEntry 12 }
stpGlobalSetBridgeMaxAge OBJECT-TYPE
SYNTAX Timeout (600..4000)
UNITS "centi-seconds"
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"
如果本网桥是根网桥,那么所有网桥把这个值用作老化时间。"
::= { stpGlobalSetEntry 13 }
stpGlobalSetBridgeHelloTime OBJECT-TYPE
SYNTAX Timeout (100..1000)
UNITS "centi-seconds"
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"
如果本网桥是根网桥,那么所有网桥把这个值用作报文发送的时间间隔。"
::= { stpGlobalSetEntry 14 }
stpGlobalSetBridgeForwardDelay OBJECT-TYPE
SYNTAX Timeout (400..3000)
UNITS "centi-seconds"
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"
如果本网桥是根网桥,那么所有网桥把这个值用于转换时延。"
::= { stpGlobalSetEntry 15 }
stpGlobalSetRstpTxHoldCount OBJECT-TYPE
SYNTAX INTEGER (1..10)
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"
传输限速对RSTP用于限制端口的报文发送速率。"
DEFVAL { 3 }
::= { stpGlobalSetEntry 16 }
stpGlobalSetEnable OBJECT-TYPE
SYNTAX TruthValue
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"
使能状态启用或关闭STP。true(1)为开启。"
::= { stpGlobalSetEntry 17 }
stpPortTable OBJECT-TYPE
SYNTAX SEQUENCE OF StpPortEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"
STP端口表"
::= { stpManagementObjects 2 }
stpPortEntry OBJECT-TYPE
SYNTAX StpPortEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
""
INDEX { stpPortStpIndex, stpPortCardIndex, stpPortIndex }
::= { stpPortTable 1 }
StpPortEntry ::=
SEQUENCE {
stpPortStpIndex
EponDeviceIndex,
stpPortCardIndex
EponCardIndex,
stpPortIndex
EponPortIndex,
stpPortStatus
INTEGER,
stpPortPriority
INTEGER,
stpPortPathCost
INTEGER,
stpPortDesignatedRoot
BridgeId,
stpPortDesignatedCost
INTEGER,
stpPortDesignatedBridge
BridgeId,
stpPortDesignatedPort
Gauge32,
stpPortForwardTransitions
Unsigned32,
stpPortRstpProtocolMigration
TruthValue,
stpPortRstpAdminEdgePort
TruthValue,
stpPortRstpOperEdgePort
TruthValue,
stpPortPointToPointAdminStatus
INTEGER,
stpPortPointToPointOperStatus
TruthValue,
stpPortEnabled
TruthValue
}
stpPortStpIndex OBJECT-TYPE
SYNTAX EponDeviceIndex
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"
索引号。
For OLT - Set to corresponding device/SLOT/PORT
For ONU - Set to 0
"
::= { stpPortEntry 1 }
stpPortCardIndex OBJECT-TYPE
SYNTAX EponCardIndex
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"
Epon板卡索引号
For OLT, set to 0
For ONU, set to correspond card index"
::= { stpPortEntry 2 }
stpPortIndex OBJECT-TYPE
SYNTAX EponPortIndex
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"
端口号对OLT为SNI/PON port对ONU为UNI端口号。
For OLT, set to 0
For ONU, set to correspond port index"
::= { stpPortEntry 3 }
stpPortStatus OBJECT-TYPE
SYNTAX INTEGER
{
disabled(1),
blocking(2),
listening(3),
learning(4),
forwarding(5),
broken(6)
}
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"
端口状态由生成树协议的应用程序定义对于被禁用STP的端口这个状态应该为disable。"
::= { stpPortEntry 4 }
stpPortPriority OBJECT-TYPE
SYNTAX INTEGER (0..255)
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"
端口优先级"
::= { stpPortEntry 5 }
stpPortPathCost OBJECT-TYPE
SYNTAX INTEGER (1..200000000)
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"
端口路径开销本端口在通往生成树根的路径上增加的路径消耗802.1D-1998推荐这个参数的默认值跟连接LAN的速度成反比。"
::= { stpPortEntry 6 }
stpPortDesignatedRoot OBJECT-TYPE
SYNTAX BridgeId
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"
指定根网桥在配置BPDU中被记录为根的网桥的标识符这些配置BPDU由指定网桥发送而指定网桥用于跟这个端口相连的网段。"
::= { stpPortEntry 7 }
stpPortDesignatedCost OBJECT-TYPE
SYNTAX INTEGER
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"
指定路径开销跟本端口相连的网段的指定端口的路径消耗这个值会跟接受到的网桥PDU中的根路径消耗字段进行比较。"
::= { stpPortEntry 8 }
stpPortDesignatedBridge OBJECT-TYPE
SYNTAX BridgeId
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"
指定网桥ID本端口认为的本端口的网段的指定网桥的标识符。"
::= { stpPortEntry 9 }
stpPortDesignatedPort OBJECT-TYPE
SYNTAX Gauge32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"
指定端口,指定网桥上用于本端口网段的端口的标识符。"
::= { stpPortEntry 10 }
stpPortForwardTransitions OBJECT-TYPE
SYNTAX Unsigned32
UNITS "seconds"
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"
本端口已经从学习状态转变到转发状态的时间。"
::= { stpPortEntry 11 }
stpPortRstpProtocolMigration OBJECT-TYPE
SYNTAX TruthValue
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"
协议迁移如果操作在RSTP模式将这个节点设置为TRUE(1)会强制这个端口发送RSTP BPDU读操作无意总返回FALSE(2)。"
::= { stpPortEntry 12 }
stpPortRstpAdminEdgePort OBJECT-TYPE
SYNTAX TruthValue
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"
边缘端口管理状态指定该端口是否为边缘端口设置该节点将导致相应的stpPortRstpOperEdgePort节点设置成同样的值。
当设置成true(1)但端口上收到一个BPDU时stpPortRstpOperEdgePort将变成false(2)。
"
::= { stpPortEntry 13 }
stpPortRstpOperEdgePort OBJECT-TYPE
SYNTAX TruthValue
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"
边缘端口状态这个节点被初始化成stpPortRstpAdminEdgePort的值接收到一个BPDU时被设置成false(2)。"
::= { stpPortEntry 14 }
stpPortPointToPointAdminStatus OBJECT-TYPE
SYNTAX INTEGER
{
forceFalse(0),
forceTrue(1),
auto(2)
}
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"
连接到本端口网段的点对点管理状态。"
::= { stpPortEntry 15 }
stpPortPointToPointOperStatus OBJECT-TYPE
SYNTAX TruthValue
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"
连接到本端口网段的点对点实际状态。"
::= { stpPortEntry 16 }
stpPortEnabled OBJECT-TYPE
SYNTAX TruthValue
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"
端口使能状态true(1)为开启。"
::= { stpPortEntry 17 }
--
-- END of NSCRTV-EPON-STP-MGM-MIB
--
END

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,947 @@
NSCRTV-EPON-VLAN-MGM-MIB DEFINITIONS ::= BEGIN
IMPORTS
MODULE-IDENTITY, OBJECT-TYPE, Counter32, Unsigned32, TimeTicks
FROM SNMPv2-SMI
DateAndTime, MacAddress, TimeStamp, RowStatus, TruthValue, DisplayString, TEXTUAL-CONVENTION
FROM SNMPv2-TC
EponDeviceIndex, EponCardIndex, EponPortIndex, EponAlarmCode, EponAlarmInstance, EponSeverityType,
AutoNegotiationTechAbility, TAddress, EponStats15MinRecordType, EponStats24HourRecordType, EponStatsThresholdType
FROM NSCRTV-EPONEOC-EPON-MIB
vlanManagementObjects
FROM NSCRTV-EPONEOC-EPON-MIB;
--------------------------------------------------------------------------------
-- vlanManagementObjects [VLAN管理项](1.3.6.1.4.1.17409.2.3.7)
--------------------------------------------------------------------------------
vlanGlobalInfoTable OBJECT-TYPE
SYNTAX SEQUENCE OF VlanGlobalInfoEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"
全局VLAN信息表"
::= { vlanManagementObjects 1 }
vlanGlobalInfoEntry OBJECT-TYPE
SYNTAX VlanGlobalInfoEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
" "
INDEX { vlanDeviceIndex }
::= { vlanGlobalInfoTable 1 }
VlanGlobalInfoEntry ::=
SEQUENCE {
vlanDeviceIndex
INTEGER,
maxVlanId
INTEGER,
maxSupportVlans
INTEGER,
createdVlanNumber
INTEGER
}
vlanDeviceIndex OBJECT-TYPE
SYNTAX INTEGER
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"
设备索引号。
For OLT, set to corresponding device ID
For ONU, set to 0"
::= { vlanGlobalInfoEntry 1 }
maxVlanId OBJECT-TYPE
SYNTAX INTEGER
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"
最大VLAN ID"
::= { vlanGlobalInfoEntry 2 }
maxSupportVlans OBJECT-TYPE
SYNTAX INTEGER
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"
最大支持的VLAN个数"
::= { vlanGlobalInfoEntry 3 }
createdVlanNumber OBJECT-TYPE
SYNTAX INTEGER
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"
已创建的VLAN个数"
::= { vlanGlobalInfoEntry 4 }
vlanConfigGroup OBJECT-IDENTITY
STATUS current
DESCRIPTION
"
Vlan配置组"
::= { vlanManagementObjects 2 }
oltVlanConfigTable OBJECT-TYPE
SYNTAX SEQUENCE OF OltVlanConfigEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"
OLT VLAN成员配置表"
::= { vlanConfigGroup 1 }
oltVlanConfigEntry OBJECT-TYPE
SYNTAX OltVlanConfigEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
" "
INDEX { oltVlanIndex, oltVlanDeviceIndex}
::= { oltVlanConfigTable 1 }
OltVlanConfigEntry ::=
SEQUENCE {
oltVlanIndex
INTEGER,
oltVlanDeviceIndex
INTEGER,
oltVlanName
OCTET STRING,
taggedPort
OCTET STRING,
untaggedPort
OCTET STRING,
oltVlanRowStatus
RowStatus
}
oltVlanIndex OBJECT-TYPE
SYNTAX INTEGER
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"
Vlan索引号"
::= { oltVlanConfigEntry 1 }
oltVlanDeviceIndex OBJECT-TYPE
SYNTAX INTEGER
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"
OLT设备索引号。
"
::= { oltVlanConfigEntry 2 }
oltVlanName OBJECT-TYPE
SYNTAX OCTET STRING (SIZE (0..128))
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"
OLT VLAN name"
::= { oltVlanConfigEntry 3 }
taggedPort OBJECT-TYPE
SYNTAX OCTET STRING
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"
Vlan包括的tag的PON/SNI in OLT。
It is presented by member port list. Each member port is identified
by 4-byte format, same as TC of EponDeviceIndex. The actual length of
this string depends of the number of member ports in the port list.
The relationship is:
Length of the string = 4 * (NUM of member ports)
For example, if device 1, port 1/2 and 2/3 is the member ports,
then this object will be presented as:
01 01 02 00 01 02 03 00
"
::= { oltVlanConfigEntry 4 }
untaggedPort OBJECT-TYPE
SYNTAX OCTET STRING
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"
Vlan包括的Untag的PON/SNI in OLT。
It is presented by member port list. Each member port is identified
by 4-byte format, same as TC of EponDeviceIndex. The actual length of
this string depends of the number of member ports in the port list.
The relationship is:
Length of the string = 4 * (NUM of member ports)
For example, if device 1, port 1/2 and 2/3 is the member ports,
then this object will be presented as:
01 01 02 00 01 02 03 00
"
::= { oltVlanConfigEntry 5 }
oltVlanRowStatus OBJECT-TYPE
SYNTAX RowStatus
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"
行状态"
::= { oltVlanConfigEntry 6 }
onuVlanConfigTable OBJECT-TYPE
SYNTAX SEQUENCE OF OnuVlanConfigEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"
ONU VLAN成员配置表
It is maintained by ONU itself.
"
::= { vlanConfigGroup 2 }
onuVlanConfigEntry OBJECT-TYPE
SYNTAX OnuVlanConfigEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
" "
INDEX { onuVlanIndex }
::= { onuVlanConfigTable 1 }
OnuVlanConfigEntry ::=
SEQUENCE {
onuVlanIndex
INTEGER,
onuVlanName
OCTET STRING,
onuVlanTaggedPort
OCTET STRING,
onuVlanUntaggedPort
OCTET STRING,
onuVlanRowStatus
RowStatus
}
onuVlanIndex OBJECT-TYPE
SYNTAX INTEGER
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"
Vlan索引号"
::= { onuVlanConfigEntry 1 }
onuVlanName OBJECT-TYPE
SYNTAX OCTET STRING (SIZE (0..128))
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"
ONU VLAN name"
::= { onuVlanConfigEntry 2 }
onuVlanTaggedPort OBJECT-TYPE
SYNTAX OCTET STRING
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"
Vlan包括的tag的UNI端口。
It is presented by member port list. Each member port is identified
by 2-byte format, One for slot ID, the last for port ID. The actual
length of this string depends of the number of tagged member ports
in the VLAN. If the ONU is fixed (not modulized), set slot ID to 0,
the NMS could ignore the slot info.
Note that, slot here shall follow the last byte definition of
EponCardIndex to indicate the main-slot and sub-slot index.
The relationship is:
Length of the string = 2 * (NUM of member ports)
For example, if port 1/2 and 3/4 is the tagged member ports of the
VLAN, then the object is presented as:
01 02 03 04
"
::= { onuVlanConfigEntry 3 }
onuVlanUntaggedPort OBJECT-TYPE
SYNTAX OCTET STRING
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"
Vlan包括的Untag的UNI端口。
It is presented by member port list. Each member port is identified
by 2-byte format, One for slot ID, the last for port ID. The actual
length of this string depends of the number of untagged member ports
in the VLAN. If the ONU is fixed (not modulized), set slot ID to FF,
the NMS could ignore the slot info.
Note that, slot here shall follow the last byte definition of
EponCardIndex to indicate the main-slot and sub-slot index.
The relationship is:
Length of the string = 2 * (NUM of member ports)
For example, if port 1/2 and 3/4 is the untagged member ports of the
VLAN, then the object is presented as:
01 02 03 04
"
::= { onuVlanConfigEntry 4 }
onuVlanRowStatus OBJECT-TYPE
SYNTAX RowStatus
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"
行状态"
::= { onuVlanConfigEntry 5 }
portVlanGroup OBJECT-IDENTITY
STATUS current
DESCRIPTION
"
端口Vlan组sni、uni、ponport"
::= { vlanManagementObjects 3 }
portVlanTable OBJECT-TYPE
SYNTAX SEQUENCE OF PortVlanEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"
端口Vlan表
This table applies on OLT pon port, OLT SNI, OLT onu ID, ONU UNI.
1. If the table is maintained in OLT device:
Applied Obj - Descriptions of Index
------------------------------------------------------------------
OLT Pon Port - OnuNum of pvlanDeviceIndex shall be set to 0,
/OLT SNI pvlanCardIndex, and pvlanPortIndex set to 0 indicates
meaningless
OLT onu ID - Set pvlanDeviceIndex to corresponding ONU ID,
pvlanCardIndex, and pvlanPortIndex set to 0 indicates
meaningless
ONU UNI - Set pvlanDeviceIndex to corresponding ONU ID,
pvlanCardIndex, and pvlanPortIndex set to the corresponding
value
2. If the table is maintained in ONU device:
pvlanDeviceIndex shall be set to 0 to indicate meaningless.
pvlanCardIndex shall be set to corresponding slot.
pvlanPortIndex shall be set to corresponding port.
"
::= { portVlanGroup 1 }
portVlanEntry OBJECT-TYPE
SYNTAX PortVlanEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
" "
INDEX { pvlanDeviceIndex, pvlanCardIndex, pvlanPortIndex}
::= { portVlanTable 1 }
PortVlanEntry ::=
SEQUENCE {
pvlanDeviceIndex
EponDeviceIndex,
pvlanCardIndex
EponCardIndex,
pvlanPortIndex
EponPortIndex,
vlanTagTpid
OCTET STRING,
vlanTagCfi
TruthValue,
vlanTagPriority
INTEGER,
vlanPVid
INTEGER,
vlanMode
INTEGER
}
pvlanDeviceIndex OBJECT-TYPE
SYNTAX EponDeviceIndex
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"
OLT/ONU设备索引号。"
::= { portVlanEntry 1 }
pvlanCardIndex OBJECT-TYPE
SYNTAX EponCardIndex
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"
板卡索引号
"
::= { portVlanEntry 2 }
pvlanPortIndex OBJECT-TYPE
SYNTAX EponPortIndex
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"
pon端口/uni/sni端口索引号
"
::= { portVlanEntry 3 }
vlanTagTpid OBJECT-TYPE
SYNTAX OCTET STRING (SIZE (2))
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"
标记的协议标识
It shall be presented in hexadecimal format. For example, 81 00
to indicate 0x8100"
::= { portVlanEntry 4 }
vlanTagCfi OBJECT-TYPE
SYNTAX TruthValue
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"
规则格式指示符"
::= { portVlanEntry 5 }
vlanTagPriority OBJECT-TYPE
SYNTAX INTEGER (0..7)
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"
vlan优先级"
::= { portVlanEntry 6 }
vlanPVid OBJECT-TYPE
SYNTAX INTEGER
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"
port Vlan ID"
::= { portVlanEntry 7 }
vlanMode OBJECT-TYPE
SYNTAX INTEGER
{
transparent(0),
tag(1),
translation(2),
aggregation(3),
trunk(4),
stacking(5)
}
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"
vlan模式
"
::= { portVlanEntry 8 }
portVlanTranslationTable OBJECT-TYPE
SYNTAX SEQUENCE OF PortVlanTranslationEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"
端口Vlan翻译表
This table applies on OLT pon port, OLT SNI, OLT onu ID, ONU UNI.
1. If the table is maintained in OLT device:
Applied Obj - Descriptions of Index
------------------------------------------------------------------
OLT Pon Port - OnuNum of pvtDeviceIndex shall be set to 0,
/OLT SNI pvtCardIndex, and pvtPortIndex set to 0 indicates
meaningless
OLT onu ID - Set pvtDeviceIndex to corresponding ONU ID,
pvtCardIndex, and pvtPortIndex set to 0 indicates
meaningless
ONU UNI - Set pvtDeviceIndex to corresponding ONU ID,
pvtCardIndex, and pvtPortIndex set to the corresponding
value
2. If the table is maintained in ONU device:
pvtDeviceIndex shall be set to 0 to indicate meaningless.
pvtCardIndex shall be set to corresponding slot.
pvtPortIndex shall be set to corresponding port.
"
::= { portVlanGroup 2 }
portVlanTranslationEntry OBJECT-TYPE
SYNTAX PortVlanTranslationEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
" "
INDEX { pvtDeviceIndex , pvtCardIndex , pvtPortIndex , portVidIndex }
::= { portVlanTranslationTable 1 }
PortVlanTranslationEntry ::=
SEQUENCE {
pvtDeviceIndex
EponDeviceIndex,
pvtCardIndex
EponCardIndex,
pvtPortIndex
EponPortIndex,
portVidIndex
Unsigned32,
translationNewVid
Unsigned32,
translationRowStatus
RowStatus
}
pvtDeviceIndex OBJECT-TYPE
SYNTAX EponDeviceIndex
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"
OLT/ONU设备索引号。"
::= { portVlanTranslationEntry 1 }
pvtCardIndex OBJECT-TYPE
SYNTAX EponCardIndex
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"
板卡索引号"
::= { portVlanTranslationEntry 2 }
pvtPortIndex OBJECT-TYPE
SYNTAX EponPortIndex
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"
pon端口/ONU/uni端口索引号/sni端口"
::= { portVlanTranslationEntry 3 }
portVidIndex OBJECT-TYPE
SYNTAX Unsigned32
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"
端口原始VLAN ID索引号"
::= { portVlanTranslationEntry 4 }
translationNewVid OBJECT-TYPE
SYNTAX Unsigned32
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"
翻译的新vlan号"
::= { portVlanTranslationEntry 5 }
translationRowStatus OBJECT-TYPE
SYNTAX RowStatus
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"
行状态 "
::= { portVlanTranslationEntry 6 }
portVlanAggregationManagement OBJECT-IDENTITY
STATUS current
DESCRIPTION
"
端口Vlan聚合管理VLAN Aggregation"
::= { portVlanGroup 3 }
portVlanAggregationConfigTable OBJECT-TYPE
SYNTAX SEQUENCE OF PortVlanAggregationConfigEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"
端口Vlan聚合配置表
This table applies on OLT pon port, OLT onu ID, ONU UNI.
1. If the table is maintained in OLT device:
Applied Obj - Descriptions of Index
------------------------------------------------------------------
OLT Pon Port - OnuNum of pvaDeviceIndex shall be set to 0,
pvaCardIndex, and pvaPortIndex set to 0 indicates
meaningless
OLT onu ID - Set pvaDeviceIndex to corresponding ONU ID,
pvaCardIndex, and pvaPortIndex set to 0 indicates
meaningless
ONU UNI - Set pvaDeviceIndex to corresponding ONU ID,
pvaCardIndex, and pvaPortIndex set to the corresponding
value
2. If the table is maintained in ONU device:
pvaDeviceIndex shall be set to 0 to indicate meaningless.
pvaCardIndex shall be set to corresponding slot.
pvaPortIndex shall be set to corresponding port.
"
::= { portVlanAggregationManagement 1 }
portVlanAggregationConfigEntry OBJECT-TYPE
SYNTAX PortVlanAggregationConfigEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
" "
INDEX { pvaDeviceIndex , pvaCardIndex , pvaPortIndex , portAggregationVidIndex }
::= { portVlanAggregationConfigTable 1 }
PortVlanAggregationConfigEntry ::=
SEQUENCE {
pvaDeviceIndex
EponDeviceIndex,
pvaCardIndex
EponCardIndex,
pvaPortIndex
EponPortIndex,
portAggregationVidIndex
Unsigned32,
aggregationVidList
OCTET STRING,
aggregationRowStatus
RowStatus
}
pvaDeviceIndex OBJECT-TYPE
SYNTAX EponDeviceIndex
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"
OLT/ONU设备索引号。"
::= { portVlanAggregationConfigEntry 1 }
pvaCardIndex OBJECT-TYPE
SYNTAX EponCardIndex
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"
板卡索引号"
::= { portVlanAggregationConfigEntry 2 }
pvaPortIndex OBJECT-TYPE
SYNTAX EponPortIndex
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"
pon端口/uni端口索引号/ONU ID"
::= { portVlanAggregationConfigEntry 3 }
portAggregationVidIndex OBJECT-TYPE
SYNTAX Unsigned32
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"
端口VLAN聚合组VLAN号"
::= { portVlanAggregationConfigEntry 4 }
aggregationVidList OBJECT-TYPE
SYNTAX OCTET STRING (SIZE (512))
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"
聚合的vlan ID组
采用类似INTERNET比特顺序从左到右的OCTET分别为OCTET 0, OCTET 1, ...
每个OCTET的bit从左到右分别为bit0bit1...bit7。
按照bit和OCTET由小到大的顺序每个bit对应于一个VLANVLAN ID范围为0..4095。
第一个bit对应VLAN 0,最后一个bit对应VLAN 4095。
如果bit置位表示该包括该VLAN否则不包括。"
::= { portVlanAggregationConfigEntry 5 }
aggregationRowStatus OBJECT-TYPE
SYNTAX RowStatus
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"
行状态"
::= { portVlanAggregationConfigEntry 6 }
portVlanTrunkTable OBJECT-TYPE
SYNTAX SEQUENCE OF PortVlanTrunkEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"
端口Vlan trunk表VLAN Trunk表?
This table applies on OLT pon port, OLT SNI, OLT onu ID, ONU UNI.
1. If the table is maintained in OLT device:
Applied Obj - Descriptions of Index
------------------------------------------------------------------
OLT Pon Port - OnuNum of pvtDeviceIndex shall be set to 0,
/OLT SNI pvtCardIndex, and pvtPortIndex set to 0 indicates
meaningless
OLT onu ID - Set pvtDeviceIndex to corresponding ONU ID,
pvtCardIndex, and pvtPortIndex set to 0 indicates
meaningless
ONU UNI - Set pvtDeviceIndex to corresponding ONU ID,
pvtCardIndex, and pvtPortIndex set to the corresponding
value
2. If the table is maintained in ONU device:
pvtDeviceIndex shall be set to 0 to indicate meaningless.
pvtCardIndex shall be set to corresponding slot.
pvtPortIndex shall be set to corresponding port.
"
::= { portVlanGroup 4 }
portVlanTrunkEntry OBJECT-TYPE
SYNTAX PortVlanTrunkEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
" "
INDEX { trunkDeviceIndex, trunkCardIndex, trunkPortIndex }
::= { portVlanTrunkTable 1 }
PortVlanTrunkEntry ::=
SEQUENCE {
trunkDeviceIndex
EponDeviceIndex,
trunkCardIndex
EponCardIndex,
trunkPortIndex
EponPortIndex,
trunkVidList
OCTET STRING,
portVlanTrunkRowStatus
RowStatus
}
trunkDeviceIndex OBJECT-TYPE
SYNTAX EponDeviceIndex
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"
设备索引号。
"
::= { portVlanTrunkEntry 1 }
trunkCardIndex OBJECT-TYPE
SYNTAX EponCardIndex
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"
板卡索引号"
::= { portVlanTrunkEntry 2 }
trunkPortIndex OBJECT-TYPE
SYNTAX EponPortIndex
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"
端口索引号"
::= { portVlanTrunkEntry 3 }
trunkVidList OBJECT-TYPE
SYNTAX OCTET STRING (SIZE (512))
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"
Trunked Vlan List for the port
采用类似INTERNET比特顺序从左到右的OCTET分别为OCTET 0, OCTET 1, ...
每个OCTET的bit从左到右分别为bit0bit1...bit7。
按照bit和OCTET由小到大的顺序每个bit对应于一个VLANVLAN ID范围为0..4095。
第一个bit对应VLAN 0,最后一个bit对应VLAN 4095。
如果bit置位表示该包括该VLAN否则不包括。
"
::= { portVlanTrunkEntry 4 }
portVlanTrunkRowStatus OBJECT-TYPE
SYNTAX RowStatus
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"
行状态"
::= { portVlanTrunkEntry 5 }
qinQConfigGroup OBJECT-IDENTITY
STATUS current
DESCRIPTION
"
QinQ配置组
备注要求OLT/ONU均支持QINQOLT可选ONU必选"
::= { vlanManagementObjects 4 }
portQinQConfigTable OBJECT-TYPE
SYNTAX SEQUENCE OF PortQinQConfigEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"
QinQ配置属性表
This table applies on OLT pon port, OLT SNI, OLT onu ID, ONU UNI.
1. If the table is maintained in OLT device:
Applied Obj - Descriptions of Index
------------------------------------------------------------------
OLT Pon Port - OnuNum of pqDeviceIndex shall be set to 0,
/OLT SNI pqCardIndex, and pqPortIndex set to 0 indicates
meaningless
OLT onu ID - Set pqDeviceIndex to corresponding ONU ID,
pqCardIndex, and pqPortIndex set to 0 indicates
meaningless
ONU UNI - Set pqDeviceIndex to corresponding ONU ID,
pqCardIndex, and pqPortIndex set to the corresponding
value
2. If the table is maintained in ONU device:
pqDeviceIndex shall be set to 0 to indicate meaningless.
pqCardIndex shall be set to corresponding slot.
pqPortIndex shall be set to corresponding port.
"
::= { qinQConfigGroup 1 }
portQinQConfigEntry OBJECT-TYPE
SYNTAX PortQinQConfigEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
" "
INDEX { pqDeviceIndex, pqCardIndex, pqPortIndex, pqStartVlanId, pqEndVlanId }
::= { portQinQConfigTable 1 }
PortQinQConfigEntry ::=
SEQUENCE {
pqDeviceIndex
EponDeviceIndex,
pqCardIndex
EponCardIndex,
pqPortIndex
EponPortIndex,
pqStartVlanId
INTEGER,
pqEndVlanId
INTEGER,
pqSVlanId
INTEGER,
pqSTagCosDetermine
INTEGER,
pqSTagCosNewValue
INTEGER,
pqRowStatus
RowStatus
}
pqDeviceIndex OBJECT-TYPE
SYNTAX EponDeviceIndex
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"
ONU ID, for a specific ONU"
::= { portQinQConfigEntry 1 }
pqCardIndex OBJECT-TYPE
SYNTAX EponCardIndex
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"
板卡索引号"
::= { portQinQConfigEntry 2 }
pqPortIndex OBJECT-TYPE
SYNTAX EponPortIndex
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"
端口索引号"
::= { portQinQConfigEntry 3 }
pqStartVlanId OBJECT-TYPE
SYNTAX INTEGER
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"
The starting VLAN ID, working together with pqEndVlanId,
consists of a VLAN group. The VLAN ID match the VLAN group
will be QinQed with specified outer VLAN
"
::= { portQinQConfigEntry 4 }
pqEndVlanId OBJECT-TYPE
SYNTAX INTEGER
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"
The ending VLAN ID, working together with pqStartVlanId,
consists of a VLAN range. The VLAN ID match the VLAN range
will be QinQed with specified outer VLAN
"
::= { portQinQConfigEntry 5 }
pqSVlanId OBJECT-TYPE
SYNTAX INTEGER
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"
The outer VLAN id to be QinQed"
::= { portQinQConfigEntry 6 }
pqSTagCosDetermine OBJECT-TYPE
SYNTAX INTEGER {
redefine(1),
copyFromCTag(2)
}
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"
What STAG COS will be set for this QinQ instance. It could
be either a new definition or copied from CTAG
"
::= { portQinQConfigEntry 7 }
pqSTagCosNewValue OBJECT-TYPE
SYNTAX INTEGER (0..7)
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"
The new STAG COS value if pqSTagCosDetermine is selected as
redefine(1)
"
DEFVAL { 0 }
::= { portQinQConfigEntry 8 }
pqRowStatus OBJECT-TYPE
SYNTAX RowStatus
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"
"
::= { portQinQConfigEntry 9 }
--
-- END of NSCRTV-EPON-VLAN-MGM-MIB
--
END

View File

@ -0,0 +1,312 @@
NSCRTV-EPONEOC-EPON-MIB DEFINITIONS ::= BEGIN
IMPORTS
BridgeId, Timeout
FROM BRIDGE-MIB
IpAddress, Unsigned32, Integer32, Counter32,OBJECT-TYPE, TimeTicks, Gauge32, Counter64,
MODULE-IDENTITY, OBJECT-IDENTITY, enterprises
FROM SNMPv2-SMI
DateAndTime, MacAddress, TimeStamp, RowStatus, TruthValue, DisplayString, TEXTUAL-CONVENTION
FROM SNMPv2-TC;
nscrtvRoot OBJECT IDENTIFIER ::= { enterprises 17409 }
-- DESCRIPTION
-- "nscrtvRoot定义全国广电设备管理MIB根节点。"
nscrtvHFCemsTree OBJECT IDENTIFIER ::= { nscrtvRoot 1 }
nscrtvEponEocTree OBJECT IDENTIFIER ::= { nscrtvRoot 2}
-- DESCRIPTION
-- "nscrtvEponEocTree定义EPON、EoC管理系统MIB根节点,"
-- "所有EPON、EoC系统的MIB均应在该节点下定义。"
propertyIdent OBJECT IDENTIFIER ::= { nscrtvEponEocTree 1}
-- DESCRIPTION
-- "属性(Property)MIB的分支节点标识。"
alarmsIdent OBJECT IDENTIFIER ::= { nscrtvEponEocTree 2}
-- DESCRIPTION
-- "告警(Alarms)MIB的分支节点标识。"
eponTree OBJECT IDENTIFIER ::= { nscrtvEponEocTree 3}
-- DESCRIPTION
-- "EPON MIB的分支节点标识。"
eoCTree OBJECT IDENTIFIER ::= { nscrtvEponEocTree 4}
-- DESCRIPTION
-- "EoC MIB的分支节点标识。"
eponAlarmTree OBJECT IDENTIFIER ::= { alarmsIdent 11 }
eponTrapObjectGroup OBJECT IDENTIFIER ::= { eponAlarmTree 1 }
eponAlarmObjGroup OBJECT IDENTIFIER ::= { eponAlarmTree 2 }
eponManagementObjGroup OBJECT IDENTIFIER ::= { eponAlarmTree 3 }
systemObjects OBJECT IDENTIFIER ::= { eponTree 1 }
sniObjects OBJECT IDENTIFIER ::= { eponTree 2 }
ponPortObjects OBJECT IDENTIFIER ::= { eponTree 3 }
onuObjects OBJECT IDENTIFIER ::= { eponTree 4 }
uniObjects OBJECT IDENTIFIER ::= { eponTree 5 }
igmpManagementObjects OBJECT IDENTIFIER ::= { eponTree 6 }
vlanManagementObjects OBJECT IDENTIFIER ::= { eponTree 7 }
qosManagementObjects OBJECT IDENTIFIER ::= { eponTree 8 }
stpManagementObjects OBJECT IDENTIFIER ::= { eponTree 9 }
performanceStatisticObjects OBJECT IDENTIFIER ::= { eponTree 10 }
eponLinkedEoCManagementObjects OBJECT IDENTIFIER ::= { eponTree 11 }
EponDeviceIndex ::= TEXTUAL-CONVENTION
STATUS current
DESCRIPTION
"
Epon olt/onu设备索引号。
ONU ID的组成4字节高--低)
Olt device-8bit OLT Card-8bit Pon port-8bit OnuNUM-8bit
Note:
----
1. OLT device must not be 0.
2. Card here shall confirm the last byte definition of EponCardIndex
to indicate the main-slot and sub-slot index.
3. Pon port must not be 0.
4. The useful ONU logical ID MUST never be set to 0, where NUM of 0 has
another meaning, to indicate that the ONU logical ID is meaningless,
or said to not applied.
Usage guide:
-----------
This TC could be used for OLT SNI, OLT PON port, OLT ONU ID
ONU UNI, OLT device, trunk.
If the refered MIB object does not have clear definition,
refer to the following:
Applied Obj - Descriptions of Index
------------------------------------------------------------------
OLT Pon Port - OnuNum shall be set to 0,
OLT SNI - Same as OLT Pon Port
OLT onu ID - Set OnuNUM to corresponding ONU logical ID
ONU UNI - Same as OLT ONU ID
OLT device - Set card, pon port and OnuNUM to 0
Trunk - Card to 0x3F, pon port to trunk ID, OnuNUM to 0
Olt device to corresponding ONU device
"
SYNTAX Unsigned32
EponCardIndex ::= TEXTUAL-CONVENTION
STATUS current
DESCRIPTION
"
板卡索引号
For easy presenting the chassis view by NMS, bCardIndex shall be formatted
in a following manner:
Four bytes of INTEGER, from the most significant byte to the least significant
bytes
-----------------------------------------------------------------------------
Reserved byte Reserved byte Reserved byte Sub-slot 2-bit Main-slot 6-bit
Notes:
-----
1. Reserved bytes shall be set to 0.
2. The main-slot shall be started from 1, and shall be in a consecutive manner,
for all slots, including service slots, control slots, switch slots, power
slots,FAN slots, etc.For example, 1, 2, 3
3. The sub-slot shall be started from 1, and shall be in a consecutive manner.
For example, 1, 2. If no sub-slot concept of a main-slot, set to 0.
4. For fixed device, if no slot concept, NE shall set both main-slot and sub-slot
to 0, to indicate this is meaningless. For modulized device, they MUST not be
set to 0.This definition shall applied to both OLT and ONU.
5. For trunk, since there is no slot concept, set main-slot to all-1 and sub-slot
to 0. This definition shall applied to both OLT and ONU.
For example,
0x00 00 00 0A, represents main-slot 10, no sub-slot
0x00 00 00 42, represents main-slot 2, sub-slot 1
0x00 00 00 3F, represents a trunk
"
SYNTAX Unsigned32
EponPortIndex ::= TEXTUAL-CONVENTION
STATUS current
DESCRIPTION
"
Epon端口索引号
The device port number shall start from 1. Nunber 0 had specific meaning, stands
for portIndex is meaningless, for the situation defined.
"
SYNTAX INTEGER (0..255)
EponAlarmCode ::= TEXTUAL-CONVENTION
STATUS current
DESCRIPTION
"Alarm codes, uniquely indentifies each kind of alarm.
Refer to EPON alarm definition table"
SYNTAX INTEGER (1..65535)
EponAlarmInstance ::= TEXTUAL-CONVENTION
STATUS current
DESCRIPTION
"
Alarm instance, which define the detailed management object
reported the alarm. For example, OLT device 1, slot 2, port 3
reports a port down alarm.
It is represents in OCTET STRING format.
1. The first four OCTET has same definition as EponDeviceIndex TC.
2. The fifth OCTET is the slot definition of ONU, which shall
have same definition as last byte definition in EponCardIndex
TC.
3. The sixth OCTET is the UNI port ID of ONU, which is similar to
EponPortIndex TC.
4. The seventh and eighth OCTETS are reserved and shall be set to
0 at any time, and shall be ignored by maangement system.
For example,
0x01 02 03 04 05 06 00 00, represents OLT device 1, slot 2, port 3,
ONU logical ID 4, slot 5 UNI port 6 of the connected ONU.
"
SYNTAX OCTET STRING ( SIZE (8) )
EponSeverityType ::= TEXTUAL-CONVENTION
STATUS current
DESCRIPTION
"
告警严重程度"
SYNTAX INTEGER
{
critical(1),
major(2),
minor(3),
warning(4),
info(5),
clear(6)
}
AutoNegotiationTechAbility ::= TEXTUAL-CONVENTION
STATUS current
DESCRIPTION
"Technology ability of auto negotiation. Refer to
clause 30.6.1.1.5 of IEEE 802.3 2005 edition"
SYNTAX BITS
{
tenBaseTFullDuplex(1),
tenBaseTHalfDuplex(2),
hundredBaseTFullDuplex(3),
hundredBaseTHalfDuplex(4),
thousandBaseTFullDuplex(5),
thousandBaseTHalfDuplex(6),
thousandBaseXFullDuplex(7),
thousandBaseXHalfDuplex(8),
fdxPause(9),
fdxApause(10),
fdxSpause(11),
fdxBpause(12)
}
TAddress ::= TEXTUAL-CONVENTION
STATUS current
DESCRIPTION
"
First four octets sames definition of IpAddress, stands for NMS IP address
The last four octets same definition of INTEGER, stands for trap UDP port "
SYNTAX OCTET STRING (SIZE (8))
EponStats15MinRecordType ::= TEXTUAL-CONVENTION
STATUS current
DESCRIPTION
"15分钟性能统计记录的索引号
索引号为0表示当前15分钟性能数据
1..96表示历史的15分钟性能1代表最新的数据96代表最老的数据"
SYNTAX INTEGER (0..96)
EponStats24HourRecordType ::= TEXTUAL-CONVENTION
STATUS current
DESCRIPTION
"24小时性能统计记录的索引号
索引号为0表示当前24小时性能数据
1..30表示历史的24小时性能, 1代表最新的数据30代表最老的数据"
SYNTAX INTEGER (0..30)
EponStatsThresholdType ::= TEXTUAL-CONVENTION
STATUS current
DESCRIPTION
"门限类型,见 性能量定义表
1- InOctets
2 InPkts
3 InBroadcastPkts
4 InMulticastPkts
5 InPkts64Octets
6 InPkts65to127Octets
7 InPkts128to255Octets
8 InPkts256to511Octets
9 InPkts512to1023Octets
10 InPkts1024to1518Octets
11 InPkts1519to1522Octets
12 InUndersizePkts
13 InOversizePkts
14 InFragments
15 InMpcpFrames
16 InMpcpOctets
17 InOAMFrames
18 InOAMOctets
19 InCRCErrorPkts
20 InDropEvents
21 InJabbers
22 InCollision
23 OutOctets
24 OutPkts
25 OutBroadcastPkts
26 OutMulticastPkts
27 OutPkts64Octets
28 OutPkts65to127Octets
29 OutPkts128to255Octets
30 OutPkts256to511Octets
31 OutPkts512to1023Octets
32 OutPkts1024to1518Octets
33 OutPkts1519o1522Octets
34 OutUndersizePkts
35 OutOversizePkts
36 OutFragments
37 OutMpcpFrames
38 OutMpcpOctets
39 OutOAMFrames
40 OutOAMOctets
41 OutCRCErrorPkts
42 OutDropEvents
43 OutJabbers
44 OutCollision
50 Temperature
Note:
----------------------------------------------------------------
1. For 50 Temperature, this parameter shall only applied to
a. Slot level, for each service/switch/management card, for
chassis-based system.
b. Node-level, for fixed box.
2. For 50 Temperature, shall be applied to both OLT and ONU
3. For 50 Temperature, since no 15-min performance data collection
are required, system shall ensure the temperature polling interval
no less than 5 seconds. The alarm shall be only generated when the
threshold is acrossed for three continuous intervals, and shall be
cleared, when the threshold is not accrossed any more, for three
continous intervals.
"
SYNTAX INTEGER (1..1024)
--
-- END of NSCRTV-EPONEOC-EPON-MIB
--
END

715
mibs/fs/PIM-BSR-MIB Normal file
View File

@ -0,0 +1,715 @@
PIM-BSR-MIB DEFINITIONS ::= BEGIN
IMPORTS
MODULE-IDENTITY, OBJECT-TYPE,
NOTIFICATION-TYPE,
mib-2, Unsigned32, TimeTicks FROM SNMPv2-SMI
RowStatus, TruthValue,
StorageType FROM SNMPv2-TC
MODULE-COMPLIANCE, OBJECT-GROUP,
NOTIFICATION-GROUP FROM SNMPv2-CONF
gbnL3 FROM ADMIN-MASTER-MIB;
pimBsrMIB MODULE-IDENTITY
LAST-UPDATED "200702040000Z" -- 4 February 2007
ORGANIZATION
"IETF Protocol Independent Multicast (PIM) Working Group"
CONTACT-INFO
"Email: pim@ietf.org
WG charter:
http://www.ietf.org/html.charters/pim-charter.html"
DESCRIPTION
"The MIB module for management of the Bootstrap Router
(BSR) mechanism for PIM routers.
Copyright (C) The IETF Trust (2007). This version
of this MIB module is part of RFC yyyy; see the RFC
itself for full legal notices."
REVISION "200702040000Z" -- 4 February 2007
DESCRIPTION "Initial version, published as RFC yyyy."
::= { gbnL3 9 }
--
-- Top-level structure
--
pimBsrNotifications OBJECT IDENTIFIER ::= { pimBsrMIB 0 }
pimBsrObjects OBJECT IDENTIFIER ::= { pimBsrMIB 1 }
--
-- Conformance Information
--
pimBsrConformance OBJECT IDENTIFIER ::= { pimBsrMIB 2 }
pimBsrCompliances OBJECT IDENTIFIER ::= { pimBsrConformance 1 }
pimBsrGroups OBJECT IDENTIFIER ::= { pimBsrConformance 2 }
--
-- The BSR Candidate-RP Table
--
pimBsrCandidateRPTable OBJECT-TYPE
SYNTAX SEQUENCE OF PimBsrCandidateRPEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"The (conceptual) table listing the IP multicast group
prefixes for which the local router is to advertise
itself as a Candidate-RP."
::= { pimBsrObjects 1 }
pimBsrCandidateRPEntry OBJECT-TYPE
SYNTAX PimBsrCandidateRPEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"An entry (conceptual row) in the
pimBsrCandidateRPTable."
INDEX { pimBsrCandidateRPAddressType,
pimBsrCandidateRPAddress,
pimBsrCandidateRPGroupAddress,
pimBsrCandidateRPGroupPrefixLength }
::= { pimBsrCandidateRPTable 1 }
PimBsrCandidateRPEntry ::= SEQUENCE {
pimBsrCandidateRPAddressType INTEGER,
pimBsrCandidateRPAddress OCTET STRING,
pimBsrCandidateRPGroupAddress OCTET STRING,
pimBsrCandidateRPGroupPrefixLength Unsigned32,
pimBsrCandidateRPBidir TruthValue,
pimBsrCandidateRPAdvTimer TimeTicks,
pimBsrCandidateRPPriority Unsigned32,
pimBsrCandidateRPAdvInterval Unsigned32,
pimBsrCandidateRPHoldtime Unsigned32,
pimBsrCandidateRPStatus RowStatus,
pimBsrCandidateRPStorageType StorageType
}
pimBsrCandidateRPAddressType OBJECT-TYPE
SYNTAX INTEGER
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"The Inet address type of the Candidate-RP."
--C-RP的地址类型IPv4或者IPv6
::= { pimBsrCandidateRPEntry 1 }
pimBsrCandidateRPAddress OBJECT-TYPE
SYNTAX OCTET STRING (SIZE (0..255)) --(SIZE (4|8|16|20))
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"The (unicast) address that will be advertised as a
Candidate-RP. The InetAddressType is given by the
pimBsrCandidateRPAddressType object."
--C-RP的地址此地址为单播地址
::= { pimBsrCandidateRPEntry 2 }
pimBsrCandidateRPGroupAddress OBJECT-TYPE
SYNTAX OCTET STRING (SIZE (0..255)) --(SIZE (4|8|16|20))
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"The IP multicast group address that, when combined with
the corresponding value of
pimBsrCandidateRPGroupPrefixLength, identifies a group
prefix for which the local router will advertise itself
as a Candidate-RP. The InetAddressType is given by the
pimBsrCandidateRPAddressType object."
--对应本条目的C-RP所管理的组地址
::= { pimBsrCandidateRPEntry 3 }
pimBsrCandidateRPGroupPrefixLength OBJECT-TYPE
SYNTAX Unsigned32 (4..128)
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"The multicast group address mask that, when combined
with the corresponding value of
pimBsrCandidateRPGroupAddress, identifies a group prefix
for which the local router will advertise itself as a
Candidate-RP. The InetAddressType is given by the
pimBsrCandidateRPAddressType object."
--多播组前缀长度
::= { pimBsrCandidateRPEntry 4 }
pimBsrCandidateRPBidir OBJECT-TYPE
SYNTAX TruthValue
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"If this object is set to TRUE, this group range is
advertised with this RP as a BIDIR-PIM group range. If
it is set to FALSE, it is advertised as a PIM-SM group
range."
--多播组和组前缀结合所代表的组范围是否Bidir
DEFVAL { false }
::= { pimBsrCandidateRPEntry 5 }
pimBsrCandidateRPAdvTimer OBJECT-TYPE
SYNTAX TimeTicks
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The time remaining before the local router next sends
a Candidate-RP-Advertisement to the elected BSR for
this zone."
--发送下一个C-RP-Adv报文的剩余时间
::= { pimBsrCandidateRPEntry 6 }
pimBsrCandidateRPPriority OBJECT-TYPE
SYNTAX Unsigned32 (0..255)
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"The priority for this Candidate RP advertised in
Candidate-RP-Advertisements."
--优先级用于C-RP-Adv报文中的Priority
REFERENCE "I-D.ietf-pim-sm-bsr section 3.2"
DEFVAL { 192 }
::= { pimBsrCandidateRPEntry 7 }
pimBsrCandidateRPAdvInterval OBJECT-TYPE
SYNTAX Unsigned32 (0..26214)
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"A Candidate RP generates Candidate-RP-Advertisements
periodically. This object represents the time interval
in seconds between two consecutive advertisements."
--发送C-RP-Adv的周期
REFERENCE "I-D.ietf-pim-sm-bsr section 3.2 and section 5"
DEFVAL { 60 }
::= { pimBsrCandidateRPEntry 8 }
pimBsrCandidateRPHoldtime OBJECT-TYPE
SYNTAX Unsigned32 (0..65535)
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"Holdtime for this Candidate RP. The amount of time (in
seconds) this Candidate-RP entry is valid."
--代表本条目作为有效信息需要保存的时间
REFERENCE "I-D.ietf-pim-sm-bsr section 4.2"
DEFVAL { 150 }
::= { pimBsrCandidateRPEntry 9 }
pimBsrCandidateRPStatus OBJECT-TYPE
SYNTAX RowStatus
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"The status of this row, by which new entries may be
created, or old entries deleted from this table."
--本条目状态
::= { pimBsrCandidateRPEntry 10 }
pimBsrCandidateRPStorageType OBJECT-TYPE
SYNTAX StorageType
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"The storage type for this row. Rows having the value
'permanent' need not allow write-access to any columnar
objects in the row."
--本条目存储类型
DEFVAL { nonVolatile }
::= { pimBsrCandidateRPEntry 11 }
--
-- The BSR Elected BSR RP-Set Table
--
pimBsrElectedBSRRPSetTable OBJECT-TYPE
SYNTAX SEQUENCE OF PimBsrElectedBSRRPSetEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"The (conceptual) table listing BSR-specific information
about PIM group mappings learned via C-RP advertisements
or created locally using configurations. This table is
maintained only on the Elected BSR.
An Elected BSR uses this table to create Bootstrap
Messages after applying a local policy to include some
or all of the group mappings in this table."
--Elected BSR RP-Set表只有当本地路由器当选为BSR时才维护该表
--表中包含了所有通过处理受到的C-RP报文而整理出来的Group-to-RP映射信息。
::= { pimBsrObjects 2 }
pimBsrElectedBSRRPSetEntry OBJECT-TYPE
SYNTAX PimBsrElectedBSRRPSetEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"An entry (conceptual row) in the
pimBsrElectedBSRRPSetTable."
--Elected BSR RP-Set表条目
INDEX { pimBsrElectedBSRGrpMappingAddrType,
pimBsrElectedBSRGrpMappingGrpAddr,
pimBsrElectedBSRGrpMappingGrpPrefixLen,
pimBsrElectedBSRGrpMappingRPAddr }
::= { pimBsrElectedBSRRPSetTable 1 }
PimBsrElectedBSRRPSetEntry ::= SEQUENCE {
pimBsrElectedBSRGrpMappingAddrType INTEGER,
pimBsrElectedBSRGrpMappingGrpAddr OCTET STRING,
pimBsrElectedBSRGrpMappingGrpPrefixLen Unsigned32,
pimBsrElectedBSRGrpMappingRPAddr OCTET STRING,
pimBsrElectedBSRRPSetPriority Unsigned32,
pimBsrElectedBSRRPSetHoldtime Unsigned32,
pimBsrElectedBSRRPSetExpiryTime TimeTicks,
pimBsrElectedBSRRPSetGrpBidir TruthValue
}
pimBsrElectedBSRGrpMappingAddrType OBJECT-TYPE
SYNTAX INTEGER
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"The Inet address type of the IP multicast group
prefix."
--映射组播组的IP地址类型IPv4或IPv6
::= { pimBsrElectedBSRRPSetEntry 1 }
pimBsrElectedBSRGrpMappingGrpAddr OBJECT-TYPE
SYNTAX OCTET STRING (SIZE (0..255)) --(SIZE (4|8|16|20))
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"The IP multicast group address which, when combined
with pimBsrElectedBSRGrpMappingGrpPrefixLen, gives the
group prefix for this mapping. The InetAddressType is
given by the pimBsrElectedBSRGrpMappingAddrType object.
This address object is only significant up to
pimBsrElectedBSRGrpMappingGrpPrefixLen bits. The
remainder of the address bits are zero. This is
especially important for this field, which is part of
the index of this entry. Any non-zero bits would
signify an entirely different entry."
--映射组播组的IP地址
::= { pimBsrElectedBSRRPSetEntry 2 }
pimBsrElectedBSRGrpMappingGrpPrefixLen OBJECT-TYPE
SYNTAX Unsigned32 (4..128)
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"The multicast group prefix length that, when combined
with pimBsrElectedBSRGrpMappingGrpAddr, gives the group
prefix for this mapping. The InetAddressType is given by
the pimBsrElectedBSRGrpMappingAddrType object. If
pimBsrElectedBSRGrpMappingAddrType is 'ipv4' or 'ipv4z',
this object must be in the range 4..32. If
pimBsrElectedBSRGrpMappingAddrType is 'ipv6' or 'ipv6z',
this object must be in the range 8..128."
--映射组播组的IP地址前缀长度IPv4取值范围为4到32
::= { pimBsrElectedBSRRPSetEntry 3 }
pimBsrElectedBSRGrpMappingRPAddr OBJECT-TYPE
SYNTAX OCTET STRING (SIZE (0..255)) --(SIZE (4|8|16|20))
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"The IP address of the RP to be used for groups within
this group prefix. The InetAddressType is given by the
pimBsrElectedBSRGrpMappingAddrType object."
--映射RP的IP地址
::= { pimBsrElectedBSRRPSetEntry 4 }
pimBsrElectedBSRRPSetPriority OBJECT-TYPE
SYNTAX Unsigned32 (0..255)
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The priority for RP. Numerically higher values for
this object indicate lower priorities, with the value
zero denoting the highest priority."
--RP的优先级取值范围为0到255值越小优先级越高0的优先级最高
REFERENCE "I-D.ietf-pim-sm-bsr section 4.1"
::= { pimBsrElectedBSRRPSetEntry 5 }
pimBsrElectedBSRRPSetHoldtime OBJECT-TYPE
SYNTAX Unsigned32 (0..65535)
UNITS "seconds"
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The holdtime for RP"
REFERENCE "I-D.ietf-pim-sm-bsr section 4.1"
::= { pimBsrElectedBSRRPSetEntry 6 }
--本C-RP信息的维护时间取值范围为0到65535缺省值为150
pimBsrElectedBSRRPSetExpiryTime OBJECT-TYPE
SYNTAX TimeTicks
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The minimum time remaining before this entry will be
aged out. The value zero indicates that this entry will
never be aged out."
::= { pimBsrElectedBSRRPSetEntry 7 }
--本C-RP信息的老化剩余时间0表示永不老化
pimBsrElectedBSRRPSetGrpBidir OBJECT-TYPE
SYNTAX TruthValue
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"If this object is TRUE, this group range with this
RP is a BIDIR-PIM group range. If it is set to FALSE,
it is a PIM-SM group range."
--是否为BIDIR-PIM的组范围
::= { pimBsrElectedBSRRPSetEntry 8 }
--
-- The BSR Candidate-BSR Table
--
pimBsrCandidateBSRTable OBJECT-TYPE
SYNTAX SEQUENCE OF PimBsrCandidateBSREntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"The (conceptual) table containing Candidate-BSR
configuration for the local router. The table contains
one row for each zone for which the local router is
to advertise itself as a Candidate-BSR."
--Candidate-BSR表每个表项体现了本地路由器在不同的Admin-scoped中配置的C-BSR信息。
--由于我们不支持Admin-scoped的划分因此该表中最多只有一个表项。
::= { pimBsrObjects 3 }
pimBsrCandidateBSREntry OBJECT-TYPE
SYNTAX PimBsrCandidateBSREntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"An entry (conceptual row) in the
pimBsrCandidateBSRTable."
--Candidate-BSR表条目
INDEX { pimBsrCandidateBSRZoneIndex }
::= { pimBsrCandidateBSRTable 1 }
PimBsrCandidateBSREntry ::= SEQUENCE {
pimBsrCandidateBSRZoneIndex Unsigned32,
pimBsrCandidateBSRAddressType INTEGER,
pimBsrCandidateBSRAddress OCTET STRING,
pimBsrCandidateBSRPriority Unsigned32,
pimBsrCandidateBSRHashMaskLength Unsigned32,
pimBsrCandidateBSRElectedBSR TruthValue,
pimBsrCandidateBSRBootstrapTimer TimeTicks,
pimBsrCandidateBSRStatus RowStatus,
pimBsrCandidateBSRStorageType StorageType
}
pimBsrCandidateBSRZoneIndex OBJECT-TYPE
SYNTAX Unsigned32
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"The zone index uniquely identifies the zone on a
device to which this Candidate BSR is attached. There is
one entry for each zone in ipMcastZoneTable. Scope-level
information for this zone can be extracted from
ipMcastZoneTable in IP Multicast MIB.
[I-D.ietf-mboned-ip-mcast-mib]."
--域索引对应ipMcastZoneTable中的域信息。
--由于不支持Administratively Scoped划分因此该字段永远为缺省值0
::= { pimBsrCandidateBSREntry 1 }
pimBsrCandidateBSRAddressType OBJECT-TYPE
SYNTAX INTEGER
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"The address type of the Candidate-BSR."
--C-BSR的地址类型
::= { pimBsrCandidateBSREntry 2 }
pimBsrCandidateBSRAddress OBJECT-TYPE
SYNTAX OCTET STRING (SIZE (0..255))
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"The (unicast) address that the local router will
use to advertise itself as a Candidate-BSR. The
InetAddressType is given by the
pimBsrCandidateBSRAddressType object."
--C-BSR的地址
::= { pimBsrCandidateBSREntry 3 }
pimBsrCandidateBSRPriority OBJECT-TYPE
SYNTAX Unsigned32 (0..255)
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"The priority value for the local router as a
Candidate-BSR for this zone. Numerically higher
values for this object indicate higher priorities."
--该C-BSR在pimBsrCandidateBSRZoneIndex对应的域中的优先级取值范围0到255值越大优先级越高缺省为0
DEFVAL { 0 }
::= { pimBsrCandidateBSREntry 4 }
pimBsrCandidateBSRHashMaskLength OBJECT-TYPE
SYNTAX Unsigned32 (0..128)
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"The hash mask length (used in the RP hash function)
that the local router will advertise in its Bootstrap
messages for this zone. This object defaults
to 30 if pimBsrCandidateBSRAddressType is 'ipv4' or
'ipv4z' , and defaults to 126 if
pimBsrCandidateBSRAddressType is 'ipv6' or 'ipv6z'."
--用于hash函数的掩码长度取值范围0到128IPv4缺省为32IPv6缺省为126
::= { pimBsrCandidateBSREntry 5 }
pimBsrCandidateBSRElectedBSR OBJECT-TYPE
SYNTAX TruthValue
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Whether the local router is the elected BSR for this
zone."
--是否为该域当选的BSR
::= { pimBsrCandidateBSREntry 6 }
pimBsrCandidateBSRBootstrapTimer OBJECT-TYPE
SYNTAX TimeTicks
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The time remaining before the local router next
originates a Bootstrap message for this zone.
Value of this object is zero if
pimBsrCandidateBSRElectedBSR is 'FALSE'."
--发送下一个bootstrap报文的剩余时间当bElectedBSR为FALSE该字段为0
::= { pimBsrCandidateBSREntry 7 }
pimBsrCandidateBSRStatus OBJECT-TYPE
SYNTAX RowStatus
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"The status of this row, by which new entries may
be created, or old entries deleted from this table."
--条目状态
::= { pimBsrCandidateBSREntry 8 }
pimBsrCandidateBSRStorageType OBJECT-TYPE
SYNTAX StorageType
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"The storage type for this row. Rows having the value
'permanent' need not allow write-access to any columnar
objects in the row."
--条目存储类型
DEFVAL { nonVolatile }
::= { pimBsrCandidateBSREntry 9 }
--
-- The BSR Elected-BSR Table
--
pimBsrElectedBSRTable OBJECT-TYPE
SYNTAX SEQUENCE OF PimBsrElectedBSREntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"The (conceptual) table containing information about
elected BSRs. The table contains one row for each
zone for which there is an elected BSR."
--Elected BSR表每个表现说明了不同的Admin-scoped当选的BSR信息。
--由于我们不支持Admin-scoped的划分因此该表中最多只有一个表项。
::= { pimBsrObjects 4 }
pimBsrElectedBSREntry OBJECT-TYPE
SYNTAX PimBsrElectedBSREntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"An entry (conceptual row) in the
pimBsrElectedBSRTable."
--Elected BSR表条目
INDEX { pimBsrElectedBSRZoneIndex }
::= { pimBsrElectedBSRTable 1 }
PimBsrElectedBSREntry ::= SEQUENCE {
pimBsrElectedBSRZoneIndex Unsigned32,
pimBsrElectedBSRAddressType INTEGER,
pimBsrElectedBSRAddress OCTET STRING,
pimBsrElectedBSRPriority Unsigned32,
pimBsrElectedBSRHashMaskLength Unsigned32,
pimBsrElectedBSRExpiryTime TimeTicks
}
pimBsrElectedBSRZoneIndex OBJECT-TYPE
SYNTAX Unsigned32
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"The zone index uniquely identifies the zone on a
device to which this Elected BSR is attached. There
is one entry for each zone in ipMcastZoneTable.
Scope-level information for this zone can be extracted
from ipMcastZoneTable in IP MCAST MIB."
--域索引对应ipMcastZoneTable中的域信息。
--由于不支持Administratively Scoped划分因此该字段永远为缺省值0
::= { pimBsrElectedBSREntry 1 }
pimBsrElectedBSRAddressType OBJECT-TYPE
SYNTAX INTEGER
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"The address type of the elected BSR."
--当选的BSR的地址类型
::= { pimBsrElectedBSREntry 2 }
pimBsrElectedBSRAddress OBJECT-TYPE
SYNTAX OCTET STRING (SIZE (0..255)) --(SIZE (4|8|16|20))
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The (unicast) address of the elected BSR. The
InetAddressType is given by the
pimBsrElectedBSRAddressType object."
--当选的BSR的地址
::= { pimBsrElectedBSREntry 3 }
pimBsrElectedBSRPriority OBJECT-TYPE
SYNTAX Unsigned32 (0..255)
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The priority value for the elected BSR for this address
type. Numerically higher values for this object indicate
higher priorities."
--优先级取值范围0到255值越大优先级越高
::= { pimBsrElectedBSREntry 4 }
pimBsrElectedBSRHashMaskLength OBJECT-TYPE
SYNTAX Unsigned32 (0..128)
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The hash mask length (used in the RP hash function)
advertised by the elected BSR for this zone."
--用于hash函数的掩码长度取值范围0到128
::= { pimBsrElectedBSREntry 5 }
pimBsrElectedBSRExpiryTime OBJECT-TYPE
SYNTAX TimeTicks
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The minimum time remaining before the elected BSR for
this zone will be declared down."
--老化剩余时间
::= { pimBsrElectedBSREntry 6 }
--
-- PIM BSR Notifications
--
pimBsrElectedBSRLostElection NOTIFICATION-TYPE
OBJECTS { pimBsrCandidateBSRElectedBSR }
STATUS current
DESCRIPTION
"A pimBsrElectedBSRLostElection notification should be
generated when current E-BSR lost election to a new
Candidate BSR. Only an E-BSR should generate this
notification.
This notification is generated when
pimBsrCandidateBSRElectedBSR becomes FALSE."
REFERENCE "I-D.ietf-pim-sm-bsr section 3.1"
::= { pimBsrNotifications 1 }
pimBsrCandidateBSRWinElection NOTIFICATION-TYPE
OBJECTS { pimBsrCandidateBSRElectedBSR }
STATUS current
DESCRIPTION
"A pimBsrCandidateBSRWinElection notification should be
generated when a C-BSR wins BSR Election. Only an
E-BSR should generate this notification.
This notification is generated when
pimBsrCandidateBSRElectedBSR becomes TRUE."
REFERENCE "I-D.ietf-pim-sm-bsr section 3.1"
::= { pimBsrNotifications 2 }
--
-- Compliance Statements
--
pimBsrCompliance MODULE-COMPLIANCE
STATUS current
DESCRIPTION
"The compliance statement for PIM routers that implement
the Bootstrap Router (BSR) mechanism."
MODULE -- this module
MANDATORY-GROUPS { pimBsrObjectGroup }
GROUP pimBsrDiagnosticsGroup
DESCRIPTION
"This group is optional."
::= { pimBsrCompliances 1 }
--
-- Units of Conformance
--
pimBsrObjectGroup OBJECT-GROUP
OBJECTS { pimBsrCandidateRPBidir,
pimBsrCandidateRPAdvTimer,
pimBsrCandidateRPPriority,
pimBsrCandidateRPAdvInterval,
pimBsrCandidateRPHoldtime,
pimBsrCandidateRPStatus,
pimBsrElectedBSRRPSetPriority,
pimBsrElectedBSRRPSetHoldtime,
pimBsrElectedBSRRPSetExpiryTime,
pimBsrElectedBSRRPSetGrpBidir,
pimBsrCandidateBSRAddress,
pimBsrCandidateBSRPriority,
pimBsrCandidateBSRHashMaskLength,
pimBsrCandidateBSRElectedBSR,
pimBsrCandidateBSRBootstrapTimer,
pimBsrCandidateBSRStatus,
pimBsrElectedBSRAddress,
pimBsrElectedBSRPriority,
pimBsrElectedBSRHashMaskLength,
pimBsrElectedBSRExpiryTime }
STATUS current
DESCRIPTION
"A collection of objects for managing the Bootstrap
Router (BSR) mechanism for PIM routers."
::= { pimBsrGroups 1 }
pimBsrDiagnosticsGroup NOTIFICATION-GROUP
NOTIFICATIONS { pimBsrElectedBSRLostElection,
pimBsrCandidateBSRWinElection }
STATUS current
DESCRIPTION
"Objects providing additional diagnostics related to
the Bootstrap Router (BSR) mechanism for PIM routers."
::= { pimBsrGroups 2 }
END

65200
mibs/fs/SWITCH Normal file

File diff suppressed because it is too large Load Diff

6982
tests/data/fs-gbn_2800.json Normal file

File diff suppressed because it is too large Load Diff

23420
tests/data/fs-gbn_3800.json Normal file

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff