Initial commit

This commit is contained in:
David Leutgeb
2023-12-05 12:25:34 +01:00
commit 98a672123c
4378 changed files with 8817503 additions and 0 deletions

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,93 @@
-- extracted from draft-ietf-idr-bgp4-mibv2-tc-mib-03.txt
-- at Tue Jul 12 06:11:02 2011
-- Renumbered to sit underneath Arista's enterprise.
ARISTA-BGP4V2-TC-MIB DEFINITIONS ::= BEGIN
IMPORTS
MODULE-IDENTITY FROM SNMPv2-SMI
aristaExperiment FROM ARISTA-SMI-MIB
TEXTUAL-CONVENTION FROM SNMPv2-TC;
aristaBgp4V2TC MODULE-IDENTITY
LAST-UPDATED "201408150000Z"
ORGANIZATION "Arista Networks, Inc."
CONTACT-INFO
"Arista Networks, Inc.
Postal: 5453 Great America Parkway
Santa Clara, CA 95054
Tel: +1 408 547-5500
E-mail: snmp@arista.com"
DESCRIPTION
"Textual conventions for BGP-4.
This version was published in
draft-ietf-idr-bgp4-mibv2-13, and
modified to be homed inside the Arista
enterprise. There were no other
modifications.
Copyright (C) The IETF Trust (2011). This
version of this MIB module is part of
draft-ietf-idr-bgp4-mibv2-13.txt;
see the draft itself for full legal notices."
REVISION "201408150000Z"
DESCRIPTION
"Updated postal and e-mail addresses."
REVISION "201210190000Z"
DESCRIPTION
"Renumbered inside the Arista enterprise space."
REVISION "201101170000Z"
DESCRIPTION
"Initial version."
::= { aristaExperiment 2 }
--
-- Textual Conventions
--
AristaBgp4V2IdentifierTC ::= TEXTUAL-CONVENTION
DISPLAY-HINT "1d."
STATUS current
DESCRIPTION
"The representation of a BGP Identifier. BGP Identifiers
are presented in the received network byte order.
The BGP Identifier is displayed as if it is an IP address,
even if it would be an illegal one."
REFERENCE
"RFC 4273, Section 4.2"
SYNTAX OCTET STRING(SIZE (4))
AristaBgp4V2AddressFamilyIdentifierTC ::= TEXTUAL-CONVENTION
STATUS current
DESCRIPTION
"The representation of a BGP AFI. The value of this object
should be restricted to be between the values of 0 and
65535."
REFERENCE
"RFC 4760, Section 3"
SYNTAX INTEGER {
ipv4(1),
ipv6(2)
}
AristaBgp4V2SubsequentAddressFamilyIdentifierTC ::= TEXTUAL-CONVENTION
STATUS current
DESCRIPTION
"The representation of a BGP SAFI"
REFERENCE
"RFC 4760, Section 3. The value of this object should be
restricted to be between the values of 0 and 255."
SYNTAX INTEGER {
unicast(1),
multicast(2),
mpls(4)
}
END

View File

