Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

Accounting of input packets

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.

1 ACCEPTED SOLUTION

Accepted Solutions

Re: Accounting of input packets

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.

3 REPLIES

Re: Accounting of input packets

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.

Re: Accounting of input packets

Thank you.

Best regards.

Massimiliano.

Re: Accounting of input packets

Massimiliano,

You are very welcomed.

BR,

Mohammed Mahmoud.

1235
Views
0
Helpful
3
Replies