1. 將Stacking Cable 連結完成後,先 show Stacking
sh stacking
Stack Topology is a Ring
This node is not in an Active Topology
Node MAC Address Slot Stack State Role Flags
------------------ ---- ----------- ------- ---
*00:04:96:7d:e5:fe - Disabled Master ---
00:04:96:52:89:b5 - Disabled Master ---
00:04:96:52:8a:15 - Disabled Master ---
00:04:96:52:89:fa - Disabled Master ---
* - Indicates this node
Flags: (C) Candidate for this active topology, (A) Active Node
(O) node may be in Other active topology
2. 請先確認每一台的 Mac 和你要的順序,指定堆疊後的slot編號
configure stacking node-address 00:04:96:7D:E5:FE slot-number 1 ~ configure stacking node-address 00:04:96:52:89:B5 slot-number 4
3. 將Stack的redundancy更改成maximal,避免switch脫離堆疊後無法自己當Master開機
configure stacking redundancy maximal
4. 設定堆疊後的switch mac address
configure stacking mac-address
5. Enable Stack功能並且重新開機第一台使堆疊功能生效
(1)啟動Stack
enable stacking node-address 00:04:96:7D:E5:FE
(2)第一台重開機
reboot node-address 00:04:96:7D:E5:FE
6. 重開機後在檢視stack的狀況
show stacking
Stack Topology is a Ring
Active Topology is a Daisy-Chain
Node MAC Address Slot Stack State Role Flags
------------------ ---- ----------- ------- ---
*00:04:96:7d:e5:fe 1 Active Master CA-
00:04:96:52:89:b5 - Disabled Master ---
00:04:96:52:8a:15 - Disabled Master ---
00:04:96:52:89:fa - Disabled Master ---
* - Indicates this node
Flags: (C) Candidate for this active topology, (A) Active Node
(O) node may be in Other active topology
7. 啟動其他switch的stack功能,並逐一重開機
enable stacking node-address 00:04:96:52:89:FA reboot node-address 00:04:96:52:89:FA ~ enable stacking node-address 00:04:96:52:89:B5 reboot node-address 00:04:96:52:89:B5
8. 重開機完後檢視stack的狀況
show stacking
Stack Topology is a Ring
Active Topology is a Ring
Node MAC Address Slot Stack State Role Flags
------------------ ---- ----------- ------- ---
*00:04:96:7d:e5:fe 1 Active Master CA-
00:04:96:52:89:b5 4 Active Standby CA-
00:04:96:52:8a:15 3 Active Standby CA-
00:04:96:52:89:fa 2 Active Backup CA-
* - Indicates this node
Flags: (C) Candidate for this active topology, (A) Active Node
(O) node may be in Other active topology
9. 記得用已下指令確認所有stack的狀況是否有錯誤
show stacking detail show log
10. 建立 vlan,並帶tag
create vlan v172_16_104 config "v172_16_104" tag 3604
11. 啟動 Load Sharing 將 logical port 1:53 代表 grouping 的 4 個 port
enable sharing 1:53 grouping 1:53-1:54,2:53,2:54 algorithm address-based L3_L4 lacp
12. 確認是否有啟動
show sharing
Load Sharing Monitor
Config Current Agg Ld Share Ld Share Agg Link Link Up
Master Master Control Algorithm Group Mbr State Transitions
==============================================================================
1:53 LACP L3_L4 1:53 - R 1
L3_L4 1:54 - R 1
L3_L4 2:53 - R 1
L3_L4 2:54 - R 1
==============================================================================
Link State: A-Active, D-Disabled, R-Ready, NP-Port not present, L-Loopback
Load Sharing Algorithm: (L2) Layer 2 address based, (L3) Layer 3 address based
(L3_L4) Layer 3 address and Layer 4 port based
(custom) User-selected address-based configuration
Custom Algorithm Configuration: ipv4 L3-and-L4, xor
Number of load sharing trunks: 1
13. 將 Logical Port 帶上 tag port
configure vlan "v172_16_104" add ports 1:53 tagged
13. 將 Vlan 帶上 IP Address
configure vlan "v172_16_104" ipaddress 172.16.104.62/24
14. 試通加上static route
configure iproute add 172.16.201.0/24 172.16.104.254
15. 完成後儲存
save