Collecting TAC-PAC Logs from Cisco NX-OS and Copying via SCP

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:

tac-pac snapshot logs bootflash:tac_pac_$(SWITCHNAME)_$(TIMESTAMP).gz
  • $(SWITCHNAME) → the hostname of your switch.

  • $(TIMESTAMP) → automatically replaced with date and time.

  • File is stored in bootflash: by default.

Example:

T10PHGXINLFSW01# tac-pac snapshot logs bootflash:tac_pac_$(SWITCHNAME)_$(TIMESTAMP).gz Show tech detail can take more than 5 minutes to complete. Please Wait ... Probable snapshot size: 354 MB. Free space available 7494 MB Snapshot generated at logflash:evt_log_snapshot/tac_snapshot_bundle.tar Please cleanup once done.

2. Verifying Where the Log is Stored

After generation, confirm the file using:

dir bootflash:

Example output:

394257371 Sep 25 11:39:08 2025 tac_pac_T10PHGXINLFSW01_2025-09-25-11.28.34.gz

So the log file is located at:

bootflash:tac_pac_T10PHGXINLFSW01_2025-09-25-11.28.34.gz

3. Enabling SCP Server on NX-OS

By default, the SCP feature may be disabled. To enable:

configure terminal feature scp-server end

Verify:

show feature | include scp scpServer 1 enabled

4. Copying the Log to Your Computer

4.1 From Linux/macOS

Use scp:

scp -O admin@<SWITCH_IP>:tac_pac_<SWITCHNAME>_<TIMESTAMP>.gz ~/Downloads/

Example:

scp -O admin@10.152.15.10:tac_pac_T10PHGXINLFSW01_2025-09-25-11.28.34.gz ~/Downloads/

4.2 From Windows PowerShell (OpenSSH)

Use scp with the -O option (forces legacy SCP mode, required for NX-OS):

scp -O admin@10.152.15.10:tac_pac_T10PHGXINLFSW01_2025-09-25-11.28.34.gz .

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 ...