summaryrefslogtreecommitdiff
path: root/MIBS/comware/HH3C-SAVA-MIB
blob: 4f322514a263a41ed682b0627f12086d8c3037a3 (plain)
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
-- =====================================================================
-- Copyright (c) 2004-2020 New H3C Tech. Co., Ltd. All rights reserved.
--
-- Description: SAVA MIB
-- Reference:
-- Version: V1.0
-- History:
--   V1.0 2020-06-30
--     Initial version
-- =====================================================================
HH3C-SAVA-MIB DEFINITIONS ::= BEGIN

IMPORTS
    hh3cCommon
        FROM HH3C-OID-MIB
    OBJECT-TYPE, MODULE-IDENTITY, Unsigned32, Counter64
        FROM SNMPv2-SMI
    TEXTUAL-CONVENTION, TruthValue
        FROM SNMPv2-TC
    InterfaceIndex
        FROM IF-MIB                         --RFC2863
    InetVersion,InetAddressType
        FROM INET-ADDRESS-MIB               --RFC4001
    Ipv6AddressPrefix
        FROM IPV6-TC                         --RFC2465
        ;


hh3cSava MODULE-IDENTITY
    LAST-UPDATED "202006300000Z"
    ORGANIZATION
        "New H3C Tech. Co., Ltd."
    CONTACT-INFO
        "Platform Team New H3C Tech. Co., Ltd.
        Hai-Dian District Beijing P.R. China
        http://www.h3c.com
        Zip:100085
        "
    DESCRIPTION
        "The MIB module for support configuration and monitoring of SAVA Module."
    REVISION "202006300000Z"
    DESCRIPTION
        "The initial revision of this MIB module."
    ::= { hh3cCommon 191 }

    Hh3cSavaOwnerString ::= TEXTUAL-CONVENTION
        DISPLAY-HINT "255a"
        STATUS       current
        DESCRIPTION
           "This data type is used to indicate the subnet. "
        SYNTAX       OCTET STRING (SIZE(0..255))
--
-- Node definitions
--
hh3cSavaObjects OBJECT IDENTIFIER ::= { hh3cSava 1 }

-- System parameters for SAVA protocol

hh3cSavaSystemTable OBJECT-TYPE
    SYNTAX     SEQUENCE OF Hh3cSavaSystemEntry
    MAX-ACCESS not-accessible
    STATUS     current
    DESCRIPTION
           "The table containing SAVA system-wide parameters."
    ::= { hh3cSavaObjects 1 }


hh3cSavaSystemEntry OBJECT-TYPE
    SYNTAX     Hh3cSavaSystemEntry
    MAX-ACCESS not-accessible
    STATUS     current
    DESCRIPTION
           "An entry containing SAVA system-wide parameters for a
            particular IP version.
           "
    INDEX { hh3cSavaSystemIPVersion  }
    ::=   { hh3cSavaSystemTable 1 }

Hh3cSavaSystemEntry ::=
    SEQUENCE {
        hh3cSavaSystemIPVersion              InetVersion,
        hh3cSavaSystemNotify                 TruthValue,
        hh3cSavaSystemNotifyInterval         Unsigned32,
        hh3cSavaSystemNotifyNumber           Unsigned32
    }

hh3cSavaSystemIPVersion OBJECT-TYPE
    SYNTAX     InetVersion
    MAX-ACCESS not-accessible
    STATUS     current
    DESCRIPTION
           "The IP version. "
    ::= { hh3cSavaSystemEntry 1 }


hh3cSavaSystemNotify OBJECT-TYPE
    SYNTAX      TruthValue
    MAX-ACCESS read-write
    STATUS     current
    DESCRIPTION
          "An log switch for spoofing Notify.
            true, the attribute is set.
            false, the attribute is not set.
          "
    ::= { hh3cSavaSystemEntry 2 }

hh3cSavaSystemNotifyInterval OBJECT-TYPE
    SYNTAX     Unsigned32 (0|5..3600)
    MAX-ACCESS read-write
    STATUS     current
    DESCRIPTION
          "Interval for log.0, 5 to 3600s.
          "
    ::= { hh3cSavaSystemEntry 3 }


