View Single Post
Old 07-31-2015, 03:01 PM
Casey Casey is offline
Registered User
Join Date: Oct 2011
Posts: 114
"show ip accounting" Top 10

Attached is a script I wrote that I figured others may also find helpful. It captures your 'show ip accounting' output, sorts it, and displays a somewhat formatted list of the 10 connections that have transmitted the most data.

It also saves it to your clipboard so you can paste it into notepad/email/IM/etc.

I've only tested on Cisco IOS routers (29xx and 39xx models)

If someone feels likes making the code more robust or just formatted to any kind of coding standard... then have at it. You won't hurt my feelings.

All I ask if that you considering sharing your improvements with everyone else here.

Use at your own risk.
Attached Files
File Type: zip (1.7 KB, 329 views)
Reply With Quote