Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 2369
  • 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.

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

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