設定連接埠,以便從 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、以停用靜態模式:「無連接埠通道靜態」
當步驟 11 中的兩台交換器上啟動 ISL 時,此組態與 3132Q-V 交換器 C2 上的 ISL 組態相符。
顯示範例
以下範例顯示使用「no port-channel static」命令來設定ISL介面3/1、使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上:「How port-channel」
「Link State」(連結狀態)應為「up」(正常)、「Type」(類型)應為「Dynamic」(動態)、而「Port Active」(連接埠作用中)欄應為「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
-
驗證3132Q-V交換器C2上的ISL是否為「up(正常)):
「How 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的所有叢集互連連接埠:
網路連接埠修改
顯示範例
以下範例說明如何啟動連接至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的所有移轉叢集互連生命期:
網路介面回復
顯示範例
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
-
確認所有的叢集互連連接埠都已還原至其主連接埠:
「網路介面展示」
顯示範例
下列範例顯示clus2上的lifs會還原為其主連接埠、並顯示如果「目前連接埠」欄中的連接埠在「is Home」欄中的狀態為「true」、則會成功還原lifs。如果是Home值為「假」、則不會還原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.
-
確認所有的叢集連接埠均已連接:
「網路連接埠展示」
顯示範例
以下範例顯示先前「網路連接埠修改」命令的結果、驗證所有的叢集互連都是「正常」:
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 相關的介面:
網路介面移轉
顯示範例
以下範例顯示節點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
-
驗證叢集狀態:
「網路介面展示」
顯示範例
下列範例顯示所需的叢集l生命 已移轉至叢集交換器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的節點連接埠:
網路連接埠修改
顯示範例
以下範例說明如何關閉節點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:
「關機」
顯示範例
下列範例說明如何在作用中的31382Q-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上的ISL連接埠31和32、作用中的31382Q-V交換器:
no shutdown
顯示範例
以下範例說明如何在31382-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.