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
|
CISCOSB-SPAN-MIB DEFINITIONS ::= BEGIN
-- Title: CISCOSB SPAN ROS
-- Private SPAN MIB
-- Version: 8.00
-- Date: 15-Mar-2015
IMPORTS
MODULE-IDENTITY, OBJECT-TYPE, Integer32, Gauge32, Unsigned32,
NOTIFICATION-TYPE
FROM SNMPv2-SMI
TEXTUAL-CONVENTION, TruthValue, RowStatus
FROM SNMPv2-TC
MODULE-COMPLIANCE, OBJECT-GROUP, NOTIFICATION-GROUP
FROM SNMPv2-CONF
switch001, rndNotifications
FROM CISCOSB-MIB
InterfaceIndex
FROM IF-MIB;
SpanDestinationPortType ::= TEXTUAL-CONVENTION
STATUS current
DESCRIPTION "SPAN destination mode type:
1 - monitor-only
2 - network."
SYNTAX INTEGER {
monitor-only(1),
network(2)
}
SpanSourceType ::= TEXTUAL-CONVENTION
STATUS current
DESCRIPTION "SPAN source type:
1 - port
2 - VLAN
3 - flow
4 - remote VLAN."
SYNTAX INTEGER {
port(1),
vlan(2),
flow(3),
remote-vlan(4)
}
SpanSourceDirection ::= TEXTUAL-CONVENTION
STATUS current
DESCRIPTION "SPAN source direction:
1 - rx
2 - tx
3 - both."
SYNTAX INTEGER {
rx(1),
tx(2),
both(3)
}
SpanDestinationReflectorType ::= TEXTUAL-CONVENTION
STATUS current
DESCRIPTION "RSPAN reflector port type:
1 - SPAN
2 - RSPAN - start
3 - RSPAN - final."
SYNTAX INTEGER {
span(1),
rspan-start(2),
rspan-final(3)
}
rlSpan MODULE-IDENTITY
LAST-UPDATED "201503250000Z"
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
"This private MIB module for SPAN (Switched Port Analyzer)."
REVISION "201503250000Z"
DESCRIPTION
"Initial revision."
::= { switch001 219 }
rlSpanMibVersion OBJECT-TYPE
SYNTAX INTEGER
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"MIB's version, the current version is 1."
::= { rlSpan 1 }
------------------------------------
-- SPAN - rlSpanDestinationTable
------------------------------------
rlSpanDestinationTable OBJECT-TYPE
SYNTAX SEQUENCE OF RlSpanDestinationEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"The table holds information for SPAN destination per session id."
::= { rlSpan 2 }
rlSpanDestinationEntry OBJECT-TYPE
SYNTAX RlSpanDestinationEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"Entry in the rlSpanDestinationTable."
INDEX { rlSpanDestinationSessionId }
::= {rlSpanDestinationTable 1 }
RlSpanDestinationEntry ::= SEQUENCE {
rlSpanDestinationSessionId INTEGER,
rlSpanDestinationIfIndex InterfaceIndex,
rlSpanDestinationIsReflector SpanDestinationReflectorType,
rlSpanDestinationPortType SpanDestinationPortType,
rlSpanDestinationRemoteVlanId InterfaceIndex,
rlSpanDestinationRowStatus RowStatus
}
rlSpanDestinationSessionId OBJECT-TYPE
SYNTAX INTEGER
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"SPAN session ID. This variable is the key for SPAN destination table.
Uniquely identifies the SPAN destination."
::= { rlSpanDestinationEntry 1 }
rlSpanDestinationIfIndex OBJECT-TYPE
SYNTAX InterfaceIndex
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"Interface Index. This variable identifies the destination ifIndex"
::= { rlSpanDestinationEntry 2 }
rlSpanDestinationIsReflector OBJECT-TYPE
SYNTAX SpanDestinationReflectorType
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This variable indicates whether the current session is SPAN or RSPAN
start or final session."
::= { rlSpanDestinationEntry 3 }
rlSpanDestinationPortType OBJECT-TYPE
SYNTAX SpanDestinationPortType
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This variable indicates whether the destination port acts as network
port or analyzer only port."
::= { rlSpanDestinationEntry 4 }
rlSpanDestinationRemoteVlanId OBJECT-TYPE
SYNTAX InterfaceIndex
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This variable indicated the remote vlan id for RSPAN case."
::= { rlSpanDestinationEntry 5 }
rlSpanDestinationRowStatus OBJECT-TYPE
SYNTAX RowStatus
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"The row status variable, used according to
row installation and removal conventions."
::= { rlSpanDestinationEntry 6 }
------------------------------------
-- SPAN - rlSpanSourceTable
------------------------------------
rlSpanSourceTable OBJECT-TYPE
SYNTAX SEQUENCE OF RlSpanSourceEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"The table holds information for SPAN Source ports per session id."
::= {rlSpan 3 }
rlSpanSourceEntry OBJECT-TYPE
SYNTAX RlSpanSourceEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"Entry in the rlSpanSourceTable."
INDEX { rlSpanSourceSessionId,
rlSpanSourceType,
rlSpanSourceIndex
}
::= {rlSpanSourceTable 1 }
RlSpanSourceEntry ::= SEQUENCE {
rlSpanSourceSessionId INTEGER,
rlSpanSourceType SpanSourceType,
rlSpanSourceIndex INTEGER,
rlSpanSourceDirection SpanSourceDirection,
rlSpanSourceRowStatus RowStatus
}
rlSpanSourceSessionId OBJECT-TYPE
SYNTAX INTEGER
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"SPAN session ID. This variable is the key for SPAN source table.
Identifies the SPAN source."
::= { rlSpanSourceEntry 1 }
rlSpanSourceType OBJECT-TYPE
SYNTAX SpanSourceType
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This variable indicates the SPAN source type."
::= { rlSpanSourceEntry 2 }
rlSpanSourceIndex OBJECT-TYPE
SYNTAX INTEGER
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This variable indicates the ifIndex of the SPAN source port
or the flow Id of the class map (for flow span source type)."
::= { rlSpanSourceEntry 3 }
rlSpanSourceDirection OBJECT-TYPE
SYNTAX SpanSourceDirection
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This variable indicates the source direction for monitoring."
::= { rlSpanSourceEntry 4 }
rlSpanSourceRowStatus OBJECT-TYPE
SYNTAX RowStatus
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"The row status variable, used according to
row installation and removal conventions."
::= { rlSpanSourceEntry 5 }
END
|