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