Community discussions

 
User avatar
greek
Member Candidate
Member Candidate
Topic Author
Posts: 111
Joined: Thu Nov 04, 2010 11:37 pm
Location: Russia, 78rus

How to see Ethernet Port Uptime?

Mon Jul 08, 2013 5:36 pm

Good day.

Tell me please, how i can see uptime of the ethernet port in RouterOS?
(Whithout searching in log)
 
krakenant
Member Candidate
Member Candidate
Posts: 136
Joined: Sat Feb 06, 2010 6:32 am

Re: How to see Ethernet Port Uptime?

Tue Jul 16, 2013 12:34 am

:put [/system resource get uptime] 
 
User avatar
greek
Member Candidate
Member Candidate
Topic Author
Posts: 111
Joined: Thu Nov 04, 2010 11:37 pm
Location: Russia, 78rus

Re: How to see Ethernet Port Uptime?

Tue Jul 16, 2013 12:38 am

I need uptime of the physical link ether1. No system uptime.
 
User avatar
samir494
Member Candidate
Member Candidate
Posts: 236
Joined: Thu Aug 06, 2009 11:27 am
Location: India

Re: How to see Ethernet Port Uptime?

Tue Jul 16, 2013 11:24 am

check logs there is time stamp when ether port status change
Mistry Samir
Unique and Different
India
9920670022

Give me more Karma
 
User avatar
honzam
Forum Guru
Forum Guru
Posts: 2292
Joined: Wed Feb 27, 2008 10:27 pm
Location: Czech Republic

Re: How to see Ethernet Port Uptime?

Tue Jul 16, 2013 12:04 pm

He wrote: without searching in log
LAN, FTTx, Wireless. ISP operator
 
User avatar
samir494
Member Candidate
Member Candidate
Posts: 236
Joined: Thu Aug 06, 2009 11:27 am
Location: India

Re: How to see Ethernet Port Uptime?

Tue Jul 16, 2013 12:12 pm

here it is ,,
You do not have the required permissions to view the files attached to this post.
Mistry Samir
Unique and Different
India
9920670022

Give me more Karma
 
User avatar
greek
Member Candidate
Member Candidate
Topic Author
Posts: 111
Joined: Thu Nov 04, 2010 11:37 pm
Location: Russia, 78rus

Re: How to see Ethernet Port Uptime?

Tue Jul 16, 2013 11:33 pm

I hope to find more easy way than parsing log, but thank you for answer. (This level of scripting too difficult for me)
 
User avatar
honzam
Forum Guru
Forum Guru
Posts: 2292
Joined: Wed Feb 27, 2008 10:27 pm
Location: Czech Republic

Re: How to see Ethernet Port Uptime?

Tue Jul 23, 2013 12:31 pm

I need it in winbox. Very useful information - if port flapping.

Thanks
LAN, FTTx, Wireless. ISP operator
 
User avatar
samir494
Member Candidate
Member Candidate
Posts: 236
Joined: Thu Aug 06, 2009 11:27 am
Location: India

Re: How to see Ethernet Port Uptime?

Tue Jul 23, 2013 12:59 pm

you just need to open new terminal in winbox & type " log pr" it will show you log informations
Mistry Samir
Unique and Different
India
9920670022

Give me more Karma
 
User avatar
honzam
Forum Guru
Forum Guru
Posts: 2292
Joined: Wed Feb 27, 2008 10:27 pm
Location: Czech Republic

Re: How to see Ethernet Port Uptime?

Tue Jul 23, 2013 2:13 pm

Log have few lines. I do not see a few days back. This is useless
LAN, FTTx, Wireless. ISP operator
 
User avatar
normis
MikroTik Support
MikroTik Support
Posts: 24268
Joined: Fri May 28, 2004 11:04 am
Location: Riga, Latvia

Re: How to see Ethernet Port Uptime?

Tue Jul 23, 2013 2:18 pm

Log have few lines. I do not see a few days back. This is useless
set up remote logging, keep log in database, and have separate section that filters out ethernet status
No answer to your question? How to write posts
 
User avatar
honzam
Forum Guru
Forum Guru
Posts: 2292
Joined: Wed Feb 27, 2008 10:27 pm
Location: Czech Republic

Re: How to see Ethernet Port Uptime?

Wed Jul 24, 2013 12:29 am

Log have few lines. I do not see a few days back. This is useless
set up remote logging, keep log in database, and have separate section that filters out ethernet status
Yes, it is possible. But have you plans show Ethernet uptime in winbox or in terminal? Thanks
LAN, FTTx, Wireless. ISP operator
 
