1HP-ICF-UDLD-MIB DEFINITIONS ::= BEGIN
2
3IMPORTS
4    OBJECT-TYPE, MODULE-IDENTITY, NOTIFICATION-TYPE, Integer32,
5    Counter32, Unsigned32
6        FROM SNMPv2-SMI
7    MODULE-COMPLIANCE, OBJECT-GROUP, NOTIFICATION-GROUP
8        FROM SNMPv2-CONF
9    MacAddress, TimeInterval
10        FROM SNMPv2-TC
11    ifIndex
12            FROM IF-MIB
13    hpSwitch
14        FROM HP-ICF-OID;
15
16hpicfUdldMIB MODULE-IDENTITY
17    LAST-UPDATED "200604100000Z"   --April 10, 2006
18    ORGANIZATION "Hewlett-Packard Company
19                  ProCurve Networking Business"
20    CONTACT-INFO "Hewlett-Packard Company
21                  8000 Foothills Blvd.
22                  Roseville, CA 95747"
23    DESCRIPTION  "This MIB module describes objects to configure
24		              the Unidirectional Link Detection (UDLD) feature."
25    REVISION     "200604100000Z"
26    DESCRIPTION  "Initial revision."
27
28    ::= { hpSwitch 33 }
29
30-- **********************************************************************
31-- The UDLD MIB Groups
32-- **********************************************************************
33hpicfUdldNotifications  OBJECT IDENTIFIER ::= { hpicfUdldMIB 0 }
34hpicfUdldObjects        OBJECT IDENTIFIER ::= { hpicfUdldMIB 1 }
35hpicfUdldConformance    OBJECT IDENTIFIER ::= { hpicfUdldMIB 2 }
36
37-- **********************************************************************
38-- The UDLD MIB Objects
39-- **********************************************************************
40hpicfUdldConfig           OBJECT IDENTIFIER ::= { hpicfUdldObjects 1 }
41hpicfUdldStats            OBJECT IDENTIFIER ::= { hpicfUdldObjects 2 }
42
43
44-- **********************************************************************
45-- Start of MIB objects
46-- **********************************************************************
47
48hpicfUdldConfigTimeInterval OBJECT-TYPE
49    SYNTAX      Unsigned32 (10..100)
50    MAX-ACCESS  read-write
51    STATUS      current
52    DESCRIPTION "The interval in seconds at which the UDLD enabled ports exchange
53                 proprietary pulse packet. Here 10 is 1 sec, 11 is 1.1 sec,
54                 and so on. The default value for hpicfUdldConfigTimeInterval
55                 object is 5 seconds."
56
57    DEFVAL      { 50 } -- five second
58
59    ::= { hpicfUdldConfig 1 }
60
61hpicfUdldConfigMaxRetries OBJECT-TYPE
62    SYNTAX      Unsigned32  (3..10)
63    MAX-ACCESS  read-write
64    STATUS      current
65    DESCRIPTION "Maximum number of retries to wait for a response.
66                The default value for hpicfUdldConfigMaxRetries object is
67                4."
68
69    DEFVAL      { 4 }
70    ::= { hpicfUdldConfig 2 }
71
72-- Start of hpicfUdldPortConfigTable ************************************
73
74hpicfUdldPortConfigTable OBJECT-TYPE
75    SYNTAX      SEQUENCE OF HpicfUdldPortConfigEntry
76    MAX-ACCESS  not-accessible
77    STATUS      current
78    DESCRIPTION "The table that controls UDLD status on individual ports."
79    ::= { hpicfUdldConfig 3 }
80
81hpicfUdldPortConfigEntry OBJECT-TYPE
82    SYNTAX      HpicfUdldPortConfigEntry
83    MAX-ACCESS  not-accessible
84    STATUS      current
85    DESCRIPTION "An entry in the hpicfUdldPortConfigTable."
86    INDEX       { ifIndex }
87    ::= { hpicfUdldPortConfigTable 1 }
88
89HpicfUdldPortConfigEntry ::= SEQUENCE {
90    hpicfUdldPortAdminStatus    INTEGER,
91    hpicfUdldPortVlanId         Integer32
92  }
93
94hpicfUdldPortAdminStatus OBJECT-TYPE
95    SYNTAX INTEGER {
96       enable(1),
97       disable(2)
98    }
99    MAX-ACCESS read-write
100    STATUS     current
101    DESCRIPTION "The hpicfUdldPortAdminStatus can be enabled/disabled
102                The value enable(1) means that UDLD is enabled.
103                the value disable(2) means that UDLD is disabled."
104    ::= { hpicfUdldPortConfigEntry 1 }
105
106hpicfUdldPortVlanId OBJECT-TYPE
107    SYNTAX      Integer32 (0..4094)
108    MAX-ACCESS  read-write
109    STATUS      current
110    DESCRIPTION "The vlan id associated with tagged UDLD control
111                packets. The value of 0 indicates that UDLD control
112                packets are untagged."
113    ::= { hpicfUdldPortConfigEntry 2 }
114
115-- End of hpicfUdldPortConfigTable **************************************
116
117
118--
119--  ***********************************************************
120--
121--                   UDLD   S T A T S
122--
123--  ***********************************************************
124--
125
126hpicfUdldPortStatsTable   OBJECT-TYPE
127    SYNTAX      SEQUENCE OF HpicfUdldPortStatsEntry
128    MAX-ACCESS  not-accessible
129    STATUS      current
130    DESCRIPTION
131            "A table containing UDLD statistics for
132            individual ports."
133
134    ::= { hpicfUdldStats 1 }
135
136hpicfUdldPortStatsEntry   OBJECT-TYPE
137     SYNTAX      HpicfUdldPortStatsEntry
138     MAX-ACCESS  not-accessible
139     STATUS      current
140     DESCRIPTION
141             "UDLD statistics for a particular physical port."
142     INDEX  { ifIndex }
143     ::= { hpicfUdldPortStatsTable 1 }
144
145HpicfUdldPortStatsEntry  ::= SEQUENCE {
146      hpicfUdldStatsPortCurrentState     INTEGER,
147      hpicfUdldStatsPortNeighborMAC      MacAddress,
148      hpicfUdldStatsPortNeighborPort     Integer32,
149      hpicfUdldStatsPortTotalTx          Counter32,
150      hpicfUdldStatsPortTotalRx          Counter32,
151      hpicfUdldStatsPortNumStateChange   Counter32,
152      hpicfUdldStatsPortStatus           Integer32
153}
154
155hpicfUdldStatsPortCurrentState   OBJECT-TYPE
156    SYNTAX      INTEGER {
157                unknown(0),
158                offline(1),
159                failure(2),
160                up(3)
161                }
162    MAX-ACCESS  read-only
163    STATUS      current
164    DESCRIPTION
165            "The desired status of UDLD on a port.
166
167             If the associated hpicfUdldStatsPortCurrentState object has a
168             value of 'offline(1)', then the port or udld is administratively
169             disabled.
170
171             If the associated hpicfUdldStatsPortCurrentState object has a
172             value of 'failure(2)', then the port and udld are administratively
173             enabled, but udld packets are not being received successfully.
174             Link may or may not be present.
175
176             If the associated hpicfUdldStatsPortCurrentState object has a
177             value of 'up(3)', then udld is enabled and udld packets
178             are being received successfully in both directions."
179
180
181    ::= { hpicfUdldPortStatsEntry 1 }
182
183hpicfUdldStatsPortNeighborMAC   OBJECT-TYPE
184    SYNTAX      MacAddress
185    MAX-ACCESS  read-only
186    STATUS      current
187    DESCRIPTION
188            "The MAC address of the adjacent switch."
189    ::= { hpicfUdldPortStatsEntry 2 }
190
191hpicfUdldStatsPortNeighborPort   OBJECT-TYPE
192    SYNTAX      Integer32
193    MAX-ACCESS  read-only
194    STATUS      current
195    DESCRIPTION
196            "The port number of the adjacent switch."
197    ::= { hpicfUdldPortStatsEntry 3 }
198
199hpicfUdldStatsPortTotalTx   OBJECT-TYPE
200    SYNTAX      Counter32
201    MAX-ACCESS  read-only
202    STATUS      current
203    DESCRIPTION
204            "The number of UDLD control packets sent from this port."
205    ::= { hpicfUdldPortStatsEntry 4 }
206
207hpicfUdldStatsPortTotalRx  OBJECT-TYPE
208    SYNTAX      Counter32
209    MAX-ACCESS  read-only
210    STATUS      current
211    DESCRIPTION
212            "The number of UDLD control packets received on this port."
213    ::= { hpicfUdldPortStatsEntry 5 }
214
215hpicfUdldStatsPortNumStateChange   OBJECT-TYPE
216    SYNTAX      Counter32
217    MAX-ACCESS  read-only
218    STATUS      current
219    DESCRIPTION
220               "The number of state transitions."
221    ::= { hpicfUdldPortStatsEntry 6 }
222
223hpicfUdldStatsPortStatus   OBJECT-TYPE
224    SYNTAX      Integer32
225    MAX-ACCESS  read-only
226    STATUS      current
227    DESCRIPTION
228            "The  value of this object indicates whether the port is
229            blocked by UDLD or not."
230    ::= { hpicfUdldPortStatsEntry 7 }
231
232--
233-- ***********************************************************
234--
235--        UDLD M I B   N O T I F I C A T I O N S
236--
237-- ***********************************************************
238--
239
240
241hpicfUdldNotificationPrefix OBJECT IDENTIFIER ::= { hpicfUdldNotifications 0 }
242
243hpicfUdldLinkfault NOTIFICATION-TYPE
244    OBJECTS   { ifIndex }
245    STATUS      current
246    DESCRIPTION "This notification is generated when the link failure
247                 occurs."
248    ::= { hpicfUdldNotificationPrefix 1 }
249
250hpicfUdldLinkUp NOTIFICATION-TYPE
251    OBJECTS   { ifIndex }
252    STATUS      current
253    DESCRIPTION "This notification is generated when UDLD link goes
254                 from down to up."
255    ::= { hpicfUdldNotificationPrefix 2 }
256
257--
258-- ***********************************************************
259--
260--           UDLD  M I B   C O N F O R M A N C E
261--
262-- ***********************************************************
263--
264
265hpicfUdldCompliances    OBJECT IDENTIFIER ::= { hpicfUdldConformance 1 }
266hpicfUdldGroups         OBJECT IDENTIFIER ::= { hpicfUdldConformance 2 }
267
268-- compliance statements
269
270hpicfUdldCompliance  MODULE-COMPLIANCE
271    STATUS  current
272    DESCRIPTION
273            "The compliance statement for SNMP entities which implement
274            the UDLD MIB."
275    MODULE  -- this module
276      MANDATORY-GROUPS {
277                           hpicfUdldPortConfigGroup,
278                           hpicfUdldPortStatsGroup,
279                           hpicfUdldNotificationGroup
280                       }
281      GROUP hpicfUdldNotificationGroup
282      DESCRIPTION "The notifications used for signalling link failure."
283    ::= { hpicfUdldCompliances 1 }
284
285-- MIB groupings
286
287hpicfUdldPortConfigGroup    OBJECT-GROUP
288    OBJECTS {
289        hpicfUdldConfigTimeInterval,
290        hpicfUdldConfigMaxRetries,
291        hpicfUdldPortAdminStatus,
292        hpicfUdldPortVlanId
293    }
294    STATUS  current
295    DESCRIPTION
296            "The collection of objects which are used to configure the
297            UDLD implementation behavior.
298
299            This group is mandatory for ports which implement the UDLD."
300    ::= { hpicfUdldGroups 1 }
301
302hpicfUdldPortStatsGroup    OBJECT-GROUP
303    OBJECTS {
304        hpicfUdldStatsPortCurrentState,
305        hpicfUdldStatsPortNeighborMAC,
306        hpicfUdldStatsPortNeighborPort,
307        hpicfUdldStatsPortTotalTx,
308        hpicfUdldStatsPortTotalRx,
309        hpicfUdldStatsPortNumStateChange,
310        hpicfUdldStatsPortStatus
311     }
312    STATUS  current
313    DESCRIPTION
314            "The collection of objects which are used to represent UDLD
315            statistics.
316
317            This group is mandatory for ports which implement the UDLD."
318    ::= { hpicfUdldGroups 2 }
319
320 hpicfUdldNotificationGroup NOTIFICATION-GROUP
321    NOTIFICATIONS { hpicfUdldLinkfault,hpicfUdldLinkUp }
322    STATUS      current
323    DESCRIPTION "Notification used for signaling change in Link state."
324    ::= { hpicfUdldGroups 3 }
325
326END
327