11-03-2007 03:45 AM - edited 03-03-2019 07:23 PM
Hi, I was wondering what IP accounting does? I have 2 Cisco Catalyst switchs 2950 and 3550. I want to see what traffic is going through a port on the switch like the source and destination. Does anyone have an example of how to configure a port and how to show the traffic or what an example might look like?
Many thanks
11-03-2007 08:00 AM
IP Accounting provides a generic port/interface statistic showing yuo traffic xmit and rcv. What I think you are looking for is a poor mans sniffer. If your switches are IOS based then you can verify that CEF is enabled on your switch. Then you can use the interface command IP ROUTE-CACHE FLOW under the interface that you want to study. Then use the exec command SHOW IP CACHE FLOW. This will show you the traffic flows through the interface at the time you entered the command. It also shows you the packet sizes of the traffic flowing. If CEF is enabled then you can use this on any layer 3 interface. It is a useful tool to quickly see traffic flows. This feature is used for NETFLOW analyzers. This is another option that you might want to look at. NETFLOW analyzers provide a nice GUI interface for you and can provide reports and other details... Good Luck.. Pls rate...
11-03-2007 08:34 AM
I use NetFlow on all my routers, but ip route-cache flow isn't an option on my Cisco catalyst 2950 and 3550, unless you know otherwise?
11-03-2007 04:41 PM
The command to view the flows is SHOW IP CACHE FLOW.. If youy have Netflow running then you have CEF enabled and probably have IP ROUTE-CACHE FLOW enabled under the interfaces. Just do the SHOW command to view the flows...
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide