-- $Id: yamaha-sw-stack.mib.txt,v 1.1 2026/07/27 10:41:01 oishi.mao Exp $ YAMAHA-SW-STACK DEFINITIONS ::= BEGIN IMPORTS MODULE-IDENTITY, NOTIFICATION-TYPE, OBJECT-TYPE, IpAddress, Integer32 FROM SNMPv2-SMI NOTIFICATION-GROUP, OBJECT-GROUP, MODULE-COMPLIANCE FROM SNMPv2-CONF TEXTUAL-CONVENTION, MacAddress FROM SNMPv2-TC SnmpAdminString FROM SNMP-FRAMEWORK-MIB yamahaSW FROM YAMAHA-SMI; yamahaSWStack MODULE-IDENTITY LAST-UPDATED "202607300000Z" ORGANIZATION "Yamaha Corporation" CONTACT-INFO "https://www.yamaha.com/" DESCRIPTION "This MIB module contains a collection of managed objects that apply to network devices supporting stack technology. Stack technology provides the method for collectively utilizing a stack of switching to create a single switching unit." REVISION "202607300000Z" DESCRIPTION "Initial Version." ::= { yamahaSW 14 } -- ------------------------------------------------------------- -- Textual Conventions -- ------------------------------------------------------------- YsstackSwitchEnabled ::= TEXTUAL-CONVENTION STATUS current DESCRIPTION "Enabled or disabled." SYNTAX INTEGER { enabled(1), disabled(2) } YsstackSwitchSubnetType ::= TEXTUAL-CONVENTION STATUS current DESCRIPTION "Subnet type." SYNTAX INTEGER { networkAddress(1), autoIp(2) } YsstackSwitchStatus ::= TEXTUAL-CONVENTION STATUS current DESCRIPTION "Operational status." SYNTAX INTEGER { idle(1), setting(2), active(3), inactive(4), standAlone(5) } YsstackSwitchRoleType ::= TEXTUAL-CONVENTION STATUS current DESCRIPTION "Stack role." SYNTAX INTEGER { main(1), member(2) } YsstackSwitchPortStatus ::= TEXTUAL-CONVENTION STATUS current DESCRIPTION "Port operational state." SYNTAX INTEGER { up(1), down(2) } -- ------------------------------------------------------------- -- Subtrees -- ------------------------------------------------------------- ysstackMIBNotifications OBJECT IDENTIFIER ::= { yamahaSWStack 0 } ysstackMIBObjects OBJECT IDENTIFIER ::= { yamahaSWStack 1 } ysstackMIBConformance OBJECT IDENTIFIER ::= { yamahaSWStack 2 } ysstackMIBConfig OBJECT IDENTIFIER ::= { ysstackMIBObjects 1 } ysstackMIBInfo OBJECT IDENTIFIER ::= { ysstackMIBObjects 2 } -- ------------------------------------------------------------- -- ysstackMIBConfig -- ------------------------------------------------------------- ysstackOperStatus OBJECT-TYPE SYNTAX YsstackSwitchEnabled MAX-ACCESS read-only STATUS current DESCRIPTION "Whether the stack is enabled or disabled." ::= { ysstackMIBConfig 1 } ysstackConfiguredId OBJECT-TYPE SYNTAX Integer32 (1..2147483647) MAX-ACCESS read-only STATUS current DESCRIPTION "The configured stack ID." ::= { ysstackMIBConfig 2 } ysstackSubnetType OBJECT-TYPE SYNTAX YsstackSwitchSubnetType MAX-ACCESS read-only STATUS current DESCRIPTION "The current stacking management subnet address type." ::= { ysstackMIBConfig 3 } ysstackSubnetAddress OBJECT-TYPE SYNTAX IpAddress MAX-ACCESS read-only STATUS current DESCRIPTION "The subnet address assigned to the stack port when the ysstackSubnetType object is set to'networkAddress'(1). If the ysstackSubnetType object is set to 'autoIp'(2), this object is N/A." ::= { ysstackMIBConfig 4 } ysstackVirtualMacAddress OBJECT-TYPE SYNTAX MacAddress MAX-ACCESS read-only STATUS current DESCRIPTION "The virtual MAC address used by the stack." ::= { ysstackMIBConfig 5 } ysstackEnableTrap OBJECT-TYPE SYNTAX YsstackSwitchEnabled MAX-ACCESS read-write STATUS current DESCRIPTION "If this value is set to 1, trap notification such as ysstackEnableTrap is enabled. If this value is set to 2, trap notification is disabled." ::= { ysstackMIBConfig 6 } -- ------------------------------------------------------------- -- ysstackMIBInfo -- ------------------------------------------------------------- -- ------------------------------------------------------------- -- ysstackInfoTable -- ------------------------------------------------------------- ysstackInfoTable OBJECT-TYPE SYNTAX SEQUENCE OF YsstackInfoEntry MAX-ACCESS not-accessible STATUS current DESCRIPTION "This table contains information specific to switches in a stack." ::= { ysstackMIBInfo 1 } ysstackInfoEntry OBJECT-TYPE SYNTAX YsstackInfoEntry MAX-ACCESS not-accessible STATUS current DESCRIPTION "A conceptual row in the ysstackInfoTable describing a switch information." INDEX { ysstackInfoStackId } ::= { ysstackInfoTable 1 } YsstackInfoEntry ::= SEQUENCE { ysstackInfoStackId Integer32, ysstackInfoModelName SnmpAdminString, ysstackInfoStatus YsstackSwitchStatus, ysstackInfoRole YsstackSwitchRoleType, ysstackInfoSerial SnmpAdminString, ysstackInfoMacAddress MacAddress, ysstackInfoDeviceId SnmpAdminString } ysstackInfoStackId OBJECT-TYPE SYNTAX Integer32 (1..2147483647) MAX-ACCESS not-accessible STATUS current DESCRIPTION "Stack ID." ::= { ysstackInfoEntry 1 } ysstackInfoModelName OBJECT-TYPE SYNTAX SnmpAdminString (SIZE (1..63)) MAX-ACCESS read-only STATUS current DESCRIPTION "Model name." ::= { ysstackInfoEntry 2 } ysstackInfoStatus OBJECT-TYPE SYNTAX YsstackSwitchStatus MAX-ACCESS read-only STATUS current DESCRIPTION "Stack status." ::= { ysstackInfoEntry 3 } ysstackInfoRole OBJECT-TYPE SYNTAX YsstackSwitchRoleType MAX-ACCESS read-only STATUS current DESCRIPTION "Stack member's role in th stack." ::= { ysstackInfoEntry 4 } ysstackInfoSerial OBJECT-TYPE SYNTAX SnmpAdminString (SIZE (1..63)) MAX-ACCESS read-only STATUS current DESCRIPTION "The serial Number of the switch." ::= { ysstackInfoEntry 5 } ysstackInfoMacAddress OBJECT-TYPE SYNTAX MacAddress MAX-ACCESS read-only STATUS current DESCRIPTION "The MAC address of the switch." ::= { ysstackInfoEntry 6 } ysstackInfoDeviceId OBJECT-TYPE SYNTAX SnmpAdminString (SIZE (1..63)) MAX-ACCESS read-only STATUS current DESCRIPTION "The device ID of the switch." ::= { ysstackInfoEntry 7 } -- ------------------------------------------------------------- -- ysstackInfoPortTable -- ------------------------------------------------------------- ysstackInfoPortTable OBJECT-TYPE SYNTAX SEQUENCE OF YsstackInfoPortEntry MAX-ACCESS not-accessible STATUS current DESCRIPTION "This table contains stackport specific information." ::= { ysstackMIBInfo 2 } ysstackInfoPortEntry OBJECT-TYPE SYNTAX YsstackInfoPortEntry MAX-ACCESS not-accessible STATUS current DESCRIPTION "A stack port entry." INDEX { ysstackInfoPortStackId, ysstackInfoPortIndex } ::= { ysstackInfoPortTable 1 } YsstackInfoPortEntry ::= SEQUENCE { ysstackInfoPortStackId Integer32, ysstackInfoPortIndex Integer32, ysstackInfoPortStatus YsstackSwitchPortStatus } ysstackInfoPortStackId OBJECT-TYPE SYNTAX Integer32 (1..2147483647) MAX-ACCESS not-accessible STATUS current DESCRIPTION "Stack ID." ::= { ysstackInfoPortEntry 1 } ysstackInfoPortIndex OBJECT-TYPE SYNTAX Integer32 (1..2147483647) MAX-ACCESS not-accessible STATUS current DESCRIPTION "Stack port number." ::= { ysstackInfoPortEntry 2 } ysstackInfoPortStatus OBJECT-TYPE SYNTAX YsstackSwitchPortStatus MAX-ACCESS read-only STATUS current DESCRIPTION "This object is used to describe the link status of the stack port. This object will have following valid values, up(1) : The port is connected and operational down(2): The port is either forced down or not connected" ::= { ysstackInfoPortEntry 3 } -- ------------------------------------------------------------- -- ysstackMIBNotifications -- ------------------------------------------------------------- ysstackPortLinkDownTrap NOTIFICATION-TYPE OBJECTS { ysstackInfoPortStackId, ysstackInfoPortIndex } STATUS current DESCRIPTION "This notification is generated when the link of a stack port is down." ::= { ysstackMIBNotifications 1 } ysstackPortLinkUpTrap NOTIFICATION-TYPE OBJECTS { ysstackInfoPortStackId, ysstackInfoPortIndex } STATUS current DESCRIPTION "This notification is generated when the link of a stack port is up." ::= { ysstackMIBNotifications 2 } ysstackHeartBeatErrorTrap NOTIFICATION-TYPE OBJECTS { ysstackInfoStackId } STATUS current DESCRIPTION "This notification is generated when the member switch has a heartbeat error. " ::= { ysstackMIBNotifications 3 } ysstackMemberPromotedTrap NOTIFICATION-TYPE OBJECTS { ysstackInfoStackId } STATUS current DESCRIPTION "This notification is generated when the member switch is promoted." ::= { ysstackMIBNotifications 4 } -- ------------------------------------------------------------- -- Conformance Information Definition -- ------------------------------------------------------------- -- ------------------------------------------------------------- -- Compliances -- ------------------------------------------------------------- ysstackMIBCompliances OBJECT IDENTIFIER ::= { ysstackMIBConformance 1 } ysstackMIBGroups OBJECT IDENTIFIER ::= { ysstackMIBConformance 2 } ysstackMIBCompliance MODULE-COMPLIANCE STATUS current DESCRIPTION "The compliance statements for entities described in YAMAHA-SW-STACK." MODULE -- this module GROUP ysstackMIBConfigGroup DESCRIPTION "This group contains optional objects. Agents may implement the objects within ysstackMIBConfigGroup that are supported by their capabilities." GROUP ysstackMIBInfoGroup DESCRIPTION "This group contains optional objects. Agents may implement the objects within ysstackMIBInfoGroup that are supported by their capabilities." GROUP ysstackMIBNotificationsGroup DESCRIPTION "This group contains optional notifications. Agents may implement the notifications within ysstackMIBNotificationsGroup that are supported by their capabilities." ::= { ysstackMIBCompliances 1 } -- ------------------------------------------------------------- -- MIB Group -- ------------------------------------------------------------- ysstackMIBConfigGroup OBJECT-GROUP OBJECTS { ysstackOperStatus, ysstackConfiguredId, ysstackSubnetType, ysstackSubnetAddress, ysstackVirtualMacAddress, ysstackEnableTrap } STATUS current DESCRIPTION "A collection of objects that are used for configuration." ::= { ysstackMIBGroups 1 } ysstackMIBInfoGroup OBJECT-GROUP OBJECTS { ysstackInfoModelName, ysstackInfoStatus, ysstackInfoRole, ysstackInfoSerial, ysstackInfoMacAddress, ysstackInfoDeviceId, ysstackInfoPortStatus } STATUS current DESCRIPTION "A collection of objects that are used for information." ::= { ysstackMIBGroups 2 } ysstackMIBNotificationsGroup NOTIFICATION-GROUP NOTIFICATIONS { ysstackPortLinkDownTrap, ysstackPortLinkUpTrap, ysstackHeartBeatErrorTrap, ysstackMemberPromotedTrap } STATUS current DESCRIPTION "A collection of notifications." ::= { ysstackMIBGroups 3 } END