summaryrefslogtreecommitdiff
path: root/MIBS/telco-systems/binos/PRVT-SWITCH-IPVLAN-MIB
blob: 338c079e6919eac86879c1514ebd3d49e07b867d (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
-- *********************************************************************
-- *********************************************************************
-- ** Filename: PRVT-SWITCH-IPVLAN-MIB
-- ** Project: T - Ethernet and Fast Ethernet IP Switches.
-- ** Purpose: Private MIB
-- *********************************************************************
-- (c) Copyright, 2001, BATM Advanced Communications. All rights reserved.
-- WARNING:
--
-- BY UTILIZING THIS FILE, YOU AGREE TO THE FOLLOWING:
--
-- This file is the property of BATM Advanced Communications.
-- BATM Advanced Communications retains all title and
-- ownership in the Specification, including any revisions.

-- BATM Advanced Communications grants all interested parties a non-exclusive
-- license to use and distribute an unmodified copy of this
-- Specification in connection with management of BATM Advanced Communications 
-- and Telco Systems products, and without fee, provided that the following
-- conditions are met:
-- 1. Redistributions of this specification must retain the above copyright
-- notice, this list of conditions and the following disclaimer.
-- 2. Redistributions in binary form must reproduce the above copyright
-- notice, this list of conditions and the following disclaimer in the
-- documentation and/or other materials provided with the distribution.
-- 3. The name of the BATM Advanced Communications MAY NOT be used to endorse
-- or promote products derived from this specification without specific prior written
-- permission.
--
-- EXCEPT AS RESTRICTED BY LAW, OR AS PROVIDED IN BATM'S LIMITED
-- WARRANTY, THE SPECIFICATIONS CONTAINED IN THIS FILE ARE
-- PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
-- OR IMPLIED, INCLUDING BUT NOT LIMITED TO, ANY IMPLIED WARRANTIES
-- OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.
-- IN NO EVENT SHALL BATM BE LIABLE FOR ANY DAMAGES WHATSOEVER
-- INCLUDING, WITHOUT LIMITATION, DAMAGES FOR LOSS OF BUSINESS
-- PROFITS, BUSINESS INTERRUPTION, LOSS OF BUSINESS INFORMATION OR
-- OTHER CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE, OR INABILITY
-- TO USE, THE SPECIFICATION CONTAINED IN THIS FILE.

PRVT-SWITCH-IPVLAN-MIB DEFINITIONS ::= BEGIN
IMPORTS
    --IpAddress
    --    FROM RFC1155-SMI
    MODULE-IDENTITY, OBJECT-TYPE,IpAddress
        FROM SNMPv2-SMI
    RowStatus, TruthValue, DisplayString, TEXTUAL-CONVENTION, MacAddress
        FROM SNMPv2-TC
    ifIndex 
		FROM IF-MIB
    dot1qVlanIndex
        FROM Q-BRIDGE-MIB
    ipSwitch   
	                                     FROM PRVT-SWITCH-MIB;  


    prvtSwitchIpVLANMib MODULE-IDENTITY
    LAST-UPDATED "200801010000Z"
    ORGANIZATION "BATM Advanced Communication"
    CONTACT-INFO
        "BATM/Telco Systems Support team
				Email: 
				For North America: techsupport@telco.com
				For North Europe: support@batm.de, info@batm.de
				For the rest of the world: techsupport@telco.com"

    DESCRIPTION
        "The IpVLAN MIB module that controls the assignment of IP subnets 
        to VLANs in L3 switches."

    -- revision history
         REVISION     "200801010000Z"
     	 DESCRIPTION
		"Removed redefined OIDs in private vendor extension definitions." 
     REVISION     "200611030959Z"
    DESCRIPTION
        "Fixed Some generic object declarations (ACCESS to MAX-ACCESS)
Status set to current
added table for loopback interfaces"
     REVISION     "200502160959Z"
    DESCRIPTION
        "Fixed syntax errors and updated the contact info."
    REVISION     "200011240959Z"
    DESCRIPTION
        "Initial version."

    ::= { ipSwitch 2 }


    ipInterface OBJECT IDENTIFIER ::= { prvtSwitchIpVLANMib 1 }
    ipVLAN     OBJECT IDENTIFIER ::= { prvtSwitchIpVLANMib 2 }

-- ****************
-- ipInterfaceTable
-- ****************

    ipInterfaceTable OBJECT-TYPE
    SYNTAX SEQUENCE OF IpInterfaceEntry
	MAX-ACCESS not-accessible
	STATUS current
	DESCRIPTION
        "This table controls the creation of IP interfaces (subnets)."
	::= { ipInterface 1 }

    ipInterfaceEntry OBJECT-TYPE
	SYNTAX	IpInterfaceEntry
	MAX-ACCESS	not-accessible
	STATUS current
	DESCRIPTION
	    ""
    INDEX { ipInterfaceName }
	::= { ipInterfaceTable 1 }

    IpInterfaceEntry ::= SEQUENCE {
        ipInterfaceName            INTEGER,
        ipInterfaceIndex           INTEGER,
        ipInterfaceType            INTEGER,
        ipInterfaceIpAddress       IpAddress,
        ipInterfaceSubnetMask      IpAddress,
        ipInterfaceRowStatus       RowStatus
    }

    ipInterfaceName OBJECT-TYPE
    SYNTAX INTEGER(0..256)
	MAX-ACCESS read-only
	STATUS current
	DESCRIPTION
        "This object identifies the name of the IP interface, serves as an 
        index to this table name, and can only be changed during row creation. 
        The name is the integer part of the interface name; sw1 will be 1, sw5 
        will be 5 etc.."
	::= { ipInterfaceEntry 1 }
	
	ipInterfaceIndex OBJECT-TYPE
    SYNTAX INTEGER
	MAX-ACCESS read-only
	STATUS current
	DESCRIPTION
        "This object identifies the index of the IP interface. 
        This is the same index as ipAdEntIfIndex from MIB-II (ipAddrTable)."
	::= { ipInterfaceEntry 2 }

    ipInterfaceType OBJECT-TYPE
	SYNTAX INTEGER
	{
	  pseudoInterface (1),
	  ipInterface     (2)
	}
	MAX-ACCESS read-create
	STATUS current
	DESCRIPTION
        "This indicates a status of the IP interface. The value of this object 
        is determined by the IP address. If the IP address field is 
        empty (0.0.0.0) then this interface becomes a pseudo interface."
    ::= { ipInterfaceEntry 3 }

	ipInterfaceIpAddress OBJECT-TYPE
	SYNTAX IpAddress
	MAX-ACCESS read-create
	STATUS current
	DESCRIPTION
	    "This object has the value of the switch IP address in this subnet. 
	    A value of 0.0.0.0 will make this interface a pseudo interface."
    ::= { ipInterfaceEntry 4 }

	ipInterfaceSubnetMask OBJECT-TYPE
	SYNTAX IpAddress
	MAX-ACCESS read-create
	STATUS current
	DESCRIPTION
	    "This object together with ipInterfaceIpAddress forms the IP 
	    subnet, assigned to this IP interface. In case that ipInterfaceIpAddress 
	    has the value of 0.0.0.0, this object will be ignored."
    ::= { ipInterfaceEntry 5 }

    ipInterfaceRowStatus OBJECT-TYPE
	SYNTAX RowStatus
	MAX-ACCESS read-create
	STATUS current
	DESCRIPTION
	    "This object indicates that the row status, and enables the creation & 
	    deletion of rows in this table. See SNMPv2-TC for more information."
    ::= { ipInterfaceEntry 6 }

-- ****************
-- ipLoInterfaceTable
-- ****************

    ipLoInterfaceTable OBJECT-TYPE
    SYNTAX SEQUENCE OF IpLoInterfaceEntry
	MAX-ACCESS not-accessible
	STATUS current
	DESCRIPTION
        "This table controls the creation of IP LoopBack interfaces."
	::= { ipInterface 2 }

    ipLoInterfaceEntry OBJECT-TYPE
	SYNTAX	IpLoInterfaceEntry
	MAX-ACCESS	not-accessible
	STATUS	current
	DESCRIPTION
	    ""
    INDEX { ipLoInterfaceName }
	::= { ipLoInterfaceTable 1 }

    IpLoInterfaceEntry ::= SEQUENCE {
        ipLoInterfaceName            INTEGER,
        ipLoInterfaceIndex           INTEGER,
        ipLoInterfaceType            INTEGER,
        ipLoInterfaceIpAddress       IpAddress,
        ipLoInterfaceSubnetMask      IpAddress,
        ipLoInterfaceRowStatus       RowStatus
    }

    ipLoInterfaceName OBJECT-TYPE
    SYNTAX INTEGER(1..9)
	MAX-ACCESS read-only
	STATUS current
	DESCRIPTION
        "This object identifies the name of the IP interface, serves as an 
        index to this table name, and can only be changed during row creation. 
        The name is the integer part of the interface name; lo1 will be 1, lo5 
        will be 5 etc.."
	::= { ipLoInterfaceEntry 1 }
	
	ipLoInterfaceIndex OBJECT-TYPE
    SYNTAX INTEGER
	MAX-ACCESS read-only
	STATUS current
	DESCRIPTION
        "This object identifies the index of the IP interface. 
        This is the same index as ipAdEntIfIndex from MIB-II (ipAddrTable)."
	::= { ipLoInterfaceEntry 2 }

    ipLoInterfaceType OBJECT-TYPE
	SYNTAX INTEGER
	{
	  pseudoInterface (1),
	  ipInterface     (2)
	}
	MAX-ACCESS read-create
	STATUS current
	DESCRIPTION
        "This indicates a status of the IP interface. The value of this object 
        is determined by the IP address. If the IP address field is 
        empty (0.0.0.0) then this interface becomes a pseudo interface."
    ::= { ipLoInterfaceEntry 3 }

	ipLoInterfaceIpAddress OBJECT-TYPE
	SYNTAX IpAddress
	MAX-ACCESS read-create
	STATUS current
	DESCRIPTION
	    "This object has the value of the switch IP address in this subnet. 
	    A value of 0.0.0.0 will make this interface a pseudo interface."
    ::= { ipLoInterfaceEntry 4 }

	ipLoInterfaceSubnetMask OBJECT-TYPE
	SYNTAX IpAddress
	MAX-ACCESS read-create
	STATUS current
	DESCRIPTION
	    "This object together with ipInterfaceIpAddress forms the IP 
	    subnet, assigned to this IP interface. In case that ipInterfaceIpAddress 
	    has the value of 0.0.0.0, this object will be ignored."
    ::= { ipLoInterfaceEntry 5 }

  ipLoInterfaceRowStatus OBJECT-TYPE
	SYNTAX RowStatus
	MAX-ACCESS read-create
	STATUS current
	DESCRIPTION
	    "This object indicates that the row status, and enables the creation & 
	    deletion of rows in this table. See SNMPv2-TC for more information."
    ::= { ipLoInterfaceEntry 6 }


-- ***********
-- ipVLANTable
-- ***********

    ipVLANTable OBJECT-TYPE
    SYNTAX SEQUENCE OF IpVLANEntry
	MAX-ACCESS not-accessible
	STATUS current
	DESCRIPTION
        "This table extends the table dot1qVlanStaticTable from Q-BRIDGE-MIB. 
        It gives a connection between the IP Interface & the IP VLAN."
	::= { ipVLAN 1 }

    ipVLANEntry OBJECT-TYPE
	SYNTAX	IpVLANEntry
	MAX-ACCESS	not-accessible
	STATUS current
	DESCRIPTION
	    ""
    INDEX { dot1qVlanIndex, ipInterfaceName}
   	::= { ipVLANTable 1 }

    IpVLANEntry ::= SEQUENCE {
        ipVLANStatus      INTEGER
    }

    ipVLANStatus OBJECT-TYPE
	SYNTAX INTEGER
	{
	  attached (1),
	  detached (2)
	}
	MAX-ACCESS read-create
	STATUS current
	DESCRIPTION
	    "This object shows the VLAN on which the interface in the index 
	    of the entry is installed and vice versa. See SNMPv2-TC for 
	    more information."
    ::= { ipVLANEntry 1 }

   ipPortMappingTable OBJECT-TYPE
    SYNTAX SEQUENCE OF IpPortMappingEntry
	MAX-ACCESS not-accessible
	STATUS current
	DESCRIPTION
        "This table serves to map physical ports to SW interfaces in their 1:1 relationship. 
        This means that we can map only one SW interface on a "
	::= { ipVLAN 2 }
  
  ipPortMappingEntry OBJECT-TYPE
	SYNTAX	IpPortMappingEntry
	MAX-ACCESS	not-accessible
	STATUS	current
	DESCRIPTION
	    ""
    INDEX { ifIndex }
   	::= { ipPortMappingTable 1 }

    IpPortMappingEntry ::= SEQUENCE {
        ipPortSwIface      INTEGER
    }
    
  ipPortSwIface OBJECT-TYPE
	SYNTAX INTEGER
	MAX-ACCESS read-create
	STATUS current
	DESCRIPTION
	    "This object shows the SW interfaces to which a particular port is mapped. If we
	    want to detach the port and delete the mapping we need to set the value 256 which 
	    is an invalid index for a SW interface."
    ::= { ipPortMappingEntry 1 }  


END