らくがきちょう

なんとなく

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

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

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 から確認出来ます。 更に詳細なカウンターを確認したい場合は CLIvsh_lc から 'show system internal epmc counters all' を実行します。

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