12-28-2024 08:24 AM
Hello
On the ACI factory in one of the sites after upgrading to version from 4.2(7w) 5.3(2d) we record a slow response from the APIC servers when executing configuration and show commands via CLI.
The problem is especially noticeable when executing various “show run” commands and is noticed on all APIC servers in the 2nd site (RCOD)
Example of command execution time on sites:
Site1 version ACI4.2(7w) execution time “showepg <epg> ” - 00:05 sec
Site2 version ACI5.3(2d) execution time “showepg <epg>” - 00:39 sec
Site1 version ACI 4.2(7w) execution time “show run leaf <leaf> interface ethernet <port>” - 00:50 sec
Site2 version ACI 5.3(2d) execution time “show run leaf <leaf> interface ethernet <port>” - 02:15 sec
Site1 version ACI 4.2(7w) execution time “show run vpc context leaf <leaf1 leaf2> int vpc <vpc>” - 1:10 sec
Site2 version ACI 5.3(2d) execution time “show run vpc context leaf <leaf1 leaf2> int vpc <vpc>” – 2:45 sec
Site1 ACI version 4.2(7w) execution time “show run template policy-group <pg>” – 0:04 sec
Site2 ACI version 5.3(2d) execution time “show run template policy-group <pg>” – from 0:04 to 0:08 sec
Previously, the 2nd site had version 15.2(3e), these problems with slowing down the execution of commands via CLI were not observed.
01-02-2025 01:38 AM
Hello @kz-support
The issue you are describing is a common concern when upgrading Cisco ACI (Application Centric Infrastructure) environments to newer versions. Performance degradation in CLI command execution, especially for configuration and "show" commands, can occur due to several factors introduced in the newer version. Below are some potential causes and troubleshooting steps to address the issue:
Increased Resource Utilization in Newer Versions:
Database Changes:
Increased Data Volume:
Code Optimization Differences:
APIC Hardware Limitations:
Bugs in the New Version:
Check APIC Resource Utilization:
acidiag fnvread acidiag avread acidiag sysinfo
Verify Database Health:
acidiag dbcheck
Check for Known Bugs:
Compare Configuration Complexity:
Enable Debugging for CLI Commands:
debug cli
Test with a Different APIC Node:
Check Network Latency:
Upgrade to a Newer Version:
Engage Cisco TAC:
Use the GUI or API:
Optimize Command Usage:
By systematically addressing the potential causes, you should be able to identify and resolve the performance degradation in Site2.
Hope This Helps!!!
AshSe
Forum Tips:
03-10-2025 07:03 AM
Thank you for you answer, and could you tell me will there be any impact on system performance when using the following suggested commands:
debug cli
acidiag fnvread
acidiag avread
acidiag sysinfo
acidiag dbcheck
I mean could I apply them during the working process, or I must plan th MW for it?
03-10-2025 07:56 AM
Great question! It's always important to understand the potential impact of diagnostic commands on system performance, especially in a production environment. Here's a breakdown of the commands you mentioned and their potential impact:
acidiag fnvread
acidiag avread
acidiag sysinfo
debug cli
acidiag dbcheck
(safe in most cases, but monitor resource usage or plan for MW if the system is under heavy load)In most cases, these commands are safe to run during normal operations without requiring a maintenance window. However, always monitor the system's resource utilization and ensure the APIC is not under heavy load before running diagnostic commands.
Hope This Helps!!!
AshSe
Community Etiquette:
03-12-2025 08:26 AM
We've upgraded to the version 6.0(8f) but problem still the same
and another quiestion - I didn't find the command 'debug cli' on the APIC CLI, and no any description on this command, is this a right syntax?
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide