Accounting of input packets

Answered Question
Jul 20th, 2008

Hi,

How can i do accounting on packets ENTERING an interface? With ip accounting i can do accounting only on output-packets.

Are there software for collecting and tracking this data?

Thank you for your response.

Best regards.

Massimiliano.

I have this problem too.
0 votes
Correct Answer by mohammedmahmoud about 8 years 4 months ago

Hi Massimiliano,

You can use Netflow using the "ip route-cache flow" command which can be used only under the main interface, more over you can use the "ip flow ingress" command which was an enhancement to be used under subinterfaces (can also be used under main interface), this enables NetFlow accounting for packets that are received by the interface (ingress), to do it for egress traffic then use "ip flow egress" (either under the interface or the subinterface). And finally use "show ip cache flow" to display the NetFlow statistics output.

Cisco IOS NetFlow Configuration Guide, Release 12.4

http://www.cisco.com/en/US/products/ps6350/products_configuration_guide_chapter09186a00805e7c53.html

BR,

Mohammed Mahmoud.

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (1 ratings)
Loading.
Correct Answer
mohammedmahmoud Sun, 07/20/2008 - 23:52

Hi Massimiliano,

You can use Netflow using the "ip route-cache flow" command which can be used only under the main interface, more over you can use the "ip flow ingress" command which was an enhancement to be used under subinterfaces (can also be used under main interface), this enables NetFlow accounting for packets that are received by the interface (ingress), to do it for egress traffic then use "ip flow egress" (either under the interface or the subinterface). And finally use "show ip cache flow" to display the NetFlow statistics output.

Cisco IOS NetFlow Configuration Guide, Release 12.4

http://www.cisco.com/en/US/products/ps6350/products_configuration_guide_chapter09186a00805e7c53.html

BR,

Mohammed Mahmoud.

Actions

This Discussion