- 본 글은 MC-AE Mode인 "active-active"와 "active-standby"의 차이를 확인하는 목적
1. Introduction to MC-LAG MC-AE Mode
- MC-LAG에서 MC-AE Mode는 "active-active" 또는 "active-standby"로 설정 가능
1) MC-AE Mode Active-Active
- 두 MC-LAG Peer의 MC-AE 인터페이스를 동시에 사용할 수 있어 일반적으로 해당 Mode를 사용
- ICL이 반드시 필요
2) MC-AE Mode Active-Standby
- 두 MC-LAG Peer 중, Active Status 장비의 MC-AE 인터페이스만 사용 가능
- Standby Status 장비의 LACP는 Standby로 유지되어 MC-LAG Client도 해당 LACP Member Link 사용 불가
- MC-LAG Peer의 "Mux State"는 "Waiting"으로 표시
- MC-LAG Client의 "Mux State"는 "Attached"로 표시
- 두 MC-LAG Peer의 MC-AE 인터페이스 동시 사용 불가능
- 둘 중, 하나의 MC-LAG Peer의 MC-AE 인터페이스를 사용할 수 없으므로 ICL이 불필요
- "mc-ae mode active-standby" 명령을 먼저 commit 한 장비가 "active status"로 동작
- 해당 모드는 "Hidden Configuration"으로, "tab" 버튼으로 자동 완성 불가능
3) 테스트 장비
Hostname | Model | OS Version | BIOS(Firmware) |
QFX1 | QFX5120-48T-6C | 23.4R2-S2.1 | CBDE_P_LIG1_00.29.01 |
QFX2 | QFX5120-48T-6C | 23.4R2-S2.1 | CBDE_P_LIG1_00.29.01 |
EX3 | EX4300-24T | 21.4R3-S3.4 | - |
- 아래 테스트한 내용은 위와 같은 장비로 진행
2. MC-AE Mode Active-Active
1) MC-LAG Configuration
더보기
< QFX1 설정 >
set system host-name QFX1
set chassis aggregated-devices ethernet device-count 1
set interfaces xe-0/0/0 unit 0 family inet address 1.1.2.1/24
set interfaces xe-0/0/1 unit 0 family ethernet-switching interface-mode trunk
set interfaces xe-0/0/1 unit 0 family ethernet-switching vlan members 30
set interfaces xe-0/0/2 ether-options 802.3ad ae30
set interfaces ae30 aggregated-ether-options lacp active
set interfaces ae30 aggregated-ether-options lacp system-id 00:00:00:00:00:30
set interfaces ae30 aggregated-ether-options lacp admin-key 30
set interfaces ae30 aggregated-ether-options mc-ae mc-ae-id 30
set interfaces ae30 aggregated-ether-options mc-ae redundancy-group 12
set interfaces ae30 aggregated-ether-options mc-ae chassis-id 0
set interfaces ae30 aggregated-ether-options mc-ae mode active-active
set interfaces ae30 aggregated-ether-options mc-ae status-control active
set interfaces ae30 unit 0 family ethernet-switching interface-mode trunk
set interfaces ae30 unit 0 family ethernet-switching vlan members 30
set interfaces irb unit 30 family inet address 30.0.0.2/24 vrrp-group 10 virtual-address 30.0.0.1
set interfaces irb unit 30 family inet address 30.0.0.2/24 vrrp-group 10 priority 120
set interfaces irb unit 30 family inet address 30.0.0.2/24 vrrp-group 10 accept-data
set interfaces lo0 unit 0 family inet address 1.1.1.1/32
set multi-chassis multi-chassis-protection 1.1.2.2 interface xe-0/0/1
set protocols iccp local-ip-addr 1.1.2.1
set protocols iccp peer 1.1.2.2 redundancy-group-id-list 12
set protocols iccp peer 1.1.2.2 liveness-detection minimum-receive-interval 1000
set protocols iccp peer 1.1.2.2 liveness-detection multiplier 3
set protocols iccp peer 1.1.2.2 liveness-detection transmit-interval minimum-interval 1000
set protocols ospf area 0.0.0.0 interface lo0.0 passive
set protocols ospf area 0.0.0.0 interface xe-0/0/0.0 interface-type p2p
set protocols ospf area 0.0.0.0 interface irb.30 passive
set switch-options service-id 12
set vlans VLAN30 description "ICL&CLIENT3"
set vlans VLAN30 vlan-id 30
set vlans VLAN30 l3-interface irb.30
더보기
< QFX2 설정 >
set system host-name QFX2
set chassis aggregated-devices ethernet device-count 1
set interfaces xe-0/0/0 unit 0 family inet address 1.1.2.2/24
set interfaces xe-0/0/1 unit 0 family ethernet-switching interface-mode trunk
set interfaces xe-0/0/1 unit 0 family ethernet-switching vlan members 30
set interfaces xe-0/0/2 ether-options 802.3ad ae30
set interfaces ae30 aggregated-ether-options lacp active
set interfaces ae30 aggregated-ether-options lacp system-id 00:00:00:00:00:30
set interfaces ae30 aggregated-ether-options lacp admin-key 30
set interfaces ae30 aggregated-ether-options mc-ae mc-ae-id 30
set interfaces ae30 aggregated-ether-options mc-ae redundancy-group 12
set interfaces ae30 aggregated-ether-options mc-ae chassis-id 1
set interfaces ae30 aggregated-ether-options mc-ae mode active-active
set interfaces ae30 aggregated-ether-options mc-ae status-control standby
set interfaces ae30 unit 0 family ethernet-switching interface-mode trunk
set interfaces ae30 unit 0 family ethernet-switching vlan members 30
set interfaces irb unit 30 family inet address 30.0.0.3/24 vrrp-group 10 virtual-address 30.0.0.1
set interfaces irb unit 30 family inet address 30.0.0.3/24 vrrp-group 10 priority 100
set interfaces irb unit 30 family inet address 30.0.0.3/24 vrrp-group 10 accept-data
set interfaces lo0 unit 0 family inet address 2.2.2.2/32
set multi-chassis multi-chassis-protection 1.1.2.1 interface xe-0/0/1
set protocols iccp local-ip-addr 1.1.2.2
set protocols iccp peer 1.1.2.1 redundancy-group-id-list 12
set protocols iccp peer 1.1.2.1 liveness-detection minimum-receive-interval 1000
set protocols iccp peer 1.1.2.1 liveness-detection multiplier 3
set protocols iccp peer 1.1.2.1 liveness-detection transmit-interval minimum-interval 1000
set protocols ospf area 0.0.0.0 interface lo0.0 passive
set protocols ospf area 0.0.0.0 interface xe-0/0/0.0 interface-type p2p
set protocols ospf area 0.0.0.0 interface irb.30 passive
set switch-options service-id 12
set vlans VLAN30 description "ICL&CLIENT3"
set vlans VLAN30 vlan-id 30
set vlans VLAN30 l3-interface irb.30
더보기
< EX3 설정 >
set system host-name EX3
set chassis aggregated-devices ethernet device-count 1
set interfaces ge-0/0/0 ether-options 802.3ad ae30
set interfaces ge-0/0/1 ether-options 802.3ad ae30
set interfaces ae30 aggregated-ether-options lacp active
set interfaces ae30 unit 0 family ethernet-switching interface-mode trunk
set interfaces ae30 unit 0 family ethernet-switching vlan members 30
set interfaces irb unit 30 family inet address 30.0.0.30/24
set routing-options static route 0.0.0.0/0 next-hop 30.0.0.1
set vlans VLAN30 vlan-id 30
set vlans VLAN30 l3-interface irb.30
2) MC-AE Mode Confiugration
< QFX1 : MC-AE Mode 설정 >
set interfaces ae30 aggregated-ether-options mc-ae mode active-active
set interfaces ae30 aggregated-ether-options mc-ae status-control active
< QFX2 : MC-AE Mode 설정 >
set interfaces ae30 aggregated-ether-options mc-ae mode active-active
set interfaces ae30 aggregated-ether-options mc-ae status-control standby
3) MC-AE 인터페이스 확인
root@QFX1> show interfaces mc-ae extensive
Member Link : ae30
Current State Machine's State: mcae active state
Configuration Error Status : No Error
Local Status : active
Local State : up
Peer Status : active
Peer State : up
Logical Interface : ae30.0
Topology Type : bridge
Local State : up
Peer State : up
Peer Ip/MCP/State : 1.1.2.2 xe-0/0/1.0 up
MCAE Configuration
Redundancy Group : 12
MCAE ID : 30
MCAE Mode : active_active
Status Control : active
Chassis ID : 0
LACP Configuration
System ID : 00:00:00:00:00:30
Admin Key : 30
LACP Information
Local Partner System ID : 40:a6:77:e3:eb:00
Peer Partner System ID : 40:a6:77:e3:eb:00
root@QFX2> show interfaces mc-ae extensive
Member Link : ae30
Current State Machine's State: mcae active state
Configuration Error Status : No Error
Local Status : active
Local State : up
Peer Status : active
Peer State : up
Logical Interface : ae30.0
Topology Type : bridge
Local State : up
Peer State : up
Peer Ip/MCP/State : 1.1.2.1 xe-0/0/1.0 up
MCAE Configuration
Redundancy Group : 12
MCAE ID : 30
MCAE Mode : active_active
Status Control : standby
Chassis ID : 1
LACP Configuration
System ID : 00:00:00:00:00:30
Admin Key : 30
LACP Information
Local Partner System ID : 40:a6:77:e3:eb:00
Peer Partner System ID : 40:a6:77:e3:eb:00
- "active-active" Mode로 구성되었고 두 장비 모두 "active" 상태임을 확인
4) LACP 상태 확인
root@QFX1> show lacp interfaces extensive
Aggregated interface: ae30
LACP state: Role Exp Def Dist Col Syn Aggr Timeout Activity
xe-0/0/2 Actor No No Yes Yes Yes Yes Fast Active
xe-0/0/2 Partner No No Yes Yes Yes Yes Fast Active
LACP protocol: Receive State Transmit State Mux State
xe-0/0/2 Current Fast periodic Collecting distributing
LACP info: Role System System Port Port Port
priority identifier priority number key
xe-0/0/2 Actor 127 00:00:00:00:00:30 127 1 30
xe-0/0/2 Partner 127 40:a6:77:e3:eb:00 127 1 31
root@QFX2> show lacp interfaces extensive
Aggregated interface: ae30
LACP state: Role Exp Def Dist Col Syn Aggr Timeout Activity
xe-0/0/2 Actor No No Yes Yes Yes Yes Fast Active
xe-0/0/2 Partner No No Yes Yes Yes Yes Fast Active
LACP protocol: Receive State Transmit State Mux State
xe-0/0/2 Current Fast periodic Collecting distributing
LACP info: Role System System Port Port Port
priority identifier priority number key
xe-0/0/2 Actor 127 00:00:00:00:00:30 127 32769 30
xe-0/0/2 Partner 127 40:a6:77:e3:eb:00 127 2 31
root@EX3> show lacp interfaces extensive
Aggregated interface: ae30
LACP state: Role Exp Def Dist Col Syn Aggr Timeout Activity
ge-0/0/0 Actor No No Yes Yes Yes Yes Fast Active
ge-0/0/0 Partner No No Yes Yes Yes Yes Fast Active
ge-0/0/1 Actor No No Yes Yes Yes Yes Fast Active
ge-0/0/1 Partner No No Yes Yes Yes Yes Fast Active
LACP protocol: Receive State Transmit State Mux State
ge-0/0/0 Current Fast periodic Collecting distributing
ge-0/0/1 Current Fast periodic Collecting distributing
LACP info: Role System System Port Port Port
priority identifier priority number key
ge-0/0/0 Actor 127 40:a6:77:e3:eb:00 127 1 31
ge-0/0/0 Partner 127 00:00:00:00:00:30 127 1 30
ge-0/0/1 Actor 127 40:a6:77:e3:eb:00 127 2 31
ge-0/0/1 Partner 127 00:00:00:00:00:30 127 32769 30
- "active-active" Mode를 사용하므로 두 MC-LAG Peer의 MC-AE 인터페이스를 동시에 사용 가능
3. MC-AE Mode Active-Standby
1) MC-LAG Configuration
더보기
set system host-name QFX1
set chassis aggregated-devices ethernet device-count 1
set interfaces xe-0/0/0 unit 0 family inet address 1.1.2.1/24
set interfaces xe-0/0/1 unit 0 family ethernet-switching interface-mode trunk
set interfaces xe-0/0/1 unit 0 family ethernet-switching vlan members 30
set interfaces xe-0/0/2 ether-options 802.3ad ae30
set interfaces ae30 aggregated-ether-options lacp active
set interfaces ae30 aggregated-ether-options lacp system-id 00:00:00:00:00:30
set interfaces ae30 aggregated-ether-options lacp admin-key 30
set interfaces ae30 aggregated-ether-options mc-ae mc-ae-id 30
set interfaces ae30 aggregated-ether-options mc-ae redundancy-group 12
set interfaces ae30 aggregated-ether-options mc-ae chassis-id 0
set interfaces ae30 aggregated-ether-options mc-ae mode active-standby
set interfaces ae30 aggregated-ether-options mc-ae status-control active
set interfaces ae30 unit 0 family ethernet-switching interface-mode trunk
set interfaces ae30 unit 0 family ethernet-switching vlan members 30
set interfaces irb unit 30 family inet address 30.0.0.2/24 vrrp-group 10 virtual-address 30.0.0.1
set interfaces irb unit 30 family inet address 30.0.0.2/24 vrrp-group 10 priority 120
set interfaces irb unit 30 family inet address 30.0.0.2/24 vrrp-group 10 accept-data
set interfaces lo0 unit 0 family inet address 1.1.1.1/32
set protocols iccp local-ip-addr 1.1.2.1
set protocols iccp peer 1.1.2.2 redundancy-group-id-list 12
set protocols iccp peer 1.1.2.2 liveness-detection minimum-receive-interval 1000
set protocols iccp peer 1.1.2.2 liveness-detection multiplier 3
set protocols iccp peer 1.1.2.2 liveness-detection transmit-interval minimum-interval 1000
set protocols ospf area 0.0.0.0 interface lo0.0 passive
set protocols ospf area 0.0.0.0 interface xe-0/0/0.0 interface-type p2p
set protocols ospf area 0.0.0.0 interface irb.30 passive
set switch-options service-id 12
set vlans VLAN30 description "ICL&CLIENT3"
set vlans VLAN30 vlan-id 30
set vlans VLAN30 l3-interface irb.30
더보기
set system host-name QFX2
set chassis aggregated-devices ethernet device-count 1
set interfaces xe-0/0/0 unit 0 family inet address 1.1.2.2/24
set interfaces xe-0/0/1 unit 0 family ethernet-switching interface-mode trunk
set interfaces xe-0/0/1 unit 0 family ethernet-switching vlan members 30
set interfaces xe-0/0/2 ether-options 802.3ad ae30
set interfaces ae30 aggregated-ether-options lacp active
set interfaces ae30 aggregated-ether-options lacp system-id 00:00:00:00:00:30
set interfaces ae30 aggregated-ether-options lacp admin-key 30
set interfaces ae30 aggregated-ether-options mc-ae mc-ae-id 30
set interfaces ae30 aggregated-ether-options mc-ae redundancy-group 12
set interfaces ae30 aggregated-ether-options mc-ae chassis-id 1
set interfaces ae30 aggregated-ether-options mc-ae mode active-standby
set interfaces ae30 aggregated-ether-options mc-ae status-control standby
set interfaces ae30 unit 0 family ethernet-switching interface-mode trunk
set interfaces ae30 unit 0 family ethernet-switching vlan members 30
set interfaces irb unit 30 family inet address 30.0.0.3/24 vrrp-group 10 virtual-address 30.0.0.1
set interfaces irb unit 30 family inet address 30.0.0.3/24 vrrp-group 10 priority 100
set interfaces irb unit 30 family inet address 30.0.0.3/24 vrrp-group 10 accept-data
set interfaces lo0 unit 0 family inet address 2.2.2.2/32
set protocols iccp local-ip-addr 1.1.2.2
set protocols iccp peer 1.1.2.1 redundancy-group-id-list 12
set protocols iccp peer 1.1.2.1 liveness-detection minimum-receive-interval 1000
set protocols iccp peer 1.1.2.1 liveness-detection multiplier 3
set protocols iccp peer 1.1.2.1 liveness-detection transmit-interval minimum-interval 1000
set protocols ospf area 0.0.0.0 interface lo0.0 passive
set protocols ospf area 0.0.0.0 interface xe-0/0/0.0 interface-type p2p
set protocols ospf area 0.0.0.0 interface irb.30 passive
set switch-options service-id 12
set vlans VLAN30 description "ICL&CLIENT3"
set vlans VLAN30 vlan-id 30
set vlans VLAN30 l3-interface irb.30
더보기
< EX3 설정 >
set system host-name EX3
set chassis aggregated-devices ethernet device-count 1
set interfaces ge-0/0/0 ether-options 802.3ad ae30
set interfaces ge-0/0/1 ether-options 802.3ad ae30
set interfaces ae30 aggregated-ether-options lacp active
set interfaces ae30 unit 0 family ethernet-switching interface-mode trunk
set interfaces ae30 unit 0 family ethernet-switching vlan members 30
set interfaces irb unit 30 family inet address 30.0.0.30/24
set routing-options static route 0.0.0.0/0 next-hop 30.0.0.1
set vlans VLAN30 vlan-id 30
set vlans VLAN30 l3-interface irb.30
2) MC-AE Mode Confiugration
< QFX1 : MC-AE Mode 설정 >
set interfaces ae30 aggregated-ether-options mc-ae mode active-standby
set interfaces ae30 aggregated-ether-options mc-ae status-control active
< QFX2 : MC-AE Mode 설정 >
set interfaces ae30 aggregated-ether-options mc-ae mode active-standby
set interfaces ae30 aggregated-ether-options mc-ae status-control standby
- "mc-ae mode active-standby" 명령을 먼저 commit 한 장비가 "active"로 동작
3) MC-AE 인터페이스 확인
root@QFX1> show interfaces mc-ae extensive
Member Link : ae30
Current State Machine's State: mcae active state
Configuration Error Status : No Error
Local Status : active
Local State : up
Peer Status : standby
Peer State : up
Logical Interface : ae30.0
Topology Type : bridge
Local State : up
Peer State : up
Peer Ip/MCP/State : N/A
MCAE Configuration
Redundancy Group : 12
MCAE ID : 30
MCAE Mode : active_standby
Status Control : active
Chassis ID : 0
LACP Configuration
System ID : 00:00:00:00:00:30
Admin Key : 30
LACP Information
Local Partner System ID : NA
Peer Partner System ID : NA
root@QFX2> show interfaces mc-ae extensive
Member Link : ae30
Current State Machine's State: mcae standby state
Configuration Error Status : No Error
Local Status : standby
Local State : up
Peer Status : active
Peer State : up
Logical Interface : ae30.0
Topology Type : bridge
Local State : up
Peer State : up
Peer Ip/MCP/State : N/A
MCAE Configuration
Redundancy Group : 12
MCAE ID : 30
MCAE Mode : active_standby
Status Control : standby
Chassis ID : 1
LACP Configuration
System ID : 00:00:00:00:00:30
Admin Key : 30
LACP Information
Local Partner System ID : NA
Peer Partner System ID : NA
- "active-standby" Mode로 구성되었고 "mc-ae mode active-standby" 명령을 먼저 commit 한 QFX1이 "active"로 동작하는 것을 확인
4) LACP 상태 확인
root@QFX1> show lacp interfaces extensive
Aggregated interface: ae30
LACP state: Role Exp Def Dist Col Syn Aggr Timeout Activity
xe-0/0/2 Actor No No Yes Yes Yes Yes Fast Active
xe-0/0/2 Partner No No Yes Yes Yes Yes Fast Active
LACP protocol: Receive State Transmit State Mux State
xe-0/0/2 Current Fast periodic Collecting distributing
LACP info: Role System System Port Port Port
priority identifier priority number key
xe-0/0/2 Actor 127 00:00:00:00:00:30 127 1 30
xe-0/0/2 Partner 127 40:a6:77:e3:eb:00 127 1 31
root@QFX2> show lacp interfaces extensive
Aggregated interface: ae30
LACP state: Role Exp Def Dist Col Syn Aggr Timeout Activity
xe-0/0/2 Actor No No No No No Yes Fast Active
xe-0/0/2 Partner No No No No Yes Yes Fast Active
LACP protocol: Receive State Transmit State Mux State
xe-0/0/2 Current Fast periodic Waiting
LACP info: Role System System Port Port Port
priority identifier priority number key
xe-0/0/2 Actor 127 00:00:00:00:00:30 127 32769 30
xe-0/0/2 Partner 127 40:a6:77:e3:eb:00 127 2 31
root@EX3> show lacp interfaces extensive
Aggregated interface: ae30
LACP state: Role Exp Def Dist Col Syn Aggr Timeout Activity
ge-0/0/0 Actor No No Yes Yes Yes Yes Fast Active
ge-0/0/0 Partner No No Yes Yes Yes Yes Fast Active
ge-0/0/1 Actor No No No No Yes Yes Fast Active
ge-0/0/1 Partner No No No No No Yes Fast Active
LACP protocol: Receive State Transmit State Mux State
ge-0/0/0 Current Fast periodic Collecting distributing
ge-0/0/1 Current Fast periodic Attached
LACP info: Role System System Port Port Port
priority identifier priority number key
ge-0/0/0 Actor 127 40:a6:77:e3:eb:00 127 1 31
ge-0/0/0 Partner 127 00:00:00:00:00:30 127 1 30
ge-0/0/1 Actor 127 40:a6:77:e3:eb:00 127 2 31
ge-0/0/1 Partner 127 00:00:00:00:00:30 127 32769 30
- "active-standby" Mode를 사용하므로 하나의 MC-LAG Peer의 MC-AE 인터페이스만 사용 가능
'Network > MC-LAG' 카테고리의 다른 글
MC-LAG ICL Down with IRB VRRP L3 Interface (1) | 2025.07.04 |
---|---|
MC-LAG ICCP Down with IRB VRRP L3 Interface (0) | 2025.07.02 |
MC-LAG L3 Interface MAC Address Synchronization Configuration and ARP, FDB Table Synchronization(Juniper vMX) (1) | 2025.06.30 |
MC-LAG IRB VRRP L3 Interface Configuration and ARP, FDB Table Synchronization(Juniper vMX) (1) | 2025.06.28 |
MC-LAG Basic Configuration(Juniper vMX) (1) | 2025.06.26 |
MC-LAG L3 Interface 구성 방법 (0) | 2025.06.22 |
MC-LAG ICCP and ICL (0) | 2025.06.20 |
Introduction to MC-LAG (0) | 2025.06.18 |