配置連接埠以從 CN1610 交換器遷移到 3132Q-V 交換機
請依照下列步驟設定端口,以便從 CN1610 交換器遷移到新的 Nexus 3132Q-V 交換器。
-
在所有節點上,拆下連接到 CN1610 交換器 CL2 的電纜。
使用支援的佈線,您必須將所有節點上斷開的連接埠重新連接到 Nexus 3132Q-V 交換器 C2。
-
從 CN1610 交換器 CL1 的 13 至 16 號連接埠移除四條 ISL 纜線。
您必須將適當的Cisco QSFP 轉 SFP+ 分支電纜連接到新的Cisco 3132Q-V 交換器 C2 的連接埠 1/24 和現有 CN1610 交換器 CL1 的連接埠 13 至 16。
將任何電纜重新連接到新的Cisco 3132Q-V 交換器時,必須使用光纖或Cisco雙絞線電纜。 -
若要使 ISL 動態化,請將活動 CN1610 交換器上的 ISL 介面 3/1 設定為停用靜態模式:
no port-channel static此設定與在步驟 11 中兩台交換器上啟動 ISL 時 3132Q-V 交換器 C2 上的 ISL 設定相符。
顯示範例
以下範例展示如何使用下列方式設定 ISL 介面 3/1: `no port-channel static`使 ISL 動態化的命令:
(CL1)# configure (CL1)(Config)# interface 3/1 (CL1)(Interface 3/1)# no port-channel static (CL1)(Interface 3/1)# exit (CL1)(Config)# exit (CL1)#
-
在活動的 CN1610 交換器 CL1 上啟動 ISL 13 至 16。
顯示範例
以下範例說明了在連接埠通道介面 3/1 上啟動 ISL 連接埠 13 至 16 的過程:
(CL1)# configure (CL1)(Config)# interface 0/13-0/16,3/1 (CL1)(Interface 0/13-0/16,3/1)# no shutdown (CL1)(Interface 0/13-0/16,3/1)# exit (CL1)(Config)# exit (CL1)#
-
確認 ISL 是否為 `up`在 CN1610 交換器 CL1 上:
show port-channel「鏈路狀態」應為
Up「類型」應為 `Dynamic`且「連接埠活動」列應為: `True`埠 0/13 至 0/16:顯示範例
(CL1)# show port-channel 3/1 Local Interface................................ 3/1 Channel Name................................... ISL-LAG Link State..................................... Up Admin Mode..................................... Enabled Type........................................... Dynamic Load Balance Option............................ 7 (Enhanced hashing mode) Mbr Device/ Port Port Ports Timeout Speed Active ------ ------------- ---------- ------- 0/13 actor/long 10 Gb Full True partner/long 0/14 actor/long 10 Gb Full True partner/long 0/15 actor/long 10 Gb Full True partner/long 0/16 actor/long 10 Gb Full True partner/long -
確認 ISL 是否為 `up`在 3132Q-V 開關 C2 上:
show port-channel summary顯示範例
連接埠 Eth1/24/1 至 Eth1/24/4 應指示 `(P)`這意味著所有四個 ISL 連接埠都在連接埠通道中運作。 Eth1/31 和 eth1/32 應表示 `(D)`因為它們之間沒有關聯:
C2# show port-channel summary Flags: D - Down P - Up in port-channel (members) I - Individual H - Hot-standby (LACP only) s - Suspended r - Module-removed S - Switched R - Routed U - Up (port-channel) M - Not in use. Min-links not met ------------------------------------------------------------------------------ Group Port- Type Protocol Member Ports Channel ------------------------------------------------------------------------------ 1 Po1(SU) Eth LACP Eth1/31(D) Eth1/32(D) 2 Po2(SU) Eth LACP Eth1/24/1(P) Eth1/24/2(P) Eth1/24/3(P) Eth1/24/4(P) -
在所有節點上啟用連接到 3132Q-V 交換器 C2 的所有叢集互連連接埠:
network port modify顯示範例
以下範例展示如何啟動連接至 3132Q-V 交換器 C2 的叢集互連連接埠:
cluster::*> network port modify -node n1 -port e0b -up-admin true cluster::*> network port modify -node n1 -port e0c -up-admin true cluster::*> network port modify -node n2 -port e0b -up-admin true cluster::*> network port modify -node n2 -port e0c -up-admin true
-
撤銷所有已遷移的、連接到所有節點上 C2 的叢集互連 LIF:
network interface revert顯示範例
cluster::*> network interface revert -vserver Cluster -lif n1_clus2 cluster::*> network interface revert -vserver Cluster -lif n1_clus3 cluster::*> network interface revert -vserver Cluster -lif n2_clus2 cluster::*> network interface revert -vserver Cluster -lif n2_clus3
-
確認所有叢集互連連接埠都已恢復到其原始連接埠:
network interface show顯示範例
以下範例表明 clus2 上的 LIF 已恢復到其來源端口,並且如果“當前端口”列中的端口狀態為“已恢復”,則表示 LIF 已成功恢復。 `true`在「是否在家」一欄。如果房屋價值是 `false`那麼 LIF 就不會被撤銷。
cluster::*> network interface show -role cluster (network interface show) Logical Status Network Current Current Is Vserver Interface Admin/Oper Address/Mask Node Port Home -------- ---------- ----------- -------------- -------- -------- ----- Cluster n1_clus1 up/up 10.10.0.1/24 n1 e0a true n1_clus2 up/up 10.10.0.2/24 n1 e0b true n1_clus3 up/up 10.10.0.3/24 n1 e0c true n1_clus4 up/up 10.10.0.4/24 n1 e0d true n2_clus1 up/up 10.10.0.5/24 n2 e0a true n2_clus2 up/up 10.10.0.6/24 n2 e0b true n2_clus3 up/up 10.10.0.7/24 n2 e0c true n2_clus4 up/up 10.10.0.8/24 n2 e0d true 8 entries were displayed. -
確認叢集所有連接埠均已連線:
network port show顯示範例
以下範例展示了前一個結果。
network port modify`指令,驗證所有群集互連是否都已連接 `up:cluster::*> network port show -role Cluster (network port show) Node: n1 Broadcast Speed (Mbps) Health Ignore Port IPspace Domain Link MTU Admin/Open Status Health Status ----- --------- ----------- ----- ----- ------------ -------- ------------- e0a cluster cluster up 9000 auto/10000 - - e0b cluster cluster up 9000 auto/10000 - - e0c cluster cluster up 9000 auto/10000 - - e0d cluster cluster up 9000 auto/10000 - - Node: n2 Broadcast Speed (Mbps) Health Ignore Port IPspace Domain Link MTU Admin/Open Status Health Status ----- --------- ----------- ----- ----- ------------ -------- ------------- e0a cluster cluster up 9000 auto/10000 - - e0b cluster cluster up 9000 auto/10000 - - e0c cluster cluster up 9000 auto/10000 - - e0d cluster cluster up 9000 auto/10000 - - 8 entries were displayed. -
驗證遠端集群介面的連接性:
你可以使用 `network interface check cluster-connectivity`執行命令以啟動叢集連接性檢查,然後顯示詳細資訊:
network interface check cluster-connectivity start`和 `network interface check cluster-connectivity show
cluster1::*> network interface check cluster-connectivity start
*注意:*在執行 show 命令顯示詳細資訊之前,請等待幾秒鐘。
cluster1::*> network interface check cluster-connectivity show
Source Destination Packet
Node Date LIF LIF Loss
------ -------------------------- ---------- -------------- -----------
n1
3/5/2022 19:21:18 -06:00 n1_clus2 n1_clus1 none
3/5/2022 19:21:20 -06:00 n1_clus2 n2_clus2 none
n2
3/5/2022 19:21:18 -06:00 n2_clus2 n1_clus1 none
3/5/2022 19:21:20 -06:00 n2_clus2 n1_clus2 none
對於所有ONTAP版本,您也可以使用 `cluster ping-cluster -node <name>`檢查連接性的命令:
cluster ping-cluster -node <name>
cluster::*> cluster ping-cluster -node n1
Host is n1
Getting addresses from network interface table...
Cluster n1_clus1 n1 e0a 10.10.0.1
Cluster n1_clus2 n1 e0b 10.10.0.2
Cluster n1_clus3 n1 e0c 10.10.0.3
Cluster n1_clus4 n1 e0d 10.10.0.4
Cluster n2_clus1 n2 e0a 10.10.0.5
Cluster n2_clus2 n2 e0b 10.10.0.6
Cluster n2_clus3 n2 e0c 10.10.0.7
Cluster n2_clus4 n2 e0d 10.10.0.8
Local = 10.10.0.1 10.10.0.2 10.10.0.3 10.10.0.4
Remote = 10.10.0.5 10.10.0.6 10.10.0.7 10.10.0.8
Cluster Vserver Id = 4294967293
Ping status:....
Basic connectivity succeeds on 16 path(s)
Basic connectivity fails on 0 path(s)
................
Detected 1500 byte MTU on 16 path(s):
Local 10.10.0.1 to Remote 10.10.0.5
Local 10.10.0.1 to Remote 10.10.0.6
Local 10.10.0.1 to Remote 10.10.0.7
Local 10.10.0.1 to Remote 10.10.0.8
Local 10.10.0.2 to Remote 10.10.0.5
Local 10.10.0.2 to Remote 10.10.0.6
Local 10.10.0.2 to Remote 10.10.0.7
Local 10.10.0.2 to Remote 10.10.0.8
Local 10.10.0.3 to Remote 10.10.0.5
Local 10.10.0.3 to Remote 10.10.0.6
Local 10.10.0.3 to Remote 10.10.0.7
Local 10.10.0.3 to Remote 10.10.0.8
Local 10.10.0.4 to Remote 10.10.0.5
Local 10.10.0.4 to Remote 10.10.0.6
Local 10.10.0.4 to Remote 10.10.0.7
Local 10.10.0.4 to Remote 10.10.0.8
Larger than PMTU communication succeeds on 16 path(s)
RPC status:
4 paths up, 0 paths down (tcp check)
4 paths up, 0 paths down (udp check)
-
在叢集中的每個節點上,遷移與第一個待替換的 CN1610 交換器 CL1 關聯的介面:
network interface migrate顯示範例
以下範例顯示了節點 n1 和 n2 上正在遷移的連接埠或 LIF:
cluster::*> network interface migrate -vserver Cluster -lif n1_clus1 -destination-node n1 -destination-port e0b cluster::*> network interface migrate -vserver Cluster -lif n1_clus4 -destination-node n1 -destination-port e0c cluster::*> network interface migrate -vserver Cluster -lif n2_clus1 -destination-node n2 -destination-port e0b cluster::*> network interface migrate -vserver Cluster -lif n2_clus4 -destination-node n2 -destination-port e0c
-
驗證叢集狀態:
network interface show顯示範例
以下範例表明,所需的叢集 LIF 已遷移到叢集交換器 C2 上託管的相應叢集連接埠:
cluster::*> network interface show -role Cluster (network interface show) Logical Status Network Current Current Is Vserver Interface Admin/Oper Address/Mask Node Port Home -------- ---------- ----------- -------------- -------- -------- ----- Cluster n1_clus1 up/up 10.10.0.1/24 n1 e0b false n1_clus2 up/up 10.10.0.2/24 n1 e0b true n1_clus3 up/up 10.10.0.3/24 n1 e0c true n1_clus4 up/up 10.10.0.4/24 n1 e0c false n2_clus1 up/up 10.10.0.5/24 n2 e0b false n2_clus2 up/up 10.10.0.6/24 n2 e0b true n2_clus3 up/up 10.10.0.7/24 n2 e0c true n2_clus4 up/up 10.10.0.8/24 n2 e0c false 8 entries were displayed. -
關閉所有節點上連接到 CL1 的節點連接埠:
network port modify顯示範例
以下範例顯示如何關閉節點 n1 和 n2 上的指定連接埠:
cluster::*> network port modify -node n1 -port e0a -up-admin false cluster::*> network port modify -node n1 -port e0d -up-admin false cluster::*> network port modify -node n2 -port e0a -up-admin false cluster::*> network port modify -node n2 -port e0d -up-admin false
-
關閉活動 3132Q-V 交換器 C2 上的 ISL 連接埠 24、31 和 32:
shutdown顯示範例
以下範例顯示如何關閉活動 3132Q-V 交換器 C2 上的 ISL 24、31 和 32:
C2# configure C2(config)# interface ethernet 1/24/1-4 C2(config-if-range)# shutdown C2(config-if-range)# exit C2(config)# interface ethernet 1/31-32 C2(config-if-range)# shutdown C2(config-if-range)# exit C2(config)# exit C2#
-
拆下所有節點上連接到 CN1610 交換器 CL1 的電纜。
使用支援的佈線,您必須將所有節點上斷開的連接埠重新連接到 Nexus 3132Q-V 交換器 C1。
-
從 Nexus 3132Q-V C2 連接埠 e1/24 移除 QSFP 纜線。
您必須使用支援的Cisco QSFP 光纖或直連接線將 C1 上的 e1/31 和 e1/32 連接埠連接到 C2 上的 e1/31 和 e1/32 連接埠。
-
恢復連接埠 24 的配置,並透過複製以下內容刪除 C2 上的臨時連接埠通道 2: `running-configuration`文件到 `startup-configuration`文件。
顯示範例
以下範例複製了 `running-configuration`文件到 `startup-configuration`文件:
C2# configure C2(config)# no interface breakout module 1 port 24 map 10g-4x C2(config)# no interface port-channel 2 C2(config-if)# interface e1/24 C2(config-if)# description 40GbE Node Port C2(config-if)# spanning-tree port type edge C2(config-if)# spanning-tree bpduguard enable C2(config-if)# mtu 9216 C2(config-if-range)# exit C2(config)# exit C2# copy running-config startup-config [########################################] 100% Copy Complete.
-
在 C2(活動的 3132Q-V 交換器)上啟用 ISL 連接埠 31 和 32:
no shutdown顯示範例
以下範例展示如何在 3132Q-V 交換器 C2 上啟動 ISL 31 和 32:
C2# configure C2(config)# interface ethernet 1/31-32 C2(config-if-range)# no shutdown C2(config-if-range)# exit C2(config)# exit C2# copy running-config startup-config [########################################] 100% Copy Complete.
配置交換器連接埠後,您可以…"完成遷移" 。