Laboratórios de redes Docs Abrir simulador →

EtherChannel: agrupe dois links entre switches com LACP

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

O que você vai fazer

  1. No SW1, adicione tanto Eth0 quanto Eth1 ao channel-group 1 com LACP modo active.

  2. Agora configure SW2 — mas com modo desirable (PAgP), não LACP. Estamos introduzindo um mismatch de propósito pra ver o que acontece.

  3. Corrija SW2 pra usar LACP active e bater com SW1. O bundle deve então formar e show etherchannel summary reporta SU (in-use).

Abrir este laboratório no navegador →

Mais laboratórios deste tema

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