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.
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