cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2508
Views
0
Helpful
3
Replies

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

mohammedmahmoud
Level 11
Level 11

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.

View solution in original post

3 Replies 3

mohammedmahmoud
Level 11
Level 11

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.

Thank you.

Best regards.

Massimiliano.

Massimiliano,

You are very welcomed.

BR,

Mohammed Mahmoud.

Review Cisco Networking products for a $25 gift card