Enabling IP accounting

Answered Question
Apr 10th, 2008
User Badges:

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.

Correct Answer by Edison Ortiz about 9 years 1 month ago

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.



  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (1 ratings)
Loading.
paolo bevilacqua Thu, 04/10/2008 - 08:57
User Badges:
  • Super Gold, 25000 points or more
  • Hall of Fame,

    Founding Member

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.

wgranada1 Wed, 04/16/2008 - 10:32
User Badges:

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?

wgranada1 Wed, 04/16/2008 - 10:39
User Badges:


Thanks Edison....is this more accurate than using ip accounting on the routers?

Edison Ortiz Wed, 04/16/2008 - 10:43
User Badges:
  • Super Bronze, 10000 points or more
  • Hall of Fame,

    Founding Member

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.

wgranada1 Wed, 04/16/2008 - 10:50
User Badges:

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.

Correct Answer
Edison Ortiz Wed, 04/16/2008 - 11:03
User Badges:
  • Super Bronze, 10000 points or more
  • Hall of Fame,

    Founding Member

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.



wgranada1 Wed, 04/16/2008 - 11:06
User Badges:

ok thank you I will enable it now then,let you know how things went.

bijithdmeethal Thu, 08/07/2014 - 22:31
User Badges:

Hi Edison ,

 

Could you help me with  IP accouting command and give me an idea about each output fields

Actions

This Discussion