EtherChannel: agrupe dois links entre switches com LACP
- Switching
- Intermediário
- 12 min
- 3 passos
- Cisco IOS-style
Agrupe dois links paralelos entre SW1 e SW2 num único Port-channel usando LACP (modo active). O bundle aparece como uma só iface lógica para o STP, dobrando a banda disponível sem disparar a prevenção de loop.
Abrir este laboratório no navegador →
Grátis · sem instalação · sem conta
Cenário
Dois links paralelos entre o mesmo par de switches normalmente fazem o STP *bloquear* um deles — esse é justamente o design de prevenção de loop. EtherChannel é a saída: ele diz pro STP tratar os dois links físicos como uma única porta lógica, dobrando a banda e fazendo load-balance dos fluxos entre os membros. `` SW1 ════════ SW2 (um Port-channel lógico = dois links físicos) ` Três modos de negociação: - on — estático, sem negociação. As duas pontas precisam dizer on. Mais rápido, mas um lado mal configurado (um on, um off) causa loop porque o outro lado não faz bundle. - active / passive (LACP) — padrão IEEE 802.3ad. Active manda LACPDUs, passive só responde. Pelo menos um lado precisa ser active. - desirable / auto (PAgP) — proprietário Cisco. Mesma ideia do LACP, protocolo diferente. Reflexo de nível associado: sempre LACP active/active` em designs modernos, a menos que tenha razão de mix de fabricantes.
Topologia
2 × switch · Cisco IOS-style
SW1— switchSW2— switch
O que você vai fazer
No SW1, adicione tanto Eth0 quanto Eth1 ao channel-group 1 com LACP modo
active.Agora configure SW2 — mas com modo
desirable(PAgP), não LACP. Estamos introduzindo um mismatch de propósito pra ver o que acontece.Corrija SW2 pra usar LACP
activee bater com SW1. O bundle deve então formar eshow etherchannel summaryreporta SU (in-use).
Abrir este laboratório no navegador →
Mais laboratórios deste tema
- Delta de sintaxe — porta de acesso VLAN (Extreme EXOS)Iniciante · 5 min
- Delta de sintaxe — porta de acesso VLAN (Cisco IOS)Iniciante · 5 min
- VLANs: configurando portas de acessoIniciante · 12 min
- STP: forçar um root bridge em um triângulo L2 redundanteIntermediário · 12 min
- Trunk entre dois switchesIntermediário · 15 min
Este laboratório em outros idiomas
EtherChannel: bundle two links between switches with LACPEtherChannel: zwei Links zwischen Switches mit LACP bündelnEtherChannel: agrupa dos enlaces entre switches con LACPEtherChannel : agréger deux liens entre switches avec LACPEtherChannel: LACP से switches के बीच दो links bundle करेंEtherChannel:用 LACP 把交换机间的两条链路捆绑成一个EtherChannel: aggrega due link tra switch con LACPEtherChannel: スイッチ間の 2 本のリンクを LACP で束ねるEtherChannel: LACP 로 스위치 간 두 링크를 번들EtherChannel: связать два линка между свитчами через LACPEtherChannel: LACP ile switch'ler arasında iki link'i bundle yapEtherChannel: bó hai link giữa switch bằng LACP