• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 2488
  • Last Modified:

IP Accounting on 3560 L3 switch?

I have a routed port gig 0/3 on a 3650 switch, routing enabled.  I added "ip accounting output-packets" in hopes of gaining some insight as to what hosts are hogging bandwidth.  But alas I am not getting anything.  Is IP accounting available only on routers proper?  Same question for netflow.  I am pretty sure you get no netflow in this case.  Any other thought on how to tell what hosts are consuming the bandwidth on that interface?  Thanks!

interface GigabitEthernet0/3
 description  30Mbps link
 no switchport
 bandwidth 30000
 ip address
 ip accounting output-packets
 srr-queue bandwidth share 1 30 35 5
 queue-set 2
 priority-queue out
 mls qos trust cos
 auto qos trust

mccx-c3560-1#sho ip account
   Source           Destination              Packets               Bytes

Accounting data age is 24
  • 2
1 Solution
amigan_99Network EngineerAuthor Commented:
That is helpful.  They do mention netflow however.  I have the enhanced image on the 3560.  Should the commands be there?  I don't see anything at global enable level.  This is how I configure on a 3845:

ip flow-cache timeout active 5
ip flow-export source GigabitEthernet0/0
ip flow-export version 5
ip flow-export destination 10.10.10.x 2055
ip flow-top-talkers
Yes, beginning with IOS version 12.2(58)SE. The switches support smart logging:

Check out this document:


Look under the logging section.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: CompTIA Cloud+

The CompTIA Cloud+ Basic training course will teach you about cloud concepts and models, data storage, networking, and network infrastructure.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now