@ -0,0 +1,199 @@
ARISTA-ENTITY-SENSOR-MIB DEFINITIONS ::= BEGIN
IMPORTS
MODULE-IDENTITY, OBJECT-TYPE,
NOTIFICATION-TYPE FROM SNMPv2-SMI
MODULE-COMPLIANCE, OBJECT-GROUP,
NOTIFICATION-GROUP FROM SNMPv2-CONF
entPhysicalIndex, entPhysicalDescr FROM ENTITY-MIB
entStateAlarm FROM ENTITY-STATE-MIB
EntitySensorValue, entPhySensorValue
FROM ENTITY-SENSOR-MIB
SnmpAdminString FROM SNMP-FRAMEWORK-MIB
aristaMibs FROM ARISTA-SMI-MIB;
aristaEntSensorMIB MODULE-IDENTITY
LAST-UPDATED "201408150000Z"
ORGANIZATION "Arista Networks, Inc."
CONTACT-INFO
"Arista Networks, Inc.
Postal: 5453 Great America Parkway
Santa Clara, CA 95054
Tel: +1 408 547-5500
E-mail: snmp@arista.com"
DESCRIPTION
"This MIB module augments the entPhySensorTable of
ENTITY-SENSOR-MIB to provide threshold information for
various sensors in the system. For example, a given device
may have several voltage sensors as well as temperature
sensors each with appropriate threshold support to help
NMS systems detect and alert appropriately.
In addition, on systems where it is supported, if the
sensor value crosses the supported threshold value the system
can generate appropriate notification as well."
REVISION "201408150000Z"
DESCRIPTION "Updated postal and e-mail addresses."
REVISION "201305090950Z"
DESCRIPTION "Initial version of this MIB module."
::= { aristaMibs 12 }
-- Textual Conventions --
aristaEntSensorMibNotifications OBJECT IDENTIFIER
::= { aristaEntSensorMIB 0 }
aristaEntSensorMibObjects OBJECT IDENTIFIER
::= { aristaEntSensorMIB 1 }
aristaEntSensorMibConformance OBJECT IDENTIFIER
::= { aristaEntSensorMIB 2 }
-- entity threshold table --
aristaEntSensorThresholdTable OBJECT-TYPE
SYNTAX SEQUENCE OF AristaEntSensorThresholdEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This table contains threshold information for the
various sensors in the system."
::= { aristaEntSensorMibObjects 1 }
aristaEntSensorThresholdEntry OBJECT-TYPE
SYNTAX AristaEntSensorThresholdEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"A single row containing threshold information for a
sensor. Threshold values are reported using the unit
of EntitySensorValue. If a sensor does not support threshold
data, then an underflow/overflow value is returned.
All the other relevant information for the given sensor can be
obtained from the entPhySensorTable itself."
INDEX { entPhysicalIndex }
::= { aristaEntSensorThresholdTable 1 }
AristaEntSensorThresholdEntry ::= SEQUENCE {
aristaEntSensorThresholdLowWarning EntitySensorValue,
aristaEntSensorThresholdLowCritical EntitySensorValue,
aristaEntSensorThresholdHighWarning EntitySensorValue,
aristaEntSensorThresholdHighCritical EntitySensorValue,
aristaEntSensorStatusDescr SnmpAdminString
}
aristaEntSensorThresholdLowWarning OBJECT-TYPE
SYNTAX EntitySensorValue
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The low thresold value for the given sensor at which point
the entity's alarm status is set to warning."
::= { aristaEntSensorThresholdEntry 1 }
aristaEntSensorThresholdLowCritical OBJECT-TYPE
SYNTAX EntitySensorValue
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The low critical value for the given sensor at which point
the entity's alarm status is set to critical."
::= { aristaEntSensorThresholdEntry 2 }
aristaEntSensorThresholdHighWarning OBJECT-TYPE
SYNTAX EntitySensorValue
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The high thresold value for the given sensor at which point
the entity's alarm status is set to warning."
::= { aristaEntSensorThresholdEntry 3 }
aristaEntSensorThresholdHighCritical OBJECT-TYPE
SYNTAX EntitySensorValue
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The high critical value for the given sensor at which point
the entity's alarm status is set to critical."
::= { aristaEntSensorThresholdEntry 4 }
aristaEntSensorStatusDescr OBJECT-TYPE
SYNTAX SnmpAdminString
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"A textual description of the current status of the sensor.
It serves as a human-readable representation of the operating
status including any threshold alerts."
::= { aristaEntSensorThresholdEntry 5 }
-- Notifications --
aristaEntSensorAlarm NOTIFICATION-TYPE
OBJECTS {
entPhysicalDescr, entPhySensorValue, entStateAlarm
}
STATUS current
DESCRIPTION
"This notification is generated under 2 conditions:
a) When the value of the sensor value crosses a supported
low or high threshold into warning or critical status.
b) If previously the sensor value was in a warning or
critical status but returns back to a normal status."
::= { aristaEntSensorMibNotifications 1 }
-- Conformance and Compliance
aristaEntSensorMibCompliances OBJECT IDENTIFIER
::= { aristaEntSensorMibConformance 1 }
aristaEntSensorMibGroups OBJECT IDENTIFIER
::= { aristaEntSensorMibConformance 2 }
aristaEntSensorMibCompliance MODULE-COMPLIANCE
STATUS current
DESCRIPTION
"The compliance statement for Arista switches that implement
the ARISTA-ENTITY-SENSOR-MIB."
MODULE -- this module
MANDATORY-GROUPS {
aristaEntSensorThresholdGroup,
aristaEntSensorNotificationsGroup
}
::= { aristaEntSensorMibCompliances 1 }
aristaEntSensorThresholdGroup OBJECT-GROUP
OBJECTS {
aristaEntSensorThresholdLowWarning,
aristaEntSensorThresholdLowCritical,
aristaEntSensorThresholdHighWarning,
aristaEntSensorThresholdHighCritical,
aristaEntSensorStatusDescr
}
STATUS current
DESCRIPTION
"The collection of objects that provide threshold
information for the sensors in the system."
::= { aristaEntSensorMibGroups 1 }
aristaEntSensorNotificationsGroup NOTIFICATION-GROUP
NOTIFICATIONS {
aristaEntSensorAlarm
}
STATUS current
DESCRIPTION
"The collection of notifications generated by the system if
sensor(s) change value are not within the acceptable operating
range."
::= { aristaEntSensorMibGroups 2 }
END

