This script saves statistics from a CoPP configuration to a CSV file.
Script Modified Date:
Mar 31, 2008
Cisco IOS Version tested:
Cisco Products Tested:
Environment Variables used:
EEM_COPP_BASELINE_DIR and EEM_COPP_BASELINE_INTERVAL
Script Info URL:
This script parses the output of 'show policy-map control-plane' to determine the number of packets and bytes matching each class. The results are saved in a CSV file for use offline. This script is simply meant as a proof of concept and lacks the robustness necessary for any deployment in a production setting.