# 이더채널 링크를 동시에 사용할 수 있어 두 배의 속도를 얻는다.

## 이더채널 스테이틱 설정 ( LACP와 PAgP Negotiate 등의 기능을 제공하지 않는 대신 초기의 설정 지연을 줄인다. ) 의미없다..
SW1(config)# interface fastethernet 0/1 # 해당 인터페이스 접속
SW1(config-if)# channel-group 1 mode on # 채널 그룹 지정 // mode on
SW2(config)# interface fastethernet 0/2
SW2(config-if)# channel-group 1 mode on
# 이더채널 확인
SW1# show etherchannel summary
## 이더채널 LACP( Link Aggregation Contol Protocl )는 IEEE 802.3ad에서 정의된 표준 프로토콜
SW1(config)# interface fastethernet 0/1 # 해당 인터페이스 접속
SW1(config-if)# channel-protocol lacp # 채널 프로토콜 지정 ( LACP )
SW1(config-if)# channel-group 1 mode active # 채널 그룹 지정 // mode { active / Passive }
SW2(config)# interface fastethernet 0/2
SW2(config-if)# channel-protocol lacp
SW2(config-if)# channel-group 1 mode active
## 채널 모드가 'active'일 때 상대 스위치에게 먼저 물어보고 'passive'일 때는 상대 스위치가 먼저 말을 걸기 전에 가만히 있는다.
## 두 스위치를 'passive'로 구현하면 이더채널이 생성되지 않는다.
LACP 옵션 | Passive | Active |
Passive | No | Yes |
Active | Yes | Yes |
## 이더채널 PAgP( Port Aggregation Protocol)는 시스코 프로토콜이다.
SW1(config)# interface fastethernet 0/1 # 해당 인터페이스 접속
SW1(config-if)# channel-protocol pagp # 채널 프로토콜 지정 ( PAgP )
SW1(config-if)# channel-group 1 mode desirable # 채널 그룹 지정 // mode { desirable / auto }
SW2(config)# interface fastethernet 0/2
SW2(config-if)# channel-protocol pagp
SW2(config-if)# channel-group 1 mode desirable
## 채널 모드가 'desirable'일 때 상대 스위치에게 먼저 물어보고 'auto'일 때는 상대 스위치가 먼저 말을 걸기 전에 가만히 있는다.
## 두 스위치를 'auto'로 구현하면 이더채널이 생성되지 않는다.
PAgp 옵션 | auto | desirable |
auto | No | Yes |
desirable | Yes | Yes |
## LACP , PAgP 프라이어리터 설정 (port-priority 수치)
## LACP는 프라이어리티가 낮은 포트들부터 이더채널로 묶인다.
## PAgP는 프라이어리티가 높은 포트들부터 이더채널로 묶인다.
## LACP 예시
SW1(config)# interface fastethernet 0/1
SW1(config-if)# channel-protocol lacp
SW1(config-if)# channel-group 1 mode active
SW1(config-if)# lacp port-priority 80 # 프라이어리티 지정 ( lacp 는 낮은 게 액티브 ) Fa 0/1 과 Fa 0/2 액티브
SW1(config)# interface fastethernet 0/2
SW1(config-if)# channel-protocol lacp
SW1(config-if)# channel-group 1 mode active
SW1(config-if)# lacp port-priority 80
SW1(config)# interface fastethernet 0/3
SW1(config-if)# channel-protocol lacp
SW1(config-if)# channel-group 1 mode active
SW1(config-if)# lacp port-priority 100
SW2(config)# interface fastethernet 0/1
SW2(config-if)# channel-protocol lacp
SW2(config-if)# channel-group 1 mode active
SW2(config-if)# lacp port-priority 80
SW2(config)# interface fastethernet 0/2
SW2(config-if)# channel-protocol lacp
SW2(config-if)# channel-group 1 mode active
SW2(config-if)# lacp port-priority 80
SW2(config)# interface fastethernet 0/3
SW2(config-if)# channel-protocol lacp
SW2(config-if)# channel-group 1 mode active
SW2(config-if)# lacp port-priority 100 # 프라이어리티 핫 스탠바이 포트로 대기 ( 80 < 100 ) Fa 0/3 핫 스탠바이 포트
'IT > 네트워크' 카테고리의 다른 글
[라우터] 프레임 릴레이 DCE 설정 (0) | 2025.02.16 |
---|---|
[스위치]RSTP 루트스위치 선정 (0) | 2025.02.16 |
[스위치] 멀티레이어 스위치 설정 (0) | 2025.02.16 |
[스위치] VTP 서버,클라이언트 (0) | 2025.02.16 |
[스위치] VLAN & TRUNK (0) | 2025.02.16 |