mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
THIS. IS. MIBSA!
git-svn-id: http://www.observium.org/svn/observer/trunk@2799 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
1180
mibs/CISCO-CASA-MIB
Normal file
1180
mibs/CISCO-CASA-MIB
Normal file
File diff suppressed because it is too large
Load Diff
184
mibs/CISCO-L2L3-INTERFACE-CONFIG-MIB
Normal file
184
mibs/CISCO-L2L3-INTERFACE-CONFIG-MIB
Normal file
@@ -0,0 +1,184 @@
|
|||||||
|
-- *****************************************************************
|
||||||
|
-- CISCO-L2L3-INTERFACE-CONFIG-MIB -
|
||||||
|
-- configuration of switchport mode for interfaces
|
||||||
|
--
|
||||||
|
-- February 2000, Cliff Sojourner
|
||||||
|
--
|
||||||
|
-- Copyright (c) 2000 by cisco Systems, Inc.
|
||||||
|
-- All rights reserved.
|
||||||
|
-- *****************************************************************
|
||||||
|
--
|
||||||
|
|
||||||
|
CISCO-L2L3-INTERFACE-CONFIG-MIB DEFINITIONS ::= BEGIN
|
||||||
|
|
||||||
|
IMPORTS
|
||||||
|
MODULE-IDENTITY,
|
||||||
|
OBJECT-TYPE
|
||||||
|
FROM SNMPv2-SMI
|
||||||
|
MODULE-COMPLIANCE,
|
||||||
|
OBJECT-GROUP
|
||||||
|
FROM SNMPv2-CONF
|
||||||
|
TEXTUAL-CONVENTION
|
||||||
|
FROM SNMPv2-TC
|
||||||
|
ifIndex
|
||||||
|
FROM IF-MIB
|
||||||
|
ciscoMgmt
|
||||||
|
FROM CISCO-SMI
|
||||||
|
;
|
||||||
|
|
||||||
|
ciscoL2L3IfConfigMIB MODULE-IDENTITY
|
||||||
|
LAST-UPDATED "200005101900Z"
|
||||||
|
ORGANIZATION "Cisco Systems, Inc."
|
||||||
|
CONTACT-INFO
|
||||||
|
"Cisco Systems
|
||||||
|
Customer Service
|
||||||
|
|
||||||
|
Postal: 170 W Tasman Drive
|
||||||
|
San Jose, CA 95134
|
||||||
|
USA
|
||||||
|
|
||||||
|
Tel: +1 800 553-NETS
|
||||||
|
|
||||||
|
E-mail: cs-snmp@cisco.com"
|
||||||
|
DESCRIPTION
|
||||||
|
"Interface switchport mode configuration management MIB.
|
||||||
|
|
||||||
|
This MIB is used to monitor and control
|
||||||
|
configuration of interface switchport and routed mode."
|
||||||
|
REVISION "200005101900Z"
|
||||||
|
DESCRIPTION
|
||||||
|
"Initial version of this MIB module."
|
||||||
|
::= { ciscoMgmt 151 }
|
||||||
|
|
||||||
|
ciscoL2L3IfConfigMIBObjects OBJECT IDENTIFIER ::= { ciscoL2L3IfConfigMIB 1 }
|
||||||
|
|
||||||
|
cL2L3IfConfig OBJECT IDENTIFIER ::= { ciscoL2L3IfConfigMIBObjects 1 }
|
||||||
|
|
||||||
|
--
|
||||||
|
-- Textual Conventions
|
||||||
|
--
|
||||||
|
|
||||||
|
CL2L3InterfaceMode ::= TEXTUAL-CONVENTION
|
||||||
|
STATUS current
|
||||||
|
DESCRIPTION
|
||||||
|
"The operational mode of the interface.
|
||||||
|
|
||||||
|
For administrative and operational states, valid values are:
|
||||||
|
routed(1), switchport(2).
|
||||||
|
|
||||||
|
routed(1): Routed mode interfaces direct traffic using
|
||||||
|
layer 3 protocols.
|
||||||
|
|
||||||
|
switchport(2): Switchport-mode interfaces direct traffic using
|
||||||
|
layer 2 protocols. A switchport-mode interface can be in
|
||||||
|
access mode, or trunk mode, or multi-mode.
|
||||||
|
|
||||||
|
Switchport interface operating mode can be configured manually,
|
||||||
|
or negotiated by Dynamic Trunking Protocol (DTP) or Dynamic
|
||||||
|
Inter-Switch Link (DISL).
|
||||||
|
|
||||||
|
Access-mode interfaces carry one VLAN's traffic. Access-mode
|
||||||
|
interface parameters are configured in CISCO-VLAN-MEMBERSHIP-MIB.
|
||||||
|
|
||||||
|
Trunk-mode interfaces carry one or more VLANs. VLAN-related
|
||||||
|
trunk-mode interface parameters are configured in CISCO-VTP-MIB.
|
||||||
|
|
||||||
|
Multi-mode interfaces carry one VLAN to each alias of a
|
||||||
|
single connected end-station. VLAN-related multi-mode
|
||||||
|
interface parameters are configured in CISCO-VTP-MIB.
|
||||||
|
"
|
||||||
|
SYNTAX INTEGER { routed(1), switchport(2) }
|
||||||
|
|
||||||
|
--
|
||||||
|
-- switchport interface mode configuration table
|
||||||
|
--
|
||||||
|
|
||||||
|
cL2L3IfTable OBJECT-TYPE
|
||||||
|
SYNTAX SEQUENCE OF CL2L3IfEntry
|
||||||
|
MAX-ACCESS not-accessible
|
||||||
|
STATUS current
|
||||||
|
DESCRIPTION
|
||||||
|
"The table shows the administratively requested and
|
||||||
|
actual operating configuration for switchport interfaces."
|
||||||
|
::= { cL2L3IfConfig 1 }
|
||||||
|
|
||||||
|
cL2L3IfEntry OBJECT-TYPE
|
||||||
|
SYNTAX CL2L3IfEntry
|
||||||
|
MAX-ACCESS not-accessible
|
||||||
|
STATUS current
|
||||||
|
DESCRIPTION
|
||||||
|
"An entry represents the configuration and operation of a
|
||||||
|
switchport interface.
|
||||||
|
|
||||||
|
Entries are created and deleted automatically in tandem
|
||||||
|
with the corresponding ifEntries."
|
||||||
|
INDEX { ifIndex }
|
||||||
|
::= { cL2L3IfTable 1 }
|
||||||
|
|
||||||
|
CL2L3IfEntry ::= SEQUENCE {
|
||||||
|
cL2L3IfModeAdmin CL2L3InterfaceMode,
|
||||||
|
cL2L3IfModeOper CL2L3InterfaceMode
|
||||||
|
}
|
||||||
|
|
||||||
|
cL2L3IfModeAdmin OBJECT-TYPE
|
||||||
|
SYNTAX CL2L3InterfaceMode
|
||||||
|
MAX-ACCESS read-write
|
||||||
|
STATUS current
|
||||||
|
DESCRIPTION
|
||||||
|
"The administratively desired interface mode."
|
||||||
|
::= { cL2L3IfEntry 1 }
|
||||||
|
|
||||||
|
cL2L3IfModeOper OBJECT-TYPE
|
||||||
|
SYNTAX CL2L3InterfaceMode
|
||||||
|
MAX-ACCESS read-only
|
||||||
|
STATUS current
|
||||||
|
DESCRIPTION
|
||||||
|
"The operational interface mode."
|
||||||
|
::= { cL2L3IfEntry 2 }
|
||||||
|
|
||||||
|
|
||||||
|
--
|
||||||
|
-- Notifications
|
||||||
|
--
|
||||||
|
|
||||||
|
-- ciscoL2L3IfConfigMIBNotificationPrefix OBJECT IDENTIFIER ::=
|
||||||
|
-- { ciscoL2L3IfConfigMIB 2 }
|
||||||
|
-- ciscoL2L3IfConfigMIBNotifications OBJECT IDENTIFIER ::=
|
||||||
|
-- { ciscoL2L3IfConfigMIBNotificationPrefix 0 }
|
||||||
|
|
||||||
|
|
||||||
|
--
|
||||||
|
-- Conformance
|
||||||
|
--
|
||||||
|
|
||||||
|
ciscoL2L3IfConfigMIBConformance OBJECT IDENTIFIER
|
||||||
|
::= { ciscoL2L3IfConfigMIB 3 }
|
||||||
|
ciscoL2L3IfConfigMIBCompliances OBJECT IDENTIFIER
|
||||||
|
::= { ciscoL2L3IfConfigMIBConformance 1 }
|
||||||
|
ciscoL2L3IfConfigMIBGroups OBJECT IDENTIFIER
|
||||||
|
::= { ciscoL2L3IfConfigMIBConformance 2 }
|
||||||
|
|
||||||
|
ciscoL2L3IfConfigMIBCompliance MODULE-COMPLIANCE
|
||||||
|
STATUS current
|
||||||
|
DESCRIPTION
|
||||||
|
"The compliance statement for entities which implement
|
||||||
|
the Cisco L2L3 Interface Configuration Management MIB"
|
||||||
|
MODULE -- this module
|
||||||
|
MANDATORY-GROUPS { ciscoL2L3IfConfigMIBGroup }
|
||||||
|
::= { ciscoL2L3IfConfigMIBCompliances 1 }
|
||||||
|
|
||||||
|
--
|
||||||
|
-- Units of Conformance
|
||||||
|
--
|
||||||
|
|
||||||
|
ciscoL2L3IfConfigMIBGroup OBJECT-GROUP
|
||||||
|
OBJECTS {
|
||||||
|
cL2L3IfModeAdmin,
|
||||||
|
cL2L3IfModeOper
|
||||||
|
}
|
||||||
|
STATUS current
|
||||||
|
DESCRIPTION
|
||||||
|
"Interface L2 & L3 mode objects"
|
||||||
|
::= { ciscoL2L3IfConfigMIBGroups 1 }
|
||||||
|
|
||||||
|
END
|
||||||
162
mibs/CISCO-VLAN-IFTABLE-RELATIONSHIP-MIB
Normal file
162
mibs/CISCO-VLAN-IFTABLE-RELATIONSHIP-MIB
Normal file
@@ -0,0 +1,162 @@
|
|||||||
|
-- *****************************************************************
|
||||||
|
-- CISCO-VLAN-IFTABLE-RELATIONSHIP-MIB - show the VLAN-ID and
|
||||||
|
-- ifIndex for routed VLANs (ISL subinterfaces, and SVIs)
|
||||||
|
--
|
||||||
|
-- January 1999, Cliff Sojourner
|
||||||
|
--
|
||||||
|
-- Copyright (c) 1999 by cisco Systems, Inc.
|
||||||
|
-- All rights reserved.
|
||||||
|
-- *****************************************************************
|
||||||
|
--
|
||||||
|
|
||||||
|
CISCO-VLAN-IFTABLE-RELATIONSHIP-MIB DEFINITIONS ::= BEGIN
|
||||||
|
|
||||||
|
IMPORTS
|
||||||
|
MODULE-IDENTITY,
|
||||||
|
OBJECT-TYPE
|
||||||
|
FROM SNMPv2-SMI
|
||||||
|
MODULE-COMPLIANCE, OBJECT-GROUP
|
||||||
|
FROM SNMPv2-CONF
|
||||||
|
ciscoMgmt
|
||||||
|
FROM CISCO-SMI
|
||||||
|
InterfaceIndexOrZero
|
||||||
|
FROM CISCO-TC
|
||||||
|
InterfaceIndex
|
||||||
|
FROM IF-MIB
|
||||||
|
VlanIndex
|
||||||
|
FROM CISCO-VTP-MIB;
|
||||||
|
|
||||||
|
ciscoVlanIfTableRelationshipMIB MODULE-IDENTITY
|
||||||
|
LAST-UPDATED "9904010530Z"
|
||||||
|
ORGANIZATION "Cisco Systems, Inc."
|
||||||
|
CONTACT-INFO
|
||||||
|
"Cisco Systems
|
||||||
|
Customer Service
|
||||||
|
|
||||||
|
Postal: 170 W Tasman Drive
|
||||||
|
San Jose, CA 95134
|
||||||
|
USA
|
||||||
|
|
||||||
|
Tel: +1 800 553-NETS
|
||||||
|
|
||||||
|
E-mail: cs-snmp@cisco.com"
|
||||||
|
DESCRIPTION
|
||||||
|
"Cisco VLAN ifTable Relationship MIB lists VLAN-id and ifIndex
|
||||||
|
information for routed VLAN interfaces.
|
||||||
|
|
||||||
|
A routed VLAN interface is the router interface or sub-interface
|
||||||
|
to which the router's IP address on the VLAN is attached.
|
||||||
|
For example, an ISL, SDE, or 802.1Q encapsulated
|
||||||
|
subinterface, or Switched Virtual Interface (SVI)."
|
||||||
|
::= { ciscoMgmt 128 }
|
||||||
|
|
||||||
|
cviMIBObjects OBJECT IDENTIFIER ::= { ciscoVlanIfTableRelationshipMIB 1 }
|
||||||
|
cviGlobals OBJECT IDENTIFIER ::= { cviMIBObjects 1 }
|
||||||
|
|
||||||
|
cviVlanInterfaceIndexTable OBJECT-TYPE
|
||||||
|
SYNTAX SEQUENCE OF CviVlanInterfaceIndexEntry
|
||||||
|
MAX-ACCESS not-accessible
|
||||||
|
STATUS current
|
||||||
|
DESCRIPTION
|
||||||
|
"The cviVlanInterfaceIndexTable provides a way to
|
||||||
|
translate a VLAN-id in to an ifIndex, so that
|
||||||
|
the routed VLAN interface's routing configuration
|
||||||
|
can be obtained from interface entry in ipRouteTable.
|
||||||
|
|
||||||
|
Note that some routers can have interfaces to multiple
|
||||||
|
VLAN management domains, and therefore can have multiple
|
||||||
|
routed VLAN interfaces which connect to different VLANs
|
||||||
|
having the same VLAN-id. Thus, it is possible to have
|
||||||
|
multiple rows in this table for the same VLAN-id.
|
||||||
|
|
||||||
|
The cviVlanInterfaceIndexTable also provides a way
|
||||||
|
to find the VLAN-id from an ifTable VLAN's ifIndex."
|
||||||
|
::= { cviGlobals 1 }
|
||||||
|
|
||||||
|
CviVlanInterfaceIndexEntry ::= SEQUENCE {
|
||||||
|
cviVlanId VlanIndex,
|
||||||
|
cviPhysicalIfIndex InterfaceIndexOrZero,
|
||||||
|
cviRoutedVlanIfIndex InterfaceIndex
|
||||||
|
}
|
||||||
|
|
||||||
|
cviVlanInterfaceIndexEntry OBJECT-TYPE
|
||||||
|
SYNTAX CviVlanInterfaceIndexEntry
|
||||||
|
MAX-ACCESS not-accessible
|
||||||
|
STATUS current
|
||||||
|
DESCRIPTION
|
||||||
|
"Each entry represents a routed VLAN interface, its
|
||||||
|
corresponding physical port if any, and the ifTable entry
|
||||||
|
for the routed VLAN interface.
|
||||||
|
|
||||||
|
Entries are created by the agent when the routed VLAN interface
|
||||||
|
is created. Operational status of routing does not affect
|
||||||
|
the entries listed here. For routing configuration please refer
|
||||||
|
to ipRouteTable.
|
||||||
|
|
||||||
|
Entries are deleted by the agent when the routed VLAN interface
|
||||||
|
is removed from the system configuration."
|
||||||
|
INDEX { cviVlanId, cviPhysicalIfIndex }
|
||||||
|
::= { cviVlanInterfaceIndexTable 1 }
|
||||||
|
|
||||||
|
cviVlanId OBJECT-TYPE
|
||||||
|
SYNTAX VlanIndex
|
||||||
|
MAX-ACCESS not-accessible
|
||||||
|
STATUS current
|
||||||
|
DESCRIPTION
|
||||||
|
"The VLAN-id number of the routed VLAN interface."
|
||||||
|
::= { cviVlanInterfaceIndexEntry 1 }
|
||||||
|
|
||||||
|
cviPhysicalIfIndex OBJECT-TYPE
|
||||||
|
SYNTAX InterfaceIndexOrZero
|
||||||
|
MAX-ACCESS not-accessible
|
||||||
|
STATUS current
|
||||||
|
DESCRIPTION
|
||||||
|
"For subinterfaces, this object is the ifIndex of the
|
||||||
|
physical interface for the subinterface.
|
||||||
|
|
||||||
|
For Switch Virtual Interfaces (SVIs), this object is zero."
|
||||||
|
::= { cviVlanInterfaceIndexEntry 2 }
|
||||||
|
|
||||||
|
cviRoutedVlanIfIndex OBJECT-TYPE
|
||||||
|
SYNTAX InterfaceIndex
|
||||||
|
MAX-ACCESS read-only
|
||||||
|
STATUS current
|
||||||
|
DESCRIPTION
|
||||||
|
"The index for the ifTable entry associated with
|
||||||
|
this routed VLAN interface."
|
||||||
|
::= { cviVlanInterfaceIndexEntry 3 }
|
||||||
|
|
||||||
|
|
||||||
|
cviMIBConformance OBJECT IDENTIFIER ::= { cviMIBObjects 3 }
|
||||||
|
cviMIBCompliances OBJECT IDENTIFIER ::= { cviMIBConformance 1 }
|
||||||
|
cviMIBGroups OBJECT IDENTIFIER ::= { cviMIBConformance 2 }
|
||||||
|
|
||||||
|
--
|
||||||
|
-- Conformance
|
||||||
|
--
|
||||||
|
|
||||||
|
cviMIBCompliance MODULE-COMPLIANCE
|
||||||
|
STATUS current
|
||||||
|
DESCRIPTION
|
||||||
|
"The compliance statement for entities which implement
|
||||||
|
the CISCO-VLAN-INTERFACE-MIB"
|
||||||
|
MODULE -- this module
|
||||||
|
MANDATORY-GROUPS { cviMIBGroup }
|
||||||
|
::= { cviMIBCompliances 1 }
|
||||||
|
|
||||||
|
--
|
||||||
|
-- Units of Conformance
|
||||||
|
--
|
||||||
|
|
||||||
|
cviMIBGroup OBJECT-GROUP
|
||||||
|
OBJECTS {
|
||||||
|
cviRoutedVlanIfIndex
|
||||||
|
}
|
||||||
|
STATUS current
|
||||||
|
DESCRIPTION
|
||||||
|
"A set of objects to obtain VLAN-ID and ifIndex
|
||||||
|
information for routed VLAN interfaces."
|
||||||
|
::= { cviMIBGroups 1 }
|
||||||
|
|
||||||
|
END
|
||||||
|
|
||||||
Reference in New Issue
Block a user