顯示具有 switch 標籤的文章。 顯示所有文章
顯示具有 switch 標籤的文章。 顯示所有文章

2021年3月25日 星期四

LAG on SwOS

https://wiki.mikrotik.com/wiki/SwOS/CSS326#LAG

Each individual port can be configured as Passive LACP, Active LACP or a Static LAG port.

PropertyDescription
Mode (default: passive)Specify LACP packet exchange mode or Static LAG mode on ports:
  • Passive: Place port in listening state, use LACP only when it's contrary port uses active LACP mode
  • Active: Prefer to start LACP regardless contrary port mode
  • Static: Set port in a Static LAG mode
PropertyDescription
GroupSpecify a Static LAG group
Trunk (read only)Represents group number port belongs to.
Partner (read only)Represents partner mac-address.


 https://forum.mikrotik.com/viewtopic.php?t=126149


Hello, why are you configuring LAG ports as static? and the second one, to configure a LAG with SwOS it's like a LACP so it has some modes where those switches can negotiate the LAG port:

Passive: Place port in listening state, use LACP only when it's countrary port uses active LACP mode
Active: Prefer to start LACP regardless countrary port mode
Static: Place port in LACP mode=on

So if you want to configure a LACP link you need to get this combinations on both sides:
Active - Active
Active - Passive
On - On

https://forum.mikrotik.com/viewtopic.php?t=138066

You can do and should do lacp
This is exactly what you need, 2 links combined for reliability and redundance.
Rstp has nothing to do with this.

Lacp well there is not much to configure, it is missing long and short timeouts but thats it, there is very little configuration. Just make sure that one of sides is in active mode, or set both to active.

Static team or static lag is same as lacp, but you have to define ports, specific ports on which team is made.

For me, lacp and static teaming are not working at all on my server 2016 box with 3 nics...

2018年10月28日 星期日

etherchannel and spanning-tree

1. Etherchannel

EtherChannel considerations
info http://packetlife.net/blog/2010/jan/18/etherchannel-considerations/

Hi

I was doing a bit of searching on PAgP & LACP and found this, thought it might come in handy for some. I never realised the commands did what is stated below, must have missed this in the book or had one too many wines at that point 




channel-group [#] mode on (disables PAgP en LACP)
channel-group [#] mode off (disables PAgP en LACP and prevent the ports to form a port-channel)
channel-group [#] mode auto (use PAgP in a passive mode, it will wait until a PAgP packet will be send)
channel-group [#] mode passive (use LACP in a passive mode, it will wait until a PAgP packet will be send)
channel-group [#] mode desirable (use PAgP in an active mode, it will start to send  PAgP packets)
channel-group [#] mode active (use LACP in an active mode, it will start to send  LACP packets)

https://www.jannet.hk/zh-Hant/post/etherchannel-pagp-lacp/#lacp

假設現時有 16 個 Port 在同一個 EtherChannel,由於所有 Port Priority 預設都是 32768,因此系統選擇 Port ID 最小的 8 個 Port 成為 Active Port,其他則成為 Hot Standby。

2. Spanning-tree
info (https://www.jannet.hk/zh-Hant/post/spanning-tree-protocol-stp/

sh spanning-tree