View File

@ -0,0 +1,155 @@
-- ARISTA-GENERAL-MIB: Arista General MIB
ARISTA-GENERAL-MIB DEFINITIONS ::= BEGIN
IMPORTS
MODULE-IDENTITY,
OBJECT-TYPE,
Unsigned32 FROM SNMPv2-SMI
MODULE-COMPLIANCE,
OBJECT-GROUP FROM SNMPv2-CONF
DateAndTime FROM SNMPv2-TC
aristaMibs FROM ARISTA-SMI-MIB;
aristaGeneralMib MODULE-IDENTITY
LAST-UPDATED "201711060000Z"
ORGANIZATION "Arista Networks, Inc."
CONTACT-INFO
"Arista Networks, Inc.
Postal: 5453 Great America Parkway
Santa Clara, CA 95054
Tel: +1 408 547-5500
E-mail: snmp@arista.com"
DESCRIPTION
"First draft."
REVISION "201711060000Z"
DESCRIPTION
"Initial version."
::= { aristaMibs 24 }
-- Textual Conventions --
aristaGeneralMibNotifications OBJECT IDENTIFIER
::= { aristaGeneralMib 0 }
aristaGeneralMibObjects OBJECT IDENTIFIER
::= { aristaGeneralMib 1 }
aristaGeneralMibConformance OBJECT IDENTIFIER
::= { aristaGeneralMib 2 }
-- Reload cause table --
aristaReloadCauseTable OBJECT-TYPE
SYNTAX SEQUENCE OF AristaReloadCauseEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"Information describing the reload cause of each CPU unit.
On a modular system, entries for reboot instances of the
standby supervisor are present only when the redundancy
protocol is stateful switchover (SSO)."
::= { aristaGeneralMibObjects 1 }
aristaReloadCauseEntry OBJECT-TYPE
SYNTAX AristaReloadCauseEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This entry contains reload cause information of a CPU unit
for a particular reboot instance."
INDEX {
aristaReloadUnitIndex,
aristaReloadIndex,
aristaReloadCauseIndex
}
::= { aristaReloadCauseTable 1 }
AristaReloadCauseEntry ::= SEQUENCE {
-- INDEX information
aristaReloadUnitIndex Unsigned32,
aristaReloadIndex Unsigned32,
aristaReloadCauseIndex Unsigned32,
-- Reload Cause
aristaReloadCauseDescription OCTET STRING,
aristaReloadTime DateAndTime
}
aristaReloadUnitIndex OBJECT-TYPE
SYNTAX Unsigned32
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"A unique identifier for a CPU unit. On a modular system, it is
the slot number of the supervisor. Unit index 0 mirrors the entries
of the active supervisor. On a fixed system, unit index 0 is for
the whole system."
::= { aristaReloadCauseEntry 1 }
aristaReloadIndex OBJECT-TYPE
SYNTAX Unsigned32
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"A unique key to get the particular reboot instance. Reboot instances
are numbered in reverse chronological order, with the latest reboot
at index 0."
::= { aristaReloadCauseEntry 2 }
aristaReloadCauseIndex OBJECT-TYPE
SYNTAX Unsigned32
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"A unique key to get one of the causes of a particular reboot instance."
::= { aristaReloadCauseEntry 3 }
aristaReloadCauseDescription OBJECT-TYPE
SYNTAX OCTET STRING
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Description for the reload cause."
::= { aristaReloadCauseEntry 4 }
aristaReloadTime OBJECT-TYPE
SYNTAX DateAndTime
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Time when the reload happened."
::= { aristaReloadCauseEntry 5 }
-- Conformance and Compliance --
aristaGeneralMibCompliances OBJECT IDENTIFIER
::= { aristaGeneralMibConformance 1 }
aristaGeneralMibGroups OBJECT IDENTIFIER
::= { aristaGeneralMibConformance 2 }
aristaGeneralMibCompliance MODULE-COMPLIANCE
STATUS current
DESCRIPTION
"The compliance statement for Arista switches that support
the ARISTA-GENERAL-MIB."
MODULE -- this module
MANDATORY-GROUPS {
aristaGeneralMibGroup
}
::= { aristaGeneralMibCompliances 1 }
aristaGeneralMibGroup OBJECT-GROUP
OBJECTS {
aristaReloadCauseDescription,
aristaReloadTime
}
STATUS current
DESCRIPTION
"The collection of objects that provide reload cause
information for the CPU units in the system."
::= { aristaGeneralMibGroups 1 }
END

