1-- =================================================================
2-- Copyright (C) 2003 by  HUAWEI TECHNOLOGIES. All rights reserved.
3--
4-- Description:HUAWEI-BRAS-SRVCFG-STATICUSER-MIB
5-- Reference:
6-- Version: V1.0
7-- History:
8--
9-- =================================================================
10
11        HUAWEI-BRAS-SRVCFG-STATICUSER-MIB DEFINITIONS ::= BEGIN
12
13            IMPORTS
14                OBJECT-GROUP, MODULE-COMPLIANCE, NOTIFICATION-GROUP
15                FROM SNMPv2-CONF
16                        hwBRASMib
17                                FROM HUAWEI-MIB
18                        InterfaceIndex
19                                FROM IF-MIB
20                        IpAddress, Integer32, MODULE-IDENTITY, OBJECT-TYPE
21                                FROM SNMPv2-SMI
22                        RowStatus, MacAddress, TruthValue, DisplayString
23                                FROM SNMPv2-TC
24                        mplsVpnVrfName
25                                FROM MPLS-VPN-MIB;
26
27                hwBRASSrvcfgStaticUser MODULE-IDENTITY
28                        LAST-UPDATED "200403041608Z"
29                        ORGANIZATION
30                  "Huawei Technologies Co.,Ltd."
31            CONTACT-INFO
32                  "Huawei Industrial Base
33  Bantian, Longgang
34   Shenzhen 518129
35   People's Republic of China
36   Website: http://www.huawei.com
37   Email: support@huawei.com
38 "
39
40                DESCRIPTION
41                        "The MIB contains objects of module SRVCFG."
42                ::= { hwBRASMib 5 }
43       --
44-- Node definitions
45--
46
47--  ==================================================================
48--
49-- ======================= definition begin =========================
50--
51-- ==================================================================
52                hwSrvcfgStaticUserMibObjects OBJECT IDENTIFIER ::= { hwBRASSrvcfgStaticUser 1 }
53      --  ============== hwStaticUserTable  define beginning ==============
54
55                hwStaticUserTable OBJECT-TYPE
56                        SYNTAX SEQUENCE OF HwStaticUserEntry
57                        MAX-ACCESS not-accessible
58                        STATUS current
59                        DESCRIPTION
60                                "The table of static user."
61                        ::= { hwSrvcfgStaticUserMibObjects 1 }
62            --  ============== hwStaticUserEntry  define beginning ==============
63                hwStaticUserEntry OBJECT-TYPE
64                        SYNTAX HwStaticUserEntry
65                        MAX-ACCESS not-accessible
66                        STATUS current
67                        DESCRIPTION
68                               "Description."
69                        INDEX { mplsVpnVrfName , hwStaticUserStartIpAddr }
70                        ::= { hwStaticUserTable 1 }
71
72                HwStaticUserEntry ::=
73                        SEQUENCE {
74                                hwStaticUserStartIpAddr
75                                        IpAddress,
76                                hwStaticUserEndIpAddr
77                                        IpAddress,
78                                hwStaticUserIfIndex
79                                        InterfaceIndex,
80                                hwStaticUserVlan
81                                        Integer32,
82                                hwStaticUserVpi
83                                        Integer32,
84                                hwStaticUserVci
85                                        Integer32,
86                                hwStaticUserMac
87                                        MacAddress,
88                                hwStaticUserDomain
89                                        DisplayString,
90                                hwStaticUserDetect
91                                        TruthValue,
92                                hwStaticUserRowStatus
93                                        RowStatus,
94                                hwStaticUserStatus
95                                        INTEGER,
96                                hwStaticUserQinQVlan
97                                        Integer32,
98                                hwStaticUserDescription
99                                        DisplayString,
100                                hwStaticUserGatewayIpAddr
101                                        IpAddress,
102	          hwStaticUserVrfName
103	                  DisplayString
104
105                         }
106                hwStaticUserStartIpAddr OBJECT-TYPE
107                        SYNTAX IpAddress
108                        MAX-ACCESS read-only
109                        STATUS current
110                        DESCRIPTION
111                                "The start ip address of static user."
112                        ::= { hwStaticUserEntry 1 }
113
114                hwStaticUserEndIpAddr OBJECT-TYPE
115                        SYNTAX IpAddress
116                        MAX-ACCESS read-create
117                        STATUS current
118                        DESCRIPTION
119                                "The end ip address of static user."
120                        ::= { hwStaticUserEntry 2 }
121
122                hwStaticUserIfIndex OBJECT-TYPE
123                    SYNTAX InterfaceIndex
124                    MAX-ACCESS read-create
125                    STATUS current
126                    DESCRIPTION
127                        "The interface of static user logining."
128                    ::= { hwStaticUserEntry 3 }
129
130                hwStaticUserVlan OBJECT-TYPE
131                        SYNTAX Integer32 (0..4094)
132                        MAX-ACCESS read-create
133                        STATUS current
134                        DESCRIPTION
135                                "The vlan of static user."
136                        ::= { hwStaticUserEntry 4 }
137
138                hwStaticUserVpi OBJECT-TYPE
139                        SYNTAX Integer32 (0..255)
140                        MAX-ACCESS read-create
141                        STATUS current
142                        DESCRIPTION
143                                "The vpi of static user."
144                        ::= { hwStaticUserEntry 5}
145
146                hwStaticUserVci OBJECT-TYPE
147                        SYNTAX Integer32 (0..65534)
148                        MAX-ACCESS read-create
149                        STATUS current
150                        DESCRIPTION
151                                "The vci of static user."
152                        ::= { hwStaticUserEntry 6}
153
154                hwStaticUserMac OBJECT-TYPE
155                        SYNTAX MacAddress
156                        MAX-ACCESS read-create
157                        STATUS current
158                        DESCRIPTION
159                                "The MAC address of static user."
160                        ::= { hwStaticUserEntry 7 }
161
162                hwStaticUserDomain OBJECT-TYPE
163                        SYNTAX DisplayString (SIZE (1..200))
164                        MAX-ACCESS read-create
165                        STATUS current
166                        DESCRIPTION
167                                "The domain of static user belong to."
168                        ::= { hwStaticUserEntry 8 }
169
170                hwStaticUserDetect OBJECT-TYPE
171                    SYNTAX TruthValue
172                    MAX-ACCESS read-create
173                    STATUS current
174                    DESCRIPTION
175                        "Whether or not detect static user."
176                    DEFVAL { false }
177                    ::= { hwStaticUserEntry 9 }
178
179                hwStaticUserRowStatus OBJECT-TYPE
180                        SYNTAX RowStatus
181                        MAX-ACCESS read-write
182                        STATUS current
183                        DESCRIPTION
184                                "The status of row."
185                        ::= { hwStaticUserEntry 10 }
186
187                hwStaticUserStatus OBJECT-TYPE
188                        SYNTAX INTEGER
189                            {
190                ready(0),
191                detecting(1),
192                deleting(2),
193                online(3)
194                }
195                        MAX-ACCESS read-only
196                        STATUS current
197                        DESCRIPTION
198                                "The status of static user."
199                        ::= { hwStaticUserEntry 11}
200
201                hwStaticUserQinQVlan OBJECT-TYPE
202                        SYNTAX Integer32 (0..4094)
203                        MAX-ACCESS read-create
204                        STATUS current
205                        DESCRIPTION
206                                "The QinQ vlan of static user."
207                        ::= { hwStaticUserEntry 12 }
208
209              hwStaticUserDescription OBJECT-TYPE
210                        SYNTAX DisplayString (SIZE (1..32))
211                        MAX-ACCESS read-create
212                        STATUS current
213                        DESCRIPTION
214                                "The description of static user."
215                        ::= { hwStaticUserEntry 13 }
216              hwStaticUserGatewayIpAddr OBJECT-TYPE
217                        SYNTAX IpAddress
218                        MAX-ACCESS read-create
219                        STATUS current
220                        DESCRIPTION
221                                "The gateway ip address of static user."
222                        ::= { hwStaticUserEntry 14 }
223             hwStaticUserVrfName OBJECT-TYPE
224	SYNTAX DisplayString
225	MAX-ACCESS read-create
226	STATUS current
227	DESCRIPTION
228	"The vrfname of static user."
229	::= { hwStaticUserEntry 15 }
230             --  ============== hwStaticUserEntry  define end ==============
231       --  ============== hwStaticUserTable  define end ==============
232
233              --  ============== hwStaticUserV2Table define beginning ==============
234                hwStaticUserV2Table OBJECT-TYPE
235                        SYNTAX SEQUENCE OF HwStaticUserEntryV2
236                        MAX-ACCESS not-accessible
237                        STATUS current
238                        DESCRIPTION
239                                "The table of static user.(V2)"
240                        ::= { hwSrvcfgStaticUserMibObjects 2 }
241            --  ============== hwStaticUserV2Entry  define beginning ==============
242                hwStaticUserV2Entry OBJECT-TYPE
243                        SYNTAX HwStaticUserEntryV2
244                        MAX-ACCESS not-accessible
245                        STATUS current
246                        DESCRIPTION
247                               "Description.(V2)"
248                        INDEX { hwStaticUserVrfNameV2, hwStaticUserStartIpAddrV2 }
249                        ::= { hwStaticUserV2Table 1 }
250
251                HwStaticUserEntryV2 ::=
252                        SEQUENCE {
253                                hwStaticUserStartIpAddrV2
254                                        IpAddress,
255                                hwStaticUserEndIpAddrV2
256                                        IpAddress,
257                                hwStaticUserIfIndexV2
258                                        InterfaceIndex,
259                                hwStaticUserVlanV2
260                                        Integer32,
261                                hwStaticUserVpiV2
262                                        Integer32,
263                                hwStaticUserVciV2
264                                        Integer32,
265                                hwStaticUserMacV2
266                                        MacAddress,
267                                hwStaticUserDomainV2
268                                        DisplayString,
269                                hwStaticUserDetectV2
270                                        TruthValue,
271                                hwStaticUserRowStatusV2
272                                        RowStatus,
273                                hwStaticUserStatusV2
274                                        INTEGER,
275                                hwStaticUserQinQVlanV2
276                                        Integer32,
277                                hwStaticUserVrfNameV2
278                                        DisplayString
279                         }
280
281                hwStaticUserStartIpAddrV2 OBJECT-TYPE
282                        SYNTAX IpAddress
283                        MAX-ACCESS read-only
284                        STATUS current
285                        DESCRIPTION
286                                "The start ip address of static user.(V2)"
287                        ::= { hwStaticUserV2Entry 1 }
288
289                hwStaticUserEndIpAddrV2 OBJECT-TYPE
290                        SYNTAX IpAddress
291                        MAX-ACCESS read-create
292                        STATUS current
293                        DESCRIPTION
294                                "The end ip address of static user.(V2)"
295                        ::= { hwStaticUserV2Entry 2 }
296
297                hwStaticUserIfIndexV2 OBJECT-TYPE
298                    SYNTAX InterfaceIndex
299                    MAX-ACCESS read-create
300                    STATUS current
301                    DESCRIPTION
302                        "The interface of static user logining.(V2)"
303                    ::= { hwStaticUserV2Entry 3 }
304
305                hwStaticUserVlanV2 OBJECT-TYPE
306                        SYNTAX Integer32 (0..4094)
307                        MAX-ACCESS read-create
308                        STATUS current
309                        DESCRIPTION
310                                "The vlan of static user.(V2)"
311                        ::= { hwStaticUserV2Entry 4 }
312
313                hwStaticUserVpiV2 OBJECT-TYPE
314                        SYNTAX Integer32 (0..255)
315                        MAX-ACCESS read-create
316                        STATUS current
317                        DESCRIPTION
318                                "The vpi of static user.(V2)"
319                        ::= { hwStaticUserV2Entry 5}
320
321                hwStaticUserVciV2 OBJECT-TYPE
322                        SYNTAX Integer32 (0..65534)
323                        MAX-ACCESS read-create
324                        STATUS current
325                        DESCRIPTION
326                                "The vci of static user.(V2)"
327                        ::= { hwStaticUserV2Entry 6}
328
329                hwStaticUserMacV2 OBJECT-TYPE
330                        SYNTAX MacAddress
331                        MAX-ACCESS read-create
332                        STATUS current
333                        DESCRIPTION
334                                "The MAC address of static user.(V2)"
335                        ::= { hwStaticUserV2Entry 7 }
336
337                hwStaticUserDomainV2 OBJECT-TYPE
338                        SYNTAX DisplayString (SIZE (1..64))
339                        MAX-ACCESS read-create
340                        STATUS current
341                        DESCRIPTION
342                                "The domain of static user belong to.(V2)"
343                        ::= { hwStaticUserV2Entry 8 }
344
345                hwStaticUserDetectV2 OBJECT-TYPE
346                    SYNTAX TruthValue
347                    MAX-ACCESS read-create
348                    STATUS current
349                    DESCRIPTION
350                        "Whether or not detect static user.(V2)"
351                    DEFVAL { false }
352                    ::= { hwStaticUserV2Entry 9 }
353
354                hwStaticUserRowStatusV2 OBJECT-TYPE
355                        SYNTAX RowStatus
356                        MAX-ACCESS read-write
357                        STATUS current
358                        DESCRIPTION
359                                "The status of row.(V2)"
360                        ::= { hwStaticUserV2Entry 10 }
361
362                hwStaticUserStatusV2 OBJECT-TYPE
363                        SYNTAX INTEGER
364                            {
365                ready(0),
366                detecting(1),
367                deleting(2),
368                online(3)
369                }
370                        MAX-ACCESS read-only
371                        STATUS current
372                        DESCRIPTION
373                                "The status of static user.(V2)"
374                        ::= { hwStaticUserV2Entry 11}
375
376                hwStaticUserQinQVlanV2 OBJECT-TYPE
377                        SYNTAX Integer32 (0..4094)
378                        MAX-ACCESS read-create
379                        STATUS current
380                        DESCRIPTION
381                                "The QinQ vlan of static user.(V2)"
382                        ::= { hwStaticUserV2Entry 12 }
383
384                hwStaticUserVrfNameV2 OBJECT-TYPE
385                        SYNTAX DisplayString (SIZE (1..31))
386                        MAX-ACCESS read-only
387                        STATUS current
388                        DESCRIPTION
389                                "The vpn instance of static user.(V2)"
390                        ::= { hwStaticUserV2Entry 13 }
391
392
393
394             --  ============== hwStaticUserV2Entry  define end ==============
395       --  ============== hwStaticUserV2Table define end ==============
396
397
398       --  ============== conformance information ==============
399        hwStaticUserConformance OBJECT IDENTIFIER ::= { hwBRASSrvcfgStaticUser 2 }
400
401
402        hwStaticUserCompliances OBJECT IDENTIFIER ::= { hwStaticUserConformance 1 }
403        hwStaticUserCompliance MODULE-COMPLIANCE
404               STATUS      current
405               DESCRIPTION
406                   "The compliance statement for systems supporting
407                the this module."
408
409               MODULE      -- this module
410               MANDATORY-GROUPS    {hwStaticUserTableGroup,
411                                hwStaticUserTableV2Group}
412
413              ::= { hwStaticUserCompliances 1 }
414
415    --  ============== groups ==============
416        hwStaticUserObjectGroups OBJECT IDENTIFIER ::= { hwStaticUserCompliances 2 }
417
418        hwStaticUserTableGroup OBJECT-GROUP
419            OBJECTS { hwStaticUserStartIpAddr,
420                      hwStaticUserEndIpAddr,
421                      hwStaticUserIfIndex,
422                      hwStaticUserVlan,
423                      hwStaticUserVpi,
424                      hwStaticUserVci ,
425                      hwStaticUserMac,
426                      hwStaticUserDomain,
427                      hwStaticUserDetect,
428                      hwStaticUserRowStatus,
429                      hwStaticUserStatus,
430                      hwStaticUserQinQVlan,
431                      hwStaticUserDescription,
432                      hwStaticUserGatewayIpAddr,
433                      hwStaticUserVrfName}
434            STATUS current
435            DESCRIPTION
436                "Static user configuraion table."
437            ::= { hwStaticUserObjectGroups 1 }
438
439        hwStaticUserTableV2Group OBJECT-GROUP
440            OBJECTS { hwStaticUserStartIpAddrV2,
441                      hwStaticUserEndIpAddrV2,
442                      hwStaticUserIfIndexV2,
443                      hwStaticUserVlanV2,
444                      hwStaticUserVpiV2,
445                      hwStaticUserVciV2 ,
446                      hwStaticUserMacV2,
447                      hwStaticUserDomainV2,
448                      hwStaticUserDetectV2,
449                      hwStaticUserRowStatusV2,
450                      hwStaticUserStatusV2,
451                      hwStaticUserQinQVlanV2,
452                      hwStaticUserVrfNameV2}
453            STATUS current
454            DESCRIPTION
455                "Static user configuraion table.(V2)"
456            ::= { hwStaticUserObjectGroups 2 }
457    --  ============== conformance information define end ==============
458
459        END
460