Cisco ACI でデプロイされている VLAN 数を確認する

Cisco ACI でデプロイされている VLAN の総数は vsh_lc から show system internal epmc vlan summary を実行すると確認出来るようです。

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
aci-leaf# vsh_lc -c 'show system internal epmc vlan summary'
vsh_lc -c "show system internal epmc vlan summary"
VLAN Summary
    Infra BD Count                                : 1
    Tenant BD Count                               : 6
    External BD Count                             : 0
    FCOE BD Count                                 : 0
    FD VLAN Count                                 : 6
    FD VXLAN Count                                : 0

    Total VLAN Count                              : 13

リソースの使用容量は WebUI だと Capacity Dashboard から確認出来ます。 更に詳細なカウンターを確認したい場合は CLI で vsh_lc から show system internal epmc counters all を実行します。

  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
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
aci-leaf# vsh_lc -c 'show system internal epmc counters all'
vsh_lc -c "show system internal epmc counters all"

--------------------------------------------
 App counters
----------------------------------------------
epmc vpc fc stop ntfn                            : 0
Number of matched EP flush requests received     : 0

--------------------------------------------
 EPMC EPM counters
----------------------------------------------
Number of config dnld start received   : 1
Number of config dnld done received    : 1
Number of vlan create req msg received : 71
Number of vlan create rsp msg sent     : 71
Number of vlan delete req msg received : 31
Number of vlan delete rsp msg sent     : 31
Number of vlan deletes received        : 45
Number of vlan creates received        : 58
Number of vlan updates received        : 0
Number of vlan creates ignored         : 0
Number of vlan deletes ignored         : 0
Number of port up-down ignored         : 0
Number of port up-down req received    : 160
Number of port up-down rsp sent        : 160
Number of multi-port multi vlan req    : 14
Number of multi-port multi vlan rsp    : 14
Number of endpoint events sent         : 205
Number of ep event batch msgs sent     : 203
Number of endpoint req received        : 0
Number of endpoint rsp received        : 0
Number of endpoint req sent            : 0
Number of endpoint rsp sent            : 0
Number of endpoint create req          : 0
Number of endpoint update req          : 0
Number of endpoint delete req          : 0
Number of endpoint create req sent     : 0
Number of endpoint update req sent     : 0
Number of endpoint delete req sent     : 0
Number of endpoint vrf create req      : 8
Number of vrf create rsp               : 8
Number of vrf delete req               : 2
Number of vrf delete rsp               : 2
Number of logical up req               : 0
Number of logical down req             : 0
Number of ifidx create req             : 97
Number of ifidx create rsp             : 0
Number of ifidx delete req             : 23
Number of ifidx delete rsp             : 0
Number of ifidx up req                 : 107
Number of ifidx up req                 : 83
Number of ifidx pc mem up req          : 0
Number of ifidx pc mem down req        : 0
Number of ifidx vPC fast conv start    : 0
Number of ifidx vPC fast conv stop     : 0
Number of ifidx vPC fast conv clear    : 0
Number of ifidx switch mac del req     : 0
Number of ifidx req received           : 314
Number of ifidx req messages received  : 234
Number of ifidx responses sent         : 314
Number of ifidx mac limit req msg      : 0
Number of event notifications received : 1
Number of event notification error     : 0
Number of stale learn requests         : 0
Number of endpoint event received      : 0
Number of endpoint notification error  : 0
Number of host tracker request sented  : 205
Number of bounce off req sent          : 0
Number of endpoint age req sent        : 54
Number of matched ep flush req sent    : 0
Number of ignored events cfg dnld pend : 0
Number of local age flag reset sent    : 0
Number of epm ep requests pending      : 0
Number of learn freeze backpressure    : 0
Number of learn thaw   backpressure    : 0
Number of vrf messages                 : 9
Number of vrf messages ignored         : 0
Number of epm endpoint req sent        : 9037
Number of endpoint rsp for age deleted : 54
Number of endpoint rsp for del no op   : 0
Number of ep rsp for  force del no op  : 0
Number of endpoint rsp                 : 9037
Number of endpoint rsp messages        : 2137
Number of endpoint rsp messages sent   : 115
Number of learn disable ep del req     : 5
Number of learn disable ep add req     : 8
Number of ep rsp for add/updrcvd no op : 8983
Number of ep event batch msgs sent     : 203
Number of endpoint req messages rcvd   : 115
Number of learn disables sent          : 0
Number of learn enables sent           : 0
Number of if req msgs ignored          : 0
Number of ns table full learn disable     : 0
Number of ns table full learn enable      : 0
Number of bd learn disables snet          : 0
Number of bd learn enables snet           : 0
Number of dtep tunnel up ep move to tun : 0
Number of dtep ep age req sent          : 0