183
MIBS/arista/ARISTA-IF-MIB Normal file
View File

@ -0,0 +1,183 @@
-- ARISTA-IF-MIB: Arista structure of interface management information
-- Copyright (c) 2014 Arista Networks, Inc. All rights reserved.
ARISTA-IF-MIB DEFINITIONS ::= BEGIN
IMPORTS
MODULE-IDENTITY, OBJECT-TYPE,
TimeTicks, Gauge32, Counter32 FROM SNMPv2-SMI
MODULE-COMPLIANCE, OBJECT-GROUP FROM SNMPv2-CONF
ifIndex FROM IF-MIB
CounterBasedGauge64 FROM HCNUM-TC
aristaMibs FROM ARISTA-SMI-MIB;
aristaIfMIB MODULE-IDENTITY
LAST-UPDATED "201410090000Z"
ORGANIZATION "Arista Networks, Inc."
CONTACT-INFO
"Arista Networks, Inc.
Postal: 5453 Great America Parkway
Santa Clara, CA 95054
Tel: +1 408 547-5500
E-mail: snmp@arista.com"
DESCRIPTION
"The MIB module for reporting additional interface statistics
on Arista devices."
REVISION "201410090000Z"
DESCRIPTION "Initial version."
::= { aristaMibs 15 }
aristaIf OBJECT IDENTIFIER ::= { aristaIfMIB 1 }
aristaIfTable OBJECT-TYPE
SYNTAX SEQUENCE OF AristaIfEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This table contains additional interface statistics not
contained in the IF-MIB."
::= { aristaIf 1 }
aristaIfEntry OBJECT-TYPE
SYNTAX AristaIfEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"An entry containing statistics for a given interface."
INDEX { ifIndex }
::= { aristaIfTable 1 }
AristaIfEntry ::= SEQUENCE {
aristaIfCounterLastUpdated TimeTicks,
aristaIfRateInterval TimeTicks,
aristaIfInPktRate Gauge32,
aristaIfOutPktRate Gauge32,
aristaIfInOctetRate CounterBasedGauge64,
aristaIfOutOctetRate CounterBasedGauge64,
aristaIfRatesLastUpdated TimeTicks,
aristaIfOperStatusChanges Counter32,
aristaIfInAclDrops Counter32
}
aristaIfCounterLastUpdated OBJECT-TYPE
SYNTAX TimeTicks
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The value of sysUpTime at which the counters in the ifTable and ifXTable
were sampled from the hardware."
::= { aristaIfEntry 1 }
aristaIfRateInterval OBJECT-TYPE
SYNTAX TimeTicks
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The amount of time over which the aristaIf*Rate values
are averaged for this interface."
::= { aristaIfEntry 2 }
aristaIfInPktRate OBJECT-TYPE
SYNTAX Gauge32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The rate, in packets per second, of packets inbound on
this interface, averaged over aristaIfRateInterval."
::= { aristaIfEntry 3 }
aristaIfOutPktRate OBJECT-TYPE
SYNTAX Gauge32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The rate, in packets per second, of packets outbound on
this interface, averaged over aristaIfRateInterval."
::= { aristaIfEntry 4 }
aristaIfInOctetRate OBJECT-TYPE
SYNTAX CounterBasedGauge64
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The rate, in octets per second, of data inbound on
this interface, averaged over aristaIfRateInterval."
::= { aristaIfEntry 5 }
aristaIfOutOctetRate OBJECT-TYPE
SYNTAX CounterBasedGauge64
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The rate, in octets per second, of data inbound on
this interface, averaged over aristaIfRateInterval."
::= { aristaIfEntry 6 }
aristaIfRatesLastUpdated OBJECT-TYPE
SYNTAX TimeTicks
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The value of sysUpTime at which the aristaIf*Rate gauges were
last calculated."
::= { aristaIfEntry 7 }
aristaIfOperStatusChanges OBJECT-TYPE
SYNTAX Counter32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The number of times since system boot that ifOperStatus has
changed."
::= { aristaIfEntry 8 }
aristaIfInAclDrops OBJECT-TYPE
SYNTAX Counter32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The number of inbound packets dropped because of an
Access Control List (ACL).
Discontinuities in the value of this counter can occur at
re-initialization of the management system, and at other
times as indicated by the value of
ifCounterDiscontinuityTime."
::= { aristaIfEntry 9 }
-- Conformance information
aristaIfConformance OBJECT IDENTIFIER ::= { aristaIfMIB 2 }
aristaIfGroups OBJECT IDENTIFIER ::= { aristaIfConformance 1 }
aristaIfCompliances OBJECT IDENTIFIER ::= { aristaIfConformance 2 }
-- Compliance statements
aristaIfCompliance MODULE-COMPLIANCE
STATUS current
DESCRIPTION
"The compliance statement for Arista devices
that implement the IF-MIB"
MODULE -- this module
MANDATORY-GROUPS { aristaIfAdditionalInformationGroup }
::= { aristaIfCompliances 1 }
-- Units of conformance
aristaIfAdditionalInformationGroup OBJECT-GROUP
OBJECTS { aristaIfCounterLastUpdated, aristaIfRateInterval,
aristaIfInPktRate, aristaIfOutPktRate,
aristaIfInOctetRate, aristaIfOutOctetRate,
aristaIfRatesLastUpdated, aristaIfOperStatusChanges,
aristaIfInAclDrops }
STATUS current
DESCRIPTION
"A collection of objects providing additional information
above and beyond what the IF-MIB provides, applicable to
all network interfaces."
::= { aristaIfGroups 1 }
END