hh3cSavaSystemNotifyNumber OBJECT-TYPE
    SYNTAX     Unsigned32 (1..128)
    MAX-ACCESS read-write
    STATUS     current
    DESCRIPTION
          "Number of spoofing notify: 1~128.
          "
    ::= { hh3cSavaSystemEntry 4 }

-- interface parameters for SAVA

hh3cSavaIfTable OBJECT-TYPE
    SYNTAX     SEQUENCE OF Hh3cSavaIfEntry
    MAX-ACCESS not-accessible
    STATUS     current
    DESCRIPTION
           "The table containing SAVA parameters of each interface."
    ::= { hh3cSavaObjects 2 }

hh3cSavaIfEntry OBJECT-TYPE
    SYNTAX     Hh3cSavaIfEntry
    MAX-ACCESS not-accessible
    STATUS     current
    DESCRIPTION
           "An entry containing SAVA running parameters of an interface."
    INDEX {
            hh3cSavaIfIPVersion,
            hh3cSavaIfIndex
          }
    ::= { hh3cSavaIfTable 1 }


Hh3cSavaIfEntry ::=
    SEQUENCE {
        hh3cSavaIfIPVersion          InetVersion,
        hh3cSavaIfIndex              InterfaceIndex,
        hh3cSavaIfEnable             TruthValue,
        hh3cSavaIfRemoteRoutetag     Unsigned32,
        hh3cSavaIfAccessSubnet       Hh3cSavaOwnerString
    }

hh3cSavaIfIPVersion      OBJECT-TYPE
    SYNTAX     InetVersion
    MAX-ACCESS not-accessible
    STATUS     current
    DESCRIPTION
           "The IP version. "
    ::= { hh3cSavaIfEntry 1 }

hh3cSavaIfIndex  OBJECT-TYPE
    SYNTAX     InterfaceIndex
    MAX-ACCESS not-accessible
    STATUS     current
    DESCRIPTION
           "The index value that uniquely identifies the interface to
            which this entry is applicable.  The interface identified by
            a particular value of this index is the same interface as
            identified by the same value of the IF-MIB's ifIndex.
           "
    ::= { hh3cSavaIfEntry 2 }

hh3cSavaIfEnable OBJECT-TYPE
    SYNTAX      TruthValue
    MAX-ACCESS read-write
    STATUS     current
    DESCRIPTION
           "An attribute defined in SAVA protocol.
            true, the attribute is set.
            false, the attribute is not set.
           "
    ::= { hh3cSavaIfEntry 3 }

hh3cSavaIfRemoteRoutetag OBJECT-TYPE
    SYNTAX     Unsigned32
    MAX-ACCESS read-write
    STATUS     current
    DESCRIPTION
           "The number of route tag."
    ::= { hh3cSavaIfEntry 4 }


hh3cSavaIfAccessSubnet OBJECT-TYPE
    SYNTAX     Hh3cSavaOwnerString
    MAX-ACCESS read-write
    STATUS     current
    DESCRIPTION
          "An access-net which the interface connect to.
          "
    ::= { hh3cSavaIfEntry 5 }



-- prefix Table for SAVA

hh3cSavaPrefixTable OBJECT-TYPE
    SYNTAX     SEQUENCE OF Hh3cSavaPrefixEntry
    MAX-ACCESS not-accessible
    STATUS     current
    DESCRIPTION
           "The table containing the prefix for SAVA.
           "
    ::= { hh3cSavaObjects 3 }

hh3cSavaPrefixEntry OBJECT-TYPE
    SYNTAX     Hh3cSavaPrefixEntry
    MAX-ACCESS not-accessible
    STATUS     current
    DESCRIPTION
           "An entry containing the prefix for SAVA.
            Entries are keyed on the source IP address type,
            binding type, anchor, and source IP address.
           "
    INDEX {
            hh3cSavaPrefixAddressType,
            hh3cSavaPrefixIfIndex,
            hh3cSavaPrefixAddress,
            hh3cSavaPrefixLength
          }
    ::= { hh3cSavaPrefixTable 1 }

