Collecting TAC-PAC Logs from Cisco NX-OS and Copying via SCP
1. Generating a TAC-PAC Log Bundle
The TAC-PAC (tac-pac snapshot logs
) command collects comprehensive diagnostic information from an NX-OS switch. This is commonly requested by Cisco TAC for troubleshooting.
Command:
-
$(SWITCHNAME)
→ the hostname of your switch.
-
$(TIMESTAMP)
→ automatically replaced with date and time.
-
File is stored in bootflash: by default.
Example:
2. Verifying Where the Log is Stored
After generation, confirm the file using:
Example output:
So the log file is located at:
3. Enabling SCP Server on NX-OS
By default, the SCP feature may be disabled. To enable:
Verify:
4. Copying the Log to Your Computer
4.1 From Linux/macOS
Use scp
:
Example:
4.2 From Windows PowerShell (OpenSSH)
Use scp
with the -O
option (forces legacy SCP mode, required for NX-OS):
This saves the file in the current directory.
Related Articles
What is Boot Process in Linux OS.
Boot Process in Linux OS. Have you ever wondered what happens behind the scenes from the time you press the power button until the Linux login prompt appears? Press the power button on your system, and after few moments you see the Linux login ...
Managing OpenSM within NVIDIA UFM and getting OpenSM Logs from UFM
Overview In NVIDIA UFM (Unified Fabric Manager), OpenSM — the InfiniBand Subnet Manager — is managed internally by UFM rather than as a standalone systemd service. This allows UFM to control the IB fabric, collect telemetry, and maintain HA ...
Configuring Management Interface 0 (eth0) on SONiC 4.5.0 Switch via SONiC CLI
Purpose: This article provides step-by-step instructions to configure the management interface (Management 0 / eth0) on a SONiC 4.5.0 switch with a static IP and default gateway using the SONiC CLI. Scope: Applicable to Edgecore S-series switches ...
Cisco Transceiver compatibility with Mikrotik switches
Question: One of our partners are planning a new project for their end customer. They plan to use Cisco core switches (C9500-48Y4C-A with SFP-10G-SR=) and MikroTik (CRS328-4C-20S-4S+RM with S+85DLC03D) like an aggregation switch to which other ToR ...
What is BMC and How to generate BMC Logs
BMC (Baseboard Management Controller) The Baseboard Management Controller (BMC) is a specialized microcontroller embedded on a server’s motherboard that enables remote management and monitoring of the server's hardware, even when the server is ...