Community discussions

MikroTik App
 
punn
newbie
Topic Author
Posts: 34
Joined: Sun Jun 14, 2009 4:48 pm
Location: Prague

RB750G switch and monitoring

Wed Sep 29, 2010 6:23 pm

Hi!

I have a question regarding the switch chip installed in the 750G routerboard.
It's a Atheros 8316 chip installed.

To activate the switch function I have made on this 5 port RB ether1 the master port for the rest.
 interface ethernet print detail 
Flags: X - disabled, R - running, S - slave 
 0 R  name="ether1" mtu=1500 l2mtu=1524 mac-address=00:0C:42:71:B9:B8 
      arp=enabled auto-negotiation=yes full-duplex=yes speed=100Mbps 
      master-port=none bandwidth=unlimited/unlimited switch=switch1 

 1 RS name="ether2" mtu=1500 l2mtu=1524 mac-address=00:0C:42:71:B9:B9 
      arp=enabled auto-negotiation=yes full-duplex=yes speed=1Gbps 
      master-port=ether1 bandwidth=unlimited/unlimited switch=switch1 

 2  S name="ether3" mtu=1500 l2mtu=1524 mac-address=00:0C:42:71:B9:BA 
      arp=enabled auto-negotiation=yes full-duplex=yes speed=1Gbps 
      master-port=ether1 bandwidth=unlimited/unlimited switch=switch1 

 3  S name="ether4" mtu=1500 l2mtu=1524 mac-address=00:0C:42:71:B9:BB 
      arp=enabled auto-negotiation=yes full-duplex=yes speed=1Gbps 
      master-port=ether1 bandwidth=unlimited/unlimited switch=switch1 

 4  S name="ether5" mtu=1500 l2mtu=1524 mac-address=00:0C:42:71:B9:BC 
      arp=enabled auto-negotiation=yes full-duplex=yes speed=1Gbps 
      master-port=ether1 bandwidth=unlimited/unlimited switch=switch1 
But unfortunatelly I am not able to monitor the traffic on each port individually.
There should be a traffic also on the ether2 port, as I'm pingig the device attached to it.
Se the attachment.

Please advise me how can I monitor the traffic on each port individually.
Thank you!

Best regards
Gabor
Prague
You do not have the required permissions to view the files attached to this post.
 
zgi
newbie
Posts: 37
Joined: Thu Oct 22, 2009 7:07 pm

Re: RB750G switch and monitoring

Thu Sep 30, 2010 2:51 pm

In switch mode, you can't monitor slave interfaces, only master, as far as i know. If you want to monitor each interface put RB in bridge mode.
 
kirshteins
MikroTik Support
MikroTik Support
Posts: 592
Joined: Tue Dec 02, 2008 10:55 am

Re: RB750G switch and monitoring

Thu Sep 30, 2010 3:11 pm

You can get stats from switch chip itself:
/interface ethernet print interval=1s stats where name="ether1" 
                    name: "ether1"
            rx-broadcast: 675948
                rx-pause: 0
            rx-multicast: 70697
            rx-fcs-error: 0
          rx-align-error: 0
                 rx-runt: 0
             rx-fragment: 0
                   rx-64: 519755
               rx-65-127: 220824
              rx-128-255: 96321
              rx-256-511: 10987
             rx-512-1023: 5308
            rx-1024-1518: 56235
             rx-1519-max: 0
             rx-too-long: 0
             rx-overflow: 0
                rx-bytes: 157247305
            tx-broadcast: 2964
                tx-pause: 0
            tx-multicast: 2650
             tx-underrun: 0
                   tx-64: 5806
               tx-65-127: 111710
              tx-128-255: 11094
              tx-256-511: 2741
             tx-512-1023: 4882
            tx-1024-1518: 1576
             tx-1519-max: 0
             tx-too-long: 0
            tx-collision: 0
  tx-excessive-collision: 0
   tx-multiple-collision: 0
     tx-single-collision: 0
   tx-excessive-deferred: 0
             tx-deferred: 0
       tx-late-collision: 0
                tx-bytes: 18260645
 
punn
newbie
Topic Author
Posts: 34
Joined: Sun Jun 14, 2009 4:48 pm
Location: Prague

Re: RB750G switch and monitoring

Thu Sep 30, 2010 7:44 pm

In switch mode, you can't monitor slave interfaces, only master, as far as i know. If you want to monitor each interface put RB in bridge mode.
I know that is possible to put it in to bridge mode, but is more hw demanding that the switch chip.
Tried both ways. bridge mode was about 20Mb/s slower then the switch chip.

@kirshteins
is possible the monitooring trough dude ?

Thanks for the reply!