6.4 Module Practice and Quiz
Что нужно уметь проговорить без подсказки
После Module 6 ты должен быстро объяснить:
- зачем EtherChannel нужен, если уже есть STP;
- что такое
port channel; - чем отличаются
PAgPиLACP; - какие mode combinations собирают channel, а какие нет;
- почему trunk/VLAN mismatch ломает EtherChannel;
- какими командами EtherChannel проверяют.
Короткий summary
| Тема | Ключевая мысль |
|---|---|
| EtherChannel | несколько physical links выглядят как один logical link |
| Port-channel | логический interface EtherChannel |
| PAgP | Cisco proprietary negotiation |
| LACP | IEEE standard negotiation |
on | ручной режим без negotiation |
| Good config | member ports совпадают по key settings |
| Troubleshooting | смотри summary, protocol, trunk/VLAN match |
Супер-короткие формулы для памяти
| Формула | Смысл |
|---|---|
auto + auto = no | PAgP не стартует сам |
passive + passive = no | LACP не стартует сам |
active + passive = yes | LACP channel собирается |
desirable + auto = yes | PAgP channel собирается |
on + on = yes | static 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-channelinterface 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 или нет, значит тему ты понял.