User avatar
normis
MikroTik Support
MikroTik Support
Posts: 24268
Joined: Fri May 28, 2004 11:04 am
Location: Riga, Latvia

Re: How to see Ethernet Port Uptime?

Wed Jul 24, 2013 10:55 am

to implement this, we would basically have to do the same as I suggested to you :) We will see, maybe there is another way
No answer to your question? How to write posts
 
User avatar
samir494
Member Candidate
Member Candidate
Posts: 236
Joined: Thu Aug 06, 2009 11:27 am
Location: India

Re: How to see Ethernet Port Uptime?

Wed Jul 24, 2013 1:27 pm

hi normis,

thanks for trying anotherway to include that, in ether-->status mentioning last three

like
1. ether port change to UP date & time stamp
2. ether port change to Down date & time stamp
3. ether port change to UP date & time stamp

honzam
you can also try to run script for the same , when status change
Mistry Samir
Unique and Different
India
9920670022

Give me more Karma
 
User avatar
mahnet
Long time Member
Long time Member
Posts: 654
Joined: Tue Jul 07, 2009 9:11 pm

Re: How to see Ethernet Port Uptime?

Thu Jul 25, 2013 4:48 am

i second honzam and samir94 request.
Normis it helps a lot to check port flapping or power issues at client sites.
I have a RB1100AHX2 up for over 80 days but I am not sure if ethernets have been up for so long.
Logs often show ether link down and up.
 
User avatar
honzam
Forum Guru
Forum Guru
Posts: 2292
Joined: Wed Feb 27, 2008 10:27 pm
Location: Czech Republic

Re: How to see Ethernet Port Uptime?

Wed Feb 05, 2014 11:58 pm

to implement this, we would basically have to do the same as I suggested to you :) We will see, maybe there is another way
Any news?
LAN, FTTx, Wireless. ISP operator
 
User avatar
aacable
Member
Member
Posts: 423
Joined: Wed Sep 17, 2008 11:58 am
Location: ISLAMIC Republic of PAKISTAN
Contact:

Re: How to see Ethernet Port Uptime?

Thu Feb 06, 2014 6:59 am

It would be great if Mikrotik include PORT uptime that can be viewed with comamnd/gui or pulled via snmp query too :D
Currently I am monitoring Cisco Switch/ASA and Mikrotik Port status using Mikrotik 'DUDE'. I have customized it according to my need like if main feed link is down, it sends sms and email alert to concern area engineer. Using it you can create scripts to perform according to requirements.

http://aacable.wordpress.com/2013/08/20 ... ort-notes/

You can also use MRTG or SMOKEPING to keep a detailed usage/quality of transmission. Specially smokeping is great
_____________
Regard's

Syed Jahanzaib
Web: http://aacable.wordpress.com
Email: aacable [at] hotmail.com
 
User avatar
alice
Frequent Visitor
Frequent Visitor
Posts: 79
Joined: Tue Jul 26, 2011 10:44 am

Re: How to see Ethernet Port Uptime?

Wed Jul 08, 2015 7:23 am

/interface print detail

look for

last-link-up-time


(see also last-link-down-time)
 
telepro
Frequent Visitor
Frequent Visitor
Posts: 63
Joined: Sun Apr 03, 2011 7:50 pm

Re: How to see Ethernet Port Uptime?

Wed Oct 14, 2015 9:28 pm

There are a number of additional columns (in addition to the defaults) that can be selected for display through winbox. For example, in the PPP | Interface screen, columns may be selected to display TxBytes, RxBytes, TxPackets, RxPackets, RemoteAddress, etc.

The command
/interface sstp-server print detail terse file=xyz
does print out a few of the available columns, but not all that are selectable through winbox.

How is it possible to select all of the available columns for printing (or writing to a file using the file=xxx print parameter)?
 
oxy1
just joined
Posts: 8
Joined: Tue Mar 07, 2017 2:19 am

Re: How to see Ethernet Port Uptime?

Tue Mar 07, 2017 2:31 am

The last-link-up-time/last-link-down-time was introduced by RouterOS 6.22 nov/11/2014 (was not present in 6.20).

To see these values from the command-line, use
/interface print detail terse
This information is not present under the "/interface TYPE print detail" command, only the top-level "/interface print detail". Use "where type=FOO" to limit to a particular type. "terse" is required, otherwise the display will be shortened to fit your terminal width and the fields you want will probably be omitted.

E.g.
/interface print detail terse where type=eoip

Who is online

Users browsing this forum: No registered users and 147 guests