Community discussions

MikroTik App
 
Guscht
Member Candidate
Member Candidate
Topic Author
Posts: 236
Joined: Thu Jul 01, 2010 5:32 pm

MSTP / Port Override / Priority not working as expected

Sun Nov 14, 2021 2:18 pm

Hi,

I try to setup a simple MSTP and it works not as expected.
I have set-up two router with the same VLANs (11 and 21) and created a MSTP instance.

Root:
root_1.jpg
root_2.jpg

The salve bridge behaves as expected:
salve_1.jpg
slave_2.jpg

So far everything works as expected, VLAN 11 and 21 go through ether4.

Now I want VLAN11 to go through ether4 and VLAN21 through ether5.
I edit the port priority of the root bridge as follwing:
root_3.jpg
ether4 = ID11 = VLAN11 = 70
ether4 = ID21 = VLAN21 = 80
ether5 = ID11 = VLAN11 = 80
ether5 = ID21 = VLAN21 = 70


THE RPOBLEM: The slave bridge ignores the priority setting of the root-bridge:
slave_3.jpg
Everything still goes through ether4.

What do I wrong?? :(
You do not have the required permissions to view the files attached to this post.
 
Guscht
Member Candidate
Member Candidate
Topic Author
Posts: 236
Joined: Thu Jul 01, 2010 5:32 pm

Re: MSTP / Port Override / Priority not working as expected

Sun Nov 14, 2021 5:33 pm

Is this a bug in ROS or in my head??

The Wirshark-Output is from the salve-bridge (NOT the root-bridge), the received frames are FROM the root-bridge.

ROS transmitts always the sequence: 0b0100.0000
0b0100 = 0x4 = 0b0100.0000 = 0x40
Screenshot 2021-11-14 162055.jpg

Reagrdless of what is configured 0x80 (0b1000.0000):
Screenshot 2021-11-14 162106.jpg


OK, now we change the Port-Priority to 0x10 (0b01000.0000):
Screenshot 2021-11-14 162247.jpg

Now, ROS transmitts 0b0000.0000 insted of 0b0001.0000 (0x10):
Screenshot 2021-11-14 162229.jpg

I am totaly wrong (or crazy - doing this stuff for hours), or is this a bug???
You do not have the required permissions to view the files attached to this post.
 
Guscht
Member Candidate
Member Candidate
Topic Author
Posts: 236
Joined: Thu Jul 01, 2010 5:32 pm

Re: MSTP / Port Override / Priority not working as expected

Sun Nov 14, 2021 5:44 pm

And its getting better, the behaviour is other after a reboot:

PRIOR the reboot: 0x80 is configured:
Screenshot 2021-11-14 163919.jpg

Transmitts 0x0 instead of 0x1000.0000:
Screenshot 2021-11-14 164015.jpg

NOW we reboot the device...

Same config:
Screenshot 2021-11-14 163919.jpg

But now 0x40 (0b0100.0000) is transmitted insted of 0x80 (0b1000.0000):
Screenshot 2021-11-14 164106.jpg



Now with 0xf0 (0b1111.0000):
Screenshot 2021-11-14 165019.jpg

PRIOR reboot 0x0:
Screenshot 2021-11-14 165130.jpg

AFTER reboot again 0x4 instead of 0xfb:
Screenshot 2021-11-14 165353.jpg

This erratic behaviour would correlate to my finding from the original post.
I seems something is wrong with ROS....??
You do not have the required permissions to view the files attached to this post.

Who is online

Users browsing this forum: bdivrik, jaclaz, Semrush [Bot], viacheslav1988, yan and 208 guests