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
amigan_99Network EngineerAsked:
Who is Participating?
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.

All Courses

From novice to tech pro — start learning today.