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
|
-- ==================================================================
-- Copyright (C) 2003 by HUAWEI TECHNOLOGIES. All rights reserved.
--
-- Description: HUAWEI L3 Vlan Management MIB
-- Reference:
-- Version: V1.0
-- History:
-- Created by MaYe, 2003.08.11
-- ==================================================================
HUAWEI-L3VLAN-MIB DEFINITIONS ::= BEGIN
IMPORTS
hwDatacomm
FROM HUAWEI-MIB
ifIndex
FROM IF-MIB
OBJECT-GROUP, MODULE-COMPLIANCE
FROM SNMPv2-CONF
OBJECT-TYPE, MODULE-IDENTITY
FROM SNMPv2-SMI
RowStatus
FROM SNMPv2-TC;
hwL3Vlan MODULE-IDENTITY
LAST-UPDATED "200308110900Z"
ORGANIZATION
"Huawei Technologies Co., Ltd."
CONTACT-INFO
"R&D BeiJing, Huawei Technologies co.,Ltd.
Huawei Bld.,NO.3 Xinxi Rd.,
Shang-Di Information Industry Base,
Hai-Dian District Beijing P.R. China
Zip:100085
Http://www.huawei.com
E-mail:support@huawei.com"
DESCRIPTION
"The HUAWEI-L3VLAN-MIB contains objects to
manage level 3 vlan.
Through the MIB,you can get the detail information
of each vlan,such as VLANID,encapsulated type,the
statistics of the received and sent packets and so on."
::= { hwDatacomm 100 }
hwL3VlanMIBObjects OBJECT IDENTIFIER ::= { hwL3Vlan 1 }
-- =================================================================
-- 1st The Sub-interface Vlan Table
-- =================================================================
hwSubIfVlanTable OBJECT-TYPE
SYNTAX SEQUENCE OF HwSubIfVlanEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This table contains the information of vlans
encapsulated by the sub-interfaces."
::= { hwL3VlanMIBObjects 1 }
hwSubIfVlanEntry OBJECT-TYPE
SYNTAX HwSubIfVlanEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"Provides the information of a sub-interface vlan entry."
INDEX { hwSubIfIndex, hwSubIfVlanId }
::= { hwSubIfVlanTable 1 }
HwSubIfVlanEntry ::=
SEQUENCE {
hwSubIfIndex
INTEGER,
hwSubIfVlanId
INTEGER,
hwSubIfVlanType
INTEGER,
hwSubIfVlanStatus
RowStatus
}
hwSubIfIndex OBJECT-TYPE
SYNTAX INTEGER
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"Interface index(es) of port(s) present on the device."
::= { hwSubIfVlanEntry 1 }
hwSubIfVlanId OBJECT-TYPE
SYNTAX INTEGER (1..4094)
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This object specifies the vlan id encapsulated by
the sub-interface."
::= { hwSubIfVlanEntry 2 }
hwSubIfVlanType OBJECT-TYPE
SYNTAX INTEGER { dot1q(2) }
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"This object specifies the vlan type encapsulated
by the sub-interface."
::= { hwSubIfVlanEntry 3 }
hwSubIfVlanStatus OBJECT-TYPE
SYNTAX RowStatus
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"This object specifies the status of the sub-interface
vlan table."
::= { hwSubIfVlanEntry 4 }
-- =================================================================
-- 2nd VLAN Flow Statistics Information Table
-- =================================================================
hwVLANMibRoutertVlanCountTable OBJECT-TYPE
SYNTAX SEQUENCE OF VLANMibRoutertVlanCountEntry
MAX-ACCESS not-accessible
STATUS mandatory
DESCRIPTION
"Per vid router statistics table includes the
number of packets that each vlan is received and sent."
::= { hwL3VlanMIBObjects 2 }
hwVLANMibRoutertVlanCountEntry OBJECT-TYPE
SYNTAX VLANMibRoutertVlanCountEntry
MAX-ACCESS not-accessible
STATUS mandatory
DESCRIPTION "Entry of vLANMibRoutertVlanCountTable"
INDEX { hwVLANMibRouterPort,hwVLANMibRouterVID }
::= { hwVLANMibRoutertVlanCountTable 1 }
VLANMibRoutertVlanCountEntry ::=
SEQUENCE {
hwVLANMibRouterPort
INTEGER,
hwVLANMibRouterVID
INTEGER,
hwVLANMibRouterVlanPacketTran
Counter,
hwVLANMibRouterVlanPacketSent
Counter,
hwVLANMibClearVidStatistics
INTEGER
}
hwVLANMibRouterPort OBJECT-TYPE
SYNTAX INTEGER
MAX-ACCESS read-only
STATUS mandatory
DESCRIPTION
"Interface index(es) of trunk port(s) present on the device."
::= { hwVLANMibRoutertVlanCountEntry 1 }
hwVLANMibRouterVID OBJECT-TYPE
SYNTAX INTEGER(0..4094)
MAX-ACCESS read-only
STATUS mandatory
DESCRIPTION
"The vlan id."
::= { hwVLANMibRoutertVlanCountEntry 2 }
hwVLANMibRouterVlanPacketTran OBJECT-TYPE
SYNTAX Counter
MAX-ACCESS read-only
STATUS mandatory
DESCRIPTION
"The number of packets transmitted to vlan"
::= { hwVLANMibRoutertVlanCountEntry 3 }
hwVLANMibRouterVlanPacketSent OBJECT-TYPE
SYNTAX Counter
MAX-ACCESS read-only
STATUS mandatory
DESCRIPTION "Number of packets sent by vlan"
::= { hwVLANMibRoutertVlanCountEntry 4 }
hwVLANMibClearVidStatistics OBJECT-TYPE
SYNTAX INTEGER{
unavailable(0),
clear(1)
}
MAX-ACCESS read-write
STATUS mandatory
DESCRIPTION
"Setting the object to clear(1) will clear the counters of a row
of the hwVLANMibRoutertVlanCountTable. When a clear action had been
finished, or there is no clear action , the value of the object
would be unavailable(0)."
::= { hwVLANMibRoutertVlanCountEntry 5 }
--
-- Trap Definitions
--
hwL3VlanTraps OBJECT IDENTIFIER ::= { hwL3Vlan 2 }
--
-- Conformance information
--
hwL3VlanConformance OBJECT IDENTIFIER ::= { hwL3Vlan 3 }
hwL3VlanCompliances OBJECT IDENTIFIER ::= { hwL3VlanConformance 1 }
hwL3VlanCompliance MODULE-COMPLIANCE
STATUS current
DESCRIPTION
"The compliance statement for systems supporting
the HUAWEI-L3VLAN-MIB."
MODULE -- this module
MANDATORY-GROUPS {
hwSubIfVlanGroup
}
::= { hwL3VlanCompliances 1 }
hwL3VlanGroups OBJECT IDENTIFIER ::= { hwL3VlanConformance 2 }
hwSubIfVlanGroup OBJECT-GROUP
OBJECTS {
hwSubIfVlanType,
hwSubIfVlanId,
hwSubIfVlanStatus
}
STATUS current
DESCRIPTION
"Standard sub-interface vlan group."
::= { hwL3VlanGroups 1}
END
|