Cisco StackWise Virtual - это технология стекирования, которая позволяет объединить два физических коммутатора в один логический.
Линейка Catalyst всегда имела возможность стекирования, при этом StackWise Virtual не использует физические стековые порты.
Для объединения коммутаторов StackWise Virtual использует "рядовые порты" коммутаторов.
При этом, StackWise Virtual нельзя путать с Nexus VPC. Основное отличие этих технологий в том, что при VPC коммутаторы остаются независимыми. Управление производится каждым коммутатором в отдельности. Stackwise-Virtual объединяет два физических коммутатора в один логический, также и с точки зрения управления.
Коммутатор Catalyst 9500-48Y4C имеет:
48 портов пропускной способностью до 25 Гбит
4 порта пропускной способностью до 100 Гбит
Коммутатор Catalyst 9500-48Y4C оснащен ASIC Unified Access Data Plane (UADP) 3.0.
ASIC UADP 3.0 содержит два основных процессора: Core 1 и Core 0.
Порты 1–24 и 49–50 сопоставлены с ASIC0/Core1.
Порты 25–48 и 51–52 сопоставлены с ASIC0/Core0.
Для объединения коммутаторов в стек желательно использовать минимум два соединения из разных Core
Например, порты HundredGigE1/0/50 и HundredGigE1/0/52
В редких случаях, когда все каналы SVL выходят из строя, резервный коммутатор уровня управления становится активным, поскольку он больше не может обмениваться данными со своим партнером. В этот момент у вас будет два активных коммутатора с одинаковой конфигурацией, которая включает одинаковые IP-адреса на всех маршрутизируемых и коммутируемых виртуальных (SVI) интерфейсах.
Чтобы смягчить этот сценарий, для контроля состояния стека добавлена технология DAD (StackWise Virtual Dual Active Detection).
В случае потери всех каналов SVL на одном коммутаторе (Standby) все порты уходят в Err-Disable.
После восстановления стековых каналов SVL Standby коммутатор перегружается.
Для соединения Dual Active Detection достаточно SFP 1G
Выбор active/stanby коммутатора задается командой switch priority
1 - приоритет по умолчанию, 15 - максимальный приоритет.
Коммутатор 1
Switch#switch priority 15 Switch# Switch#config terminal Enter configuration commands, one per line. End with CNTL/Z. Switch(config)# Switch(config)#stackwise-virtual Please reload the switch for Stackwise Virtual configuration to take effect Upon reboot, the config will be part of running config but not part of start up config. Switch(config-stackwise-virtual)# domain 10 Switch(config-stackwise-virtual)# exit Switch(config)# Switch(config)#interface range hu1/0/50,hu1/0/52 Switch(config-if-range)# description STACKWISE-VIRTUAL-SVL Switch(config-if-range)# stackwise-virtual link 1 WARNING: SVL configuration will be ignored on lower (1G) speed. WARNING: All the extraneous configurations will be removed for HundredGigE1/0/50 on reboot INFO: Upon reboot, the config will be part of running config but not part of start up config. WARNING: SVL configuration will be ignored on lower (1G) speed. WARNING: All the extraneous configurations will be removed for HundredGigE1/0/52 on reboot INFO: Upon reboot, the config will be part of running config but not part of start up config. Switch(config-if-range)# exit Switch(config)# Switch(config)#int twe1/0/48 Switch(config-if-range)#description STACKWISE-VIRTUAL-DAD Switch(config-if-range)# stackwise-virtual dual-active-detection WARNING: All the extraneous configurations will be removed for TwentyFiveGigE1/0/48 on reboot. INFO: Upon reboot, the config will be part of running config but not part of start up config. Switch(config-if-range)# end Switch#wr Building configuration... [OK] Switch# Switch#reload Proceed with reload? [confirm]
Коммутатор 2
Команды те же, за исключением первой, которая говорит коммутатору, что он второй.
Switch#switch renumber 2 WARNING: Changing the switch number may result in a configuration change for that switch. The interface configuration associated with the old switch number will remain as a provisioned configuration. New Switch Number will be effective after next reboot. Do you want to continue?[y/n]? [yes]: yes Switch#wr Building configuration... [OK] Switch# Switch#reload Proceed with reload? [confirm] Switch# Switch#config terminal Enter configuration commands, one per line. End with CNTL/Z. Switch(config)# Switch(config)#stackwise-virtual Please reload the switch for Stackwise Virtual configuration to take effect Upon reboot, the config will be part of running config but not part of start up config. Switch(config-stackwise-virtual)# domain 10 Switch(config-stackwise-virtual)# exit Switch(config)# Switch(config)#interface range hu2/0/50,hu2/0/52 Switch(config-if-range)# description STACKWISE-VIRTUAL-SVL Switch(config-if-range)# stackwise-virtual link 1 WARNING: SVL configuration will be ignored on lower (1G) speed. WARNING: All the extraneous configurations will be removed for HundredGigE2/0/50 on reboot INFO: Upon reboot, the config will be part of running config but not part of start up config. WARNING: SVL configuration will be ignored on lower (1G) speed. WARNING: All the extraneous configurations will be removed for HundredGigE2/0/52 on reboot INFO: Upon reboot, the config will be part of running config but not part of start up config. Switch(config-if-range)# exit Switch(config)# Switch(config)#int twe2/0/48 Switch(config-if-range)#description STACKWISE-VIRTUAL-DAD Switch(config-if-range)# stackwise-virtual dual-active-detection WARNING: All the extraneous configurations will be removed for TwentyFiveGigE2/0/48 on reboot. INFO: Upon reboot, the config will be part of running config but not part of start up config. Switch(config-if-range)# end Switch#wr Building configuration... [OK] Switch# Switch#reload Proceed with reload? [confirm]
После ребута:
Switch#sho switch Switch/Stack Mac Address : b0c5.3ce8.0001 - Local Mac Address Mac persistency wait time: Indefinite H/W Current Switch# Role Mac Address Priority Version State ------------------------------------------------------------------------------------- *1 Active b0c5.3ce8.3480 1 V02 Ready 2 Standby b0c5.3ce8.4a60 1 V02 HA sync in progress Switch#
Изменения сможем вносить после синхронизации.
Switch#show stackwise-virtual Stackwise Virtual Configuration: -------------------------------- Stackwise Virtual : Enabled Domain Number : 101 Switch Stackwise Virtual Link Ports ------ ---------------------- ------ 1 1 HundredGigE1/0/50 HundredGigE1/0/52 2 1 HundredGigE2/0/50 HundredGigE2/0/52 Switch# Switch# Switch# Switch# Switch#show stackwise-virtual link Stackwise Virtual Link(SVL) Information: ---------------------------------------- Flags: ------ Link Status ----------- U-Up D-Down Protocol Status --------------- S-Suspended P-Pending E-Error T-Timeout R-Ready ----------------------------------------------- Switch SVL Ports Link-Status Protocol-Status ------ --- ----- ----------- --------------- 1 1 HundredGigE1/0/50 U R HundredGigE1/0/52 U R 2 1 HundredGigE2/0/50 U R HundredGigE2/0/52 U R Switch# Switch# Switch# Switch#show stackwise-virtual dual-active-detection In dual-active recovery mode: No Recovery Reload: Enabled Dual-Active-Detection Configuration: ------------------------------------- Switch Dad port Status ------ ------------ --------- 1 TwentyFiveGigE1/0/48 up 2 TwentyFiveGigE2/0/48 up Switch#
Как видно, после объединения, порты были перенумерованы, и у второго уоммута порты обозначаются начиная с "2"
Для перезагрузки коммутаторов по отдельности используются команды:
redundancy reload peer - для перезакрузки standby коммутатора
redundancy force-switchover - для смены ролей active/standby коммутатора с последующей перезагрузкой ставшего standby.
https://www.cisco.com/c/en/us/td/docs/switches/lan/catalyst_standalones/...
https://nettips.ru/article/StackWise_Catalyst_9500.html
http://blog.noblinkyblinky.com/2021/06/07/stack-wise-virtual-with-cataly...
https://howtorouteswitch.com/stackwise-virtual-configuration-catalyst-95...
https://www.ciscozine.com/stackwise-virtual-catalyst-9500/
Добавить комментарий