View File

@ -0,0 +1,286 @@
ARISTA-NEXTHOP-GROUP-MIB DEFINITIONS ::= BEGIN
IMPORTS
MODULE-IDENTITY, OBJECT-TYPE,
Unsigned32, Counter64 FROM SNMPv2-SMI
MODULE-COMPLIANCE, OBJECT-GROUP FROM SNMPv2-CONF
TEXTUAL-CONVENTION FROM SNMPv2-TC
aristaMibs FROM ARISTA-SMI-MIB;
aristaNexthopGroupMIB MODULE-IDENTITY
LAST-UPDATED "201604170000Z"
ORGANIZATION "Arista Networks, Inc."
CONTACT-INFO
"Arista Networks, Inc.
Postal: 5453 Great America Parkway
Santa Clara, CA 95054
Tel: +1 408 547-5500
E-mail: snmp@arista.com"
DESCRIPTION
"This MIB contains information about NextHop Groups (NHG).
General L3 routing creates routing table entries, each of
which are associated with a nexthop. If multiple paths
exist for a specific route, the route points to a set of
nexthops (commonly referred as ECMP or Equal Cost
MultiPath).
Arista devices support a feature which allows customers to
manually create a nexthop list, and use this list to
route packets to the specified set of nexthop
addresses. Customers can associate a tunnel type (GRE,
for example) with the nexthop group, allowing relevant
packets to be tunneled as well. The packet forwarding or
routing decision happens in hardware.
Nexthop group feature gives customers full control of how
a route should be forwarded (tunneled or otherwise). The
number of entries in the nexthop group is also determined
by the user, and directly translates to the number of
nexthop entries in the hardware for the specified route.
Let's provide an example, looking at EOS CLI example.
nexthop-group foo type ip-in-ip
ttl 64
entry 0 tunnel-destination 10.1.1.1
entry 1 tunnel-destination 20.1.1.1
!
ip route 30.1.1.0/24 Nexthop-Group foo
In the above configuration, any packet destined to
30.1.1.0/24 will be forwarded by the nexthop group
'foo'. Each entry inside the nexthop group specifies a
particular nexthop ('tunnel destination') chosen by the
customer. In this example, packets can be forwarded via
either of the nexthop (traffic split equally between the 2
entries).
This MIB module provides information relevant to the
nexthop group feature, specifically the status of various
nexthop groups configured, and traffic statistics."
REVISION "201604170000Z"
DESCRIPTION
"Initial revision of the MIB module."
::= { aristaMibs 21 }
aristaNexthopGroupMibObjects OBJECT IDENTIFIER
::= { aristaNexthopGroupMIB 1 }
aristaNexthopGroupMibConformance OBJECT IDENTIFIER
::= { aristaNexthopGroupMIB 2 }
-- Textual Convention
NexthopGroupName ::= TEXTUAL-CONVENTION
DISPLAY-HINT "255a"
STATUS current
DESCRIPTION
"Each nexthop group configured by the user is associated with
a name, by configuration."
SYNTAX OCTET STRING (SIZE (0..255))
NexthopGroupType ::= TEXTUAL-CONVENTION
STATUS current
DESCRIPTION
"A nexthop group is associated with a type, which determines
the packet forwarding behavior.
Type 'ip' refers to L3 IP routing. A route pointing to a
nexthop group in this case is equivalent to multiple static
route configuration entries each with a particular nexthop.
Types 'gre', 'mpls', 'ip-in-ip' all refer to tunnel types. In
this case a route pointing to the specified nexthop group is
used to tunnel packets using the appropriate encapsulation to
a tunnel destination. The encapsulation information depends on
the tunnel type itself."
SYNTAX INTEGER {
invalid(0),
ipInIp(1),
gre(2),
mpls(3),
ip(4),
mplsOverGre(5)
}
-- Nexthop Group table
aristaNexthopGroupTable OBJECT-TYPE
SYNTAX SEQUENCE OF AristaNexthopGroupEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This table contains information about the nexthop groups
that are present in the device."
::= { aristaNexthopGroupMibObjects 1 }
aristaNexthopGroupEntry OBJECT-TYPE
SYNTAX AristaNexthopGroupEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"A conceptual row, containing information for a specific
nexthop group."
INDEX { aristaNexthopGroupId }
::= { aristaNexthopGroupTable 1 }
AristaNexthopGroupEntry ::= SEQUENCE {
aristaNexthopGroupId Unsigned32,
aristaNexthopGroupName NexthopGroupName,
aristaNexthopGroupType NexthopGroupType
}
aristaNexthopGroupId OBJECT-TYPE
SYNTAX Unsigned32
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"Unique index identifying a nexthop group."
::= { aristaNexthopGroupEntry 1 }
aristaNexthopGroupName OBJECT-TYPE
SYNTAX NexthopGroupName
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Unique name identifying a nexthop group."
::= { aristaNexthopGroupEntry 2 }
aristaNexthopGroupType OBJECT-TYPE
SYNTAX NexthopGroupType
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The type of the nexthop group. The encapsulation information
provided for each entry in the nexthop group corresponds to
the type."
::= { aristaNexthopGroupEntry 3 }
-- Nexthop Group counter table
aristaNexthopGroupCounterTable OBJECT-TYPE
SYNTAX SEQUENCE OF AristaNexthopGroupCounterEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"Each nexthop group contains several entries - each
entry specifies a particular nexthop through which a packet
can be forwarded. There is packet and byte counter information
associated with each such nexthop.
This table represents the per nexthop counter information for
every nexthop group."
::= { aristaNexthopGroupMibObjects 2 }
aristaNexthopGroupCounterEntry OBJECT-TYPE
SYNTAX AristaNexthopGroupCounterEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"A conceptual row, containing counter information for every
nexthop defined inside the nexthop group."
INDEX { aristaNexthopGroupId,
aristaNexthopGroupEntryIndex
}
::= { aristaNexthopGroupCounterTable 1 }
AristaNexthopGroupCounterEntry ::= SEQUENCE {
aristaNexthopGroupEntryIndex Unsigned32,
aristaNexthopGroupCounterIndex Unsigned32,
aristaNexthopGroupCounterPacketCount Counter64,
aristaNexthopGroupCounterByteCount Counter64
}
aristaNexthopGroupEntryIndex OBJECT-TYPE
SYNTAX Unsigned32
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"As described in the beginning of the MIB module each nexthop
group can have multiple entries, one per 'destination' or
'nexthop'. Each entry within a nexthop group has a number or
index as configured by the user. This MIB object represents
the entry index within the nexthop group."
::= { aristaNexthopGroupCounterEntry 1 }
aristaNexthopGroupCounterIndex OBJECT-TYPE
SYNTAX Unsigned32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"For every nexthop within a nexthop group, packet and byte
counters are maintained by the device. Counters can be shared
by multiple such nexthops and the counter index will be the
same for all of those nexthops."
::= { aristaNexthopGroupCounterEntry 2 }
aristaNexthopGroupCounterPacketCount OBJECT-TYPE
SYNTAX Counter64
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The number of packets forwarded through the specific
nexthop. Note that since counters are shared with multiple
nexthops, the packet count is an aggregate of packets
forwarded through all the relevant nexthops."
::= { aristaNexthopGroupCounterEntry 3 }
aristaNexthopGroupCounterByteCount OBJECT-TYPE
SYNTAX Counter64
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The byte count of packets forwarded through the specific
nexthop. Note that since counters are shared with multiple
nexthops, the byte count is an aggregate of packets
forwarded through all the relevant nexthops."
::= { aristaNexthopGroupCounterEntry 4 }
-- Conformance and Compliance
aristaNexthopGroupMibCompliances OBJECT IDENTIFIER
::= { aristaNexthopGroupMibConformance 1 }
aristaNexthopGroupMibGroups OBJECT IDENTIFIER
::= { aristaNexthopGroupMibConformance 2 }
aristaNexthopGroupMibCompliance MODULE-COMPLIANCE
STATUS current
DESCRIPTION
"The compliance statement for Arista switches that implement
the ARISTA-NEXTHOP-GROUP-MIB."
MODULE -- this module
MANDATORY-GROUPS {
aristaNexthopGroupGroup,
aristaNexthopGroupCounterGroup
}
::= { aristaNexthopGroupMibCompliances 1 }
aristaNexthopGroupGroup OBJECT-GROUP
OBJECTS {
aristaNexthopGroupName,
aristaNexthopGroupType
}
STATUS current
DESCRIPTION
"The collection of objects that provide nexthop group
information in the system."
::= { aristaNexthopGroupMibGroups 1 }
aristaNexthopGroupCounterGroup OBJECT-GROUP
OBJECTS {
aristaNexthopGroupCounterIndex,
aristaNexthopGroupCounterPacketCount,
aristaNexthopGroupCounterByteCount
}
STATUS current
DESCRIPTION
"The collection of objects that provide counter information
for every nexthop in the nexthop group."
::= { aristaNexthopGroupMibGroups 2 }
END

