book2

6.4 Module Practice and Quiz

Что нужно уметь проговорить без подсказки

После Module 6 ты должен быстро объяснить:

  1. зачем EtherChannel нужен, если уже есть STP;
  2. что такое port channel;
  3. чем отличаются PAgP и LACP;
  4. какие mode combinations собирают channel, а какие нет;
  5. почему trunk/VLAN mismatch ломает EtherChannel;
  6. какими командами EtherChannel проверяют.

Короткий summary

ТемаКлючевая мысль
EtherChannelнесколько physical links выглядят как один logical link
Port-channelлогический interface EtherChannel
PAgPCisco proprietary negotiation
LACPIEEE standard negotiation
onручной режим без negotiation
Good configmember ports совпадают по key settings
Troubleshootingсмотри summary, protocol, trunk/VLAN match

Супер-короткие формулы для памяти

ФормулаСмысл
auto + auto = noPAgP не стартует сам
passive + passive = noLACP не стартует сам
active + passive = yesLACP channel собирается
desirable + auto = yesPAgP channel собирается
on + on = yesstatic EtherChannel работает

Мини-проверка себя

Попробуй ответить:

  • Почему STP не блокирует каждый member link внутри EtherChannel как обычные redundant links?
  • Почему mode on с другой стороны в active не работает?
  • Где безопаснее менять trunk settings: на physical port или на port-channel?
  • Что означает Po1(SU) в show etherchannel summary?
  • Почему speed/duplex mismatch ломает EtherChannel?

Команды для повторения

interface range fa0/1 - 2
channel-group 1 mode active
channel-group 1 mode desirable
channel-group 1 mode on
interface port-channel 1
show interfaces port-channel 1
show etherchannel summary
show etherchannel port-channel
show interfaces f0/1 etherchannel
show run | begin interface port-channel

interface range fa0/1 - 2 ciscoIOScommand Позволяет быстро выбрать member ports для общей конфигурации.

channel-group 1 mode active ciscoIOScommand Создаёт LACP EtherChannel.

channel-group 1 mode desirable ciscoIOScommand Создаёт PAgP EtherChannel в активном negotiating mode.

channel-group 1 mode on ciscoIOScommand Создаёт static EtherChannel без negotiation.

interface port-channel 1 ciscoIOScommand Открывает logical EtherChannel interface.

show interfaces port-channel 1 ciscoIOScommand Проверяет status logical interface.

show etherchannel summary ciscoIOScommand Главная команда для быстрой диагностики.

show etherchannel port-channel ciscoIOScommand Показывает подробности по group и bundled ports.

show interfaces f0/1 etherchannel ciscoIOScommand Проверяет состояние конкретного member interface.

show run | begin interface port-channel ciscoIOScommand Помогает сравнить конфиг между двумя ends.

Самое важное правило модуля

EtherChannel собирается только тогда, когда negotiation mode и interface settings совместимы на обоих ends.

Если повторяешь в последний момент

Сначала выучи PAgP vs LACP, потом mode combinations, потом show etherchannel summary.

Итог модуля

Если ты видишь config двух switches и можешь заранее сказать, соберётся EtherChannel или нет, значит тему ты понял.