cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
5717
Views
14
Helpful
8
Replies

Switch port audit

tylerto
Level 1
Level 1

Does Cisco have any management software for monitoring port usage? I.E. which ports have/have not been logged in on during a given time period?

8 Replies 8

jbrejcha
Level 1
Level 1

The only thing I can think of is to look at the CAM table if there have been any macadress visible for a specific port.

A tool that use that type of information is the CW2000 - LMS bundle. Campus Manager - UserTracking functionality. It creates a table where you have macaddress,IP address,port,device, last seen etc...

in the same row.

You can do a "sho mac" and it will tell you the ammount of traffic accross each port. At the bottom, it will show you the last time the counters were cleared. You could clear the counters wait a couple of days, the do your "sho mac" and see if anyone has been on there.

vinod.agrahari
Level 1
Level 1

Dear All,

Great to see input from you all and it seems very effective also.

But to make it more effective ,would like add one more point as use of any software for port audit will not make sense because mac address get refreshed in 20 sec which get cleared  from Mac address table of all the  switch port which is not in used and this activity get done trough ARP protocol.

Thank you all very much and correct me if I am wrong any point of time.

Regards

Vinod Agrahari

Hi Vinod,

A switch is not clearing dynamic mac addresses in its CAM table with ARP.A switch populates its CAM table by looking at src mac address of frames entering the port so he can bind this mac address to this port in a particular vlan.

Regards.

Don't forget to rate helpful posts.

Leo Laohoo
Hall of Fame
Hall of Fame

Try this:  sh int | i protocol | Last input

The output will tell you what interface plus the last time the interface saw any traffic.

Thanks Leo Laohoo, your suggestion helped me a lot. I could do port audit  for many switches with accuracy in short time.

sh interface | i Ethernet.*line protocol is down|Last input never, output never

Try this one above too.  

 

The line above basically will show all the physical ports that hasn't had any data traffic since the switch was powered up.  

Ganesh Hariharan
VIP Alumni
VIP Alumni
Does Cisco have any management software for monitoring port usage?  I.E. which ports have/have not been logged in on during a given time period?

Hi,

If you want to see the port usage traffic try configure the switch with SNMP with some server running with software like PRTG or MRTG with which you can see the whole switch individual port bandwidth usage.

Hope to Help !!

Ganesh.H

Review Cisco Networking for a $25 gift card