View File

@ -0,0 +1,68 @@
-- ARISTA-SMI_MIB: arista structure of management information
-- Copyright (c) 2008 Arista Networks, Inc. All rights reserved.
ARISTA-SMI-MIB DEFINITIONS ::= BEGIN
IMPORTS
MODULE-IDENTITY,
OBJECT-IDENTITY,
enterprises
FROM SNMPv2-SMI;
arista MODULE-IDENTITY
LAST-UPDATED "201408150000Z"
ORGANIZATION "Arista Networks, Inc."
CONTACT-INFO
"Arista Networks, Inc.
Postal: 5453 Great America Parkway
Santa Clara, CA 95054
Tel: +1 408 547-5500
E-mail: snmp@arista.com"
DESCRIPTION
"The Structure of Management Information for the
Arista Networks enterprise."
REVISION "201408150000Z"
DESCRIPTION
"Updated postal and e-mail addresses"
REVISION "201103311300Z"
DESCRIPTION
"Updated postal address and telephone"
REVISION "200810271830Z"
DESCRIPTION
"Initial version."
::= { enterprises 30065 } -- assigned by IANA
aristaProducts OBJECT-IDENTITY
STATUS current
DESCRIPTION
"aristaProducts is the root object identifier from
which sysObjectID values are assigned. Values are
defined in ARISTA-PRODUCTS-MIB."
::= { arista 1 }
aristaModules OBJECT-IDENTITY
STATUS current
DESCRIPTION
"aristaModules provides a root object identifier
from which MODULE-IDENTITY values may be assigned."
::= { arista 2 }
aristaMibs OBJECT-IDENTITY
STATUS current
DESCRIPTION
"aristaMibs provides a root object identifier
for management-related MIBs."
::= { arista 3 }
aristaExperiment OBJECT-IDENTITY
STATUS current
DESCRIPTION
"aristaExperiment provides a root object identifier
for experimental MIBs. The structure of information
for these MIBs can not be guaranteed between releases."
::= { arista 4 }
END

