1-- *****************************************************************
2-- CISCO-WAN-CES-PORT-MIB: CES(Circuit Emulation Service )
3--  Port MIB for Circuit Eumation Service Functionality
4--  in MGX products.
5--
6-- November 2002, Subra Hegde
7--
8-- Copyright (c) 2002 by cisco Systems, Inc.
9-- All rights reserved.
10-- *****************************************************************
11
12CISCO-WAN-CES-PORT-MIB DEFINITIONS ::= BEGIN
13IMPORTS
14        MODULE-IDENTITY,
15        OBJECT-TYPE,
16        Integer32       FROM    SNMPv2-SMI
17        MODULE-COMPLIANCE,
18        OBJECT-GROUP      FROM    SNMPv2-CONF
19        circuitEmulation  FROM    BASIS-MIB
20        ciscoWan          FROM    CISCOWAN-SMI;
21
22ciscoWanCesPortMIB MODULE-IDENTITY
23        LAST-UPDATED    "200211130000Z"
24        ORGANIZATION    "Cisco Systems, Inc."
25        CONTACT-INFO
26                "       Cisco Systems
27                        Customer Service
28
29                Postal: 170 W Tasman Drive
30                        San Jose, CA  95134
31                        USA
32
33                        Tel: +1 800 553-NETS
34
35                E-mail: cs-wanatm@cisco.com"
36    DESCRIPTION
37        "The MIB module to configure the Circuit Emulation
38        Service(CES) ports."
39
40    REVISION    "200211130000Z"
41    DESCRIPTION
42        "Initial version of the MIB.
43
44        The content of this MIB was originally available
45        in CISCO-WAN-AXIPOP-MIB defined using SMIv1.
46        The applicable objects from CISCO-WAN-AXIPOP-MIB
47        are defined using SMIv2 in this MIB. Also the
48        descriptions of some of the objects have been
49        modified."
50    ::= { ciscoWan 40 }
51
52
53cesmPort                  OBJECT IDENTIFIER ::= { circuitEmulation 1 }
54cesmPortCnfGrp            OBJECT IDENTIFIER ::= { cesmPort 1 }
55
56--
57-- cesmPortCnfGrpTable : CES Port Configuration table
58--
59
60cesmPortCnfGrpTable	OBJECT-TYPE
61	SYNTAX	   SEQUENCE OF CesmPortCnfGrpEntry
62	MAX-ACCESS not-accessible
63	STATUS	   current
64	DESCRIPTION
65	    "The config table is for CES logical port.
66            This is used for configuring the port type
67            and number of DS0s and number of Subcircuits
68            in DS0 on the CES port."
69	::= { cesmPortCnfGrp 1 }
70
71cesmPortCnfGrpEntry	OBJECT-TYPE
72	SYNTAX	   CesmPortCnfGrpEntry
73	MAX-ACCESS not-accessible
74	STATUS	   current
75	DESCRIPTION
76            "An entry for each logical port. Each entry
77            contains information on the port type, DS0s
78            configured and number of DS0 subcircuits."
79	INDEX	{ cesPortNum }
80    ::= { cesmPortCnfGrpTable 1 }
81
82CesmPortCnfGrpEntry ::=
83	SEQUENCE {
84            cesPortNum 	            Integer32,
85   	    cesPortRowStatus        INTEGER,
86	    cesPortLineNum 	    Integer32,
87	    cesPortType             INTEGER,
88	    cesPortDs0ConfigBitMap  Integer32,
89            cesPortNumOfDs0Slot     Integer32,
90      	    cesPortNumOfSCIPerDS0   Integer32,
91            cesPortSpeed            Integer32,
92	    cesPortState            INTEGER,
93	    cesPortBERTEnable       INTEGER
94
95         }
96
97cesPortNum	OBJECT-TYPE
98	SYNTAX	   Integer32 (1..2048)
99	MAX-ACCESS read-only
100	STATUS	   current
101	DESCRIPTION
102	    "This object identifies the logical port number.
103            The range support depends upon the type of the
104            service module(Card).
105              - 8 port T1 Card, range is 1..192.
106              - 8 port E1 Card, range is 1..248.
107              - 1 port T3 Card, range is 1..1.
108
109             Range is caclulated as follows. This can be
110             used for calculating the range for other type
111             of cards.
112                For T1 Card: (24 * Number of T1 Ports)
113                For E1 Card: (31 * Number of E1 Ports)."
114	::= { cesmPortCnfGrpEntry 1}
115
116cesPortRowStatus  OBJECT-TYPE
117	SYNTAX	INTEGER {
118		add (1),
119		del (2),
120		mod (3)
121		}
122	MAX-ACCESS read-write
123        STATUS     current
124        DESCRIPTION
125            "This variable enables or modifies the port
126		1 - add : Add a logical port
127		2 - del : Delete a logical port
128		3 - mod : Modify a logical port."
129        ::= { cesmPortCnfGrpEntry 2 }
130
131cesPortLineNum	OBJECT-TYPE
132	SYNTAX	   Integer32 (1..128)
133	MAX-ACCESS read-write
134	STATUS	   current
135	DESCRIPTION
136  	    "This object represents the line number to
137            which this port is associated.
138            The supported range depends upon the type of
139            service module(card)."
140	::= { cesmPortCnfGrpEntry 3 }
141
142cesPortType	OBJECT-TYPE
143	SYNTAX	INTEGER {
144                    structured            (1),
145                    unstructured          (2),
146                    framingOnVcDisconnect (3),
147                    strau                 (4)
148            }
149	MAX-ACCESS read-write
150	STATUS	   current
151	DESCRIPTION
152	    "This object represents port type whether it is
153            carrying  subrate circuits.
154
155            structured    : This is  for SDT(Structured Data Transfer).
156                            This type of port supports following
157                            features:
158                             * intended to emulate point-to-point
159                              fractional DS1 or E1 circuit.
160                             * Synchronous timing
161                             * Fractional(Nx64 Kbps)DS1/E1 service
162                               (Contiguous timeslots only).You can
163                               map an Nx64 Kbps channel to any Virtual
164                               Channel(VC).
165
166            unstructured  : This is for unstructured data transfer(UDT)
167                           All the DS0 time slots are allocated.
168                           This type of port supports following
169                           features:
170                            * intended to emulate point-to-point
171                              DS1 or E1 circuit.
172                            * Synchronous and Asynchronous timing
173
174            framingOnVcDisconnect : similar to unstructured during normal
175                                    operation. In case of channel failure
176                                    line data will be looped back towards
177                                    line.
178            strau          : only one DS0 time slot is allocated.
179
180            The value strau(4) value is not supported in
181            CESM-8T1/E1 or CESM-T3E3.
182            CESM-T3E3 card supports value unstructured(2) only."
183	 ::= { cesmPortCnfGrpEntry 4 }
184
185cesPortDs0ConfigBitMap	OBJECT-TYPE
186	SYNTAX	   Integer32 (0..'ffffff'h)
187	MAX-ACCESS read-write
188	STATUS     current
189	DESCRIPTION
190	    "This represents bit map of DS0s for a line which
191	    are used to form this logical port. Bit 0 represents
192            DS0-1."
193	::= { cesmPortCnfGrpEntry 5 }
194
195cesPortNumOfDs0Slot 	OBJECT-TYPE
196	SYNTAX	   Integer32 (1..32)
197	MAX-ACCESS read-write
198	STATUS	   current
199	DESCRIPTION
200	    "This represents  number of DS0 time slots
201            configured to this Port. If the cesPortType is
202            strau(4), then this can not have more than 1 DS0 time slot."
203	::= { cesmPortCnfGrpEntry 6 }
204
205cesPortNumOfSCIPerDS0 	OBJECT-TYPE
206	SYNTAX	   Integer32 (1..8)
207	MAX-ACCESS read-write
208	STATUS	   current
209	DESCRIPTION
210            "This object represents  number of subcircuit in
211            the DS0 time slot.
212	    This is applicable only when cesPortType is
213            strau(4).
214
215              8 = there are 8 no .of 8kbps links  (1 bit)
216              4 = there are 4 no .of 16kbps links (2 bit)
217              2 = there are 2 no .of 32kbps links (4 bit)
218            Currently not supported in CESM-8."
219        DEFVAL { 4 }
220        ::= { cesmPortCnfGrpEntry 7 }
221
222cesPortSpeed       OBJECT-TYPE
223        SYNTAX     Integer32 (0..44736)
224        UNITS      "kbps"
225    	MAX-ACCESS read-only
226        STATUS     current
227        DESCRIPTION
228            "This object identifies the configured speed
229            of port.
230                 Max speed for T1 = 1544
231                 Max speed for E1 = 2038
232                 Max speed for T3 = 44736
233                 Max speed for E3 = 34368."
234        ::= { cesmPortCnfGrpEntry 8 }
235
236cesPortState OBJECT-TYPE
237    SYNTAX  INTEGER {
238                notConfigured         (1),
239                active                (2),
240                remoteLoopback        (3),
241                failedDueToLine       (4),
242                failedDueToSignalling (5),
243                inactive              (6),
244                inBert                (7),
245                farEndRemoteLoopback  (8)
246           }
247    MAX-ACCESS read-only
248    STATUS     current
249    DESCRIPTION
250        "This variable indicates the state of the
251        logical port.
252        The possible values are :
253          notConfigured  (1) : Port is not configured
254          active         (2) : Port is in active state
255          remoteLoopback (3) : Remote Loopback is set
256          failedDueToLine(4) : Port failed due to some failure in
257                               physical line
258          failedDueToSignalling(5) : Port failed due to some Signalling
259                                    issues.
260          inactive       (6) : Port is not active
261          inBert         (7) : Bit Error Rate Test(BERT) in progress.
262          farEndRemoteLoopback(8): Far End is in loopback."
263    DEFVAL { notConfigured }
264    ::= { cesmPortCnfGrpEntry 9 }
265
266cesPortBERTEnable	   OBJECT-TYPE
267    SYNTAX  INTEGER {
268                    disable (1),
269                    enable  (2)
270                        }
271    MAX-ACCESS read-write
272    STATUS     current
273    DESCRIPTION
274        "This variable enables/disables BERT.
275        This object is not supported in CESM-T3E3."
276    DEFVAL { disable }
277    ::= { cesmPortCnfGrpEntry 10 }
278
279
280--
281--	Next available port
282--
283
284cesPortNextAvailable 	OBJECT-TYPE
285	SYNTAX	   Integer32 (0..2048)
286	MAX-ACCESS read-only
287	STATUS     current
288	DESCRIPTION
289	    "This variable contains the next UNUSED logical port number
290	    of the possible 32 DS0s * n ports.
291	    This number can be used in channel config table, the
292	    cesportNextAvailable gets updated if the number gets
293	    used to create a logical port.
294	    A '0' indicates that no more ports are available."
295	::= { cesmPortCnfGrp 2 }
296
297--- This will indicate the DS0 slots used by the ports
298--- that belongs the particular line.
299
300
301cesPortsUsedLine1 	OBJECT-TYPE
302	SYNTAX	   Integer32 (0..'ffffff'h)
303	MAX-ACCESS read-only
304	STATUS	   current
305	DESCRIPTION
306           "Each bits set represents a DS0 that is used by all the
307	   logical ports defined so far for that DS1, the most significant
308	   byte is invalid for DS1
309	   This is for line 1"
310	::= { cesmPortCnfGrp 3 }
311
312cesPortsUsedLine2 	OBJECT-TYPE
313	SYNTAX	   Integer32 (0..'ffffff'h)
314	MAX-ACCESS read-only
315	STATUS	   current
316	DESCRIPTION
317            "Each bits set represents a DS0 that is used by all the
318	    logical ports defined so far for that DS1, the most significant
319	    byte is invalid for DS1
320	    This is for line 2."
321	::= { cesmPortCnfGrp 4 }
322
323cesPortsUsedLine3 	OBJECT-TYPE
324	SYNTAX	   Integer32 (0..'ffffff'h)
325	MAX-ACCESS read-only
326	STATUS 	   current
327	DESCRIPTION
328            "Each bits set represents a DS0 that is used by all the
329	    logical ports defined so far for that DS1, the most significant
330	    byte is invalid for DS1
331	    This is for line 3"
332	::= { cesmPortCnfGrp 5 }
333
334cesPortsUsedLine4 	OBJECT-TYPE
335	SYNTAX	   Integer32 (0..'ffffff'h)
336	MAX-ACCESS read-only
337	STATUS     current
338	DESCRIPTION
339        "Each bits set represents a DS0 that is used by all the
340        logical ports defined so far for that DS1, the most significant
341        byte is invalid for DS1.
342        This is for line 4"
343	::= { cesmPortCnfGrp 6 }
344
345cesPortsUsedLine5 	OBJECT-TYPE
346	SYNTAX	   Integer32 (0..'ffffff'h)
347	MAX-ACCESS read-only
348	STATUS	   current
349	DESCRIPTION
350            "Each bits set represents a DS0 that is used by all the
351	    logical ports defined so far for that DS1, the most significant
352	    byte is invalid for DS1
353            This is for line 5"
354	::= { cesmPortCnfGrp 7 }
355
356cesPortsUsedLine6 	OBJECT-TYPE
357	SYNTAX	   Integer32 (0..'ffffff'h)
358	MAX-ACCESS read-only
359	STATUS     current
360	DESCRIPTION
361            "Each bits set represents a DS0 that is used by all the
362	    logical ports defined so far for that DS1, the most significant
363	    byte is invalid for DS1
364	    This is for line 6"
365	::= { cesmPortCnfGrp 8 }
366
367cesPortsUsedLine7 	OBJECT-TYPE
368	SYNTAX	   Integer32 (0..'ffffff'h)
369	MAX-ACCESS read-only
370	STATUS	   current
371	DESCRIPTION
372            "Each bits set represents a DS0 that is used by all the
373	    logical ports defined so far for that DS1, the most significant
374	    byte is invalid for DS1
375	    This is for line 7"
376	::= { cesmPortCnfGrp 9 }
377
378cesPortsUsedLine8 	OBJECT-TYPE
379	SYNTAX	   Integer32 (0..'ffffff'h)
380	MAX-ACCESS read-only
381	STATUS	   current
382	DESCRIPTION
383	    "Each bits set represents a DS0 that is used by all the
384	    logical ports defined so far for that DS1, the most significant
385	    byte is invalid for DS1
386	    This is for line 8"
387	::= { cesmPortCnfGrp 10 }
388
389
390-- conformance information
391
392ciscoWanCesPortMIBConformance  OBJECT IDENTIFIER ::= { ciscoWanCesPortMIB 2 }
393
394ciscoWanCesPortMIBGroups       OBJECT IDENTIFIER ::=
395                              { ciscoWanCesPortMIBConformance 1 }
396
397ciscoWanCesPortMIBCompliances  OBJECT IDENTIFIER ::=
398                              { ciscoWanCesPortMIBConformance 2 }
399
400-- compliance statements
401
402ciscoWanCesPortCompliance MODULE-COMPLIANCE
403    STATUS  current
404    DESCRIPTION
405        "The compliance statement for objects related
406        to CES Logical Ports."
407    MODULE  -- this module
408        MANDATORY-GROUPS {
409            ciscoWanCesPortConfGroup,
410            ciscoWanCesPortDs0InDs1Group
411        }
412
413    GROUP ciscoWanCesPortsUsedGroup
414    DESCRIPTION
415        "This group is mandatory in the systems
416        where it is required to find the next
417        logical port available to configure."
418    ::= { ciscoWanCesPortMIBCompliances 1 }
419
420ciscoWanCesPortsUsedGroup OBJECT-GROUP
421    OBJECTS {
422        cesPortNextAvailable
423    }
424    STATUS current
425    DESCRIPTION
426        "The collection of objects which are
427        applicable for general information about
428        logical ports."
429    ::= { ciscoWanCesPortMIBGroups 1 }
430
431ciscoWanCesPortConfGroup OBJECT-GROUP
432    OBJECTS {
433        cesPortNum,
434   	cesPortRowStatus,
435	cesPortLineNum,
436	cesPortType,
437	cesPortDs0ConfigBitMap,
438        cesPortNumOfDs0Slot,
439      	cesPortNumOfSCIPerDS0,
440        cesPortSpeed,
441	cesPortState,
442	cesPortBERTEnable
443      }
444      STATUS current
445      DESCRIPTION
446          "The collection of objects which are used to represent
447          Circuit Emulation Service Port information."
448      ::= { ciscoWanCesPortMIBGroups 2 }
449
450ciscoWanCesPortDs0InDs1Group OBJECT-GROUP
451    OBJECTS {
452        cesPortsUsedLine1,
453        cesPortsUsedLine2,
454        cesPortsUsedLine3,
455        cesPortsUsedLine4,
456        cesPortsUsedLine5,
457        cesPortsUsedLine6,
458        cesPortsUsedLine7,
459        cesPortsUsedLine8
460    }
461    STATUS current
462    DESCRIPTION
463        "The collection of objects related to information
464        on DS0 time slots used in each DS1 line."
465    ::= { ciscoWanCesPortMIBGroups 3 }
466
467END
468