summaryrefslogtreecommitdiff
path: root/MIBS/smartoptics/MSERIES-PORT-MIB
blob: 9a3c11c155dabf93ac846ec10f64b4e1b9010f6a (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
	-- SmartOptics Enterprise Specific Port MIB.
--
-- Copyright (c) 2014, SmartOptics
-- All rights reserved
--

MSERIES-PORT-MIB DEFINITIONS ::= BEGIN

IMPORTS
    MODULE-IDENTITY, OBJECT-TYPE, Unsigned32, Integer32
    FROM SNMPv2-SMI
    DisplayString
    FROM SNMPv2-TC
    OBJECT-GROUP, MODULE-COMPLIANCE
    FROM SNMPv2-CONF
    PortType, PortStatus, PortMode
    FROM MSERIES-TC
    mseries
    FROM MSERIES-MIB;

smartPort     MODULE-IDENTITY
                LAST-UPDATED    "201402121344Z"
                ORGANIZATION    "SmartOptics"
                CONTACT-INFO    "http://www.smartoptics.com"
                DESCRIPTION
                                "This is the enterprise specific Port MIB for SmartOptics M-Series."
                REVISION        "201402121344Z"
                DESCRIPTION
                                "The initial revision of the MSERIES Port MIB."

                ::=  { mseries 3 }

        smartPortObjects   OBJECT IDENTIFIER
                ::= { smartPort 1 }

        smartPortGeneral   OBJECT IDENTIFIER
                ::=  { smartPortObjects  1}

        smartPortList   OBJECT IDENTIFIER
                ::=  { smartPortObjects  2}

        smartPortMIBConformance   OBJECT IDENTIFIER
                ::=  { smartPort  2}

        smartPortGroups   OBJECT IDENTIFIER
                ::=  { smartPortMIBConformance  1}

        smartPortCompliances   OBJECT IDENTIFIER
                ::=  { smartPortMIBConformance  2}


--
-- General
--

--
-- The Port Table
--

smartPortTable  OBJECT-TYPE
    SYNTAX      SEQUENCE OF SmartPortEntry
    MAX-ACCESS  not-accessible
    STATUS      current
    DESCRIPTION
        "A port table."
    ::= { smartPortList 1 }

smartPortEntry OBJECT-TYPE
    SYNTAX      SmartPortEntry
    MAX-ACCESS  not-accessible
    STATUS      current
    DESCRIPTION
        "An entry in the port list."
    INDEX { smartPortIndex }
    ::= { smartPortTable 1 }

SmartPortEntry ::=
    SEQUENCE {
        smartPortIndex                     Unsigned32,
        smartPortName                      DisplayString,
        smartPortAlias                     DisplayString,
        smartPortType                      PortType,
        smartPortPower                     Integer32,
        smartPortStatus                    PortStatus,
        smartPortMode                      PortMode,
        smartPortHighPowerAlarmThreshold   Integer32,
        smartPortLowPowerAlarmThreshold    Integer32
}

smartPortIndex OBJECT-TYPE
    SYNTAX      Unsigned32 (1..2147483647)
    MAX-ACCESS  read-only
    STATUS      current
    DESCRIPTION
        "A unique index for each port that corresponds to the index in the interface table"
    ::= { smartPortEntry 1 }

smartPortName OBJECT-TYPE
    SYNTAX      DisplayString
    MAX-ACCESS  read-only
    STATUS      current
    DESCRIPTION
        "The name of the port."
    ::= { smartPortEntry 2 }

smartPortAlias OBJECT-TYPE
    SYNTAX      DisplayString
    MAX-ACCESS  read-write
    STATUS      current
    DESCRIPTION
        "User configurable Port Alias for the port.

         Not writeable in SmartOS v2.3"
    ::= { smartPortEntry 3 }

smartPortType OBJECT-TYPE
    SYNTAX      PortType
    MAX-ACCESS  read-only
    STATUS      current
    DESCRIPTION
        "The type of port.

         rx(1) - Receiving port.

         tx(2) - Transmitting port.

         biDi(3) - Bidirectional port."
    ::= { smartPortEntry 4 }

smartPortPower OBJECT-TYPE
    SYNTAX      Integer32
    MAX-ACCESS  read-only
    STATUS      current
    DESCRIPTION
        "The power level in units of 0.1 dBm."
    ::= { smartPortEntry 5 }

smartPortStatus OBJECT-TYPE
    SYNTAX      PortStatus
    MAX-ACCESS  read-only
    STATUS      current
    DESCRIPTION
        "The operational state for a port.

        idle(1) - The port is not activated

        down(2) - The port traffic is lost.

        up(3) - There is traffic on the port.

        high(4) - The port got to high power.

        low(5) - The port got to low power.

        eyeSafety(6) - The Line Tx port is in Eye Safety Mode.
        This means that either the connector on the
        Line Tx port is not inserted or that you have
        too strong reflection from the line fiber.

        cd(7) - Channel detected.

        ncd(8) - No channel detected."
    ::= { smartPortEntry 6 }

smartPortMode OBJECT-TYPE
    SYNTAX      PortMode
    MAX-ACCESS  read-write
    STATUS      current
    DESCRIPTION
        "The Mode of the Port.

         normal (1) - The port is active. No alarms
         are beeing suppressed.

         service (2) . The port is in service mode
         and alarms are beeing suppressed. When service
         is ready smartPortMode  should be set to
         'normal' again.

         Not writeable in SmartOS v2.3"
    ::= { smartPortEntry 7 }

smartPortHighPowerAlarmThreshold OBJECT-TYPE
    SYNTAX      Integer32
    MAX-ACCESS  read-write
    STATUS      current
    DESCRIPTION
        "The threshold for the High Power alarm.

         Not writeable in SmartOS v2.3"
    ::= { smartPortEntry 8 }

smartPortLowPowerAlarmThreshold OBJECT-TYPE
    SYNTAX      Integer32
    MAX-ACCESS  read-write
    STATUS      current
    DESCRIPTION
        "The threshold for the Low Power alarm.

         Not writeable in SmartOS v2.3"
    ::= { smartPortEntry 9 }


-- ----------------------------------------------------
-- Conformance
-- ----------------------------------------------------


-- ----------------------------------------------------
-- Object and event groups
-- ----------------------------------------------------

smartPortListGroupV1 OBJECT-GROUP
    OBJECTS {
        smartPortIndex,
        smartPortName,
        smartPortAlias,
        smartPortType,
        smartPortPower,
        smartPortStatus,
        smartPortMode,
        smartPortHighPowerAlarmThreshold,
        smartPortLowPowerAlarmThreshold }
    STATUS      current
    DESCRIPTION
        "The Port List MIB objects v1."
    ::= { smartPortGroups 1 }

-- ----------------------------------------------------
-- Compliance
-- ----------------------------------------------------

smartPortBasicComplV1 MODULE-COMPLIANCE
    STATUS      current
    DESCRIPTION
        "Basic implementation requirements for the port MIB V1."
    MODULE
        MANDATORY-GROUPS {
            smartPortListGroupV1 }
    ::= { smartPortCompliances 1 }

END