--------------------------------------------
              SDK counters
----------------------------------------------
Number of SDK usd learn notification rcvd      : 5966
Number of SDK usd learn notification success   : 113
Number of SDK usd learn notification failed    : 0
Number of SDK usd learn notification dup       : 5853
Number of stale learns                         : 0
Hal Learn Enabled Count                        : 0
Hal Learn Disabled Count                       : 0
Hal Learn Enabled Count                        : 0
Hal Learn Disabled Count                       : 0
Min End-to-End Execution Time                  : 00(s).000303(us)
Max End-to-End Execution Time                  : 00(s).099868(us)
Avg End-to-End Execution Time                  : 00(s).000696(us)
Min SDK Execution Time                         : 00(s).000097(us)
Max SDK Execution Time                         : 00(s).043304(us)
Avg SDK Execution Time                         : 00(s).000402(us)
Min IPC Execution Time                         : 00(s).000170(us)
Max IPC Execution Time                         : 00(s).098701(us)
Avg IPC Execution Time                         : 00(s).000294(us)
Min Batch Size                                 : 1
Max Batch Size                                 : 15
Avg Batch Size                                 : 1
Hal Full at L2 Entries                         : -1
Hal Full at IPv4 Entries                       : -1
Hal Full at IPv6 Entries                       : -1
Hal Current L2 Entries                         : 13
Hal Current IPv4 Entries                       : 8
Hal Current IPv6 Entries                       : 0
Hal L2 Table Full Received                     : 0
Hal V4 Table Full Received                     : 0
Hal V6 Table Full Received                     : 0
Hal No Resources Received                      : 0
Hal L2 XR overflow Received                    : 0
Hal L3 XR overflow Received                    : 0
Hal unknown errors Received                    : 0

--------------------------------------------
 Error counters
