Community discussions

MikroTik App
 
myso
newbie
Topic Author
Posts: 30
Joined: Wed Oct 21, 2009 8:26 pm

Winbox vs. CLI - ethernet showing different speeds

Tue Sep 09, 2014 2:43 pm

Hi all, winbox and command line are showing different negotiated speeds on the same ethernet interaces (100mbps vs. 1gbps, RB951G-2HnD).

Whom should I trust?
 
User avatar
janisk
MikroTik Support
MikroTik Support
Posts: 6263
Joined: Tue Feb 14, 2006 9:46 am
Location: Riga, Latvia

Re: Winbox vs. CLI - ethernet showing different speeds

Tue Sep 09, 2014 2:49 pm

are you sure you are looking at the same thing?

this is how you check that in CLI
[admin@3B17-S1] /interface ethernet> monitor ether1 
                      name: ether1
                    status: link-ok
          auto-negotiation: done
                      rate: 1Gbps
               full-duplex: yes
           tx-flow-control: no
           rx-flow-control: no
               advertising: 10M-full,100M-full,1000M-full
  link-partner-advertising: 10M-half,10M-full,100M-half,100M-full,1000M-half,1000M-full
rate: is the field you are looking for
 
myso
newbie
Topic Author
Posts: 30
Joined: Wed Oct 21, 2009 8:26 pm

Re: Winbox vs. CLI - ethernet showing different speeds

Tue Sep 09, 2014 3:18 pm

Nah, I was looking here:
[admin@xxxxx] > interface ethernet print detail 
Flags: X - disabled, R - running, S - slave 
 0 RS name="LAN" default-name="ether1" mtu=1500 l2mtu=1598 mac-address=xxxxxxxxxxx 
      orig-mac-address=XXXXXXXXX arp=enabled 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 master-port=none 
      bandwidth=unlimited/unlimited switch=switch1 
[admin@xxxxxxx] > interface ethernet monitor LAN  
                      name: LAN
                    status: link-ok
          auto-negotiation: done
                      rate: 100Mbps
               full-duplex: yes
           tx-flow-control: no
           rx-flow-control: no
               advertising: 10M-half,10M-full,100M-half,100M-full,1000M-half,1000M-full
  link-partner-advertising: 10M-half,10M-full,100M-half,100M-full
So what's the difference between speed and rate? Anyway thanks ;)
 
User avatar
janisk
MikroTik Support
MikroTik Support
Posts: 6263
Joined: Tue Feb 14, 2006 9:46 am
Location: Riga, Latvia

Re: Winbox vs. CLI - ethernet showing different speeds

Tue Sep 09, 2014 3:26 pm

from manual:
http://wiki.mikrotik.com/wiki/Ethernet
speed (10Mbps | 10Gbps | 100Mbps | 1Gbps; Default: )	Sets the data transmission speed of an interface. By default, this value is the maximal data rate supported by the interface
read this as - when auto-negotiation is turned off, it will be the setting that is going to be used.

rate - is negotiated rate that interface is using
so, from same link:
rate (10Mbps | 100Mbps | 1Gbps)	Actual data rate of the connection.
 
myso
newbie
Topic Author
Posts: 30
Joined: Wed Oct 21, 2009 8:26 pm

Re: Winbox vs. CLI - ethernet showing different speeds

Tue Sep 09, 2014 3:38 pm

Thanks a lot, my fault - should have read the manual.

Who is online

Users browsing this forum: Google [Bot], GoogleOther [Bot], tdw and 232 guests