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!!!
LVL 3
cciedreamerAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

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.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
rauenpcCommented:
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.
0
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 ?
0
mrwortaCommented:
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
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Routers

From novice to tech pro — start learning today.