----------------------------------------------
epmc vlan del str to tlv                    : 0
epmc vlan del malloc                        : 0
epmc vlan cr mts init                       : 0
epmc vlan cr struct to tlv                  : 0
epmc vlan cr malloc fail                    : 0
epmc process log port up if not found       : 0
epmc process log port down if not found     : 0
epmc process log port up dn struct to tlv   : 0
epmc process log port up dn malloc          : 0
epmc process log port up inv num port       : 0
epmc if del msg to tlv                      : 0
epmc if del rsp malloc                      : 0
epmc if cr msg to tlv                       : 0
epmc if cr rsp malloc                       : 0
epmc handle ep bounce ep req malloc         : 0
epmc ep add ep malloc                       : 0
epmc ep add ep ht entry malloc              : 0
epmc ep add progamming fail                 : 0
epmc process ep upd inv ep move             : 0
epmc l2 ep cre fail p2r mv                  : 0
epmc inv move not handled                   : 0
epmc process l3 upd l3 cre failed           : 0
epmc process l3 upd l3 add to ep failed     : 0
epmc process l3 upd l3 del fr ep failed     : 0
epmc process l3 upd add to ep failed        : 0
epmc l3 upd failed                          : 0
epmc ep upd mac create fail                 : 0
epmc ep upd mac upd fail                    : 0
epmc ep upd ip upd fail                     : 0
epmc ep req inv vlan                        : 0
epmc ep req inv vrf                         : 0
epmc ep req inv if                          : 0
epmc ep req inv tun if                      : 0
epmc ep req inv op for static ep            : 23
epmc ep req inv op for svi ep               : 18
epmc upd inv op                             : 0
epmc ep req tlv to struct                   : 0
epmc ep req ep rsp malloc                   : 0
epmc learn notif vlan not found             : 0
epmc learn notif vl vlan not found          : 0
epmc learn notif xr l2 vlan not found       : 0
epmc learn notif xr l3 vrf not found        : 0
epmc learn notif xr ipv6 ll vlan not found  : 0
epmc learn notif ep learn disabled          : 0
epmc epm ep req send fail                   : 0
epmc vrf tlv to struct                      : 0
epmc vpc fc ntfn err                        : 0
epmc if req tlv to struct                   : 0
epmc if req if not found                    : 2
Errors processing matched EP flush req      : 0
Errors sending matched EP flush req to EPM  : 0
Error processing fu mts msg                 : 0
epmc max ip per ep err                      : 0
epmc cache ep cre fail l2r mv               : 0
epmc cache ep cre fail r2l mv               : 0
epmc max ip dup ep err                      : 0
epmc_vlan_inv_mp_mv_flush                    : 0
epmc_mp_mv_flush_inv_flush_type              : 0
epmc_mp_mv_flush_malloc_fail                 : 0
epmc_mp_mv_flush_tlv_to_struct_fail          : 0
epmc_mp_mv_flush_resp_malloc_fail            : 0
epmc_ep_bounce_entry_fail                    : 0
epmc_ep_bounce_handle_bcm_del_fail           : 0
epmc_ep_bounce_handle_ns_src_del_fail        : 0
epmc_cached_ep_disc_prog_fail                : 0
epmc_ep_update_prog_fail                     : 0
epmc_process_l3_upd_l3_add__to_ep_failed     : 0
epmc_bd_event_unkown_bd                      : 0
epmc_bd_event_unk_event_id                   : 0
epmc_ep_event_msg_null                       : 0
epmc_svi_mac_change_fail_init                : 0
epmc_svi_mac_change_fail_mts_req_get         : 0
epmc_svi_mac_change_ifidx_not_found          : 0
epmc_svi_mac_up_bd_vlan_not_found            : 0
epmc_vlan_sclass_chg_acl_plfm_upd_fail       : 0
epmc_vlan_class_chg_tlv_to_struct_fail       : 0
epmc_vlan_class_chg_mts_init_fail            : 0
epmc_aclqos_epg_status_chg_acl_plfm_upd_fail : 0
epmc_send_ep_req_cb_alloc_fail                : 0
epmc_bcm_usd_aging_malloc_fail                : 0
epmc_bcm_usd_aging_unkown_vlan                : 0
epmc_ifidx_invalid_op                         : 0
epmc_ifidx_req_malloc_fail                    : 0
epmc_inv_ep_req_local_vlan_not_found          : 0
epm_vrf_flush_unknown_vrf                     : 0
epm_vlan_flush_unknown_vlan                   : 0
num_mem_port_learns_for_new_ep                : 0
num_mem_port_learns_for_existing_ep           : 0
num cache ep cleaned up on timeout            : 0
Vlan not found for endpoint                   : 0
Bd not found for endpoint                     : 0
Endpoint hash table entry alloc fail          : 0
Delete ip from EP IP not found                : 0
Endpoint ip delete programming failed         : 0
Tunnel if index not found in db               : 0
Invalid ep req l2 create ep without MAC flag  : 0
Ep l2 create ep alloc failed                  : 0
Ep l2 create ep ht entry alloc fail           : 0
Invalid ep req Ep l3 create without IP flag   : 0
Ep l3 create ep alloc failed                  : 0
Ep l3 create ep ht entry alloc failed         : 0
Failed sending vlan learn disable msg to eltm : 0
Failed alloc vlan disable learn timer         : 0
Vlan learn disable timer create failed        : 0
Vlan learn disable timer start  failed        : 0
Failed sending vlan learn enable msg to eltmc : 0
Endpoint programming failed                   : 0
Endpoint update programming failed            : 0
Switch mac add fail for PC as mac exists      : 0
Switch mac add fail for PC alloc failure      : 0
Ep sync resume timer restart failed           : 0
Ep sync rn disable timer start failed         : 0
Number of ep deletes on epm NACK              : 0
Ep sync lazy timer start failed               : 0
Vlan delete req vlan not found                : 0
Vlan delete req hw vlan id ht del failed      : 0
Vlan delete req vnid ht del failed            : 0
Switch lrn disable mac delete fr PC not found : 0
Number of duplicate learn disable mac req     : 0
EP req for upd/del ep not found               : 4
EP add req with unknown ifidx                 : 0
EP add req from bcm for PC in vPC FC state    : 0
Number of unacked messages where timer exp    : 0
Number of unacked msg ht remove errors        : 0
Number of transaction timeouts with obj null  : 0
Number of transaction timeout while processing rsp mts : 0
Number of EP req without MAC and IP flag set  : 0
Number of errors in tep ip entry init   : 0
Number of errors in tep dup create      : 0
Number of tep not found for rileaf      : 0
Number of err for global cfg msg to tlv : 0
Number of errors in tep ip entry alloc  : 0
Number of inv EP updates for remote leaf eps : 0
Number of dtep cache to tunnel move failure : 0
Infra vrf not found                          : 0
Number of mts init handle fail for ep event  : 0
Number of EP deletes for router mac from epm : 0
Number of bounced ep creates                 : 0
Number of bounced ep creates for l2          : 0
Number of bounced ep creates for l3          : 0
Number of ip_pfx notification malloc failed  : 0
Number of ip_pfx notification req msg failed : 0
Number of subnet match fail for ipv4 learn   : 5839
Number of Xr learns on EPG                   : 0
Number of MAC learns with MAC zero           : 0
Number of bd not deployed xr ep requests     : 0
Number of rogue ep moves detected            : 0
Number of rogue ip moves detected            : 0
Number of prog failure due to svi down       : 0
Number of vlan add to aclqos invalid class   : 0
Number of loops detected on ep-sync          : 0
Number of IP ckt pfx PT add failed           : 0
Number of IP ckt pfx PT del node not found   : 0
Number of IP ckt pfx PT del failed           : 0
Number of IP ckt pfx PT upd node not found   : 0
Number of IP ckt sclass upd prog failed      : 0
Number of IP Ckt processing vlan not found   : 0
Number of IP Ckt update ip not found in ep   : 0
Number or EP force dels because of Rogue MAC : 0
Number or EP force dels because of Rogue IP  : 0
Number of EP moves ignored for Rogue MAC     : 0
Number of IP moves ignored for Rogue IP      : 0
Number of MAC Ckt req with unknown opcode        : 0
Number of MAC Ckt req with unknown bd vlan       : 0
Number of MAC Ckt req with macsclass value zero  : 0
Number of MAC Ckt req for invalid macckt epg     : 0
Number of PC/switch mac del error on mem dn  : 0
Number of PC/switch mac add error on mem up  : 0
Number of epmc cfg ep port up hw prog failed : 0
Number of dynamic tep lrn tlv errors         : 0
Number of timestamp jump detected in epm req : 2
Number of epmc cfg ep port up hw prog failed : 0
Number of times Xr lrn dis timer alloc fail  : 0
Number of times Xr lrn dis timer create fail : 0
Number of times Xr lrn dis timer start fail  : 0
Number of MAC limit disable msg to eltmc fail           :0
Number of MAC limit enable msg to eltmc fail            :0
Number of MAC limit ifidx notification  msg to epm fail :0
Number of MAC limit if vlan notification msg to epm fail:0
Aging entry in list when calling ep free      : 0
Aging entry in list when calling ep age init  : 0

