Extreme X460 Stacking & LACP

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

 

Juniper Ex Series first configure set

0. 設定原廠預設

root> request system zeroize media

1. 設定密碼

root# set system root-authentication plain-text-password

2. 確認版本,如版本沒問題,直接跳 5

root# show | display set

3. 設定管理port IP

root# set interfaces me0 unit 0 family inet address <ip address>

4. 安裝版本

root> request system software add <url> reboot

reboot 為更新完後自動開機,如沒有加,可於變更版本後執行:

root> request system reboot at now

5. 啟用 services 功能 ( telnet, ssh)

root# set system services ssh 
root# set system services telnet

* 可視需要變更 host-name 名稱

root# set system host-name xxxxx

6. 處理 ALARMS 燈的問題

root> show system alarms 
1 alarms currently active
Alarm time Class Description
2013-06-14 03:19:20 UTC Minor Rescue configuration is not set

(1) 備用config並未設定

root> request system configuration rescue save

(2) Management Ethernet Link Down 管理界面無連結

root# set chassis alarm management-ethernet link-down ignore

7. 確認備用的版本與目前使用的版本是否相同

root> show system snapshot media internal

* 如不相同,請下達指令讓其版本相同,避免倒入 config 檔出現因版本不同無法倒入的狀況
* 如資料毀損,也可用這指令讓 image 復原

root> request system snapshot slice alternate

8. 設定時區

root# set system time-zone Asia/Taipei

9. 設定時間,兩種方法如下:

(1) 直接設定時間

root> set date <YYYYMMDDhhmm.ss>

(2) 設定至 NTP Server

root> set date ntp [<server> [<server>...]]

10. 記得下達完指令後,要下儲存的指令

root# commit

11. 設定完成關機

root> request system halt