1. Link Aggregation Success Basic Action
1) Link Aggregation Success Basic Action
- 1. LACP Process Start
- 2. Synchronization & Collecting & Distributed bit를 0으로 Reset
- 3. 'Physical' and 'Link Aggregation' Interface Up State Check
- 4. Defaulted & Expired bit를 1로 Setting하여 1s 간격으로 계속 전송
- Active Mode일 경우, 먼저 LACP PDU를 전송
- Passive Mode일 경우, LACP PDU 수신 후에 전송
- Cisco는 1s 간격으로 4회 전송하고 Sync bit를 1, Expired bit를 0으로 Setting하여 1회 전송하고 Coll & Dist bit를 1로 Setting하여 Hello Interval 마다 전송
- Active Mode일 경우, 먼저 LACP PDU를 전송
- 5. 수신한 LACP PDU의 Actor 정보에 있는 System-ID and Key 값이 Local 정보와 다른지 Check
- LACP PDU Loop Check를 하는 목적
- 6. LACP PDU 수신 시, Defaulted & Expired bit를 0으로 Setting
- 동일한 LACP PDU를 수신하면 LACP는 Hello Interval 마다 전송
- 7. 수신한 LACP PDU의 Partner 정보에 System-ID 값이 자신과 동일한지 Check
- 단방향 통신을 방지하기 위한 목적
- Hello Timer는 Local 장비에서 결정, Timeout은 양단의 장비에서 가장 긴 장비를 기준으로 결정
- 8. 수신한 LACP PDU의 Actor 정보에 System-ID and Key 값이 기존에 수신한 LACP PDU 값과 동일한지 Check
- Link Aggregation의 첫 번째 Link는 기존에 수신한 LACP PDU가 없으므로 Next로 이동
- 동일하지 않은 LACP PDU를 수신하면 Defaulted & Expired bit를 0으로 Setting하고 LACP는 Hello Interval 마다 전송
- System Priority 값이 작은 장비가 Active/Standby Link를 결정
- System Priority 값이 동일한 경우, System ID 값이 작은 장비가 Active/Standby Link를 결정
- Port Priority 값이 작은 포트 순서대로 Active Port로 선택되며 나머지는 Standby Port로 선택
- Port Priority가 동일한 경우, Port ID 값이 작은 포트 순서대로 Active Port로 선택되며 나머지는 Standby Port로 선택
- 9. Local Synchronization bit를 1로 Setting
- Partner 장비 상태에 관심이 없으며 오직 Local에 문제가 없을 경우 해당
- 10. 수신한 LACP PDU의 Actor 정보에 Synchronization bit가 1로 Setting되어 있는지 Check
- 11. Collecting & Distributed bit를 1로 Setting
- Collecting and Distributed bit가 1로 Setting되지 못한 경우는 서로 Link Aggregation으로 사용할 수 없는 상태를 의미
2) Link Aggregation Success 'show command'
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 Slow Active
ge-0/0/1 Partner No No Yes Yes Yes Yes Slow Passive
ge-0/0/2 Actor No No Yes Yes Yes Yes Slow Active
ge-0/0/2 Partner No No Yes Yes Yes Yes Slow Passive
LACP protocol: Receive State Transmit State Mux State
ge-0/0/1 Current Slow periodic Collecting distributing
ge-0/0/2 Current Slow 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
root@R2> 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 Slow Passive
ge-0/0/1 Partner No No Yes Yes Yes Yes Slow Active
ge-0/0/2 Actor No No Yes Yes Yes Yes Slow Passive
ge-0/0/2 Partner No No Yes Yes Yes Yes Slow Active
LACP protocol: Receive State Transmit State Mux State
ge-0/0/1 Current Slow periodic Collecting distributing
ge-0/0/2 Current Slow 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:6e:9f:c0 127 1 1
ge-0/0/1 Partner 127 2c:6b:f5:4f:06:c0 127 1 1
ge-0/0/2 Actor 127 2c:6b:f5:6e:9f:c0 127 2 1
ge-0/0/2 Partner 127 2c:6b:f5:4f:06:c0 127 2 1
- 위 로그는 LACP가 정상적으로 맺어진 것을 의미
2. Link Aggregation Failure Basic Action - Active Mode
1) Link Aggregation Failure Basic Action
- 1. Timeout 동안 수신되는 LACP PDU가 없을 경우 장애 발생으로 인식
- 2. Collecting & Distributed bit를 0으로, Expired bit를 1로 구성하여 1초 간격으로 3회 전송
- 3. Defaulted bit를 1로, Expired & Synchronization bit를 0으로 구성하여 1초 간격으로 계속 전송
- PAGP의 Desirable Mode는 처음 시작할 때나 장애 발생 시, 1초마다 8번 전송하고 응답이 없으면 포기
2) Link Aggregation Failure 'show command'
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 Yes No No No Yes Slow Active
ge-0/0/1 Partner No Yes No No No Yes Fast Passive
ge-0/0/2 Actor No Yes No No No Yes Slow Active
ge-0/0/2 Partner No Yes No No No Yes Fast Passive
LACP protocol: Receive State Transmit State Mux State
ge-0/0/1 Defaulted Fast periodic Detached
ge-0/0/2 Defaulted Fast periodic Detached
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 1 00:00:00:00:00:00 1 1 1
ge-0/0/2 Actor 127 2c:6b:f5:4f:06:c0 127 2 1
ge-0/0/2 Partner 1 00:00:00:00:00:00 1 2 1
3. Link Aggregation Failure Basic Action - Passive Mode
1) Link Aggregation Failure Basic Action
- 1. Timeout 동안 수신되는 LACP PDU가 없을 경우 장애 발생으로 인식
- 2. Collecting & Distributed bit를 0으로, Expired bit를 1로 구성하여 1초 간격으로 3회 전송
- 3. Defaulted bit를 1로, Expired & Synchronization bit를 0으로 구성하고 수신되는 LACP PDU가 없는 경우, 더 이상 LACP PDU 미전송
2) Link Aggregation Failure 'show command'
root@R2> show lacp interfaces extensive
Aggregated interface: ae0
LACP state: Role Exp Def Dist Col Syn Aggr Timeout Activity
ge-0/0/1 Actor No Yes No No No Yes Slow Passive
ge-0/0/1 Partner No Yes No No No Yes Fast Passive
ge-0/0/2 Actor No Yes No No No Yes Slow Passive
ge-0/0/2 Partner No Yes No No No Yes Fast Passive
LACP protocol: Receive State Transmit State Mux State
ge-0/0/1 Defaulted No periodic Detached
ge-0/0/2 Defaulted No periodic Detached
LACP info: Role System System Port Port Port
priority identifier priority number key
ge-0/0/1 Actor 127 2c:6b:f5:6e:9f:c0 127 1 1
ge-0/0/1 Partner 1 00:00:00:00:00:00 1 1 1
ge-0/0/2 Actor 127 2c:6b:f5:6e:9f:c0 127 2 1
ge-0/0/2 Partner 1 00:00:00:00:00:00 1 2 1
'Network > Link Aggregation' 카테고리의 다른 글
LACP Configuration(Juniper vMX) (0) | 2025.04.29 |
---|---|
Link Aggregation Configuration(Juniper vMX) (0) | 2025.04.27 |
LACP Configuration 정리(Juniper) (0) | 2025.04.25 |
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 |