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
|
LINKSYS-CPU-COUNTERS-MIB DEFINITIONS ::= BEGIN
IMPORTS
rnd FROM LINKSYS-MIB
Counter32, OBJECT-TYPE, MODULE-IDENTITY FROM SNMPv2-SMI
DisplayString,
TruthValue FROM SNMPv2-TC;
-- module
rlCpuCounters MODULE-IDENTITY
LAST-UPDATED "2007010600Z"
ORGANIZATION "Linksys LLC."
CONTACT-INFO
"www.linksys.com/business/support"
DESCRIPTION
"CPU Counter MIBs"
REVISION "200705150000Z"
DESCRIPTION
"Initial revision."
::={ rnd 124 }
-- table
rlCpuCountersTable OBJECT-TYPE
SYNTAX SEQUENCE OF RlCpuCountersEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"Table of rx&tx counter, the key is cpuCounters"
::= { rlCpuCounters 1 }
--entry:
rlCpuCountersEntry OBJECT-TYPE
SYNTAX RlCpuCountersEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"Table of rx&tx counters, the key is cpuCounters"
INDEX { rlCpuCountersTarget }
::= { rlCpuCountersTable 1 }
--entry content
RlCpuCountersEntry ::= SEQUENCE {
rlCpuCountersTarget INTEGER,
rlCpuCountersTxBC Counter32,
rlCpuCountersTxMC Counter32,
rlCpuCountersTxUC Counter32,
rlCpuCountersTxOctets Counter32,
rlCpuCountersRxBC Counter32,
rlCpuCountersRxMC Counter32,
rlCpuCountersRxUC Counter32,
rlCpuCountersRxOctets Counter32
}
--field definition:
rlCpuCountersTarget OBJECT-TYPE
SYNTAX INTEGER {
cpuCounters (0)
}
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"Packet type can be Multicast (MC), Broadcast (BC) or Unicast(UC)"
::= { rlCpuCountersEntry 1 }
rlCpuCountersTxBC OBJECT-TYPE
SYNTAX Counter32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Number of received broadcast packets."
::= { rlCpuCountersEntry 2 }
rlCpuCountersTxMC OBJECT-TYPE
SYNTAX Counter32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Number of transmitted multicast packets."
::= { rlCpuCountersEntry 3 }
rlCpuCountersTxUC OBJECT-TYPE
SYNTAX Counter32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Number of transmitted unicast packets."
::= { rlCpuCountersEntry 4 }
rlCpuCountersTxOctets OBJECT-TYPE
SYNTAX Counter32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Number of transmitted octets."
::= { rlCpuCountersEntry 5 }
rlCpuCountersRxBC OBJECT-TYPE
SYNTAX Counter32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Number of received broadcast packets."
::= { rlCpuCountersEntry 6 }
rlCpuCountersRxMC OBJECT-TYPE
SYNTAX Counter32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Number of received mutlicast packets."
::= { rlCpuCountersEntry 7 }
rlCpuCountersRxUC OBJECT-TYPE
SYNTAX Counter32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Number of received unicast packets."
::= { rlCpuCountersEntry 8 }
rlCpuCountersRxOctets OBJECT-TYPE
SYNTAX Counter32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Number of received octets"
::= { rlCpuCountersEntry 9 }
-- rlCpuCountersReset:
rlCpuCountersReset OBJECT-TYPE
SYNTAX TruthValue
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"Setting true to this MIB object will reset the CPU counters."
DEFVAL { false}
::= { rlCpuCounters 2 }
-- rlCpuCountersEnabled:
rlCpuCountersEnabled OBJECT-TYPE
SYNTAX TruthValue
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"True - feature is enabled, false - feature is disabled "
DEFVAL { false}
::= { rlCpuCounters 3 }
END
|