...
- Подключить оба юнита к коммутатору и соединить между собой.
- Настроить первый юнит по алгоритму выше.
- На втором юните установить конфигурацию по умолчанию и убедиться, что юнит имеет ID 1:
| Блок кода |
|---|
|
vesbc# copy system:default-config system:candidate-config
|******************************************| 100% (52B) Configuration loaded successfully.
vesbc# sh unit id
Unit ID is 1
Unit ID will be 1 after reboot
vesbc# commit
vesbc# confirm |
- Перевести в режим switchport интерфейс, направленный включенный в сторону кластерный интерфейс первого юнита:
| Блок кода |
|---|
|
vesbc(config)# interface gigabitethernet 1/0/2
vesbc(config-if-gi)# mode switchport
vesbc(config-if-gi)# exit |
- В настройках bridge включить DHCP-клиент:
| Блок кода |
|---|
|
vesbc(config)# bridge 1
vesbc(config-bridge)# vlan 1
vesbc(config-bridge)# ip address dhcp
vesbc(config-bridge)# enable
vesbc(config-bridge)# do commit
vesbc(config-bridge)# do confirm |
Через несколько секунд после применения изменений начнётся процедура синхронизации:
| Блок кода |
|---|
|
2026-03-30T05:40:12+00:00 %CLUSTER-I-ZTP_INFO: cluster detected by DHCP client
2026-03-30T05:40:12+00:00 %CLUSTER-I-SYNC_SYSTEM_INFO: start system synchronization with Active unit
2026-03-30T05:40:13+00:00 %FILE_MGR-I-INFO: operation started: 'copy tftp://192.168.16.100:/ESR-running-config system:candidate-config' (index: 2, origin: Cfgsync-mgr)
2026-03-30T05:40:13+00:00 %FILE_MGR-I-INFO: operation is finished: 'copy tftp://192.168.16.100:/ESR-running-config system:candidate-config' (index: 2, origin: Cfgsync-mgr)
2026-03-30T05:40:13+00:00 %FILE_MGR-I-INFO: operation started: 'copy tftp://192.168.16.100:/vESBC-active-firmware system:firmware' (index: 3, origin: Cfgsync-mgr)
2026-03-30T05:40:44+00:00 %FIRMWARE-I-INFO: Verify firmware...
2026-03-30T05:40:45+00:00 %FIRMWARE-I-INFO: Extracting firmware...
2026-03-30T05:40:46+00:00 %FIRMWARE-I-INFO: Remove old image2...
2026-03-30T05:40:49+00:00 %FIRMWARE-I-INFO: Copy kernel to image2 ...
2026-03-30T05:40:49+00:00 %FIRMWARE-I-INFO: Copy rootfs to image2 ...
2026-03-30T05:40:49+00:00 %FIRMWARE-I-INFO: Copy version to image2 ...
2026-03-30T05:40:51+00:00 %FILE_MGR-I-INFO: operation is finished: 'copy tftp://192.168.16.100:/vESBC-active-firmware system:firmware' (index: 3, origin: Cfgsync-mgr)
2026-03-30T05:40:51+00:00 %FILE_MGR-I-INFO: operation started: 'boot system image-2' (index: 4, origin: Cfgsync-mgr)
2026-03-30T05:40:51+00:00 %FILE_MGR-I-INFO: operation is finished: 'boot system image-2' (index: 4, origin: Cfgsync-mgr)
2026-03-30T05:40:53+00:00 %CLUSTER-I-SYNC_SYSTEM_INFO: system will be rebooted to apply all changes |
...
| Блок кода |
|---|
|
vesbc-slave# shshow cluster status
Unit Hostname Role MAC address State IP address
---- -------------------- ---------- ----------------- -------------- ---------------
1 vesbc-master Active aa:00:00:03:90:00 Joined 192.168.16.10
2* vesbc-slave Standby aa:00:00:04:10:00 Joined 192.168.16.20
vesbc-slave# shshow cluster sync status
System part Synced
---------------------- ------
candidate-config Yes
running-config Yes
SW version Yes
licence Yes
licence (After reboot) Yes
date Yes
E-SBC version Yes |