[GNS3 Labs. EXOS] 익스트림 스위치 port sharing 설정

익스트림 스위치 포트 sharing(LAG) 설정

참고문서: https://gtacknowledge.extremenetworks.com/articles/How_To/how-to-configure-sharing-LAG-LACP-in-Summit-stack-or-BlackDiamond-switches

아래 그림과 같이 구성했으며, default vlan만 사용했다(VLAN 설정은 따로 하지 않았음). 또한 실제장비가 아니기 때문에, lacp(Link Aggregation Control Protocol) 알고리즘은 라운드로빈만 지원된다.

설정전 상태를 확인해 보면 아래와 같다.

EXSwitch-1.3 # sh sharing
Load Sharing Monitor
Config    Current Agg     Min    Ld Share  Dist  Ld Share  Agg Link  Link Up
Master    Master  Control Active Algorithm Flags Group     Mbr State Transitions
================================================================================
================================================================================
Link State: A-Active, D-Disabled, R-Ready, NP-Port not present, L-Loopback
Minimum Active: (<) Group is down. # active links less than configured minimum
Load Sharing Algorithm: (L2) Layer 2 address based
                        (L3_L4) Layer 3 address and Layer 4 port based
Distribution Flags:
    A - All: Distribute to all members,
    L - Local Slot: Distribute to members local to ingress slot,
    P - Port Lists: Distribute to per-slot configurable subset of members,
    R - Resilient Hashing enabled.
Number of load sharing trunks: 0

스위치 포트 10을 마스터 포트로하여 11,12를 하나의 링크로 묶는다.

EXSwitch-1.4 # enable sharing 12 grouping 10-12 lacp
Warning: Any config on the master port is lost (STP, IGMP Filter, IGMP Static Group, MAC-Security, CFM, TRILL etc.)

상태를 확인해 보면 세개의 포트가 하나의 링크로 설정된 것을 볼 수 있다.

* EXSwitch-1.5 # sh sharing
Load Sharing Monitor
Config    Current Agg     Min    Ld Share  Dist  Ld Share  Agg Link  Link Up
Master    Master  Control Active Algorithm Flags Group     Mbr State Transitions
================================================================================
    12            LACP       1    Unknown.. A     10        -     A       1
                                  Unknown..       11        -     A       1
                                  Unknown..       12        -     A       1
================================================================================
Link State: A-Active, D-Disabled, R-Ready, NP-Port not present, L-Loopback
Minimum Active: (<) Group is down. # active links less than configured minimum
Load Sharing Algorithm: (L2) Layer 2 address based
                        (L3_L4) Layer 3 address and Layer 4 port based
Distribution Flags:
    A - All: Distribute to all members,
    L - Local Slot: Distribute to members local to ingress slot,
    P - Port Lists: Distribute to per-slot configurable subset of members,
    R - Resilient Hashing enabled.
Number of load sharing trunks: 1

EXOS vm 환경에서는 라운드로빈만 지원된다.

* EXSwitch-1.6 # enable sharing 12 grouping 10-12 lacp algorithm address-based
Error: PC environment supports only round robin algorithm.

두번째 스위치도 같은 방법으로 설정한다(설정 생략)

상태확인 방법

* EXSwitch-1.14 # sh sharing
Load Sharing Monitor
Config    Current Agg     Min    Ld Share  Dist  Ld Share  Agg Link  Link Up
Master    Master  Control Active Algorithm Flags Group     Mbr State Transitions
================================================================================
    12     10     LACP       1    Unknown.. A     10        Y     A       1
                                  Unknown..       11        Y     A       1
                                  Unknown..       12        Y     A       1
================================================================================
Link State: A-Active, D-Disabled, R-Ready, NP-Port not present, L-Loopback
Minimum Active: (<) Group is down. # active links less than configured minimum
Load Sharing Algorithm: (L2) Layer 2 address based
                        (L3_L4) Layer 3 address and Layer 4 port based
Distribution Flags:
    A - All: Distribute to all members,
    L - Local Slot: Distribute to members local to ingress slot,
    P - Port Lists: Distribute to per-slot configurable subset of members,
    R - Resilient Hashing enabled.
Number of load sharing trunks: 1
* EXSwitch-1.15 # sh lacp counters

LACP PDUs dropped on non-LACP ports : 0
LACP Bulk checkpointed msgs sent    : 0
LACP Bulk checkpointed msgs recv    : 0
LACP PDUs checkpointed sent         : 0
LACP PDUs checkpointed recv         : 0

Lag        Member     Rx       Rx Drop  Rx Drop  Rx Drop  Tx       Tx
Group      Port       Ok       PDU Err  Not Up   Same MAC Sent Ok  Xmit Err
--------------------------------------------------------------------------------
12         10         30       0        0        0        234      0
           11         30       0        0        0        234      0
           12         29       0        0        0        233      0

================================================================================
* EXSwitch-2.13 # sh lacp lag 10

Lag   Actor    Actor  Partner           Partner  Partner Agg   Actor
      Sys-Pri  Key    MAC               Sys-Pri  Key     Count MAC
--------------------------------------------------------------------------------
10          0  0x03f2 00:6c:7c:15:dc:00       0  0x03f4      3 00:6c:7c:b5:30:00

Port list:

Member     Port      Rx           Sel          Mux            Actor     Partner
Port       Priority  State        Logic        State          Flags     Port
--------------------------------------------------------------------------------
10         0         Current      Selected     Collect-Dist   A-GSCD--  1010
11         0         Current      Selected     Collect-Dist   A-GSCD--  1011
12         0         Current      Selected     Collect-Dist   A-GSCD--  1012
================================================================================
Actor Flags: A-Activity, T-Timeout, G-Aggregation, S-Synchronization
             C-Collecting, D-Distributing, F-Defaulted, E-Expired

답글 남기기

Your email address will not be published.