Hh3cSavaPrefixEntry ::=
    SEQUENCE {
        hh3cSavaPrefixAddressType  InetAddressType,
        hh3cSavaPrefixIfIndex      InterfaceIndex,
        hh3cSavaPrefixAddress      Ipv6AddressPrefix,
        hh3cSavaPrefixLength       Unsigned32,
        hh3cSavaPrefixSource       INTEGER
     }

hh3cSavaPrefixAddressType OBJECT-TYPE
    SYNTAX     InetAddressType
    MAX-ACCESS not-accessible
    STATUS     current
    DESCRIPTION
           "IP address type of the  prefix ."
    ::= { hh3cSavaPrefixEntry 1 }

hh3cSavaPrefixIfIndex OBJECT-TYPE
    SYNTAX     InterfaceIndex
    MAX-ACCESS not-accessible
    STATUS     current
    DESCRIPTION
           "The index value that uniquely identifies the interface to
            which this entry is applicable.  The interface identified by
            a particular value of this index is the same interface as
            identified by the same value of the IF-MIB's ifIndex.
           "
    ::= { hh3cSavaPrefixEntry 2 }

hh3cSavaPrefixAddress OBJECT-TYPE
    SYNTAX     Ipv6AddressPrefix
    MAX-ACCESS not-accessible
    STATUS     current
    DESCRIPTION
           "The prefix's IP address"
    ::= { hh3cSavaPrefixEntry 3 }


hh3cSavaPrefixLength OBJECT-TYPE
    SYNTAX     Unsigned32
    MAX-ACCESS not-accessible
    STATUS     current
    DESCRIPTION
           "mask length of prefix."
    ::= { hh3cSavaPrefixEntry 4 }

hh3cSavaPrefixSource OBJECT-TYPE
    SYNTAX     INTEGER  {
                   localroute(1),
                   remoteroute(2),
                   otherif(3)
              }
    MAX-ACCESS read-only
    STATUS     current
    DESCRIPTION
           "The origin of the prefix. "
    ::= { hh3cSavaPrefixEntry 5 }



-- Count of packets dropped because of validation failure for each interface.

hh3cSavaCountTable OBJECT-TYPE
    SYNTAX     SEQUENCE OF Hh3cSavaCountEntry
    MAX-ACCESS not-accessible
    STATUS     current
    DESCRIPTION
           "The table containing count of packets dropped because of validation failure."
    ::= { hh3cSavaObjects 4 }

hh3cSavaCountEntry OBJECT-TYPE
    SYNTAX     Hh3cSavaCountEntry
    MAX-ACCESS not-accessible
    STATUS     current
    DESCRIPTION
           "An entry containing count of packets dropped because of validation failure for each interface."
    INDEX { hh3cSavaCountIPVersion,
            hh3cSavaCountIfIndex
          }
    ::= { hh3cSavaCountTable 1 }

Hh3cSavaCountEntry ::=
    SEQUENCE {
        hh3cSavaCountIPVersion          InetVersion,
        hh3cSavaCountIfIndex            InterfaceIndex,
        hh3cSavaCountFilterPkt          Counter64,
        hh3cSavaCountFilterOctets       Counter64
    }

hh3cSavaCountIPVersion      OBJECT-TYPE
    SYNTAX     InetVersion
    MAX-ACCESS not-accessible
    STATUS     current
    DESCRIPTION
           "The IP version."
    ::= { hh3cSavaCountEntry 1 }

hh3cSavaCountIfIndex            OBJECT-TYPE
    SYNTAX      InterfaceIndex
    MAX-ACCESS  not-accessible
    STATUS      current
    DESCRIPTION
           "The Interface."
    ::= { hh3cSavaCountEntry 2 }


hh3cSavaCountFilterPkt OBJECT-TYPE
    SYNTAX     Counter64
    MAX-ACCESS read-only
    STATUS     current
    DESCRIPTION
           "The count of packets dropped."
    ::= { hh3cSavaCountEntry 3 }


hh3cSavaCountFilterOctets OBJECT-TYPE
    SYNTAX     Counter64
    MAX-ACCESS read-only
    STATUS     current
    DESCRIPTION
           "The octets of packets dropped."
    ::= { hh3cSavaCountEntry 4 }
END