--------------------------------------------
 BCM Error counters
----------------------------------------------
BCM l2 table programming failed : 0
BCM l2 table programming failed : 0

--------------------------------------------
 NS Error counters
----------------------------------------------
NS table delete programming failed : 0
NS table delete by key programming failed : 0
NS table idx bitmap full : 0
NS table idx entry set for free bitmap : 0
NS table insert programming failed : 0
NS table modify programming failed : 0
NS LST SA  table insert failed : 0
NS LST DA  table insert failed : 0
NS GST ING table insert failed : 0
NS GST EGR table insert failed : 0
NS LST SA  table delete failed : 0
NS LST DA  table delete failed : 0
NS GST ING table delete failed : 0
NS GST EGR table delete failed : 0
NS GST ING table Xr limit err  : 0
NS ADJ table insert err  : 0
NS ADJ table delete err  : 0

--------------------------------------------
 EPMC DB counters
----------------------------------------------
Number of Endpoints                : 17
Number of Local Endpoints          : 17
Number of Remote Endpoints         : 0
Number of Vrfs                     : 4
Number of Vlans                    : 13
Number of interfaces               : 75
Number of aclqus entries           : 0
Number of deletes of force_del_ack : 0
Number of if-vlan                  : 12
Number of EP sync start            : 2351
Number of EP sync done             : 2351
Number of EP sync paused           : 0
Number of EP sync resumed          : 0
Number of EP sync skipped          : 12
Number of EP sync errors           : 0
Number of age hit-bit bcm req sent : 0
Number of MTS queue high warnings  : 0
Number of MTS queue full warnings  : 0
Number of MTS queue leak warnings  : 0
Number of MTS queue warnings other : 0
Number of learn disabled macs      : 3
Number of learn disable ep req     : 13
Number of EP req processed         : 6203
Number of EP create req processed  : 195
Number of EP delete req processed  : 83
Number of EP update req processed  : 5884
Number of dtep tunnel Ep created   : 0
Number of dtep tunnel Ep deleted   : 0
Number of teps                     : 8
Number of IP sclass updates        : 0
Number of IP ckt ep sclass set     : 0
Number of IP ckt ep sclass reset   : 0
Number of Xr learn disable         : 0
Number of Xr learn enabled         : 0
Number of macckt upd for unk macckt : 0
Number of macckt upd for unk ep     : 0
Number of macckt upd in lrn path    : 4947
Number of if learn enable       : 0
Number of if learn disable      : 0
Number of if vlan learn enable  : 0
Number of if vlan learn disable : 0
MCEC domain configured  : FALSE

--------------------------------------------
 MOVE counters
----------------------------------------------
L2L upd                      : 0
L2P upd                      : 0
L2R upd                      : 0
P2L upd                      : 0
P2P upd                      : 0
P2R upd                      : 0
R2L upd                      : 0
R2P upd                      : 0
R2R upd                      : 0
EP non-static to static upd  : 0
EP static to non-static upd  : 0
PL to VL move                : 0
VL to PL move                : 0
Cache EP L2R/L2P move        : 0
Cache EP P2L/R2L move        : 0
EP Force del                 : 0
Bounce upd                   : 0
Sclass upd                   : 0
IP only moves                : 1
number of mem port learns overridden : 0
IP R2L moves                 : 0
Dtep to Dtep moves           : 0
Bounce to proxy upd          : 0
BD learn disable due to move : 0
BD learn disable due to loop : 0
BD learn disable             : 0
BD learn enable              : 0