Enterprise SONiC Bootcamp Register Now

SONiC Linux VM FREE DOWNLOAD
Sign Up

SONiC hands-on training - Module 7 - Lab 2&3 - Analyzing Packet Drops & Generating Tech-Support Logs

You are a network engineer investigating packet drops on R1. Your goal is to locate the source of packet loss using interface and counter analysis, then generate tech-support logs for escalation.

Topology

Instruction 

Step 1: How we can check the drop counters? Execute the command on R1

       – Use this command: 
      show interface dropcounters​

Step 2: How we can configure the specific drop counters? Create “ACLDrop” dropcounter with these specific configurations

   Add-reason: ACL_ANY
   type: PORT_INGRESS_DROPS

enable it and verify the configuration with show dropcounters configuration command.

Step 3: How can we generate tech-support logs for further investigation?

      – Use this command: 
         show tech-support

If it’s successful, it should like this at the end:
Status: Completed​
File Name: /var/dump/sonic_dump_sonic_20230516_144517.tar.gz

–  Default Credentials: admin / YourPaSsWoRd

 – Compare settings on both devices to spot mismatches.

 – Before enabling new drop counter, remember to configure it properly.