1-- *------------------------------------------------------------------
2-- * ALTIGA-NAT-STATS-MIB.my:  Altiga NAT Statistics MIB.
3-- *
4-- * Altiga Networks was acquired by Cisco Systems on March 29, 2000
5-- *
6-- * Copyright (c) 2002 by Cisco Systems, Inc.
7-- * All rights reserved.
8-- *
9-- *------------------------------------------------------------------
10
11ALTIGA-NAT-STATS-MIB DEFINITIONS ::= BEGIN
12
13   IMPORTS
14      MODULE-IDENTITY, OBJECT-TYPE, IpAddress, Integer32, Counter32, Unsigned32
15         FROM SNMPv2-SMI
16      OBJECT-GROUP, MODULE-COMPLIANCE
17         FROM SNMPv2-CONF
18      alStatsNat, alNatGroup
19         FROM ALTIGA-MIB
20      alNatMibModule
21         FROM ALTIGA-GLOBAL-REG;
22
23   altigaNatStatsMibModule MODULE-IDENTITY
24      LAST-UPDATED   "200209051300Z"
25      ORGANIZATION   "Cisco Systems, Inc."
26      CONTACT-INFO
27         "Cisco Systems
28          170 W Tasman Drive
29          San Jose, CA  95134
30          USA
31
32          Tel: +1 800 553-NETS
33          E-mail: cs-cvpn3000@cisco.com"
34
35      DESCRIPTION
36         "The Altiga NAT Statistics MIB models counters and objects that are
37          of management interest for NAT.
38
39          Acronyms
40          The following acronyms are used in this document:
41
42            MIB:        Management Information Base
43
44            NAT:        Network Address Translation
45
46         "
47
48        REVISION "200209051300Z"
49        DESCRIPTION
50                "Added module compliance."
51
52        REVISION "200207100000Z"
53        DESCRIPTION
54                "Updated with new header"
55
56      ::= { alNatMibModule 2 }
57
58-- +++++++++++++++++++++++++++++++++++++++++++++++++++++++
59-- MIB Objects
60-- +++++++++++++++++++++++++++++++++++++++++++++++++++++++
61
62alStatsNatGlobal  OBJECT IDENTIFIER ::= { alStatsNat 1 }
63
64alNatStatsPacketsIn     OBJECT-TYPE
65   SYNTAX         Counter32
66   MAX-ACCESS     read-only
67   STATUS         current
68   DESCRIPTION
69          "The total number of inbound packets that have been translated."
70   ::= { alStatsNatGlobal 1 }
71
72alNatStatsPacketsOut            OBJECT-TYPE
73   SYNTAX         Counter32
74   MAX-ACCESS     read-only
75   STATUS         current
76   DESCRIPTION
77          "The total number of outbound packets that have been translated."
78   ::= { alStatsNatGlobal 2 }
79
80alNatStatsTotalTranslations     OBJECT-TYPE
81   SYNTAX         Counter32
82   MAX-ACCESS     read-only
83   STATUS         current
84   DESCRIPTION
85          "The total number of sessions that have been established."
86   ::= { alStatsNatGlobal 3 }
87
88alNatStatsActiveTranslations    OBJECT-TYPE
89   SYNTAX         Counter32
90   MAX-ACCESS     read-only
91   STATUS         current
92   DESCRIPTION
93          "The active number of sessions that are established."
94   ::= { alStatsNatGlobal 4 }
95
96alNatStatsMaxTranslations       OBJECT-TYPE
97   SYNTAX         Counter32
98   MAX-ACCESS     read-only
99   STATUS         current
100   DESCRIPTION
101          "The maximum number of sessions that have been established at any one time."
102   ::= { alStatsNatGlobal 5 }
103
104alNatTranslationTable      OBJECT-TYPE
105   SYNTAX            SEQUENCE OF AlNatTranslationEntry
106   MAX-ACCESS        not-accessible
107   STATUS            current
108   DESCRIPTION
109      "List of active NAT sessions."
110   ::= { alStatsNat 2 }
111
112alNatTranslationEntry      OBJECT-TYPE
113   SYNTAX            AlNatTranslationEntry
114   MAX-ACCESS        not-accessible
115   STATUS            current
116   DESCRIPTION
117          "An entry in the alNatTranslationTable."
118   INDEX       { alNatTranslationSrcAddress,
119                     alNatTranslationSrcPort,
120                     alNatTranslationDestAddress,
121                     alNatTranslationDestPort}
122   ::= { alNatTranslationTable 1 }
123
124AlNatTranslationEntry ::= SEQUENCE {
125   alNatTranslationSrcAddress       IpAddress,
126   alNatTranslationSrcPort          Integer32,
127   alNatTranslationDestAddress      IpAddress,
128   alNatTranslationDestPort         Integer32,
129   alNatTranslationAddress    IpAddress,
130   alNatTranslationPort       Integer32,
131   alNatTranslationAge           Unsigned32,
132   alNatTranslationType          INTEGER,
133   alNatTranslationDirection  INTEGER,
134   alNatTranslationBytes      Counter32,
135   alNatTranslationPackets    Counter32
136}
137
138alNatTranslationSrcAddress OBJECT-TYPE
139   SYNTAX         IpAddress
140   MAX-ACCESS     read-only
141   STATUS         current
142   DESCRIPTION
143          "The internal source address to be translated."
144   ::= { alNatTranslationEntry 1 }
145
146alNatTranslationSrcPort    OBJECT-TYPE
147   SYNTAX         Integer32 (0..65535)
148   MAX-ACCESS     read-only
149   STATUS         current
150   DESCRIPTION
151          "The internal source port to be translated."
152   ::= { alNatTranslationEntry 2 }
153
154alNatTranslationDestAddress   OBJECT-TYPE
155   SYNTAX         IpAddress
156   MAX-ACCESS     read-only
157   STATUS         current
158   DESCRIPTION
159          "The external destination address."
160   ::= { alNatTranslationEntry 3 }
161
162alNatTranslationDestPort   OBJECT-TYPE
163   SYNTAX         Integer32 (0..65535)
164   MAX-ACCESS     read-only
165   STATUS         current
166   DESCRIPTION
167          "The external destinatin port."
168   ::= { alNatTranslationEntry 4 }
169
170alNatTranslationAddress    OBJECT-TYPE
171   SYNTAX         IpAddress
172   MAX-ACCESS     read-only
173   STATUS         current
174   DESCRIPTION
175          "The translated internal source address."
176   ::= { alNatTranslationEntry 5 }
177
178alNatTranslationPort    OBJECT-TYPE
179   SYNTAX         Integer32 (0..65535)
180   MAX-ACCESS     read-only
181   STATUS         current
182   DESCRIPTION
183          "The translated internal source port."
184   ::= { alNatTranslationEntry 6 }
185
186alNatTranslationAge     OBJECT-TYPE
187   SYNTAX         Unsigned32
188   MAX-ACCESS     read-only
189   STATUS         current
190   DESCRIPTION
191               "The age of this entry in seconds."
192   ::= { alNatTranslationEntry 7 }
193
194alNatTranslationType    OBJECT-TYPE
195   SYNTAX         INTEGER {
196               unknown(0),
197               portMapTcp (1),
198               portMapUdp (2),
199               portMapTcpUdp(3),
200               noPortMap (4),
201               ftpProxy (8),
202               tftpProxy (16),
203               nbnsTcpProxy (32),
204               nbnsUdpProxy (64),
205               nbdgsvcProxy (128),
206               h225TcpProxy (256),
207               h245Proxy(512),
208               rasProxy (1024),
209               ilsProxy (2048),
210               all(4095)
211            }
212   MAX-ACCESS     read-only
213   STATUS         current
214   DESCRIPTION
215          "The type of this entry."
216   ::= { alNatTranslationEntry 8 }
217
218alNatTranslationDirection  OBJECT-TYPE
219   SYNTAX         INTEGER {
220               inbound (1),
221               outbound (2)
222               }
223   MAX-ACCESS     read-only
224   STATUS         current
225   DESCRIPTION
226          "The direction that this rule acts upon."
227   ::= { alNatTranslationEntry 9 }
228
229alNatTranslationBytes      OBJECT-TYPE
230   SYNTAX         Counter32
231   MAX-ACCESS     read-only
232   STATUS         current
233   DESCRIPTION
234          "The total number of bytes that have been translated."
235   ::= { alNatTranslationEntry 10 }
236
237alNatTranslationPackets    OBJECT-TYPE
238   SYNTAX         Counter32
239   MAX-ACCESS     read-only
240   STATUS         current
241   DESCRIPTION
242          "The total number of packets that have been translated."
243   ::= { alNatTranslationEntry 11 }
244
245alNatAllTranslationTable      OBJECT-TYPE
246   SYNTAX            SEQUENCE OF AlNatAllTranslationEntry
247   MAX-ACCESS        not-accessible
248   STATUS            current
249   DESCRIPTION
250      "List of active NAT sessions."
251   ::= { alStatsNat 3 }
252
253alNatAllTranslationEntry      OBJECT-TYPE
254   SYNTAX            AlNatAllTranslationEntry
255   MAX-ACCESS        not-accessible
256   STATUS            current
257   DESCRIPTION
258          "An entry in the alNatAllTranslationTable."
259   INDEX       { alNatAllTranslationSrcAddress,
260                     alNatAllTranslationSrcPort,
261                     alNatAllTranslationDestAddress,
262                     alNatAllTranslationDestPort,
263                  alNatAllTranslationType }
264   ::= { alNatAllTranslationTable 1 }
265
266AlNatAllTranslationEntry ::= SEQUENCE {
267   alNatAllTranslationSrcAddress       IpAddress,
268   alNatAllTranslationSrcPort          Integer32,
269   alNatAllTranslationDestAddress      IpAddress,
270   alNatAllTranslationDestPort         Integer32,
271   alNatAllTranslationAddress    IpAddress,
272   alNatAllTranslationPort       Integer32,
273   alNatAllTranslationAge           Unsigned32,
274   alNatAllTranslationType          INTEGER,
275   alNatAllTranslationDirection  INTEGER,
276   alNatAllTranslationBytes      Counter32,
277   alNatAllTranslationPackets    Counter32
278}
279
280alNatAllTranslationSrcAddress OBJECT-TYPE
281   SYNTAX         IpAddress
282   MAX-ACCESS     read-only
283   STATUS         current
284   DESCRIPTION
285          "The internal source address to be translated."
286   ::= { alNatAllTranslationEntry 1 }
287
288alNatAllTranslationSrcPort    OBJECT-TYPE
289   SYNTAX         Integer32 (0..65535)
290   MAX-ACCESS     read-only
291   STATUS         current
292   DESCRIPTION
293          "The internal source port to be translated."
294   ::= { alNatAllTranslationEntry 2 }
295
296alNatAllTranslationDestAddress   OBJECT-TYPE
297   SYNTAX         IpAddress
298   MAX-ACCESS     read-only
299   STATUS         current
300   DESCRIPTION
301          "The external destination address."
302   ::= { alNatAllTranslationEntry 3 }
303
304alNatAllTranslationDestPort   OBJECT-TYPE
305   SYNTAX         Integer32 (0..65535)
306   MAX-ACCESS     read-only
307   STATUS         current
308   DESCRIPTION
309          "The external destinatin port."
310   ::= { alNatAllTranslationEntry 4 }
311
312alNatAllTranslationAddress    OBJECT-TYPE
313   SYNTAX         IpAddress
314   MAX-ACCESS     read-only
315   STATUS         current
316   DESCRIPTION
317          "The translated internal source address."
318   ::= { alNatAllTranslationEntry 5 }
319
320alNatAllTranslationPort    OBJECT-TYPE
321   SYNTAX         Integer32 (0..65535)
322   MAX-ACCESS     read-only
323   STATUS         current
324   DESCRIPTION
325          "The translated internal source port."
326   ::= { alNatAllTranslationEntry 6 }
327
328alNatAllTranslationAge     OBJECT-TYPE
329   SYNTAX         Unsigned32
330   MAX-ACCESS     read-only
331   STATUS         current
332   DESCRIPTION
333               "The age of this entry in seconds."
334   ::= { alNatAllTranslationEntry 7 }
335
336alNatAllTranslationType    OBJECT-TYPE
337   SYNTAX         INTEGER {
338               unknown(0),
339               portMapTcp (1),
340               portMapUdp (2),
341               portMapTcpUdp(3),
342               noPortMap (4),
343               ftpProxy (8),
344               tftpProxy (16),
345               nbnsTcpProxy (32),
346               nbnsUdpProxy (64),
347               nbdgsvcProxy (128),
348               h225TcpProxy (256),
349               h245Proxy(512),
350               rasProxy (1024),
351               ilsProxy (2048),
352               all(4095)
353            }
354   MAX-ACCESS     read-only
355   STATUS         current
356   DESCRIPTION
357          "The type of this entry."
358   ::= { alNatAllTranslationEntry 8 }
359
360alNatAllTranslationDirection  OBJECT-TYPE
361   SYNTAX         INTEGER {
362               inbound (1),
363               outbound (2)
364               }
365   MAX-ACCESS     read-only
366   STATUS         current
367   DESCRIPTION
368          "The direction that this rule acts upon."
369   ::= { alNatAllTranslationEntry 9 }
370
371alNatAllTranslationBytes      OBJECT-TYPE
372   SYNTAX         Counter32
373   MAX-ACCESS     read-only
374   STATUS         current
375   DESCRIPTION
376          "The total number of bytes that have been translated."
377   ::= { alNatAllTranslationEntry 10 }
378
379alNatAllTranslationPackets    OBJECT-TYPE
380   SYNTAX         Counter32
381   MAX-ACCESS     read-only
382   STATUS         current
383   DESCRIPTION
384          "The total number of packets that have been translated."
385   ::= { alNatAllTranslationEntry 11 }
386
387altigaNatStatsMibConformance OBJECT IDENTIFIER ::= { altigaNatStatsMibModule 1 }
388altigaNatStatsMibCompliances OBJECT IDENTIFIER ::= { altigaNatStatsMibConformance 1 }
389
390altigaNatStatsMibCompliance MODULE-COMPLIANCE
391   STATUS         current
392   DESCRIPTION
393      "The compliance statement for agents which
394       implement the Altiga NAT Statistics MIB."
395   MODULE
396   MANDATORY-GROUPS {
397      altigaNatStatsGroup
398   }
399   ::= { altigaNatStatsMibCompliances 1 }
400
401altigaNatStatsGroup  OBJECT-GROUP
402   OBJECTS
403   {
404      alNatStatsPacketsIn,
405      alNatStatsPacketsOut,
406      alNatStatsTotalTranslations,
407      alNatStatsActiveTranslations,
408      alNatStatsMaxTranslations,
409      alNatTranslationSrcAddress,
410      alNatTranslationSrcPort,
411      alNatTranslationDestAddress,
412      alNatTranslationDestPort,
413      alNatTranslationAddress,
414      alNatTranslationPort,
415      alNatTranslationAge,
416      alNatTranslationType,
417      alNatTranslationDirection,
418      alNatTranslationBytes,
419      alNatTranslationPackets,
420      alNatAllTranslationSrcAddress,
421      alNatAllTranslationSrcPort,
422      alNatAllTranslationDestAddress,
423      alNatAllTranslationDestPort,
424      alNatAllTranslationAddress,
425      alNatAllTranslationPort,
426      alNatAllTranslationAge,
427      alNatAllTranslationType,
428      alNatAllTranslationDirection,
429      alNatAllTranslationBytes,
430      alNatAllTranslationPackets
431   }
432   STATUS current
433   DESCRIPTION
434          "The objects for NAT statistics"
435   ::= { alNatGroup 2 }
436END
437
438