07-20-2008 11:45 PM - edited 03-06-2019 12:18 AM
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.
Solved! Go to Solution.
07-20-2008 11:52 PM
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.
07-20-2008 11:52 PM
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.
07-21-2008 12:49 AM
Thank you.
Best regards.
Massimiliano.
07-21-2008 02:05 AM
Massimiliano,
You are very welcomed.
BR,
Mohammed Mahmoud.
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