smilint output for ./PW-ENET-DRAFT04-MIB
Message Severities |
Severity | Count |
severe | 1 |
Message Types |
Type | Count |
internal-other (severe) | 1 |
Messages:
PW-ENET-DRAFT04-MIB
1: -- extracted from draft-ietf-pwe3-enet-mib-04.txt
2: -- at Tue Feb 17 06:17:15 2004
3:
4: PW-ENET-DRAFT04-MIB DEFINITIONS ::= BEGIN
5:
6: IMPORTS
7: OBJECT-TYPE, MODULE-IDENTITY
8: FROM SNMPv2-SMI
9: Ethernet Pseudo Wire (PW) February 2004
9: severe -
syntax error, unexpected UPPERCASE_IDENTIFIER, expecting FROM or ','
10: Management Information Base
11:
12:
13: MODULE-COMPLIANCE, OBJECT-GROUP
14: FROM SNMPv2-CONF
15:
16: StorageType, RowStatus
17: FROM SNMPv2-TC
18:
19: InterfaceIndexOrZero
20: FROM IF-MIB
21:
22: ZeroBasedCounter32
23: FROM RMON2-MIB
24:
25: pwVcIndex
26: FROM PW-DRAFT04-MIB
27:
28: pwStdMIB, PwVcVlanCfg
29: FROM PW-TC-DRAFT04-MIB;
30:
31: pwVcEnetMIB MODULE-IDENTITY
32: LAST-UPDATED "200402041200Z" -- 4 February 2004 12:00:00 GMT
33: ORGANIZATION "IETF PWE3 Working group"
34: CONTACT-INFO
35: "David Zelig
36: Postal: Corrigent Systems
37: 126, Yigal Alon St.
38: Tel-Aviv, ISRAEL
39: Tel: +972-3-6945273
40: E-mail: davidz@corrigent.com
41:
42: Thomas D. Nadeau
43: Postal: Cisco Systems, Inc.
44: 250 Apollo Drive
45: Chelmsford, MA 01824
46: Tel: +1-978-497-3051
47: Email: tnadeau@cisco.com
48: "
49: DESCRIPTION
50: "This MIB module describes a model for managing Ethernet
51: point-to-point pseudo wire services over a Packet
52: Switched Network (PSN)."
53:
54: -- Revision history.
55:
56: REVISION
57: "200402041200Z" -- 4 February 2004 12:00:00 GMT
58: DESCRIPTION
59: " Changes from as draft-pwe3-enet-mib-03:
60: 1) Remove pwVcEnetFragSize and pwVcEnetCwStatus since they
61: are controlled by the PW MIB module and they are duplicated
62: here.
63: 2) Change counter64 to ZeroBasedCounter32 in error
64: Ethernet Pseudo Wire (PW) February 2004
65: Management Information Base
66:
67:
68: statistics, and fix them to be read-only.
69: "
70:
71: REVISION
72: "200312161200Z" -- 16 December 2003 12:00:00 GMT
73: DESCRIPTION
74: " Changes from as draft-pwe3-enet-mib-02.
75: 1) Module identity under the PW MIB tree.
76: "
77:
78: REVISION
79: "200307291200Z" -- 29 July 2003 12:00:00 GMT
80: DESCRIPTION
81: " Changes from as draft-pwe3-enet-mib-01.
82: 1) Added Control Word status and fragmentation status.
83: "
84:
85: REVISION
86: "200209221200Z" -- 22 September 2002 12:00:00 GMT
87: DESCRIPTION
88: " Submitted as draft-pwe3-enet-mib-00.
89: Changes from previous version:
90: 1) Alignment with draft-pwe3-ethernet-encap-00.txt:
91: removing 'rangeVLAN' mode and the associated objects.
92: 2) Relaxing requirement on value of pwVcEnetPortVlan in
93: port mode.
94: "
95:
96: REVISION
97: "200208201200Z" -- 20 August 2002 12:00:00 GMT
98: DESCRIPTION
99: "Changes from previous version:
100: 1) Add pwVcEnetVcIfIndex - Option for VC as ifIndex.
101: 2) Change counters to 64 bits.
102: 3) Add mode for adding/removing VLAN fields between PW and
103: CE bound interface.
104: 4) Referencing draft-martini instead of draft-so.
105: 5) Editorial changes for some description clauses.
106: 6) MPLS PRI mapping table to be independent (not augmented).
107: 7) Adapt descriptions and rules of use to
108: dratf-ietf-pwe3-Ethernet-encap-00.
109: "
110: REVISION
111: "200202031200Z" -- 03 February 2002 12:00:00 GMT
112: DESCRIPTION
113: "initial revision as -00 draft"
114:
115: ::= { pwStdMIB 5 } -- To be assigned by IANA
116:
117:
118: pwVcEnetObjects OBJECT IDENTIFIER ::= { pwVcEnetMIB 1 }
119: Ethernet Pseudo Wire (PW) February 2004
120: Management Information Base
121:
122:
123: pwVcEnetConformance OBJECT IDENTIFIER ::= { pwVcEnetMIB 2 }
124:
125: --
126: -- Ethernet PW table
127: --
128:
129: pwVcEnetTable OBJECT-TYPE
130: SYNTAX SEQUENCE OF PwVcEnetEntry
131: MAX-ACCESS not-accessible
132: STATUS current
133: DESCRIPTION
134: "This table contains the index to the Ethernet tables
135: associated with this ETH PW, the VLAN configuration and
136: VLAN mode."
137: ::= { pwVcEnetObjects 1 }
138:
139: pwVcEnetEntry OBJECT-TYPE
140: SYNTAX PwVcEnetEntry
141: MAX-ACCESS not-accessible
142: STATUS current
143: DESCRIPTION
144: "This table is indexed by the same index that was created
145: for the associated entry in the PW Table in the PW MIB.
146: The PwVcIndex and the pwVcEnetPwVlan are used as indexes
147: to allow multiple VLANs to exist on the same PW.
148:
149: An entry is created in this table by the agent for every
150: entry in the pwVcTable with a pwVcType of 'ethernetTagged'
151: or 'ethernet'. Additional rows may be created by the
152: operator or the agent if multiple entries are required for
153: the same PW.
154:
155: This table provides Ethernet port mapping and VLAN
156: configuration for each Ethernet PW."
157:
158: INDEX { pwVcIndex, pwVcEnetPwVlan }
159: ::= { pwVcEnetTable 1 }
160:
161: PwVcEnetEntry ::= SEQUENCE {
162: pwVcEnetPwVlan PwVcVlanCfg,
163: pwVcEnetVlanMode INTEGER,
164: pwVcEnetPortVlan PwVcVlanCfg,
165:
166: pwVcEnetPortIfIndex InterfaceIndexOrZero,
167: pwVcEnetVcIfIndex InterfaceIndexOrZero,
168:
169: pwVcEnetRowStatus RowStatus,
170: pwVcEnetStorageType StorageType
171: }
172:
173: pwVcEnetPwVlan OBJECT-TYPE
174: Ethernet Pseudo Wire (PW) February 2004
175: Management Information Base
176:
177:
178: SYNTAX PwVcVlanCfg
179: MAX-ACCESS not-accessible
180: STATUS current
181: DESCRIPTION
182: "This Object defines the VLAN on the PW. The value of 4097
183: is used if the object is not applicable, for example when
184: mapping all packets from an Ethernet port to this PW.
185: The value of 4096 is used to indicate untagged frames (from
186: the PW point of view), for example if pwVcEnetVlanMode
187: equals 'removeVLAN' or when pwVcEnetVlanMode equals
188: 'noChange' and pwVcEnetPortVlan equals 4096."
189:
190: ::= { pwVcEnetEntry 1 }
191:
192: pwVcEnetVlanMode OBJECT-TYPE
193: SYNTAX INTEGER {
194: other(0),
195: portBased(1),
196: noChange(2),
197: changeVlan(3),
198: addVlan(4),
199: removeVlan(5)
200: }
201: MAX-ACCESS read-create
202: STATUS current
203: DESCRIPTION
204: "Indicates the mode of VLAN handling between the port
205: associated to the PW and the PW encapsulation itself.
206:
207: - 'other' indicate operation that is not defined by
208: this MIB module.
209:
210: - 'portBased' indicates that the forwarder will forward
211: packets between the port and the PW independent of their
212: structure.
213:
214: - 'noChange' indicates that the PW contains the original
215: user VLAN, as specified in pwVcEnetPortVlan.
216:
217: - 'changeVlan' indicates that the VLAN field on the PW
218: may be different than the VLAN field on the user's
219: port.
220:
221: - 'removeVlan' indicates that the encapsulation on the
222: PW does not include the original VLAN field. Note
223: that PRI bits transparency is lost in this case.
224:
225: - 'addVlan' indicate that a VLAN field will be added
226: on the PSN bound direction. pwVcEnetPwVlan indicate
227: the value that will be added.
228: Ethernet Pseudo Wire (PW) February 2004
229: Management Information Base
230:
231:
232: - 'removeVlan', 'addVlan' and 'changeVlan' implementation
233: is not required.
234: "
235:
236: DEFVAL { noChange }
237: ::= { pwVcEnetEntry 2 }
238:
239: pwVcEnetPortVlan OBJECT-TYPE
240: SYNTAX PwVcVlanCfg
241: MAX-ACCESS read-create
242: STATUS current
243: DESCRIPTION
244: "This object define the VLAN value on the physical port (or
245: VPLS virtual port) if a change is required to the VLAN value
246: between the PW and the physical/virtual port.
247:
248: The value of this object can be ignored if the whole traffic
249: from the port is forwarded to one PW independent of the
250: tagging on the port, but it is RECOMENDED that the value in
251: this case will be '4097' indicating not relevant.
252:
253: It MUST be equal to pwVcEnetPwVlan if 'noChange' mode
254: is used.
255:
256: The value 4096 indicates that packet without a VLAN field
257: (i.e. untagged frames) on the port are associated to this
258: PW. This allows the same behaviors as assigning 'Default
259: VLAN' to un-tagged frames.
260: "
261:
262: DEFVAL { 4097 }
263: ::= { pwVcEnetEntry 3 }
264:
265: pwVcEnetPortIfIndex OBJECT-TYPE
266: SYNTAX InterfaceIndexOrZero
267: MAX-ACCESS read-create
268: STATUS current
269: DESCRIPTION
270: "This object is used to specify the ifIndex of the Ethernet
271: port associated with this PW for point-to-point Ethernet
272: service, or the ifIndex of the virtual interface of the
273: VPLS instance associated with the PW if the service is
274: VPLS. Two rows in this table can point to the same ifIndex
275: only if:
276:
277: 1) It is required to support multiple COS on a MPLS PSN
278: for the same service (i.e.: a combination of ports and
279: VLANs) by the use of multiple PW, each with a different
280: COS.
281:
282: 2) There is no overlap of VLAN values specified in
283: Ethernet Pseudo Wire (PW) February 2004
284: Management Information Base
285:
286:
287: pwVcEnetPortVlan that are associated with this port.
288:
289: A value of zero indicate that association to an ifIndex is
290: not yet known."
291:
292: ::= { pwVcEnetEntry 4 }
293:
294: pwVcEnetVcIfIndex OBJECT-TYPE
295: SYNTAX InterfaceIndexOrZero
296: MAX-ACCESS read-create
297: STATUS current
298: DESCRIPTION
299: "If the PW is modeled as an ifIndex in the ifTable, this
300: object indicates the value of the ifIndex representing the
301: ethernet PW on the PSN side in the Etherlike-MIB. Note that
302: this value may be different from the value of pwVcIfIndex
303: that represent the ifIndex of the PW for ifType 'pw'.'"
304:
305: DEFVAL { 0 }
306: ::= { pwVcEnetEntry 5 }
307:
308: pwVcEnetRowStatus OBJECT-TYPE
309: SYNTAX RowStatus
310: MAX-ACCESS read-create
311: STATUS current
312: DESCRIPTION
313: "Enable creating, deleting and modifying this row."
314:
315: ::= { pwVcEnetEntry 6 }
316:
317: pwVcEnetStorageType OBJECT-TYPE
318: SYNTAX StorageType
319: MAX-ACCESS read-create
320: STATUS current
321: DESCRIPTION
322: "Indicates the storage type of this row."
323:
324: ::= { pwVcEnetEntry 7 }
325:
326:
327: --
328: -- Ethernet Priority Mapping Table
329: --
330:
331: pwVcEnetMplsPriMappingTable OBJECT-TYPE
332: SYNTAX SEQUENCE OF PwVcEnetMplsPriMappingTableEntry
333: MAX-ACCESS not-accessible
334: STATUS current
335: DESCRIPTION
336: "This table may be used for MPLS PSNs if there is a need
337: to hold multiple PW, each with different COS, for the same
338: Ethernet Pseudo Wire (PW) February 2004
339: Management Information Base
340:
341:
342: user service (port + PW VLAN). Such a need may arise if the
343: MPLS network is capable of L-LSP or E-LSP without multiple
344: COS capabilities. Each row is indexed by the pwVcIndex
345: and indicate the PRI bits on the packet received from the
346: user port (or VPLS virtual port) that are
347: classified to this PW. Note that the EXP bit value of the
348: PW is configured in the PW MPLS MIB module."
349:
350: ::= { pwVcEnetObjects 2 }
351:
352: pwVcEnetMplsPriMappingTableEntry OBJECT-TYPE
353: SYNTAX PwVcEnetMplsPriMappingTableEntry
354: MAX-ACCESS not-accessible
355: STATUS current
356: DESCRIPTION
357: "Each entry is created by the operator or by the agent
358: based on local policy if special classification based on
359: the PRI bits is required for this PW."
360:
361: INDEX { pwVcIndex }
362:
363: ::= { pwVcEnetMplsPriMappingTable 1 }
364:
365: PwVcEnetMplsPriMappingTableEntry ::= SEQUENCE {
366: pwVcEnetMplsPriMapping BITS,
367: pwVcEnetMplsPriMappingRowStatus RowStatus,
368: pwVcEnetMplsPriMappingStorageType StorageType
369: }
370:
371: pwVcEnetMplsPriMapping OBJECT-TYPE
372: SYNTAX BITS {
373: pri000 (0),
374: pri001 (1),
375: pri010 (2),
376: pri011 (3),
377: pri100 (4),
378: pri101 (5),
379: pri110 (6),
380: pri111 (7),
381: untagged (8)
382: }
383: MAX-ACCESS read-create
384: STATUS current
385: DESCRIPTION
386: "This object defines the groups of user PRI mapped into
387: this PW. Each bit set indicates that this user priority
388: is assigned to this PW.
389:
390: The value 'untagged' is used to indicate that untagged
391: frames are also associated to this PW.
392: Ethernet Pseudo Wire (PW) February 2004
393: Management Information Base
394:
395:
396: This object allow the use of different PSN COS based on
397: user marking of PRI bits in MPLS PSN with L-LSP or
398: E-LSP without multiple COS support. In all other cases,
399: the default value MUST be used.
400:
401: It is REQUIRED that there is no overlap on this object
402: between rows serving the same service (port+ PW VLAN).
403:
404: In case of missing BIT configuration between rows to
405: the same service, incoming packets with PRI marking not
406: configured should be handled by the PW with the lowest
407: COS.
408: "
409: REFERENCE
410: "See appendix A of 'Encapsulation Methods for Transport of
411: Ethernet Frames Over IP/MPLS Networks' (work-in-progress)
412: for mapping rules of the PRI bits to PSN COS."
413:
414: ::= { pwVcEnetMplsPriMappingTableEntry 1 }
415:
416: pwVcEnetMplsPriMappingRowStatus OBJECT-TYPE
417: SYNTAX RowStatus
418: MAX-ACCESS read-create
419: STATUS current
420: DESCRIPTION
421: "Enable creating, deleting and modifying this row."
422: -- TBD: Need to specify exact interaction with other tables, and
423: -- when rows can/cannot be created/deleted/modified.
424: ::= { pwVcEnetMplsPriMappingTableEntry 2 }
425:
426: pwVcEnetMplsPriMappingStorageType OBJECT-TYPE
427: SYNTAX StorageType
428: MAX-ACCESS read-create
429: STATUS current
430: DESCRIPTION
431: "Indicates the storage type of this row."
432: ::= { pwVcEnetMplsPriMappingTableEntry 3 }
433:
434:
435: --
436: -- Ethernet PW Statistics Table
437: --
438:
439: pwVcEnetStatsTable OBJECT-TYPE
440: SYNTAX SEQUENCE OF PwVcEnetStatsEntry
441: MAX-ACCESS not-accessible
442: STATUS current
443: DESCRIPTION
444: "This table contains statistical counters specific for
445: Ethernet PW."
446: ::= { pwVcEnetObjects 3 }
447: Ethernet Pseudo Wire (PW) February 2004
448: Management Information Base
449:
450:
451:
452: pwVcEnetStatsEntry OBJECT-TYPE
453: SYNTAX PwVcEnetStatsEntry
454: MAX-ACCESS not-accessible
455: STATUS current
456: DESCRIPTION
457: "Each entry represents the statistics gathered for the
458: PW carrying the Ethernet packets since this PW was
459: first created in the pwVcEnetTable."
460: INDEX { pwVcIndex }
461: ::= { pwVcEnetStatsTable 1 }
462:
463: PwVcEnetStatsEntry ::= SEQUENCE {
464: pwVcEnetStatsIllegalVlan ZeroBasedCounter32,
465: pwVcEnetStatsIllegalLength ZeroBasedCounter32
466: }
467:
468: pwVcEnetStatsIllegalVlan OBJECT-TYPE
469: SYNTAX ZeroBasedCounter32
470: MAX-ACCESS read-only
471: STATUS current
472: DESCRIPTION
473: "The number of packets received (from the PSN) on this PW
474: with an illegal VLAN field, missing VLAN field that was
475: expected, or A VLAN field when it was not expected. This
476: counter is not applicable if the PW type is 'ethernet'
477: (i.e. raw mode), and should be return the value of zero in
478: this case."
479: ::= { pwVcEnetStatsEntry 1 }
480:
481: pwVcEnetStatsIllegalLength OBJECT-TYPE
482: SYNTAX ZeroBasedCounter32
483: MAX-ACCESS read-only
484: STATUS current
485: DESCRIPTION
486: "The number of packets that were received with an illegal
487: Ethernet packet length on this PW. An illegal length is
488: defined as being greater than the value in the advertised
489: MTU supported, or shorter than the allowed Ethernet packet
490: size. The agent should start the value of this counter at
491: the value of zero."
492: ::= { pwVcEnetStatsEntry 2 }
493:
494: ---
495: --- Conformance description
496: --- In this version of the draft, only objects level conformance is
497: --- defined. More detailed conformance specifications is FFS.
498: ---
499:
500: pwVcEnetGroups OBJECT IDENTIFIER ::= { pwVcEnetConformance 1 }
501: pwVcEnetCompliances OBJECT IDENTIFIER ::= { pwVcEnetConformance 2 }
502: Ethernet Pseudo Wire (PW) February 2004
503: Management Information Base
504:
505:
506:
507:
508: pwVcEnetModuleCompliance MODULE-COMPLIANCE
509: STATUS current
510: DESCRIPTION
511: "The compliance statement for agent that support
512: Ethernet PW."
513:
514: MODULE -- this module
515: MANDATORY-GROUPS { pwVcEnetGroup,
516: pwVcStatsGroup
517: }
518:
519: GROUP pwVcEnetMplsPriGroup
520: DESCRIPTION
521: "Collection of objects defining classification to
522: different PW based on the user's PRI bits mapping.
523: This group is optional, and should be implemented
524: only for MPLS PSN where only L-LSP or single OA
525: E-LSP, exists, and different PSN COS is required
526: based on the PRI mapping."
527:
528: ::= { pwVcEnetCompliances 1 }
529:
530: -- Units of conformance.
531:
532: pwVcEnetGroup OBJECT-GROUP
533: OBJECTS {
534: pwVcEnetVlanMode,
535: pwVcEnetPortVlan,
536: pwVcEnetPortIfIndex,
537: pwVcEnetVcIfIndex,
538: pwVcEnetRowStatus,
539: pwVcEnetStorageType
540: }
541: STATUS current
542: DESCRIPTION
543: "Collection of objects for basic Ethernet PW config."
544: ::= { pwVcEnetGroups 1 }
545:
546: pwVcStatsGroup OBJECT-GROUP
547: OBJECTS {
548: pwVcEnetStatsIllegalVlan,
549: pwVcEnetStatsIllegalLength
550: }
551: STATUS current
552: DESCRIPTION
553: "Collection of objects counting various PW level errors."
554: ::= { pwVcEnetGroups 2 }
555:
556: pwVcEnetMplsPriGroup OBJECT-GROUP
557: Ethernet Pseudo Wire (PW) February 2004
558: Management Information Base
559:
560:
561: OBJECTS {
562: pwVcEnetMplsPriMapping,
563: pwVcEnetMplsPriMappingRowStatus,
564: pwVcEnetMplsPriMappingStorageType
565: }
566: STATUS current
567: DESCRIPTION
568: "Collection of objects defining classification to
569: different PW based on the user's PRI bits mapping.
570: This group is optional, and should be implemented
571: only for MPLS PSN where only L-LSP or single OA
572: E-LSP exists, and different PSN COS is required
573: based on the PRI mapping."
574: ::= { pwVcEnetGroups 3 }
575:
576: END
577:
578: --
579: -- Copyright (C) The Internet Society (2000). All Rights Reserved.
580: --
581: -- This document and translations of it may be copied and furnished to
582: -- others, and derivative works that comment on or otherwise explain it
583: -- or assist in its implementation may be prepared, copied, published
584: -- and distributed, in whole or in part, without restriction of any
585: -- kind, provided that the above copyright notice and this paragraph
586: -- are included on all such copies and derivative works. However, this
587: -- document itself may not be modified in any way, such as by removing
588: -- the copyright notice or references to the Internet Society or other
589: -- Management Information Base
590: --
591: --
592: -- Internet organizations, except as needed for the purpose of
593: -- developing Internet standards in which case the procedures for
594: -- copyrights defined in the Internet Standards process must be
595: -- followed, or as required to translate it into languages other than
596: -- English.
597: --
598: -- The limited permissions granted above are perpetual and will not be
599: -- revoked by the Internet Society or its successors or assigns. This
600: -- document and the information contained herein is provided on an "AS
601: -- IS" basis and THE INTERNET SOCIETY AND THE INTERNET ENGINEERING TASK
602: -- FORCE DISCLAIMS ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING BUT
603: -- NOT LIMITED TO ANY WARRANTY THAT THE USE OF THE INFORMATION HEREIN
604: -- WILL NOT INFRINGE ANY RIGHTS OR ANY IMPLIED WARRANTIES OF
605: -- MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.
606: