1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
|
-- *******************************************************************
-- Juniper Services Network Address Translation (NAT) MIB.
--
-- Copyright (c) 2010-2013, Juniper Networks, Inc.
-- All rights reserved.
--
-- The contents of this document are subject to change without notice.
-- *******************************************************************
JUNIPER-NAT-MIB DEFINITIONS ::= BEGIN
IMPORTS
Gauge32, Integer32, Unsigned32,
NOTIFICATION-TYPE,
MODULE-IDENTITY, OBJECT-TYPE FROM SNMPv2-SMI
InterfaceIndex FROM IF-MIB
DateAndTime,
DisplayString FROM SNMPv2-TC
InetAddressType,
InetAddress,
InetAddressIPv4 FROM INET-ADDRESS-MIB
jnxSvcsMibRoot FROM JUNIPER-SMI;
jnxNatMIB MODULE-IDENTITY
LAST-UPDATED "201007122022Z" -- July 12, 2010"
ORGANIZATION "Juniper Networks, Inc."
CONTACT-INFO
"Juniper Technical Assistance Center
Juniper Networks, Inc.
1133 Innovation Way
Sunnyvale, CA 94089
E-mail: support@juniper.net
HTTP://www.juniper.net"
DESCRIPTION
"This module defines the object that are used to monitor
network address translation attributes."
REVISION "201007122022Z" -- July 12, 2010
DESCRIPTION "Creation Date"
::= { jnxSvcsMibRoot 1 }
jnxNatNotifications OBJECT IDENTIFIER ::= { jnxNatMIB 0 }
jnxNatObjects OBJECT IDENTIFIER ::= { jnxNatMIB 1 }
jnxNatTrapVars OBJECT IDENTIFIER ::= { jnxNatMIB 2 }
-- ***************************************************************
-- Source NAT Table
-- ***************************************************************
jnxSrcNatStatsTable OBJECT-TYPE
SYNTAX SEQUENCE OF JnxSrcNatStatsEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This table exposes the source NAT translation
attributes of the translated addresses.
When performing source IP address translation, the services pic
translates the original source IP address and/or port
number to different one. The resource, address source pools
provide the service pic with a supply of addresses from
which to draw when performing source network address translation.
This table contains information on source IP address
translation only."
::= { jnxNatObjects 1 }
jnxSrcNatStatsEntry OBJECT-TYPE
SYNTAX JnxSrcNatStatsEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"Source NAT address entries. It is indexed by the address
pool table and the address allocated. "
INDEX { jnxNatSrcPoolName }
::= { jnxSrcNatStatsTable 1 }
JnxSrcNatStatsEntry ::= SEQUENCE
{
jnxNatSrcPoolName DisplayString,
jnxNatSrcXlatedAddrType INTEGER,
jnxNatSrcPoolType INTEGER,
jnxNatSrcNumPortAvail Unsigned32,
jnxNatSrcNumPortInuse Unsigned32,
jnxNatSrcNumAddressAvail Unsigned32,
jnxNatSrcNumAddressInUse Unsigned32,
jnxNatSrcNumSessions Unsigned32
}
jnxNatSrcPoolName OBJECT-TYPE
SYNTAX DisplayString (SIZE(0..64))
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"The name of dynamic source IP address pool.
This is the address pool where the translated
address is allocated from. "
::= { jnxSrcNatStatsEntry 1 }
jnxNatSrcXlatedAddrType OBJECT-TYPE
SYNTAX INTEGER {
ipv4 (1),
ipv6 (2)
}
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The type of dynamic source IP address allocated from
the address pool used in the NAT translation.
For NAT MIB, supporting ipv4(1) and ipv6(2) only."
::= { jnxSrcNatStatsEntry 2 }
jnxNatSrcPoolType OBJECT-TYPE
SYNTAX INTEGER {
static (1),
dynamic-napt (2),
dynamic-nat (3),
basic-nat44 (11),
dynamic-nat44 (12),
napt-44 (13),
dnat-44 (14),
stateful-nat64 (15),
stateless-nat64 (16),
basic-nat-pt (17),
napt-pt (18),
basic-nat66 (19),
stateless-nat66 (20),
napt-66 (21),
twice-napt-44 (22),
twice-basic-nat-44 (23),
twice-dynamic-nat-44 (24),
det-napt44 (25),
sd-napt44 (26)
}
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Source NAT can do address translation with or without port
translation. The source port pool type indicates
whether the address translation is done with port or without
the port, or if it is a static translation."
::= { jnxSrcNatStatsEntry 3 }
jnxNatSrcNumPortAvail OBJECT-TYPE
SYNTAX Unsigned32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The number of ports available with this pool."
::= { jnxSrcNatStatsEntry 4 }
jnxNatSrcNumPortInuse OBJECT-TYPE
SYNTAX Unsigned32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The number of ports in use for this NAT address entry.
This attribute is only applicable to translation with
port translation."
::= { jnxSrcNatStatsEntry 5 }
jnxNatSrcNumAddressAvail OBJECT-TYPE
SYNTAX Unsigned32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The total number of addresses available in this pool."
::= { jnxSrcNatStatsEntry 6 }
jnxNatSrcNumAddressInUse OBJECT-TYPE
SYNTAX Unsigned32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The number of addresses in use from this pool.
This attribute is only applicable to pools used with
source dynamic translations."
::= { jnxSrcNatStatsEntry 7 }
jnxNatSrcNumSessions OBJECT-TYPE
SYNTAX Unsigned32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The number of sessions are in use based on this NAT address
entry."
::= { jnxSrcNatStatsEntry 8 }
-- ***************************************************************
-- NAT Rule Hit Table
-- ***************************************************************
jnxNatRuleTable OBJECT-TYPE
SYNTAX SEQUENCE OF JnxNatRuleEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This table monitors NAT rule hits "
::= { jnxNatObjects 2 }
jnxNatRuleEntry OBJECT-TYPE
SYNTAX JnxNatRuleEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"NAT rule hit entries. It is indexed by the rule index"
INDEX { jnxNatRuleName }
::= { jnxNatRuleTable 1 }
JnxNatRuleEntry ::= SEQUENCE
{
jnxNatRuleName DisplayString,
jnxNatRuleType INTEGER,
jnxNatRuleTransHits Unsigned32
}
jnxNatRuleName OBJECT-TYPE
SYNTAX DisplayString (SIZE(0..128))
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"NAT rule name"
::= { jnxNatRuleEntry 1 }
jnxNatRuleType OBJECT-TYPE
SYNTAX INTEGER {
static-source (1),
static-destination (2),
dynamic-source (3),
napt (4),
basic-nat44 (11),
dynamic-nat44 (12),
napt-44 (13),
dnat-44 (14),
stateful-nat64 (15),
stateless-nat64 (16),
basic-nat-pt (17),
napt-pt (18),
basic-nat66 (19),
stateless-nat66 (20),
napt-66 (21),
twice-napt-44 (22),
twice-basic-nat-44 (23),
twice-dynamic-nat-44 (24),
det-napt44 (25),
sd-napt44 (26)
}
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"NAT types: Static Source, Static Destination,
Dynamic Source and NAPT"
::= { jnxNatRuleEntry 2 }
jnxNatRuleTransHits OBJECT-TYPE
SYNTAX Unsigned32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The number of hits on this NAT rule"
::= { jnxNatRuleEntry 3 }
-- ***************************************************************
-- NAT Pool Hit Table
-- ***************************************************************
jnxNatPoolTable OBJECT-TYPE
SYNTAX SEQUENCE OF JnxNatPoolEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This table monitors NAT pool hits "
::= { jnxNatObjects 3 }
jnxNatPoolEntry OBJECT-TYPE
SYNTAX JnxNatPoolEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"NAT pool hit entries. It is indexed by the pool index"
INDEX { jnxNatPoolName }
::= { jnxNatPoolTable 1 }
JnxNatPoolEntry ::= SEQUENCE
{
jnxNatPoolName DisplayString,
jnxNatPoolType INTEGER,
jnxNatPoolTransHits Unsigned32
}
jnxNatPoolName OBJECT-TYPE
SYNTAX DisplayString (SIZE(0..64))
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"NAT Pool name"
::= { jnxNatPoolEntry 1 }
jnxNatPoolType OBJECT-TYPE
SYNTAX INTEGER {
static-source (1),
static-destination (2),
dynamic-source (3),
napt (4),
basic-nat44 (11),
dynamic-nat44 (12),
napt-44 (13),
dnat-44 (14),
stateful-nat64 (15),
stateless-nat64 (16),
basic-nat-pt (17),
napt-pt (18),
basic-nat66 (19),
stateless-nat66 (20),
napt-66 (21),
twice-napt-44 (22),
twice-basic-nat-44 (23),
twice-dynamic-nat-44 (24),
det-napt44 (25),
sd-napt44 (26)
}
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"NAT types: Static Source, Static Destination,
Dynamic Source and NAPT"
::= { jnxNatPoolEntry 2 }
jnxNatPoolTransHits OBJECT-TYPE
SYNTAX Unsigned32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The number of hits on this NAT Pool"
::= { jnxNatPoolEntry 3 }
-- ***************************************************************
-- NAT Trap definition
-- ***************************************************************
-- ***************************************************************
-- Trap variables
-- ***************************************************************
jnxNatAddrPoolUtil OBJECT-TYPE
SYNTAX Integer32 (0..100)
MAX-ACCESS accessible-for-notify
STATUS current
DESCRIPTION
"The dynamic address pool utilization in percentage."
::= { jnxNatTrapVars 1 }
jnxNatTrapSrcPoolName OBJECT-TYPE
SYNTAX DisplayString (SIZE(1..64))
MAX-ACCESS accessible-for-notify
STATUS current
DESCRIPTION
"Source NAT Pool name who issues trap"
::= { jnxNatTrapVars 2 }
-- ***************************************************************
-- NAT Address Pool Utilization Threshold Status
-- ***************************************************************
jnxNatAddrPoolThresholdStatus NOTIFICATION-TYPE
OBJECTS { jnxNatTrapSrcPoolName,
jnxNatAddrPoolUtil }
STATUS current
DESCRIPTION
"The Source NAT address pool utilization threshold status
trap signifies that the address pool utilization
is either exceeds certain percentage, or clear of
that percentage.
jnxNatTrapPoolName is the name of the resource pool
jnxNatAddrPoolUtil is the percentage of utilization
of the address pool."
::= { jnxNatNotifications 1 }
-- ***************************************************************
-- END of File
-- ***************************************************************
END
|