Community discussions

MikroTik App
 
eldoncito2019
Member
Member
Topic Author
Posts: 332
Joined: Fri Jun 14, 2019 1:07 pm

Last link up time

Wed Oct 12, 2022 10:58 pm

Guys,
How do I get the "LAST LINK UP TIME"?



mikrotik.jpg




EL DONCITO.
You do not have the required permissions to view the files attached to this post.
 
User avatar
ingdaka
Trainer
Trainer
Posts: 452
Joined: Thu Aug 30, 2012 3:06 pm
Location: Albania
Contact:

Re: Last link up time

Thu Oct 13, 2022 12:58 am

Where do you want to get it?! You see it on interface...
 
User avatar
Jotne
Forum Guru
Forum Guru
Posts: 3279
Joined: Sat Dec 24, 2016 11:17 am
Location: Magrathean

Re: Last link up time

Thu Oct 13, 2022 7:55 am

That would I also like to know.
You can see it in Winbox, but not on command line:
[admin@router1] /interface/ethernet> print detail 
Flags: X - disabled, R - running; S - slave 
 0 R  ;;; WAN
      name="ether1" default-name="ether1" mtu=1500 l2mtu=1596 mac-address=6C:3B:6B:XX:34:3E orig-mac-address=6C:3B:6B:XX:34:3E arp=enabled 
      arp-timeout=auto loop-protect=default loop-protect-status=off loop-protect-send-interval=5s loop-protect-disable-time=5m 
      auto-negotiation=yes advertise=10M-half,10M-full,100M-half,100M-full,1000M-half,1000M-full full-duplex=yes tx-flow-control=off 
      rx-flow-control=off speed=1Gbps bandwidth=unlimited/unlimited switch=switch1 

[admin@router1] > /interface/ethernet/print stats-detail 
Flags: X - disabled, R - running; S - slave 
 0 R  ;;; WAN
      name="ether1" driver-rx-byte=523 741 144 232 driver-rx-packet=625 747 504 driver-tx-byte=56 525 254 942 driver-tx-packet=261 702 331 
      rx-bytes=527 658 033 486 rx-packet=624 070 976 rx-too-short=0 rx-64=59 788 950 rx-65-127=143 721 284 rx-128-255=46 300 276 
      rx-256-511=18 225 319 rx-512-1023=7 791 425 rx-1024-1518=350 926 294 rx-too-long=0 rx-broadcast=12 407 rx-pause=0 rx-multicast=2 670 165 
      rx-fcs-error=0 rx-align-error=0 rx-fragment=0 rx-jabber=0 rx-drop=1 089 tx-bytes=57 572 061 306 tx-packet=261 519 080 tx-64=24 321 265 
      tx-65-127=177 737 420 tx-128-255=22 204 042 tx-256-511=9 857 130 tx-512-1023=5 089 126 tx-1024-1518=22 493 323 tx-broadcast=48 308 
      tx-pause=0 tx-multicast=134 918 tx-collision=0 tx-excessive-collision=0 tx-multiple-collision=0 tx-single-collision=0 tx-deferred=0 
      tx-late-collision=0 tx-drop=0 tx-fcs-error=0 

Other has asked for the same before
viewtopic.php?t=74534
 
User avatar
rextended
Forum Guru
Forum Guru
Posts: 11967
Joined: Tue Feb 25, 2014 12:49 pm
Location: Italy
Contact:

Re: Last link up time  [SOLVED]

Thu Oct 13, 2022 10:19 am

Really?
:put [/interface get ether1 last-link-up-time]
 
User avatar
Jotne
Forum Guru
Forum Guru
Posts: 3279
Joined: Sat Dec 24, 2016 11:17 am
Location: Magrathean

Re: Last link up time

Thu Oct 13, 2022 12:26 pm

My head was not at the right place.

As always short and quick solution by rextended :)

Who is online

Users browsing this forum: JDF and 14 guests