-- ================================================================== -- Copyright (c) 2009-2023 FS.COM Inc. All Rights Reserved. -- -- Description: Loopback detection MIB -- Reference: -- Version: V1.5 -- History: -- V1.0 2008-09-27 Created by LuoXuefang -- V1.1 2009-03-30 Added fsLpbkdtTrapPerVlanLoopbacked, -- fsLpbkdtTrapPerVlanRecovered and -- fsLpbkdtObjects by TongWei. -- V1.2 2014-07-26 Added fsLpbkdtVlanEnable, fsLpbkdtAction, -- fsLpbkdtIntervalTime, fsLpbkdtPortTable, -- fsLpbkdtPortEntry, fsLpbkdtPortIfIndex, -- fsLpbkdtPortVlanEnable, fsLpbkdtPortAction and -- fsLpbkdtPortLoopbacked by ZhangWei. -- V1.3 2022-05-27 Added fsLpbkdtTrapVsiLoopbacked, -- fsLpbkdtTrapVsiRecovered by zhengjun. -- V1.4 2022-07-18 Added fsLpbkdtTrapActionLOG, fsLpbkdtTrapActionLOGClear, -- fsLpbkdtTrapActionBlock, fsLpbkdtTrapActionBlockClear, -- fsLpbkdtTrapActionDown, fsLpbkdtTrapActionDownClear -- by zhengjun. -- V1.5 2023-06-06 Added fsLpbkdtTrapVsiBlockFailed by zhengjun. -- ================================================================== FS-LPBKDT-MIB DEFINITIONS ::= BEGIN IMPORTS fsCommon FROM FS-OID-MIB ifIndex, ifDescr FROM IF-MIB VlanId FROM Q-BRIDGE-MIB TEXTUAL-CONVENTION, TruthValue, DisplayString FROM SNMPv2-TC OBJECT-TYPE, MODULE-IDENTITY, NOTIFICATION-TYPE, Integer32 FROM SNMPv2-SMI InterfaceIndex FROM IF-MIB; fsLpbkdt MODULE-IDENTITY LAST-UPDATED "202306061111Z" -- June 06, 2023 at 11:11 GMT ORGANIZATION "Fiberstore Co.,Limited" CONTACT-INFO "" DESCRIPTION "Loops may cause broadcast storms. The purpose of loopback detection is to detect loops on the device and to protect the network." REVISION "202306061111Z" DESCRIPTION "Added fsLpbkdtTrapVsiBlockFailed." REVISION "202207181101Z" DESCRIPTION "Added new trap fsLpbkdtTrapActionLOG, fsLpbkdtTrapActionLOGClear, fsLpbkdtTrapActionBlock, fsLpbkdtTrapActionBlockClear, fsLpbkdtTrapActionDown, fsLpbkdtTrapActionDownClear." REVISION "202205280926Z" DESCRIPTION "Added new trap fsLpbkdtTrapVsiLoopbacked, fsLpbkdtTrapVsiRecovered." REVISION "201407261518Z" DESCRIPTION "Added new nodes to configure the loop detection." REVISION "200903301741Z" DESCRIPTION "To fix bugs in the MIB file." REVISION "200809271504Z" DESCRIPTION "The initial revision of this MIB module." ::= { fsCommon 95 } -- ================================================================== -- -- ======================= definition begin ========================= -- -- ================================================================== FsLpbkdtActionType ::= TEXTUAL-CONVENTION STATUS current DESCRIPTION "Loopback detection action on the port on which a loop is detected. When a loop is detected on a port, the device generates a log. The enumeration 'none(1)' means that the device performs no action on the port. The enumeration 'block(2)' means that the device disables MAC address learning and blocks traffic on the port. The enumeration 'nolearning(3)' means that the device disables MAC address learning on the port. The enumeration 'shutdown(4)' means that the device shuts down the port. The device automatically sets the port to the forwarding state after the time interval configured." SYNTAX INTEGER { none(1), block(2), nolearning(3), shutdown(4) } fsLpbkdtNotifications OBJECT IDENTIFIER ::= { fsLpbkdt 1 } fsLpbkdtObjects OBJECT IDENTIFIER ::= { fsLpbkdt 2 } fsLpbkdtTrapPrefix OBJECT IDENTIFIER ::= { fsLpbkdtNotifications 0 } fsLpbkdtTrapLoopbacked NOTIFICATION-TYPE OBJECTS { ifIndex, ifDescr } STATUS current DESCRIPTION "Trap message is generated when the interface is looped." ::= { fsLpbkdtTrapPrefix 1 } fsLpbkdtTrapRecovered NOTIFICATION-TYPE OBJECTS { ifIndex, ifDescr } STATUS current DESCRIPTION "Trap message is generated when the loops on the interface are eliminated." ::= { fsLpbkdtTrapPrefix 2 } fsLpbkdtTrapPerVlanLoopbacked NOTIFICATION-TYPE OBJECTS { ifIndex, ifDescr, fsLpbkdtVlanID } STATUS current DESCRIPTION "Trap message is generated when the interface is looped in the VLAN." ::= { fsLpbkdtTrapPrefix 3 } fsLpbkdtTrapPerVlanRecovered NOTIFICATION-TYPE OBJECTS { ifIndex, ifDescr, fsLpbkdtVlanID } STATUS current DESCRIPTION "Trap message is generated when the loop on the interface is eliminated in the VLAN." ::= { fsLpbkdtTrapPrefix 4 } fsLpbkdtTrapVsiLoopbacked NOTIFICATION-TYPE OBJECTS { ifIndex, fsLpbkdtACName, fsLpbkdtVsiName, fsLpbkdtSVlanID, fsLpbkdtCVlanID } STATUS current DESCRIPTION "This trap message is generated when an interface is looped in a VSI." ::= { fsLpbkdtTrapPrefix 5 } fsLpbkdtTrapVsiRecovered NOTIFICATION-TYPE OBJECTS { ifIndex, fsLpbkdtACName, fsLpbkdtVsiName } STATUS current DESCRIPTION "This trap message is generated when the loops on a VSI are eliminated." ::= { fsLpbkdtTrapPrefix 6 } fsLpbkdtTrapActionLOG NOTIFICATION-TYPE OBJECTS { ifIndex, ifDescr } STATUS current DESCRIPTION "This trap message is generated when the log action is triggered by a loop on an interface." ::= { fsLpbkdtTrapPrefix 7 } fsLpbkdtTrapActionLOGClear NOTIFICATION-TYPE OBJECTS { ifIndex, ifDescr } STATUS current DESCRIPTION "This trap message is generated when a loop is removed from an interface when the log action is triggered." ::= { fsLpbkdtTrapPrefix 8 } fsLpbkdtTrapActionBlock NOTIFICATION-TYPE OBJECTS { ifIndex, ifDescr } STATUS current DESCRIPTION "This trap message is generated when the block action is triggered by a loop on an interface." ::= { fsLpbkdtTrapPrefix 9 } fsLpbkdtTrapActionBlockClear NOTIFICATION-TYPE OBJECTS { ifIndex, ifDescr } STATUS current DESCRIPTION "This trap message is generated when a loop is removed froam an interface where the block is triggered." ::= { fsLpbkdtTrapPrefix 10 } fsLpbkdtTrapActionDown NOTIFICATION-TYPE OBJECTS { ifIndex, ifDescr } STATUS current DESCRIPTION "This trap message is generated when the shutdown action triggeded by a loop on an interface." ::= { fsLpbkdtTrapPrefix 11 } fsLpbkdtTrapActionDownClear NOTIFICATION-TYPE OBJECTS { ifIndex, ifDescr } STATUS current DESCRIPTION "This trap message is generated when a loop is removed from an interface where the shutdown action is triggered." ::= { fsLpbkdtTrapPrefix 12 } fsLpbkdtTrapVsiBlockFailed NOTIFICATION-TYPE OBJECTS { ifIndex, ifDescr, fsLpbkdtVsiName, fsLpbkdtSrvID } STATUS current DESCRIPTION "This trap is generated when a VSI blocking failure occurs on the interface." ::= { fsLpbkdtTrapPrefix 13 } fsLpbkdtVlanID OBJECT-TYPE SYNTAX VlanId MAX-ACCESS accessible-for-notify STATUS current DESCRIPTION "The ID of VLAN." ::= { fsLpbkdtObjects 1 } fsLpbkdtVlanEnable OBJECT-TYPE SYNTAX OCTET STRING(SIZE(512)) MAX-ACCESS read-write STATUS current DESCRIPTION "Whether the loop detection is enabled globally for the VLANs. Each octet within this value specifies a set of eight VLANs, with the first octet specifying VLANs 1 through 8, the second octet specifying VLANs 9 through 16, etc. Within each octet, the most significant bit represents the highest numbered VLAN, and the least significant bit represents the lowest numbered VLAN. Thus, each VLAN is represented by a single bit within the value of this object. A bit with a value of '1' indicates that the loop detection is enabled globally for the VLAN; the loop detection is disabled globally for the VLAN if its bit has a value of '0'. The 4095th and 4096th bits must be have a value of '0'." ::= { fsLpbkdtObjects 2 } fsLpbkdtAction OBJECT-TYPE SYNTAX FsLpbkdtActionType MAX-ACCESS read-write STATUS current DESCRIPTION "Global loopback detection action on the port on which a loop is detected. The global action applies to all ports. The per-port action takes precedence over the global action." DEFVAL { none } ::= { fsLpbkdtObjects 3 } fsLpbkdtIntervalTime OBJECT-TYPE SYNTAX Integer32(1..300) MAX-ACCESS read-write STATUS current DESCRIPTION "The interval at which loop detection frames are transmitted." DEFVAL { 30 } ::= { fsLpbkdtObjects 4 } fsLpbkdtPortTable OBJECT-TYPE SYNTAX SEQUENCE OF FsLpbkdtPortEntry MAX-ACCESS not-accessible STATUS current DESCRIPTION "A table containing information about the loop detection configurations and status for individual ports." ::= { fsLpbkdtObjects 5 } fsLpbkdtPortEntry OBJECT-TYPE SYNTAX FsLpbkdtPortEntry MAX-ACCESS not-accessible STATUS current DESCRIPTION "Detailed information of a specified port." INDEX { fsLpbkdtPortIfIndex } ::= { fsLpbkdtPortTable 1 } FsLpbkdtPortEntry ::= SEQUENCE { fsLpbkdtPortIfIndex InterfaceIndex, fsLpbkdtPortVlanEnable OCTET STRING, fsLpbkdtPortAction FsLpbkdtActionType, fsLpbkdtPortLoopbacked TruthValue } fsLpbkdtPortIfIndex OBJECT-TYPE SYNTAX InterfaceIndex MAX-ACCESS not-accessible STATUS current DESCRIPTION "The ifIndex of the port." ::={ fsLpbkdtPortEntry 1 } fsLpbkdtPortVlanEnable OBJECT-TYPE SYNTAX OCTET STRING(SIZE(512)) MAX-ACCESS read-write STATUS current DESCRIPTION "Whether the loop detection is enabled on the port for the VLANs. Each octet within this value specifies a set of eight VLANs, with the first octet specifying VLANs 1 through 8, the second octet specifying VLANs 9 through 16, etc. Within each octet, the most significant bit represents the highest numbered VLAN, and the least significant bit represents the lowest numbered VLAN. Thus, each VLAN is represented by a single bit within the value of this object. A bit with a value of '1' indicates that the loop detection is enabled on the port for the VLAN; the loop detection is disabled on the port for the VLAN if its bit has a value of '0'. The 4095th and 4096th bits must be have a value of '0'." ::={ fsLpbkdtPortEntry 2 } fsLpbkdtPortAction OBJECT-TYPE SYNTAX FsLpbkdtActionType MAX-ACCESS read-write STATUS current DESCRIPTION "Loopback detection action on the port on which a loop is detected. The per-port action takes precedence over the global action." ::={ fsLpbkdtPortEntry 3 } fsLpbkdtPortLoopbacked OBJECT-TYPE SYNTAX TruthValue MAX-ACCESS read-only STATUS current DESCRIPTION "Whether the port is looped." ::={ fsLpbkdtPortEntry 4 } fsLpbkdtTrapOjbects OBJECT IDENTIFIER ::= { fsLpbkdtNotifications 1 } fsLpbkdtVsiName OBJECT-TYPE SYNTAX DisplayString (SIZE (0..255)) MAX-ACCESS accessible-for-notify STATUS current DESCRIPTION "VSI name." ::= { fsLpbkdtTrapOjbects 1 } fsLpbkdtSVlanID OBJECT-TYPE SYNTAX VlanId MAX-ACCESS accessible-for-notify STATUS current DESCRIPTION "Outer VLAN ID." ::= { fsLpbkdtTrapOjbects 2 } fsLpbkdtCVlanID OBJECT-TYPE SYNTAX VlanId MAX-ACCESS accessible-for-notify STATUS current DESCRIPTION "Inner VLAN ID." ::= { fsLpbkdtTrapOjbects 3 } fsLpbkdtACName OBJECT-TYPE SYNTAX DisplayString (SIZE (0..255)) MAX-ACCESS accessible-for-notify STATUS current DESCRIPTION "Ethernet service instance name." ::= { fsLpbkdtTrapOjbects 4 } fsLpbkdtSrvID OBJECT-TYPE SYNTAX Integer32(1..4096) MAX-ACCESS accessible-for-notify STATUS current DESCRIPTION "Service instance ID." ::= { fsLpbkdtTrapOjbects 5 } END