You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/cumulus-linux-517/Monitoring-and-Troubleshooting/Open-Telemetry-Export.md
+253-2Lines changed: 253 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -81,7 +81,7 @@ To show buffer statistics configuration, run the `nv show system telemetry buffe
81
81
82
82
### Control Plane Statistics
83
83
84
-
When you enable open telemetry for control plane statistics, the switch exports additional counters for [control plane packets](#control-plane-statistic-format):
84
+
When you enable open telemetry for control plane statistics, the switch exports all counters for [control plane packets](#control-plane-statistic-format):
85
85
86
86
```
87
87
cumulus@switch:~$ nv set system telemetry control-plane-stats export state enabled
@@ -95,7 +95,138 @@ cumulus@switch:~$ nv set system telemetry control-plane-stats sample-interval 10
95
95
cumulus@switch:~$ nv config apply
96
96
```
97
97
98
-
To show control plane statistics configuration, run the `nv show system telemetry control-plane-stats` command.
98
+
You can enable these additional control plane statistics:
99
+
- All ingress packets.
100
+
- Ingress IPv4 packets.
101
+
- Ingress IPv6 packets.
102
+
- All egress packets.
103
+
- Egress IPv4 packets.
104
+
- Egress IPv6 packets.
105
+
106
+
To enable all ingress packets:
107
+
108
+
```
109
+
cumulus@switch:~$ nv set system telemetry control-plane-stats ingress export state enabled
110
+
```
111
+
112
+
To enable all ingress IPv4 packets:
113
+
114
+
```
115
+
cumulus@switch:~$ nv set system telemetry control-plane-stats ingress ipv4 export state enabled
116
+
```
117
+
118
+
To enable all ingress IPv6 packets:
119
+
120
+
```
121
+
cumulus@switch:~$ nv set system telemetry control-plane-stats ingress ipv6 export state enabled
122
+
```
123
+
124
+
To enable all egress packets:
125
+
126
+
```
127
+
cumulus@switch:~$ nv set system telemetry control-plane-stats egress export state enabled
128
+
```
129
+
130
+
To enable all egress IPv4 packets:
131
+
132
+
```
133
+
cumulus@switch:~$ nv set system telemetry control-plane-stats egress ipv4 export state enabled
134
+
```
135
+
136
+
To enable all egress IPv6 packets:
137
+
138
+
```
139
+
cumulus@switch:~$ nv set system telemetry control-plane-stats egress ipv6 export state enabled
140
+
```
141
+
142
+
To show control plane statistics, run the `nv show system telemetry control-plane-stats` command.
143
+
144
+
```
145
+
cumulus@switch:~$ nv show system control-plane software-statistics
146
+
operational
147
+
--------------------------------- -----------
148
+
ingress
149
+
ipv4
150
+
udp
151
+
rcv-buf-errors 0
152
+
no-ports 0
153
+
in-errors 0
154
+
in-datagrams 4103
155
+
tcp
156
+
in-segs 1224998
157
+
in-errs 0
158
+
ipext
159
+
in-truncated-pkts 0
160
+
in-no-routes 0
161
+
in-no-ect-pkts 0
162
+
in-mcast-pkts 0
163
+
in-mcast-octets 0
164
+
in-ect1-pkts 0
165
+
in-ect0-pkts 0
166
+
in-ce-pkts 0
167
+
in-bcast-pkts 0
168
+
ip
169
+
reasm-reqds 0
170
+
reasm-oks 0
171
+
reasm-fails 0
172
+
in-unknown-protos 0
173
+
in-receives 0
174
+
in-hdr-errors 0
175
+
in-discards 0
176
+
in-delivers 0
177
+
in-addr-errors 0
178
+
forw-datagrams 0
179
+
icmp
180
+
in-time-excds 0
181
+
in-redirects 0
182
+
in-msgs 0
183
+
in-errors 0
184
+
in-echos 0
185
+
in-echo-reps 0
186
+
in-dest-unreachs 0
187
+
ipv6
188
+
udp6
189
+
rcv-buf-errors 0
190
+
no-ports 0
191
+
in-errors 0
192
+
...
193
+
```
194
+
195
+
To show all control plane ingress statistics:
196
+
197
+
```
198
+
cumulus@switch:~$ nv show system control-plane software-statistics ingress
199
+
```
200
+
201
+
To show all control plane ingress IPv4 statistics:
202
+
203
+
```
204
+
cumulus@switch:~$ nv show system control-plane software-statistics ingress ipv4
205
+
```
206
+
207
+
To show all control plane ingress IPv6 statistics:
208
+
209
+
```
210
+
cumulus@switch:~$ nv show system control-plane software-statistics ingress ipv6
211
+
```
212
+
213
+
To show all control plane egress statistics:
214
+
215
+
```
216
+
cumulus@switch:~$ nv show system control-plane software-statistics egress
217
+
```
218
+
219
+
To show all control plane egress IPv4 statistics:
220
+
221
+
```
222
+
cumulus@switch:~$ nv show system control-plane software-statistics egress ipv4
223
+
```
224
+
225
+
To show all control plane egress IPv6 statistics:
226
+
227
+
```
228
+
cumulus@switch:~$ nv show system control-plane software-statistics egress ipv6
229
+
```
99
230
100
231
### 802.1X Statistics
101
232
@@ -1183,6 +1314,126 @@ When you enable control plane statistic telemetry, the switch exports the follow
1183
1314
| `node_netstat_Ip6_InReceives` | Control plane input IPv6 packets. |
1184
1315
| `node_netstat_Ip6_InAddrErrors` | Control plane input IPv6 errors. |
1185
1316
| `node_netstat_Ip6_InDelivers` | Control plane output IPv6 packets. |
0 commit comments