목적: 여러 물리 링크를 하나의 논리 링크(Port-Channel)로 묶어 대역폭 증가 + 이중화 + STP 단순화를 달성한다.
(L2 기준: Access/Trunk 포트채널)
active(협상 송신) / passive(응답만)desirable / auto운영 권장
아래 중 하나라도 불일치면 채널이 안 올라오거나(또는 일부만 합류), 심하면 루프/불안정 유발
conf t
! 1) 멤버 인터페이스에 우선 동일 설정 적용
interface range gi1/0/47 - 48
description UPLINK-to-DIST
switchport mode trunk
switchport trunk allowed vlan 10,20,30
switchport trunk native vlan 999
channel-group 10 mode active
no shutdown
! 2) Port-Channel 인터페이스에서 최종 정책을 정리(권장)
interface port-channel 10
description UPLINK-to-DIST (LACP)
switchport mode trunk
switchport trunk allowed vlan 10,20,30
switchport trunk native vlan 999
end
운영 팁: 정책은 Port-Channel에 최종적으로 선언하고, 멤버 포트는 최소 설정만 두는 방식이 관리가 편함.
conf t
interface range gi1/0/11 - 12
description SRV01-LACP
switchport mode access
switchport access vlan 20
channel-group 20 mode active
no shutdown
interface port-channel 20
description SRV01-LACP
switchport mode access
switchport access vlan 20
end
주의: 서버 측도 LACP로 맞춰야 함(서버가 active면 스위치도 active 권장)
interface range gi1/0/1 - 2
channel-group 1 mode on
show etherchannel summary
체크포인트
PoX가 Up 상태인지LACP 인지bundled 류 플래그로 표시되는지(플랫폼별)show lacp neighbor
show lacp internal
체크포인트
show interfaces port-channel 10 switchport
show interfaces trunk
show running-config interface port-channel 10
원인 후보
점검 루틴
show etherchannel summary
show lacp neighbor (LACP라면)
멤버 포트 설정 비교:
show run interface gi...트렁크면:
show interfaces trunk (allowed/native 일치 확인)원인 후보
점검 루틴
show etherchannel summary (어느 멤버가 빠졌는지)show interfaces counters errorsshow interfaces <member> 로 CRC/드롭 확인설명
추가 확인
LACP active/active로 표준화
정책은 가급적 Port-Channel 인터페이스에 선언
트렁크 Po에는:
멤버 포트 에러 모니터링:
show interfaces counters errors변경 시:
show etherchannel summary
show lacp neighbor
show interfaces port-channel <N> switchport
show interfaces trunk
show interfaces counters errors