04-10-2008 08:44 AM - edited 03-03-2019 09:30 PM
Sorry I tried to find this myself before posting but wasn't able to find. Question is how do I enable IP accounting on the router? All I did was go to the interface in this case my s0/0/0 and entered ip accounting. Then just did a show ip accounting and I don't get anything...am I missing something?
What I'm trying to do is see what ip are traveling through my router
Just a FYI I'm trying to do it on a Serial interface.
Solved! Go to Solution.
04-16-2008 11:03 AM
CEF should be enabled at all times. No need to disable CEF unless you are troubleshooting packets. CEF accelerates the forwarding mechanism in the router.
04-10-2008 08:57 AM
Hi, ip accounting is really really outdated now. You can enable netflow and then see the statistics with a client like prtg or few commands on the router itself.
04-16-2008 10:32 AM
How do I enable netflow, is it port specifig or do I just enable it on the router. You also mention that I can see the stats on the router via a few commands what are they please?
04-16-2008 10:36 AM
You will always find the documentation to be your best friend
http://www.cisco.com/en/US/docs/ios/12_4/netflow/configuration/guide/onf_bcf.html
HTH,
__
Edison.
04-16-2008 10:39 AM
Thanks Edison....is this more accurate than using ip accounting on the routers?
04-16-2008 10:43 AM
They are both accurate but NetFlow provides more information such as the type of flow.
IP Accounting just display the source and destination and incrementing packets for the last 5 minutes.
With NetFlow, you can export this information to a collector and archive it for later viewing.
Please take a moment and read the link I provided. It shows you sample configs that you can follow, how the output should look and troubleshooting section.
Good luck !
__
Edison.
04-16-2008 10:50 AM
one more things....I see to use netflow you have to enable CEF and CEF isn't enable on the router for some reason. The person that would know I replaced so I'm not sure why CEF isn't enabled. Question is if I enable CEF on this 3845 router would it have an adverse effects on the router? I would experiment but they need this information right away and I cannot wait till the weekend. All I'm looking for is source/destination IPs. I have already set it up on the core interface that leads to my internal network. But I noticed that it reset.
04-16-2008 11:03 AM
CEF should be enabled at all times. No need to disable CEF unless you are troubleshooting packets. CEF accelerates the forwarding mechanism in the router.
04-16-2008 11:06 AM
ok thank you I will enable it now then,let you know how things went.
08-07-2014 10:31 PM
Hi Edison ,
Could you help me with IP accouting command and give me an idea about each output fields
04-20-2023 02:00 AM
Hi
Anyone tried to enable the IP accounting output packets in C9200 switch
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: