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
|
CISCOSB-SMARTPORTS-MIB DEFINITIONS ::= BEGIN
-- -------------------------------------------------------------
-- Banner MIB
-- Title: Cisco Smart Ports Private MIB
-- This Private MIB manages smart ports macros
-- Version: 7.47
-- Date: 30 July 2008
--
-- -------------------------------------------------------------
IMPORTS
switch001 FROM CISCOSB-MIB
TEXTUAL-CONVENTION,DisplayString FROM SNMPv2-TC
InterfaceIndexOrZero FROM IF-MIB
SnmpAdminString FROM SNMP-FRAMEWORK-MIB
EnabledStatus FROM P-BRIDGE-MIB
RowStatus FROM SNMPv2-TC
OBJECT-TYPE FROM SNMPv2-SMI;
rlSmartPorts MODULE-IDENTITY
LAST-UPDATED "200807300000Z"
ORGANIZATION "Cisco Systems, Inc."
CONTACT-INFO
"Postal: 170 West Tasman Drive
San Jose , CA 95134-1706
USA
Website: Cisco Small Business Support Community <http://www.cisco.com/go/smallbizsupport>"
DESCRIPTION
"The private MIB module definition for Smart Ports -
provide a convenient way to save and share common configurations.
Smart Ports group a group of command to be applied on a port or a trunk
OR on a global configuration context. In addition Smart port
application provide a database per interface (or global configuration)
to list applied macros.
Each smart port macro can either a user-defined or pre-defined."
REVISION "200807300000Z"
DESCRIPTION
"Initial revision."
::= { switch001 140 }
-- -------------------------------------------------------------
-- Textual Conventions
-- -------------------------------------------------------------
MacroType ::= TEXTUAL-CONVENTION
STATUS current
DESCRIPTION "Smart Ports macro type."
SYNTAX INTEGER {
rlSmartPortsMacroInterfaceVendorProvided(1),
rlSmartPortsMacroGloablVendorProvided(2),
rlSmartPortsMacroUserCreated(3)
}
RlSmartPortsMacroName ::= TEXTUAL-CONVENTION
STATUS current
DESCRIPTION
"Macro name."
SYNTAX DisplayString(SIZE(1..32))
RlSmartPortsMacroNameOrZero ::= TEXTUAL-CONVENTION
STATUS current
DESCRIPTION
"Macro name."
SYNTAX DisplayString(SIZE(0..32))
-- -------------------------------------------------------------
-- --------- Tables --------------------------------------
-- -------------------------------------------------------------
-- -------------------------------------------------------------
-- --------- rlSmartPortsMacroManageTable ----------------
-- -------------------------------------------------------------
rlSmartPortsMacroManageTable OBJECT-TYPE
SYNTAX SEQUENCE OF RlSmartPortsMacroManageEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
" The table listing available smart ports macros,
holding:
macro name
macro type: user defined,
CISCOSB provided per interface
CISCOSB provided globally
and matches a macro index to be used as identifier in
rlSmartPortsMacroContentTable where the macro content really IS
Allow to add/remove user defined macros."
::= {rlSmartPorts 1 }
rlSmartPortsMacroManageEntry OBJECT-TYPE
SYNTAX RlSmartPortsMacroManageEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
" An entry in the rlSmartPortsMacroManageTable."
INDEX { IMPLIED rlSmartPortsMacroName }
::= {rlSmartPortsMacroManageTable 1 }
RlSmartPortsMacroManageEntry ::= SEQUENCE {
rlSmartPortsMacroName RlSmartPortsMacroName,
rlSmartPortsMacroIndex INTEGER,
rlSmartPortsMacroType MacroType,
rlSmartPortsMacroStatus RowStatus,
rlSmartPortsMacroKeywords DisplayString,
rlSmartPortsMacroDesc1 DisplayString,
rlSmartPortsMacroDesc2 DisplayString
}
rlSmartPortsMacroName OBJECT-TYPE
SYNTAX RlSmartPortsMacroName
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"Macro name."
::= { rlSmartPortsMacroManageEntry 1 }
rlSmartPortsMacroIndex OBJECT-TYPE
SYNTAX INTEGER
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This variable identifies the macro's index.
An arbitrary incremental Index used as identifier in
rlSmartPortsMacroContentTable where the macro content really IS."
::= { rlSmartPortsMacroManageEntry 2 }
rlSmartPortsMacroType OBJECT-TYPE
SYNTAX MacroType
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"This variable identifies the macro type: user defined,
CISCOSB provided per interface
CISCOSB provided globally"
::= { rlSmartPortsMacroManageEntry 3 }
rlSmartPortsMacroStatus OBJECT-TYPE
SYNTAX RowStatus
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"The status of a table entry.
It is used to delete/Add an entry from this table."
::= { rlSmartPortsMacroManageEntry 4 }
rlSmartPortsMacroKeywords OBJECT-TYPE
SYNTAX DisplayString(SIZE(0..160))
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"List of Macro Keywords. if there are"
::= { rlSmartPortsMacroManageEntry 5 }
rlSmartPortsMacroDesc1 OBJECT-TYPE
SYNTAX DisplayString(SIZE(0..160))
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"List of Macro descriptions. if there are"
::= { rlSmartPortsMacroManageEntry 6 }
rlSmartPortsMacroDesc2 OBJECT-TYPE
SYNTAX DisplayString(SIZE(0..160))
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"continue List of Macro descriptions. if there are"
::= { rlSmartPortsMacroManageEntry 7 }
-- -------------------------------------------------------------
-- --------- rlSmartPortsMacroContentTable ----------------
-- -------------------------------------------------------------
rlSmartPortsMacroContentTable OBJECT-TYPE
SYNTAX SEQUENCE OF RlSmartPortsMacroContentEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"The table holds smart ports macro's content.
Entries are allowed to be added ONLY on macro indexes that
1) has a corresponding entry in rlSmartPortsMacroManageTable
2) has rlSmartPortsMacroType = rlSmartPortsMacroUserCreated"
::= {rlSmartPorts 2 }
rlSmartPortsMacroContentEntry OBJECT-TYPE
SYNTAX RlSmartPortsMacroContentEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
" An entry in the elSmartPortsMacroManageTable."
INDEX { rlSmartPortsMacroIndex,rlSmartPortsMacroOctetIndex}
::= {rlSmartPortsMacroContentTable 1 }
RlSmartPortsMacroContentEntry ::= SEQUENCE {
rlSmartPortsMacroOctetIndex INTEGER (1..19),
rlSmartPortsMacroText SnmpAdminString
}
rlSmartPortsMacroOctetIndex OBJECT-TYPE
SYNTAX INTEGER (1..19)
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This variable identifies the line number in the macro's content text.
To allow full macro size of 3k = 19 * 160 = 3040"
::= { rlSmartPortsMacroContentEntry 1 }
rlSmartPortsMacroText OBJECT-TYPE
SYNTAX SnmpAdminString
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"Macro content."
::= { rlSmartPortsMacroContentEntry 2 }
-- -------------------------------------------------------------
-- --------- rlSmartPortsMacroDescriptionTable ----------------
-- -------------------------------------------------------------
rlSmartPortsMacroDescriptionTable OBJECT-TYPE
SYNTAX SEQUENCE OF RlSmartPortsMacroDescriptionEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"The table holds smart ports macro's name
globally (rlSmartPortsMacroDescriptionIndex == 0)
interface (port or trunk)."
::= {rlSmartPorts 3 }
rlSmartPortsMacroDescriptionEntry OBJECT-TYPE
SYNTAX RlSmartPortsMacroDescriptionEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
" An entry in the rlSmartPortsMacroInterfaceTable."
INDEX { rlSmartPortsMacroDescriptionIndex}
::= {rlSmartPortsMacroDescriptionTable 1 }
RlSmartPortsMacroDescriptionEntry ::= SEQUENCE {
rlSmartPortsMacroDescriptionIndex InterfaceIndexOrZero,
rlSmartPortsMacroDescriptionText SnmpAdminString,
rlSmartPortsMacroDescriptionStatus RowStatus
}
rlSmartPortsMacroDescriptionIndex OBJECT-TYPE
SYNTAX InterfaceIndexOrZero
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This variable identifies global configuration when equals 0 OR
local port or trunk on which the user saved Macro's name."
::= { rlSmartPortsMacroDescriptionEntry 1 }
rlSmartPortsMacroDescriptionText OBJECT-TYPE
SYNTAX SnmpAdminString
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"Macro name."
::= { rlSmartPortsMacroDescriptionEntry 2 }
rlSmartPortsMacroDescriptionStatus OBJECT-TYPE
SYNTAX RowStatus
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"The status of a table entry.
It is used to delete/Add an entry from this table."
::= { rlSmartPortsMacroDescriptionEntry 3 }
-- -------------------------------------------------------------
-- --------- rlSmartPortsFreeIndexes ----------------
-- -------------------------------------------------------------
rlSmartPortsFreeIndexes OBJECT-TYPE
SYNTAX INTEGER
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Returns free index to set in rlSmartPortsMacroIndex when macro is added."
::= { rlSmartPorts 4 }
-- -------------------------------------------------------------
-- --------- rlSmartPorts Diagnostics ---------------------
-- -------------------------------------------------------------
rlSmartPortsDiagMacroName OBJECT-TYPE
SYNTAX DisplayString(SIZE(0..32))
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"In case the last macro had failed you will get this name from the
specific terminal you had used ."
::= { rlSmartPorts 5 }
rlSmartPortsDiagLineNumber OBJECT-TYPE
SYNTAX INTEGER
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"In case the last macro had failed you will get i'ts line number from
specific terminal you had used ."
::= { rlSmartPorts 6 }
rlSmartPortsDiagCommandLine OBJECT-TYPE
SYNTAX SnmpAdminString
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"In case the last macro had failed you will get i'ts command line number
from specific terminal you had used ."
::= { rlSmartPorts 7 }
rlSmartPortsCondenseMode OBJECT-TYPE
SYNTAX INTEGER {
enabled (1),
disabled (2)
}
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"disabled - in macro description macro such as x no_x will be removed
enabled - in macro description macro such as x no_x will not be removed
when condense mode is enabled (by default) each time a macro with the name
no_x is applied and prior to that a macro x was applied , they will be removed
from the list...
"
DEFVAL {enabled}
::= { rlSmartPorts 8 }
END
|