1. LACP Configuration 구성도
1) LACP Configuration 구성도
- Link Aggregation Configuration 및 State에 대한 내용은 'Link Aggregation Configuration' 글을 참고
2) 테스트 장비
- Emulator : EVE-NG
- OS : Juniper vMX 18.2R1.9
2. LACP Configuration
1) Link Aggregation Configuration
더보기
< R1 : Chassis에서 지원하는 Link Aggregation 개수 설정 >
set chassis aggregated-devices ethernet device-count 1
< R1 : Physical Interface를 Link Aggregation Interface에 Binding >
set interfaces ge-0/0/1 ether-options 802.3ad ae0
set interfaces ge-0/0/2 ether-options 802.3ad ae0
set interfaces ge-0/0/3 ether-options 802.3ad ae0
set interfaces ge-0/0/4 ether-options 802.3ad ae0
< R1 : Aggregation Ethernet(ae) Interface 생성 및 Family 설정 >
set interfaces ae0 unit 0 family bridge interface-mode trunk
set interfaces ae0 unit 0 family bridge vlan-id-list 10
< R1 : VLAN 10 생성 및 IRB 설정 >
set interfaces irb unit 10 family inet address 1.1.2.1/24
set bridge-domains VLAN10 vlan-id 10
set bridge-domains VLAN10 routing-interface irb.10
더보기
< R2 : Chassis에서 지원하는 Link Aggregation 개수 설정 >
set chassis aggregated-devices ethernet device-count 1
< R2 : Physical Interface를 Link Aggregation Interface에 Binding >
set interfaces ge-0/0/1 ether-options 802.3ad ae0
set interfaces ge-0/0/2 ether-options 802.3ad ae0
set interfaces ge-0/0/3 ether-options 802.3ad ae0
set interfaces ge-0/0/4 ether-options 802.3ad ae0
< R2 : Aggregation Ethernet(ae) Interface 생성 및 Family 설정 >
set interfaces ae0 unit 0 family bridge interface-mode trunk
set interfaces ae0 unit 0 family bridge vlan-id-list 10
< R2 : VLAN 10 생성 및 IRB 설정 >
set interfaces irb unit 10 family inet address 1.1.2.2/24
set bridge-domains VLAN10 vlan-id 10
set bridge-domains VLAN10 routing-interface irb.10
2) LACP Configuration
< R1 : LACP Active Mode 설정 >
set interfaces ae0 aggregated-ether-options lacp active
- LACP Active Mode로 설정
< R2 : LACP Active Mode 설정 >
set interfaces ae0 aggregated-ether-options lacp passive
- LACP Passive Mode로 설정
< vMX1 or vMX2 LACP System-ID 변경 >
set interfaces ae0 aggregated-ether-options lacp system-id xx:xx:xx:xx:xx:xx
- EVE-NG vMX 18.2R1.9 장비는 모든 Chassis MAC Address가 동일하므로 LACP System-ID 값도 동일하게 구성되어 LACP 정상 동작 불가
- 위와 같은 명령으로 System-ID를 변경해야 LACP 동작 가능
3) Link Aggregation State 확인
더보기
root@R1> show interfaces terse | match ae0
ge-0/0/1.0 up up aenet --> ae0.0
ge-0/0/2.0 up up aenet --> ae0.0
ge-0/0/3.0 up up aenet --> ae0.0
ge-0/0/4.0 up up aenet --> ae0.0
ae0 up up
ae0.0 up up bridge
더보기
root@R1> show interfaces ae0 extensive
Physical interface: ae0, Enabled, Physical link is Up
Interface index: 159, SNMP ifIndex: 540, Generation: 164
Link-level type: Ethernet, MTU: 1514, Speed: 4Gbps, BPDU Error: None,
MAC-REWRITE Error: None, Loopback: Disabled, Source filtering: Disabled,
Flow control: Disabled
Pad to minimum frame size: Disabled
Minimum links needed: 1, Minimum bandwidth needed: 1bps
Device flags : Present Running
Interface flags: SNMP-Traps Internal: 0x4000
Current address: 2c:6b:f5:4f:06:c3, Hardware address: 2c:6b:f5:4f:06:c3
Last flapped : 2024-10-24 15:45:43 UTC (00:00:47 ago)
Statistics last cleared: Never
Traffic statistics:
Input bytes : 558 0 bps
Output bytes : 171886 4144 bps
Input packets: 10 0 pps
Output packets: 1330 3 pps
IPv6 transit statistics:
Input bytes : 0
Output bytes : 0
Input packets: 0
Output packets: 0
Dropped traffic statistics due to STP State:
Input bytes : 0
Output bytes : 0
Input packets: 0
Output packets: 0
MAC statistics: Receive Transmit
Broadcast packets 0 0
Multicast packets 0 0
Input errors:
Errors: 0, Drops: 0, Framing errors: 0, Runts: 0, Giants: 0,
Policed discards: 0, Resource errors: 0
Output errors:
Carrier transitions: 0, Errors: 0, Drops: 0, MTU errors: 0,
Resource errors: 0
Ingress queues: 8 supported, 4 in use
Queue counters: Queued packets Transmitted packets Dropped packets
0 0 0 0
1 0 0 0
2 0 0 0
3 0 0 0
Egress queues: 8 supported, 4 in use
Queue counters: Queued packets Transmitted packets Dropped packets
0 0 0 0
1 0 0 0
2 0 0 0
3 0 0 0
Queue number: Mapped forwarding classes
0 best-effort
1 expedited-forwarding
2 assured-forwarding
3 network-control
Logical interface ae0.0 (Index 337) (SNMP ifIndex 541) (Generation 157)
Flags: Up SNMP-Traps 0x24024000 Encapsulation: Ethernet-Bridge
Statistics Packets pps Bytes bps
Bundle:
Input : 0 0 0 0
Output: 0 0 0 0
Adaptive Statistics:
Adaptive Adjusts: 0
Adaptive Scans : 0
Adaptive Updates: 0
Link:
ge-0/0/1.0
Input : 0 0 0 0
Output: 10 0 460 0
ge-0/0/2.0
Input : 0 0 0 0
Output: 0 0 0 0
ge-0/0/3.0
Input : 0 0 0 0
Output: 0 0 0 0
ge-0/0/4.0
Input : 0 0 0 0
Output: 0 0 0 0
Aggregate member links: 4
LACP info: Role System System Port Port Port
priority identifier priority number key
ge-0/0/1.0 Actor 127 2c:6b:f5:4f:06:c0 127 1 1
ge-0/0/1.0 Partner 127 2c:6b:f5:6e:9f:c0 127 1 1
ge-0/0/2.0 Actor 127 2c:6b:f5:4f:06:c0 127 2 1
ge-0/0/2.0 Partner 127 2c:6b:f5:6e:9f:c0 127 2 1
ge-0/0/3.0 Actor 127 2c:6b:f5:4f:06:c0 127 3 1
ge-0/0/3.0 Partner 127 2c:6b:f5:6e:9f:c0 127 3 1
ge-0/0/4.0 Actor 127 2c:6b:f5:4f:06:c0 127 4 1
ge-0/0/4.0 Partner 127 2c:6b:f5:6e:9f:c0 127 4 1
LACP Statistics: LACP Rx LACP Tx Unknown Rx Illegal Rx
ge-0/0/1.0 0 0 0 0
ge-0/0/2.0 0 0 0 0
ge-0/0/3.0 0 0 0 0
ge-0/0/4.0 0 0 0 0
Marker Statistics: Marker Rx Resp Tx Unknown Rx Illegal Rx
ge-0/0/1.0 0 0 0 0
ge-0/0/2.0 0 0 0 0
ge-0/0/3.0 0 0 0 0
ge-0/0/4.0 0 0 0 0
List-Type Status
Primary Active
Interfaces:
ge-0/0/1 Up
ge-0/0/2 Up
ge-0/0/3 Up
ge-0/0/4 Up
List-Type Status
Backup Down
Standby Down
Protocol bridge, MTU: 1514, Generation: 175, Route table: 3,
Mesh Group: __all_ces__
Flags: Is-Primary, Trunk-Mode
더보기
root@R2> show interfaces ae0
Physical interface: ae0, Enabled, Physical link is Up
Interface index: 159, SNMP ifIndex: 537
Link-level type: Ethernet, MTU: 1514, Speed: 4Gbps, BPDU Error: None,
MAC-REWRITE Error: None, Loopback: Disabled, Source filtering: Disabled,
Flow control: Disabled
Pad to minimum frame size: Disabled
Minimum links needed: 1, Minimum bandwidth needed: 1bps
Device flags : Present Running
Interface flags: SNMP-Traps Internal: 0x4000
Current address: 2c:6b:f5:6e:9f:c5, Hardware address: 2c:6b:f5:6e:9f:c5
Last flapped : 2024-10-24 15:45:45 UTC (00:01:30 ago)
Input rate : 0 bps (0 pps)
Output rate : 4112 bps (3 pps)
Logical interface ae0.0 (Index 337) (SNMP ifIndex 542)
Flags: Up SNMP-Traps 0x24024000 Encapsulation: Ethernet-Bridge
Statistics Packets pps Bytes bps
Bundle:
Input : 0 0 0 0
Output: 0 0 0 0
Adaptive Statistics:
Adaptive Adjusts: 0
Adaptive Scans : 0
Adaptive Updates: 0
Protocol bridge, MTU: 1514
Flags: Is-Primary, Trunk-Mode
4) LACP State 확인
root@R1> show lacp interfaces extensive
Aggregated interface: ae0
LACP state: Role Exp Def Dist Col Syn Aggr Timeout Activity
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 Passive
ge-0/0/2 Actor No No Yes Yes Yes Yes Fast Active
ge-0/0/2 Partner No No Yes Yes Yes Yes Fast Passive
ge-0/0/3 Actor No No Yes Yes Yes Yes Fast Active
ge-0/0/3 Partner No No Yes Yes Yes Yes Fast Passive
ge-0/0/4 Actor No No Yes Yes Yes Yes Fast Active
ge-0/0/4 Partner No No Yes Yes Yes Yes Fast Passive
LACP protocol: Receive State Transmit State Mux State
ge-0/0/1 Current Fast periodic Collecting distributing
ge-0/0/2 Current Fast periodic Collecting distributing
ge-0/0/3 Current Fast periodic Collecting distributing
ge-0/0/4 Current Fast periodic Collecting distributing
LACP info: Role System System Port Port Port
priority identifier priority number key
ge-0/0/1 Actor 127 2c:6b:f5:4f:06:c0 127 1 1
ge-0/0/1 Partner 127 2c:6b:f5:6e:9f:c0 127 1 1
ge-0/0/2 Actor 127 2c:6b:f5:4f:06:c0 127 2 1
ge-0/0/2 Partner 127 2c:6b:f5:6e:9f:c0 127 2 1
ge-0/0/3 Actor 127 2c:6b:f5:4f:06:c0 127 3 1
ge-0/0/3 Partner 127 2c:6b:f5:6e:9f:c0 127 3 1
ge-0/0/4 Actor 127 2c:6b:f5:4f:06:c0 127 4 1
ge-0/0/4 Partner 127 2c:6b:f5:6e:9f:c0 127 4 1
root@R2> show lacp interfaces
Aggregated interface: ae0
LACP state: Role Exp Def Dist Col Syn Aggr Timeout Activity
ge-0/0/1 Actor No No Yes Yes Yes Yes Fast Passive
ge-0/0/1 Partner No No Yes Yes Yes Yes Fast Active
ge-0/0/2 Actor No No Yes Yes Yes Yes Fast Passive
ge-0/0/2 Partner No No Yes Yes Yes Yes Fast Active
ge-0/0/3 Actor No No Yes Yes Yes Yes Fast Passive
ge-0/0/3 Partner No No Yes Yes Yes Yes Fast Active
ge-0/0/4 Actor No No Yes Yes Yes Yes Fast Passive
ge-0/0/4 Partner No No Yes Yes Yes Yes Fast Active
LACP protocol: Receive State Transmit State Mux State
ge-0/0/1 Current Fast periodic Collecting distributing
ge-0/0/2 Current Fast periodic Collecting distributing
ge-0/0/3 Current Fast periodic Collecting distributing
ge-0/0/4 Current Fast periodic Collecting distributing
- 'show lacp interface' 명령어를 입력하면 비교적 간단하게 확인 가능
- 'Receive State'가 Current이고, 'Mux State'가 Collecting & Distributing으로 확인되어 정상으로 판단
'Network > Link Aggregation' 카테고리의 다른 글
Link Aggregation Configuration(Juniper vMX) (0) | 2025.04.27 |
---|---|
LACP Configuration 정리(Juniper) (0) | 2025.04.25 |
LACP 동작 과정 (0) | 2025.04.23 |
Introduction to LACP (0) | 2025.04.21 |
LACP Header (0) | 2025.04.19 |
Introduction to PAGP (0) | 2025.04.17 |
PAGP Header (0) | 2025.04.15 |
Link Aggregation Load Balancing (0) | 2025.04.13 |