232
MIBS/arista/ARISTA-VRF-MIB Normal file
View File

@ -0,0 +1,232 @@
ARISTA-VRF-MIB DEFINITIONS ::= BEGIN
IMPORTS
MODULE-IDENTITY, OBJECT-TYPE FROM SNMPv2-SMI
MODULE-COMPLIANCE, OBJECT-GROUP FROM SNMPv2-CONF
ifIndex FROM IF-MIB
TEXTUAL-CONVENTION FROM SNMPv2-TC
aristaMibs FROM ARISTA-SMI-MIB;
aristaVrfMIB MODULE-IDENTITY
LAST-UPDATED "201501110000Z"
ORGANIZATION "Arista Networks, Inc."
CONTACT-INFO
"Arista Networks, Inc.
Postal: 5453 Great America Parkway
Santa Clara, CA 95054
Tel: +1 408 547-5500
E-mail: snmp@arista.com"
DESCRIPTION
"This MIB contains information related to Virtual
Routing and Forwarding (VRF).
VRF is a mechanism by which a single device can provide
independent routing instances. This allows customers to
virtually isolate network traffic, and also use overlapping
IP addresses.
Layer3 or routed interfaces in the system will belong to
one VRF at a time. The datapath forwarding logic uses the
VRF membership of the input interface to determine a
specific forwarding table to use for routing the traffic.
VRF can also be used to isolate management traffic from
the rest of the data plane traffic.
This MIB module provides the following pieces of
information:
* A table of all VRFs configured in the system
* A table that contains the VRF membership information
for all routed interfaces in the system by sparsely
augmenting the ifTable."
REVISION "201501110000Z"
DESCRIPTION
"Initial revision of this MIB module."
::= { aristaMibs 18 }
aristaVrfMibObjects OBJECT IDENTIFIER
::= { aristaVrfMIB 1 }
aristaVrfMibConformance OBJECT IDENTIFIER
::= { aristaVrfMIB 2 }
-- Textual Convention
VrfName ::= TEXTUAL-CONVENTION
DISPLAY-HINT "100t"
STATUS current
DESCRIPTION
"A human-readable identifier assigned to every VRF. The
identifier is unique across all VRFs in the system."
SYNTAX OCTET STRING (SIZE (0..100))
VrfRouteDistinguisher ::= TEXTUAL-CONVENTION
DISPLAY-HINT "256a"
STATUS current
DESCRIPTION
"A route distinguisher as defined in [RFC4364], in the form
'<admin>:<local>', where <admin> is the administrator ID
(e.g., an AS number) and <local> is the locally assigned
number."
REFERENCE
"[RFC4364]"
SYNTAX OCTET STRING(SIZE (0..256))
VrfState ::= TEXTUAL-CONVENTION
STATUS current
DESCRIPTION
"The state of a specific VRF. When the administrator
configures a VRF on the system, it stays inactive until a
route distinguisher is assigned to it. Also, when the
administrator deletes a VRF, there can be a small delay
before the VRF is completely unconfigured from the system,
during which time its status becomes inactive."
SYNTAX INTEGER {
active(1),
inactive(2)
}
-- VRF Table
aristaVrfTable OBJECT-TYPE
SYNTAX SEQUENCE OF AristaVrfEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This table contains information about VRFs currently
configured in the system."
::= { aristaVrfMibObjects 1 }
aristaVrfEntry OBJECT-TYPE
SYNTAX AristaVrfEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"A single row containing information for one VRF that is
configured in the system."
INDEX { aristaVrfName }
::= { aristaVrfTable 1 }
AristaVrfEntry ::= SEQUENCE {
aristaVrfName VrfName,
aristaVrfRoutingStatus BITS,
aristaVrfRouteDistinguisher VrfRouteDistinguisher,
aristaVrfState VrfState
}
aristaVrfName OBJECT-TYPE
SYNTAX VrfName
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"The name of the VRF that is represented by this row."
::= { aristaVrfEntry 1 }
aristaVrfRoutingStatus OBJECT-TYPE
SYNTAX BITS {
ipv4(0),
ipv6(1)
}
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The current status of data path routing in this VRF.
Routing for IPv4 and IPv6 packets can be independently
enabled by the administrator for a given VRF. This object
carries the routing status for both the protocol versions.
If data path routing is enabled for a protocol, the bit
for the protocol is 1."
::= { aristaVrfEntry 2 }
aristaVrfRouteDistinguisher OBJECT-TYPE
SYNTAX VrfRouteDistinguisher
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The route distinguisher for this VRF."
::= { aristaVrfEntry 3 }
aristaVrfState OBJECT-TYPE
SYNTAX VrfState
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The state of the VRF."
::= { aristaVrfEntry 4 }
-- Interface Table
aristaVrfIfTable OBJECT-TYPE
SYNTAX SEQUENCE OF AristaVrfIfEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This table augments the ifTable and contains the
VRF membership information for every routed interface
in the system. A row is present only for each active
routed (or layer3) interface."
::= { aristaVrfMibObjects 2 }
aristaVrfIfEntry OBJECT-TYPE
SYNTAX AristaVrfIfEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"VRF membership information for a single routed interface."
INDEX { ifIndex }
::= { aristaVrfIfTable 1 }
AristaVrfIfEntry ::= SEQUENCE {
aristaVrfIfMembership VrfName
}
aristaVrfIfMembership OBJECT-TYPE
SYNTAX VrfName
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The name of the VRF that this routed interface is currently
part of."
::= { aristaVrfIfEntry 1 }
-- Conformance and Compliance
aristaVrfMibCompliances OBJECT IDENTIFIER
::= { aristaVrfMibConformance 1 }
aristaVrfMibGroups OBJECT IDENTIFIER
::= { aristaVrfMibConformance 2 }
aristaVrfMibCompliance MODULE-COMPLIANCE
STATUS current
DESCRIPTION
"The compliance statement for Arista switches that implement
the ARISTA-VRF-MIB."
MODULE -- this module
MANDATORY-GROUPS {
aristaVrfInformationGroup
}
::= { aristaVrfMibCompliances 1 }
aristaVrfInformationGroup OBJECT-GROUP
OBJECTS {
aristaVrfRoutingStatus,
aristaVrfRouteDistinguisher,
aristaVrfState,
aristaVrfIfMembership
}
STATUS current
DESCRIPTION
"The collection of objects that provide VRF information in the
system."
::= { aristaVrfMibGroups 1 }
END