cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2310
Views
0
Helpful
0
Comments
Santosh Sharma
Cisco Employee
Cisco Employee

Introduction

EEM script to capture packets at SPP every 15 mins and other logs every minute.

Details

Following o/ps are captured every minute:

  • show drops all location all
  • sh controllers np counters all location 0/0/cpu0
  • sh controllers np counters all location 0/1/cpu0
  • sh controllers fabric crossbar  statistics  instance  0 location 0/rp0/CPU0
  • sh controllers fabric crossbar  statistics  instance  0 location 0/0/CPU0
  • sh controllers fabric crossbar  statistics  instance  0 location 0/1/CPU0
  • show spp node-counters loc 0/rp0/CPU0
  • show spp interface loc 0/rp0/CPU0
  • show controllers fabric fia instance  0 stats loc 0/rp0/CPU0
  • show controllers fabric fia instance  0 stats loc 0/0/CPU0
  • show controllers fabric fia instance  0 stats loc 0/1/CPU0

 

SPP capture is done every 15 mins. Every 15 mins SPP captures are written to another file in Harddisk. This is done to make sure that SPP capture is never interrupted(Except for the time when SPP captures are copied to harddisk).

 

The filters are set to match LDP discovery going out for specific source and destination address.

More Scripts

EEM script repository

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Review Cisco Networking for a $25 gift card