-
Notifications
You must be signed in to change notification settings - Fork 0
/
ONEACCESS-VLAN-CONFIG-MIB.mib
265 lines (209 loc) · 7.42 KB
/
ONEACCESS-VLAN-CONFIG-MIB.mib
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
-- *****************************
-- * *
-- * ONEOS MIB *
-- * *
-- *****************************
--
-- ONEOS_MIB_STD_V05.1.R002_E004
--
-- Creation date : 07/08/2010
ONEACCESS-VLAN-CONFIG-MIB DEFINITIONS ::= BEGIN
IMPORTS
MODULE-IDENTITY,
OBJECT-TYPE,
Integer32, Unsigned32,
Counter32,
Gauge32,
Counter64
FROM SNMPv2-SMI
MODULE-COMPLIANCE,
OBJECT-GROUP
FROM SNMPv2-CONF
TEXTUAL-CONVENTION,
DisplayString,
RowStatus
FROM SNMPv2-TC
ifIndex, InterfaceIndex
FROM IF-MIB
oacExpIMIp, oacMIBModules
FROM ONEACCESS-GLOBAL-REG;
oaVlanConfigMIB MODULE-IDENTITY
LAST-UPDATED "201106150000Z"
ORGANIZATION " OneAccess "
CONTACT-INFO
"Pascal KESTELOOT
Postal: ONE ACCESS
381 Avenue du Général de Gaulle
92140 Clamart, France
FRANCE
Tel: (+33) 01 41 87 70 00
Fax: (+33) 01 41 87 74 00
E-mail: [email protected]"
DESCRIPTION
"Contact updated"
REVISION "201106150000Z"
DESCRIPTION
"Fixed minor corrections."
REVISION "201007080001Z"
DESCRIPTION
"This MIB defines configuration capabilities relating to
Vlan, Vlan QinQ and Vlan Mapping on interfaces.
IEEE 802.1Q VLAN specification provides for an option to tag
Ethernet frames with two VLAN tags:
- An inner tag that specifies the customer's VLAN ID. This tag
is called the 'C-VLAN'.
- An outer tag that specifies the service provider's VLAN ID.
This tag is called the 'SP-VLAN'."
::= { oacMIBModules 681 }
-- Textual Conventions
SPVlanEtherType ::= TEXTUAL-CONVENTION
STATUS current
DESCRIPTION
"This textual convention defines the different EtherType of a SPVLAN.
etherType-8100 - Specifies Ethertype value 0x8100,
as defined in IEEE Standard 802.1q
etherType-9100 - Specifies Ethertype value 0x9100
etherType-88a8 - Specifies Ethertype value 0x88a8,
as defined in IEEE Standard 802.1ad "
SYNTAX INTEGER
{
etherType-8100(1),
etherType-9100(2),
etherType-88a8(3)
}
--
-- Node definitions
--
oacVlanConfig OBJECT IDENTIFIER ::= {oacExpIMIp 6 }
oacVlanConfigObjects OBJECT IDENTIFIER ::= { oacVlanConfig 1 }
oacVlanConfigConformance OBJECT IDENTIFIER ::= { oacVlanConfig 2 }
-- Vlan and QinQ Config
oacVlanMappingConfigInterfaceObjects OBJECT IDENTIFIER ::= {oacVlanConfigObjects 1 }
oacVlanConfigInterfaceTable OBJECT-TYPE
SYNTAX SEQUENCE OF OacVlanConfigInterfaceEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This table contains the Vlan or Vlan QinQ configuration
on interfaces.
The ifIndex in the INDEX clause identifies the interface
where Vlan configuration is applied"
::= { oacVlanMappingConfigInterfaceObjects 1 }
oacVlanConfigInterfaceEntry OBJECT-TYPE
SYNTAX OacVlanConfigInterfaceEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"An entry in this table defines a Vlan interface."
INDEX { ifIndex}
::= { oacVlanConfigInterfaceTable 1 }
OacVlanConfigInterfaceEntry ::= SEQUENCE {
oacVlanConfigInterfaceDot1qValue
INTEGER,
oacVlanConfigInterfaceSecondDot1qValue
INTEGER,
oacVlanConfigInterfaceDefaultPriority
INTEGER,
oacVlanConfigInterfaceRowStatus
RowStatus
}
oacVlanConfigInterfaceDot1qValue OBJECT-TYPE
SYNTAX INTEGER (0..4095)
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"The VLAN IDs of a frame.
Default Value 0 for no VLAN ID configured."
DEFVAL { 0 }
::= { oacVlanConfigInterfaceEntry 1 }
oacVlanConfigInterfaceSecondDot1qValue OBJECT-TYPE
SYNTAX INTEGER (0..4095)
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"The Second VLAN IDs of a QinQ frame.
Default Value 0 for no Second VLAN ID configured."
DEFVAL { 0 }
::= { oacVlanConfigInterfaceEntry 2 }
oacVlanConfigInterfaceDefaultPriority OBJECT-TYPE
SYNTAX INTEGER (0..7)
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"Default IEEE 802.1p class of service/user priority
By default Value = 0."
DEFVAL { 0 }
::= { oacVlanConfigInterfaceEntry 3 }
oacVlanConfigInterfaceRowStatus OBJECT-TYPE
SYNTAX RowStatus
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"This object allows the creation, modification, or deletion of the row"
::= { oacVlanConfigInterfaceEntry 4 }
-- VlanMapping
oacVlanMappingConfigObjects OBJECT IDENTIFIER ::= {oacVlanConfigObjects 2 }
vlanMappingTable OBJECT-TYPE
SYNTAX SEQUENCE OF VlanMappingEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This table contains the Vlan Mapping configuration
on interfaces.
The ifIndex in the INDEX clause identifies the interface
where Vlan Mapping is applied."
::= { oacVlanMappingConfigObjects 1 }
vlanMappingEntry OBJECT-TYPE
SYNTAX VlanMappingEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"An entry in this table defines a QinQ interface."
INDEX { ifIndex, outerSPVlan}
::= { vlanMappingTable 1 }
VlanMappingEntry ::= SEQUENCE {
innerCVlan OCTET STRING,
outerSPVlan Unsigned32,
outerEtherType SPVlanEtherType,
vlanMappingRowStatus RowStatus
}
innerCVlan OBJECT-TYPE
SYNTAX OCTET STRING (SIZE(1..100))
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"The CVLAN IDs of the inner tag of a QinQ frame.
Authorized value:
untagged - specify untagged frame
vlanid - CVlan ID (example 100)
range - A range of cvlan id (example 100-120)
default - All other CVlan not matched
"
::= { vlanMappingEntry 1 }
outerSPVlan OBJECT-TYPE
SYNTAX Unsigned32 (1..4095)
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"The SPVLAN ID of the outer tag of a QinQ frame."
::= { vlanMappingEntry 2 }
outerEtherType OBJECT-TYPE
SYNTAX SPVlanEtherType
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"This textual convention defines the different EtherType of a SPVLAN.
etherType-8100 - Specifies Ethertype value 0x8100,
as defined in IEEE Standard 802.1q
etherType-9100 - Specifies Ethertype value 0x9100
etherType-88a8 - Specifies Ethertype value 0x88a8,
as defined in IEEE Standard 802.1ad "
::= { vlanMappingEntry 3 }
vlanMappingRowStatus OBJECT-TYPE
SYNTAX RowStatus
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"This object allows the creation, modification, or deletion of the row"
::= { vlanMappingEntry 4 }
END