1HP-SWITCH-FIPS-MIB DEFINITIONS ::= BEGIN
2
3    IMPORTS
4          OBJECT-TYPE, MODULE-IDENTITY,Counter64,Integer32
5             FROM SNMPv2-SMI
6          MacAddress, RowStatus
7             FROM SNMPv2-TC
8          MODULE-COMPLIANCE, OBJECT-GROUP
9             FROM SNMPv2-CONF
10          InterfaceIndex
11             FROM IF-MIB
12          hpSwitch
13             FROM HP-ICF-OID;
14
15     hpSwitchFipSnoopingMib MODULE-IDENTITY
16         LAST-UPDATED "201006031539Z"  -- June 3rd, 2010
17         ORGANIZATION "HP ProCurve Networking"
18         CONTACT-INFO "Hewlett Packard Company
19                       8000 Foothills Blvd.
20                       Roseville, CA 95747"
21         DESCRIPTION  "This MIB module describes objects for management
22                       of FIP (FCoE Initialization Protocol) snooping in
23                       the HP Integrated Communication Facility product
24                       line."
25         REVISION     "201006031539Z"  -- June 3rd, 2010
26         DESCRIPTION  "Initial version, added objects for FIP snooping."
27         ::= {hpSwitch 78}
28
29-- This MIB module will be a child of hpSwitch
30
31-- Some Abbreviations
32-- Enode  - End node or server. Enodes have N_ports.
33-- CNA    - Converged Network Adapter. Combo NIC for FC and Ethernet.
34-- FPMA   - Fabric Provided MAC Address.
35-- SPMA   - Server Provided MAC Address.
36-- NPIV   - N_Port ID virtualization.
37-- FCF    - Fibre Channel Forwarder.
38-- FC-MAP - Fibre Channel MAP. (Fabric Wide)
39
40-- ***************************************************************************
41-- Main Groups
42-- ***************************************************************************
43
44   hpSwitchFipsConfigObjects     OBJECT IDENTIFIER
45                                ::= { hpSwitchFipSnoopingMib 1}
46   hpSwitchFipsStatistics        OBJECT IDENTIFIER
47                                ::= { hpSwitchFipSnoopingMib 2}
48   hpSwitchFipsConformance       OBJECT IDENTIFIER
49                                ::= {hpSwitchFipSnoopingMib 3 }
50
51-- **************************************************************************
52-- FIP Snooping Scalars
53-- **************************************************************************
54
55hpSwitchFipsScalars    OBJECT IDENTIFIER ::=
56                                 { hpSwitchFipsConfigObjects 1}
57
58hpSwitchFipsAdminStatus OBJECT-TYPE
59    SYNTAX          INTEGER  {
60                       enable(1),
61                       disable(2)
62                    }
63    MAX-ACCESS      read-write
64    STATUS          current
65    DESCRIPTION     "This object is used to enable or disable FIP Snooping
66                     on an ethernet bridge."
67    ::= { hpSwitchFipsScalars 1}
68
69-- ***************************************************************************
70-- FIP Snooping config Tables
71-- ***************************************************************************
72
73hpSwitchFipsTables    OBJECT IDENTIFIER
74                       ::= {  hpSwitchFipsConfigObjects 2}
75
76-- FC-MAP configuration
77hpSwitchFipsFcMapTable OBJECT-TYPE
78    SYNTAX          SEQUENCE OF HpSwitchFipsFcMapEntry
79    MAX-ACCESS      not-accessible
80    STATUS          current
81    DESCRIPTION     "This table is used to configure the list of FC-MAP values.
82                     These FC-MAPS will be used to program ACLs that ensure
83                     no MAC Address used for non-FCoE traffic shall have the
84                     prefix(first 3 bytes) equal to any of the FC-MAP
85                     value."
86    ::= { hpSwitchFipsTables 1}
87
88hpSwitchFipsFcMapEntry OBJECT-TYPE
89    SYNTAX          HpSwitchFipsFcMapEntry
90    MAX-ACCESS      not-accessible
91    STATUS          current
92    DESCRIPTION     "An entry in the table specifying the FC-MAP."
93    INDEX           {hpSwitchFipsFcMapIndex}
94    ::= { hpSwitchFipsFcMapTable 1}
95
96HpSwitchFipsFcMapEntry ::= SEQUENCE
97{
98   hpSwitchFipsFcMapIndex   INTEGER,
99   hpSwitchFipsFcMap        OCTET STRING
100}
101
102hpSwitchFipsFcMapIndex OBJECT-TYPE
103    SYNTAX          Integer32 (1..64)
104    MAX-ACCESS      not-accessible
105    STATUS          current
106    DESCRIPTION     "The index of the Fiber Channel MAC Address prefix table."
107    ::= {hpSwitchFipsFcMapEntry 1}
108
109hpSwitchFipsFcMap OBJECT-TYPE
110    SYNTAX          OCTET STRING (SIZE (3))
111    MAX-ACCESS      read-write
112    STATUS          current
113    DESCRIPTION     "This object configures the FC MAP value associated
114                     with the FIP snooping bridge"
115    ::= {hpSwitchFipsFcMapEntry 2 }
116
117--- FCF MAC configuration
118
119hpSwitchFipsFcfMacAddressTable OBJECT-TYPE
120    SYNTAX          SEQUENCE OF HpSwitchFipsFcfMacAddressEntry
121    MAX-ACCESS      not-accessible
122    STATUS          current
123    DESCRIPTION     "This table is used to configure the list of FCF MAC
124                     addresses to which ENodes will perform FIP FLOGI and
125                     FIP NPIV FDISC operations. This table will be indexed
126                     by the VLAN ID. Appropriate ACL entries will be programmed
127                     to allow FCoE traffic to these MACs."
128    ::= { hpSwitchFipsTables 2}
129
130
131hpSwitchFipsFcfMacAddressEntry OBJECT-TYPE
132    SYNTAX          HpSwitchFipsFcfMacAddressEntry
133    MAX-ACCESS      not-accessible
134    STATUS          current
135    DESCRIPTION     "An entry in the table specifying the FCF MAC connected to
136                     the Virtual Fabric (VF) interface."
137    INDEX           {hpSwitchFipsVirtualFabricInterfaceIndex,
138    hpSwitchFipsFcfMacAddress}
139    ::= { hpSwitchFipsFcfMacAddressTable 1}
140
141HpSwitchFipsFcfMacAddressEntry ::= SEQUENCE
142{
143   hpSwitchFipsVirtualFabricInterfaceIndex InterfaceIndex,
144   hpSwitchFipsFcfMacAddress               MacAddress,
145   hpSwitchFipsFcoeVlanId                  Integer32,
146   hpSwitchFipsFcfFcMap                    OCTET STRING,
147   hpSwitchFipsFcfEnodeLoginCount          Integer32,
148   hpSwitchFipsFcfNameId                   OCTET STRING,
149   hpSwitchFipsFabricName                  OCTET STRING,
150   hpSwitchFipsFcfMacTableRowStatus        RowStatus
151
152}
153
154hpSwitchFipsVirtualFabricInterfaceIndex OBJECT-TYPE
155    SYNTAX          InterfaceIndex
156    MAX-ACCESS      not-accessible
157    STATUS          current
158    DESCRIPTION     "Interface index of the VF port connected to FCF"
159    ::= {hpSwitchFipsFcfMacAddressEntry 1}
160
161hpSwitchFipsFcfMacAddress OBJECT-TYPE
162    SYNTAX          MacAddress
163    MAX-ACCESS      not-accessible
164    STATUS          current
165    DESCRIPTION     "This object configures the MAC address of the Fibre Channel
166                     Forwarder(FCF) attached to the VF port accepting Fabric
167                     logins. This MAC Address will be used as the DA MAC by
168                     Enodes requesting FLOGI or NPIV FDISC.Configuring this MAC
169                     address will result in some ACL rules to be programmed in
170                     the hardware."
171    ::= {hpSwitchFipsFcfMacAddressEntry 2}
172
173hpSwitchFipsFcoeVlanId OBJECT-TYPE
174    SYNTAX          Integer32
175    MAX-ACCESS      read-only
176    STATUS          current
177    DESCRIPTION     "The FCoE VLAN ID advertised by FCF"
178    ::= {hpSwitchFipsFcfMacAddressEntry 3}
179
180hpSwitchFipsFcfFcMap OBJECT-TYPE
181    SYNTAX          OCTET STRING (SIZE (3))
182    MAX-ACCESS      read-only
183    STATUS          current
184    DESCRIPTION     "The Fiber Channel MAC address prefix used by the FCF to
185                     assign fabric provided MAC addresses(FPMA)."
186    ::= {hpSwitchFipsFcfMacAddressEntry 4}
187
188hpSwitchFipsFcfEnodeLoginCount OBJECT-TYPE
189    SYNTAX          Integer32
190    MAX-ACCESS      read-only
191    STATUS          current
192    DESCRIPTION     "This objects represents the number of Enodes that have
193                     logged into this FCF."
194    ::= {hpSwitchFipsFcfMacAddressEntry 5}
195
196hpSwitchFipsFcfNameId OBJECT-TYPE
197    SYNTAX          OCTET STRING (SIZE(8))
198    MAX-ACCESS      read-only
199    STATUS          current
200    DESCRIPTION     "The World Wide Node Name of the fabric port as advertised by
201                     the FCF."
202    ::= {hpSwitchFipsFcfMacAddressEntry 6}
203
204hpSwitchFipsFabricName OBJECT-TYPE
205   SYNTAX          OCTET STRING (SIZE(8))
206   MAX-ACCESS      read-only
207   STATUS          current
208   DESCRIPTION     "The Fabric name identifier of Fabric as advertised by FCF."
209   ::= {hpSwitchFipsFcfMacAddressEntry 7}
210
211hpSwitchFipsFcfMacTableRowStatus OBJECT-TYPE
212    SYNTAX          RowStatus
213    MAX-ACCESS      read-create
214    STATUS          current
215    DESCRIPTION     "Row Status of the FCF MAC Address table."
216    ::= {hpSwitchFipsFcfMacAddressEntry 8}
217
218-- Show FIP sessions
219
220hpSwitchFipsSessionTable OBJECT-TYPE
221    SYNTAX          SEQUENCE OF HpSwitchFipsSessionEntry
222    MAX-ACCESS      not-accessible
223    STATUS          current
224    DESCRIPTION     "This table stores the currently active FLOGI or NPIV FDISC
225                     sessions. This table is meant for reporting only."
226    ::= { hpSwitchFipsTables 3}
227
228hpSwitchFipsSessionEntry OBJECT-TYPE
229    SYNTAX          HpSwitchFipsSessionEntry
230    MAX-ACCESS      not-accessible
231    STATUS          current
232    DESCRIPTION     "An entry in the table specifying the details pertaing to a
233                     session."
234    INDEX           {hpSwitchFipsSessEnodeInterfaceIndex,
235                     hpSwitchFipsSessEnodeFPMAMacAddress}
236    ::= { hpSwitchFipsSessionTable 1 }
237
238
239HpSwitchFipsSessionEntry ::= SEQUENCE
240{
241    hpSwitchFipsSessEnodeInterfaceIndex InterfaceIndex,
242    hpSwitchFipsSessEnodeFPMAMacAddress MacAddress,
243    hpSwitchFipsSessEnodeMacAddress     MacAddress,
244    hpSwitchFipsSessEnodeNportId        OCTET STRING,
245    hpSwitchFipsSessEnodeNportIdType    INTEGER,
246    hpSwitchFipsSessFcfMacAddress       MacAddress,
247    hpSwitchFipsSessFcMap               OCTET STRING,
248    hpSwitchFipsSessVlanId              Integer32,
249    hpSwitchFipsSessFcfNameId           OCTET STRING
250}
251
252hpSwitchFipsSessEnodeInterfaceIndex OBJECT-TYPE
253    SYNTAX          InterfaceIndex
254    MAX-ACCESS      not-accessible
255    STATUS          current
256    DESCRIPTION     "The object specifies the interface index connected to the
257                     Enode initiator."
258    ::= { hpSwitchFipsSessionEntry 1}
259
260hpSwitchFipsSessEnodeFPMAMacAddress OBJECT-TYPE
261    SYNTAX          MacAddress
262    MAX-ACCESS      not-accessible
263    STATUS          current
264    DESCRIPTION     "The Fabric provided MAC Address of the Enode. This MAC is
265                     assigned by FCF as a result of succcessful FLOGI or NPIV
266                     FDISC and is used as the SA MAC for FCoE traffic originating
267                     from Enode."
268    ::= { hpSwitchFipsSessionEntry 2}
269
270hpSwitchFipsSessEnodeMacAddress OBJECT-TYPE
271    SYNTAX          MacAddress
272    MAX-ACCESS      read-only
273    STATUS          current
274    DESCRIPTION     "This object represents the server provided MAC address of
275                     the Enode. This MAC is used as the SA MAC in FIP frames
276                     originating from Enode."
277    ::= { hpSwitchFipsSessionEntry 3}
278
279hpSwitchFipsSessEnodeNportId OBJECT-TYPE
280    SYNTAX          OCTET STRING (SIZE (3))
281    MAX-ACCESS      read-only
282    STATUS          current
283    DESCRIPTION     "This object represents the N_Port ID of the Enode. It is
284                     assigned by the FCF after a successful FLOGI or NPIV
285                     FDISC. It is equivalent to FC ID in native Fibre channel.
286                     This ID is used in the S_ID or D_ID fields of the
287                     encapsulated Fibre Channel Frames."
288    ::= { hpSwitchFipsSessionEntry 4}
289
290hpSwitchFipsSessEnodeNportIdType OBJECT-TYPE
291    SYNTAX          INTEGER
292                    {
293                       flogi(1),
294                       npivfdisc(2)
295                    }
296    MAX-ACCESS      read-only
297    STATUS          current
298    DESCRIPTION     "This object represents the method by which N_Port obtained
299                     the FC ID from FCF."
300    ::= { hpSwitchFipsSessionEntry 5}
301
302hpSwitchFipsSessFcfMacAddress OBJECT-TYPE
303    SYNTAX          MacAddress
304    MAX-ACCESS      read-only
305    STATUS          current
306    DESCRIPTION     "This object represents the MAC Address of the Fibre
307                     Channel Forwarder to which the session is established."
308    ::= { hpSwitchFipsSessionEntry 6}
309
310hpSwitchFipsSessFcMap OBJECT-TYPE
311    SYNTAX          OCTET STRING(SIZE (3))
312    MAX-ACCESS      read-only
313    STATUS          current
314    DESCRIPTION     "This object represents the FC MAP."
315    ::= { hpSwitchFipsSessionEntry 7}
316
317hpSwitchFipsSessVlanId OBJECT-TYPE
318    SYNTAX          Integer32
319    MAX-ACCESS      read-only
320    STATUS          current
321    DESCRIPTION     "The VLAN ID on which FCoE traffic is being pumped."
322    ::= { hpSwitchFipsSessionEntry 8}
323
324hpSwitchFipsSessFcfNameId OBJECT-TYPE
325    SYNTAX          OCTET STRING(SIZE (8))
326    MAX-ACCESS      read-only
327    STATUS          current
328    DESCRIPTION     "The Name Identifier advertised by the FCF with which this
329                     session is established."
330    ::= { hpSwitchFipsSessionEntry 9}
331
332
333-- FIP snooping statistics
334
335-- Global statistics.
336
337hpSwitchFipsGlobalStats     OBJECT IDENTIFIER
338                          ::= { hpSwitchFipsStatistics 1}
339
340
341hpSwitchFipsFipDropPkts    OBJECT-TYPE
342    SYNTAX         Counter64
343    MAX-ACCESS     read-only
344    STATUS         current
345    DESCRIPTION    "Global counter to indicate the number of FIP frames
346                    dropped."
347    ::= { hpSwitchFipsGlobalStats 1}
348
349
350hpSwitchFipsFcoeDropPkts   OBJECT-TYPE
351    SYNTAX         Counter64
352    MAX-ACCESS     read-only
353    STATUS         current
354    DESCRIPTION    "Global counter to indicate the number of FCoE frames
355                    dropped."
356    ::= {hpSwitchFipsGlobalStats 2}
357
358-- Per FIP session statistics
359hpSwitchFipsSessStats     OBJECT IDENTIFIER
360                        ::= { hpSwitchFipsStatistics 2}
361
362hpSwitchFipsSessStatsTable    OBJECT-TYPE
363    SYNTAX         SEQUENCE OF HpSwitchFipsSessStatsEntry
364    MAX-ACCESS     not-accessible
365    STATUS         current
366    DESCRIPTION    "A table for per session FIPs statistics."
367    ::= {hpSwitchFipsSessStats 1}
368
369hpSwitchFipsSessStatsEntry    OBJECT-TYPE
370    SYNTAX         HpSwitchFipsSessStatsEntry
371    MAX-ACCESS     not-accessible
372    STATUS         current
373    DESCRIPTION    "An Entry in the session statistics table."
374    INDEX          {hpSwitchFipsStatsSessEnodeIfIndex,
375                    hpSwitchFipsStatsSessFPMAMacAddress}
376    ::= { hpSwitchFipsSessStatsTable 1}
377
378
379HpSwitchFipsSessStatsEntry ::= SEQUENCE
380{
381   hpSwitchFipsStatsSessEnodeIfIndex   InterfaceIndex,
382   hpSwitchFipsStatsSessFPMAMacAddress MacAddress,
383   hpSwitchFipsStatsSessFcfMacAddress  MacAddress,
384   hpSwitchFipsStatsSessFcoePermitPkts Counter64
385}
386
387hpSwitchFipsStatsSessEnodeIfIndex OBJECT-TYPE
388    SYNTAX         InterfaceIndex
389    MAX-ACCESS     not-accessible
390    STATUS         current
391    DESCRIPTION    "Interface index of the Enode."
392    ::= { hpSwitchFipsSessStatsEntry 1}
393
394hpSwitchFipsStatsSessFPMAMacAddress OBJECT-TYPE
395    SYNTAX         MacAddress
396    MAX-ACCESS     not-accessible
397    STATUS         current
398    DESCRIPTION    "FPMA Mac address being used for this session."
399    ::= { hpSwitchFipsSessStatsEntry 2}
400
401hpSwitchFipsStatsSessFcfMacAddress  OBJECT-TYPE
402    SYNTAX         MacAddress
403    MAX-ACCESS     read-only
404    STATUS         current
405    DESCRIPTION    "FCF Mac address being used for this session."
406    ::= { hpSwitchFipsSessStatsEntry 3}
407
408hpSwitchFipsStatsSessFcoePermitPkts OBJECT-TYPE
409    SYNTAX         Counter64
410    MAX-ACCESS     read-only
411    STATUS         current
412    DESCRIPTION    "Counter indicating the number of FCoE frames
413                    permitted for this session."
414    ::= { hpSwitchFipsSessStatsEntry 4}
415
416
417-- FIP Snooping MIB conformance
418
419hpSwitchFipsCompliances    OBJECT IDENTIFIER ::= { hpSwitchFipsConformance 1 }
420hpSwitchFipsGroups         OBJECT IDENTIFIER ::= { hpSwitchFipsConformance 2 }
421
422hpSwitchFipsCompliance  MODULE-COMPLIANCE
423    STATUS current
424    DESCRIPTION
425              "The compliance statement for SNMP entities which implement
426               the FIP Snooping MIB."
427    MODULE -- This module
428    MANDATORY-GROUPS {
429                       hpSwitchFipsConfigGroup,
430                       hpSwitchFipsSessionGroup,
431                       hpSwitchFipsStatisticsGroup
432                     }
433    ::= { hpSwitchFipsCompliances 1}
434
435-- Mib Groupings
436
437hpSwitchFipsConfigGroup OBJECT-GROUP
438    OBJECTS     {
439                   hpSwitchFipsAdminStatus,
440                   hpSwitchFipsFcMap,
441                   hpSwitchFipsFcoeVlanId,
442                   hpSwitchFipsFcfFcMap,
443                   hpSwitchFipsFcfEnodeLoginCount,
444                   hpSwitchFipsFcfNameId,
445                   hpSwitchFipsFabricName,
446                   hpSwitchFipsFcfMacTableRowStatus
447                }
448    STATUS      current
449    DESCRIPTION "The collection of objects for Fip Snooping configuration."
450    ::= {hpSwitchFipsGroups 1}
451
452hpSwitchFipsSessionGroup OBJECT-GROUP
453    OBJECTS      {
454                   hpSwitchFipsSessEnodeMacAddress,
455                   hpSwitchFipsSessEnodeNportId,
456                   hpSwitchFipsSessEnodeNportIdType,
457                   hpSwitchFipsSessFcfMacAddress,
458                   hpSwitchFipsSessFcMap,
459                   hpSwitchFipsSessVlanId,
460                   hpSwitchFipsSessFcfNameId
461                 }
462    STATUS      current
463    DESCRIPTION "The collection of objects representing the FIP sessions."
464    ::= {hpSwitchFipsGroups 2}
465
466hpSwitchFipsStatisticsGroup OBJECT-GROUP
467    OBJECTS      {
468                   hpSwitchFipsFipDropPkts,
469                   hpSwitchFipsFcoeDropPkts,
470                   hpSwitchFipsStatsSessFcfMacAddress,
471                   hpSwitchFipsStatsSessFcoePermitPkts
472                 }
473    STATUS      current
474    DESCRIPTION "The collection of objects representing the FIP Statistics."
475    ::= {hpSwitchFipsGroups 3}
476
477
478
479END
480