EOS to XOS - Lag setup

  • 0
  • 1
  • Question
  • Updated 2 years ago
  • Answered
  • (Edited)
So about to replace all the Enterasys's in our network.

In the old EOS configurations, the lag's have been added to each of the VLAN's. in setting up the new XOS switches, is this best practice? From my understanding most of the port setup is stripped when creating the LAG?? We have 3 LAG's in one switch associated with particular VLAN's.

Thx
Photo of Dave

Dave

  • 116 Points 100 badge 2x thumb

Posted 2 years ago

  • 0
  • 1
Photo of Michael Chan

Michael Chan, Employee

  • 110 Points 100 badge 2x thumb
Hi Dave, 

You only add VLANs to the link aggregation group (LAG) when you need it.
Yes, some of the port config (e.g. STP) in the master port will be lost when LAG is enabled. Always reference the master logical port of the load-sharing group when configuring or viewing VLANs.
Photo of Dave

Dave

  • 116 Points 100 badge 2x thumb
so previously when adding a LAG to a VLAN the below was used:
set vlan egress 100 lag.0.1 tagged

so just the Master Port of the chosen LAG to add to the VLAN.
configure vlan 100 1:1 tagged

Thx.


Sorry for noob questions, new to playing with switches :-)
Photo of Michael Chan

Michael Chan, Employee

  • 110 Points 100 badge 2x thumb
Hi Dave,

If you want to add VLAN 100 to your LAG, here is what you need:

configure vlan 100 add ports 1:1 tagged

note: port 1:1 is your master port in the LAG
Photo of Edward Tsui

Edward Tsui, Employee

  • 602 Points 500 badge 2x thumb
Hi Dave,

The vlan membership of LAG always follow the membership of master port. That means, if there are three vlans already added to the master port, when you create a LAG, those three vlans will be added to LAG. Here is the example:


==== Three Vlans have been added to a normal port ====

* L7:U33.32 # sh port 1 info detPort:   1
        Virtual-router: VR-Default
        Type:           UTP 
        Random Early drop:      Unsupported
        Admin state:    Enabled with  auto-speed sensing  auto-duplex
        Link State:     Ready
        Link Ups:       0        Last: --
        Link Downs:     0        Last: --

        VLAN cfg: 
                 Name: V0801C, 802.1Q Tag = 801, MAC-limit = No-limit, Virtual router: VR-Default
                 Name: V2510D, 802.1Q Tag = 2510, MAC-limit = No-limit, Virtual router: VR-Default
                 Name: VLAN_100, 802.1Q Tag = 100, MAC-limit = No-limit, Virtual router: VR-Default
        STP cfg:
                STPD_01(enable), Tag=0801, Mode=EMISTP, State=DISABLED

        Protocol: 
        Trunking:       Load sharing is not enabled.


=== After enable LAG ===

* L7:U33.33 # enable sharing 1 grouping 1-2 lacp
Warning: STP port (1) is lost due to port is deleted from VLAN.
Warning: Any config on the master port is lost (STP, IGMP Filter, IGMP Static Group, MAC-Security, CFM, etc.)


* L7:U33.34 # sh sharing Load Sharing Monitor
Config    Current    Agg       Ld Share    Ld Share  Agg   Link    Link Up
Master    Master     Control   Algorithm   Group     Mbr   State   Transitions
==============================================================================
     1               LACP      L2          1          -      R        0
                               L2          2          -      R        0
==============================================================================
Link State: A-Active, D-Disabled, R-Ready, NP-Port not present, L-Loopback
Load Sharing Algorithm: (L2) Layer 2 address based, (L3) Layer 3 address based
                        (L3_L4) Layer 3 address and Layer 4 port based
                        (custom) User-selected address-based configuration
Custom Algorithm Configuration: ipv4 L3-and-L4, xor
Number of load sharing trunks: 1


==== LAG has been added to those three vlans ===

* L7:U33.35 # sh port 1 info detPort:   1
        Virtual-router: VR-Default
        Type:           UTP 
        Random Early drop:      Unsupported
        Admin state:    Enabled with  auto-speed sensing  auto-duplex
        Link State:     Ready
        Link Ups:       0        Last: --
        Link Downs:     0        Last: --

        VLAN cfg: 
                 Name: V0801C, 802.1Q Tag = 801, MAC-limit = No-limit, Virtual router: VR-Default
                 Name: V2510D, 802.1Q Tag = 2510, MAC-limit = No-limit, Virtual router: VR-Default
                 Name: VLAN_100, 802.1Q Tag = 100, MAC-limit = No-limit, Virtual router: VR-Default
        STP cfg:
                STPD_01(enable), Tag=0801, Mode=EMISTP, State=DISABLED

        Protocol: 
        Trunking:       Master port with 2 members using algorithm address based - L2
algorithm 
        Members:        1-2
Photo of Edward Tsui

Edward Tsui, Employee

  • 602 Points 500 badge 2x thumb
For the second "show port 1 info det", you can see that port 1 has been added to LAG and is the master port. You can check it in:

 Protocol: 
        Trunking:       Master port with 2 members using algorithm address based - L2
algorithm 
        Members:        1-2
Photo of Dave

Dave

  • 116 Points 100 badge 2x thumb
thanks guys