mibs/MIBS/fs/ERRP-MIB

507 lines
21 KiB
Plaintext
Raw Normal View History

2023-12-05 12:25:34 +01:00
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ʹ<70>ܿ<EFBFBD><DCBF><EFBFBD>
::= { 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 "
--<2D><><EFBFBD>ڵ<EFBFBD><DAB5>ͱ߽<CDB1><DFBD>ڵ<EFBFBD>ʹ<EFBFBD>ô˶<C3B4>ʱ<EFBFBD><CAB1><EFBFBD>Ի<EFBFBD>·<EFBFBD><C2B7><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Խ<EFBFBD><D4BD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Լ<EFBFBD><D4BC><EFBFBD>
::= { 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"
--<2D><><EFBFBD>ڵ<EFBFBD><DAB5><EFBFBD><EFBFBD>⻷·<E2BBB7><C2B7><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʹ<EFBFBD>õij<C3B5>ʱ<EFBFBD><CAB1>ʱ<EFBFBD><CAB1>ֵ<EFBFBD><D6B5><EFBFBD><EFBFBD>ֵ<EFBFBD><D6B5><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ڵ<EFBFBD><DAB5><EFBFBD>HelloTimer<65><72>3<EFBFBD><33><EFBFBD><EFBFBD>
::= { 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."
--<2D><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ե<EFBFBD>ڵ<EFBFBD><DAB5><EFBFBD><EFBFBD>⻷·<E2BBB7><C2B7><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʹ<EFBFBD>õij<C3B5>ʱ<EFBFBD><CAB1>ʱ<EFBFBD><CAB1>ֵ
::= { 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."
--<2D>˿<EFBFBD>UPʱ<50>ڵ<EFBFBD>ʹ<EFBFBD>õĶ˿<C4B6><CBBF><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʱ<EFBFBD><CAB1>ʱ<EFBFBD><CAB1>
::= { errp 5 }
errpDomainTable OBJECT-TYPE
SYNTAX SEQUENCE OF ErrpDomainEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"A table that contains domain-specific information."
--<2D><>errp<72><70><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ɵı<C9B5>
::= { errp 6 }
errpDomainEntry OBJECT-TYPE
SYNTAX ErrpDomainEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"A list of information maintained by every domain."
--<2D><><EFBFBD><EFBFBD>ÿ<EFBFBD><C3BF><EFBFBD><EFBFBD><EFBFBD>ı<EFBFBD><C4B1><EFBFBD>
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."
--<2D><>ID<49><44><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʱʹ<CAB1>ã<EFBFBD>һ<EFBFBD><D2BB><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>һ<EFBFBD><D2BB><EFBFBD><EFBFBD><EFBFBD>ڵ<EFBFBD><DAB5><EFBFBD><EFBFBD>ż<EFBFBD><C5BC><EFBFBD>
::= { 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."
--<2D><><EFBFBD>Ĺ<EFBFBD><C4B9><EFBFBD>VLAN ID, ÿ<><C3BF><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>VLAN<41><4E><EFBFBD>ֱ<EFBFBD><D6B1><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>VLAN<41><4E><EFBFBD>ӿ<EFBFBD><D3BF><EFBFBD>VLAN<41><4E>
--<2D><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Э<EFBFBD><EFBFBD><E9B1A8><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>VLAN<41>д<EFBFBD><D0B4><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ӻ<EFBFBD><D3BB><EFBFBD>Э<EFBFBD><EFBFBD><E9B1A8><EFBFBD><EFBFBD><EFBFBD>ӿ<EFBFBD><D3BF><EFBFBD>VLAN<41>д<EFBFBD><D0B4><EFBFBD><EFBFBD><EFBFBD>
--<2D><><EFBFBD><EFBFBD>ʱֻ<CAB1><D6BB>Ҫָ<D2AA><D6B8><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>VLAN<41><4E><EFBFBD><EFBFBD><EFBFBD>ѱ<EFBFBD><D1B1><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>VLAN IDֵ<44><D6B5>1<EFBFBD><31>VLAN<41><4E>Ϊ<EFBFBD>ӿ<EFBFBD><D3BF><EFBFBD>VLAN<41><4E>
--<2D><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>VLAN<41><4E><EFBFBD>ӿ<EFBFBD><D3BF><EFBFBD>VLAN<41><4E><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ָ<EFBFBD><D6B8>Ϊ<EFBFBD>Ѿ<EFBFBD><D1BE><EFBFBD><EFBFBD>ڵ<EFBFBD>VLAN<41><4E>MAC<41><43>ַѧϰģʽ<C4A3><CABD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ΪIVL<56><4C>
::= { 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."
--<2D><><EFBFBD>Ĺ<EFBFBD><C4B9><EFBFBD>ģʽ
::= { 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."
--<2D><>errp<72><70><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ɵı<C9B5>
::= { errp 7 }
errpRingEntry OBJECT-TYPE
SYNTAX ErrpRingEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"A list of information maintained by every ring."
--<2D><><EFBFBD><EFBFBD>ÿ<EFBFBD><C3BF><EFBFBD><EFBFBD><EFBFBD>ı<EFBFBD><C4B1><EFBFBD>
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."
--<2D><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>̫<EFBFBD><CCAB><EFBFBD><EFBFBD>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."
--<2D><><EFBFBD>ļ<EFBFBD><C4BC><EFBFBD>,0Ϊ<30><CEAA><EFBFBD><EFBFBD>,1Ϊ<31>ӻ<EFBFBD>
::= { 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."
--<2D><><EFBFBD><EFBFBD><EFBFBD>ڻ<EFBFBD><DABB>еĽ<D0B5>ɫ
::= { 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."
--<2D><><EFBFBD><EFBFBD>Ϊ<EFBFBD><CEAA><EFBFBD>ڵ<EFBFBD><DAB5><EFBFBD><EFBFBD>ߴ<EFBFBD><DFB4><EFBFBD><EFBFBD>ڵ<EFBFBD>ʱ<EFBFBD><CAB1>ֵ<EFBFBD><D6B5><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>˿<EFBFBD>,<2C><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>˿<EFBFBD>
::= { 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."
--<2D><><EFBFBD><EFBFBD>Ϊ<EFBFBD><CEAA><EFBFBD>ڵ<EFBFBD><DAB5><EFBFBD><EFBFBD>ߴ<EFBFBD><DFB4><EFBFBD><EFBFBD>ڵ<EFBFBD>ʱ<EFBFBD><CAB1>ֵ<EFBFBD><D6B5><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>˿<EFBFBD>,<2C><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>߽<EFBFBD><DFBD>˿<EFBFBD>
::= { 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."
--ָʾ<D6B8><CABE>ǰ<EFBFBD><C7B0><EFBFBD>Ļ״̬
::= { 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