summaryrefslogtreecommitdiff
path: root/MIBS/comware/HH3C-VLANTERM-MIB
blob: 631581b6642735749e48f18991dcc31881a23ab1 (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
-- =========================================================================
-- Copyright (c) 2004-2020 New H3C Tech. Co., Ltd. All rights reserved.
--
-- Description:  Eth vlan termination mib
-- Reference:
-- Version: V1.0
-- History:
--     V1.0 Initial version 2020-09-01   by zhangxing
-- =========================================================================
HH3C-VLANTERM-MIB DEFINITIONS ::= BEGIN

IMPORTS
    Unsigned32, OBJECT-TYPE, MODULE-IDENTITY
        FROM SNMPv2-SMI
    TruthValue
        FROM SNMPv2-TC
    InterfaceIndex
        FROM IF-MIB
    hh3cCommon
        FROM HH3C-OID-MIB;

hh3cVlanTerm MODULE-IDENTITY
    LAST-UPDATED "202009011638Z"        -- September 01, 2020 at 16:00 GMT
    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 VLAN Terminaion MIB."
    REVISION  "202009011638Z"        -- September 01, 2020 at 16:00 GMT
    DESCRIPTION "Creation Date."
    ::= { hh3cCommon 193 }

hh3cVlanTermObjects       OBJECT IDENTIFIER ::= { hh3cVlanTerm 1 }

-- ---------------------------------------------------------- --
-- The vlan dot1q termination Table
-- ---------------------------------------------------------- --

hh3cVlanTermDot1qTable OBJECT-TYPE
    SYNTAX SEQUENCE OF Hh3cVlanTermDot1qEntry
    MAX-ACCESS not-accessible
    STATUS current
    DESCRIPTION
        "The entry of hh3cVlanTermDot1qTable."
    ::= { hh3cVlanTermObjects 1 }

hh3cVlanTermDot1qEntry OBJECT-TYPE
    SYNTAX Hh3cVlanTermDot1qEntry
    MAX-ACCESS not-accessible
    STATUS current
    DESCRIPTION
        "Each entry represents the parameters of an interface."
    INDEX { hh3cVlanTermDot1qIfIndex,
            hh3cVlanTermDot1qVidStart
          }
    ::= { hh3cVlanTermDot1qTable 1 }

Hh3cVlanTermDot1qEntry ::=
    SEQUENCE {
        hh3cVlanTermDot1qIfIndex           InterfaceIndex,
        hh3cVlanTermDot1qVidStart          Unsigned32,
        hh3cVlanTermDot1qVidEnd            Unsigned32,
        hh3cVlanTermDot1qEncapFlag         INTEGER,
        hh3cVlanTermDot1qIsUserVlanMode    TruthValue
        }

hh3cVlanTermDot1qIfIndex OBJECT-TYPE
    SYNTAX InterfaceIndex
    MAX-ACCESS not-accessible
    STATUS current
    DESCRIPTION
        "Subinterface index."
    ::= { hh3cVlanTermDot1qEntry 1 }

hh3cVlanTermDot1qVidStart OBJECT-TYPE
    SYNTAX Unsigned32 (1..4094)
    MAX-ACCESS not-accessible
    STATUS current
    DESCRIPTION
        "Start outermost VLAN ID."
    ::= { hh3cVlanTermDot1qEntry 2 }

hh3cVlanTermDot1qVidEnd OBJECT-TYPE
    SYNTAX    Unsigned32 (1..4094)
    MAX-ACCESS read-only
    STATUS current
    DESCRIPTION
        "End outermost VLAN ID."
    ::= { hh3cVlanTermDot1qEntry 3 }

hh3cVlanTermDot1qEncapFlag OBJECT-TYPE
    SYNTAX    INTEGER {
                         strict(0),
                         loose(1)
                      }
    MAX-ACCESS read-only
    STATUS current
    DESCRIPTION
        "A subinterface to receive and terminate packets
         that include two or more layers of VLAN tags."
    ::= { hh3cVlanTermDot1qEntry 4 }

hh3cVlanTermDot1qIsUserVlanMode OBJECT-TYPE
    SYNTAX    TruthValue
    MAX-ACCESS read-only
    STATUS current
    DESCRIPTION
        "VLAN termination mode.
         true : user-vlan
         false : vlan-type"
    ::= { hh3cVlanTermDot1qEntry 5 }

-- ---------------------------------------------------------- --
-- The vlan qinq termination Table
-- ---------------------------------------------------------- --

hh3cVlanTermQinqTable OBJECT-TYPE
    SYNTAX SEQUENCE OF Hh3cVlanTermQinqEntry
    MAX-ACCESS not-accessible
    STATUS current
    DESCRIPTION
        "The entry of hh3cVlanTermQinqTable."
    ::= { hh3cVlanTermObjects 2 }

hh3cVlanTermQinqEntry OBJECT-TYPE
    SYNTAX Hh3cVlanTermQinqEntry
    MAX-ACCESS not-accessible
    STATUS current
    DESCRIPTION
        "Each entry represents the parameters of an interface."
    INDEX { hh3cVlanTermQinQIfIndex,
            hh3cVlanTermQinQFirstVlan,
            hh3cVlanTermQinQSecondVlanStart
          }
    ::= { hh3cVlanTermQinqTable 1 }

Hh3cVlanTermQinqEntry ::=
    SEQUENCE {
        hh3cVlanTermQinQIfIndex          InterfaceIndex,
        hh3cVlanTermQinQFirstVlan        Unsigned32,
        hh3cVlanTermQinQSecondVlanStart  Unsigned32,
        hh3cVlanTermQinQSecondVlanEnd    Unsigned32,
        hh3cVlanTermQinQQinqAny          TruthValue,
        hh3cVlanTermQinQEncapFlag        INTEGER,
        hh3cVlanTermQinQIsUserVlanMode   TruthValue
        }

hh3cVlanTermQinQIfIndex OBJECT-TYPE
    SYNTAX InterfaceIndex
    MAX-ACCESS not-accessible
    STATUS current
    DESCRIPTION
        "Subinterface index."
    ::= { hh3cVlanTermQinqEntry 1 }

hh3cVlanTermQinQFirstVlan OBJECT-TYPE
    SYNTAX Unsigned32 (1..4094)
    MAX-ACCESS not-accessible
    STATUS current
    DESCRIPTION
        "The outermost VLAN ID."
    ::= { hh3cVlanTermQinqEntry 2 }

hh3cVlanTermQinQSecondVlanStart OBJECT-TYPE
    SYNTAX Unsigned32 (1..4095)
    MAX-ACCESS not-accessible
    STATUS current
    DESCRIPTION
        "Start innermost VLAN ID.
         When it is 4095, only hh3cVlanTermQinQQinqAny is true."
    ::= { hh3cVlanTermQinqEntry 3 }

hh3cVlanTermQinQSecondVlanEnd OBJECT-TYPE
    SYNTAX Unsigned32 (1..4095)
    MAX-ACCESS read-only
    STATUS current
    DESCRIPTION
        "End innermost vlan ID.
         When it is 4095, only hh3cVlanTermQinQQinqAny is true."
    ::= { hh3cVlanTermQinqEntry 4 }

hh3cVlanTermQinQQinqAny OBJECT-TYPE
    SYNTAX    TruthValue
    MAX-ACCESS read-only
    STATUS current
    DESCRIPTION
        "true : Specifies all values between 1 and 4094."
    ::= { hh3cVlanTermQinqEntry 5 }

hh3cVlanTermQinQEncapFlag OBJECT-TYPE
    SYNTAX    INTEGER {
                         strict(0),
                         loose(1)
                      }
    MAX-ACCESS read-only
    STATUS current
    DESCRIPTION
        "A subinterface to receive and terminate packets
         that include two or more layers of VLAN tags."
    ::= { hh3cVlanTermQinqEntry 6 }

hh3cVlanTermQinQIsUserVlanMode OBJECT-TYPE
    SYNTAX    TruthValue
    MAX-ACCESS read-only
    STATUS current
    DESCRIPTION
        "VLAN termination mode.
         true : user-vlan
         false : vlan-type"
    ::= { hh3cVlanTermQinqEntry 7 }

END