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

Switchport last used

Can anybody help me on this .....

How to know when a cisco switch port was used last ?
i.e the exact time and date when that switch port  is last used.

 hanks in advance!!!
1 Solution
Don JohnstonInstructorCommented:
Unless you're monitoring it with an SNMP management station, the only way I know is to look at the log (assuming you're logging that information to a syslog server).  Then just look for when the port went down.
donjohnston is correct as far as I'm aware... You'd have to go off of logs or snmp, and the history of the logs/snmp would need to go back far enough.
cciedreamerAuthor Commented:
What is the latest version Cisco Wokrs LMS

Does it give the full report about switch port like since when the port is down ?
Not the exact time and date but in some cases this might help:

"show interface"

It shows, for each interface, the time since last input and output.
For example:

GigabitEthernet2/29 is down, line protocol is down (notconnect)
  Hardware is Gigabit Ethernet Port, address is 0019.5133.d5ec (bia 0019.5133.d5ec)
  MTU 1500 bytes, BW 1000000 Kbit, DLY 10 usec,
     reliability 255/255, txload 1/255, rxload 1/255
  Encapsulation ARPA, loopback not set
  Keepalive set (10 sec)
  Auto-duplex, Auto-speed, link type is auto, media type is 10/100/1000-TX
  input flow-control is off, output flow-control is off
  ARP type: ARPA, ARP Timeout 04:00:00
 Last input 27w3d, output never, output hang never
  Last clearing of "show interface" counters never
  Input queue: 0/2000/0/0 (size/max/drops/flushes); Total output drops: 8
  Queueing strategy: fifo
  Output queue: 0/40 (size/max)
  5 minute input rate 0 bits/sec, 0 packets/sec
  5 minute output rate 0 bits/sec, 0 packets/sec
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

We Need Your Input!

WatchGuard is currently running a beta program for our new macOS Host Sensor for our Threat Detection and Response service. We're looking for more macOS users to help provide insight and feedback to help us make the product even better. Please sign up for our beta program today!

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