将CN1610交换机CL1更换为3232C交换机C1
按照以下步骤将CN1610 (CL1)交换机更换为Nexus 3232C (C1)交换机。
-
验证集群的状态:
network interface show -role cluster
显示示例
以下示例显示所需的集群 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 -node node-name -port port-name -up-admin false
显示示例
以下示例显示了节点 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
-
关闭活动 3232C 交换机 C2 上的 ISL 端口 24 , 31 和 32 。
有关 Cisco 命令的详细信息,请参见中列出的指南 "Cisco Nexus 3000 系列 NX-OS 命令参考"。
显示示例
以下示例显示了活动 3232C 交换机 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 3232C 交换机 C1 。
-
从 Nexus 3232C C2 端口 E1/24 拔下 QSFP28 缆线。
您必须使用受支持的 Cisco QSFP28 光缆或直连缆线将 C1 上的端口 E1/31 和 E1/32 连接到 C2 上的端口 E1/31 和 E1/32 。
-
还原端口 24 上的配置并删除 C2 上的临时端口通道 2 :
有关 Cisco 命令的详细信息,请参见中列出的指南 "Cisco Nexus 3000 系列 NX-OS 命令参考"。
显示示例
以下示例显示了要复制到
start-configuration
文件的Running-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 100GbE/40GbE Node Port C2(config-if)# spanning-tree port type edge Edge port type (portfast) should only be enabled on ports connected to a single host. Connecting hubs, concentrators, switches, bridges, etc... to this interface when edge port type (portfast) is enabled, can cause temporary bridging loops. Use with CAUTION Edge Port Type (Portfast) has been configured on Ethernet 1/24 but will only have effect when the interface is in a non-trunking mode. 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 ,这是活动的 3232C 交换机。
有关 Cisco 命令的详细信息,请参见中列出的指南 "Cisco Nexus 3000 系列 NX-OS 命令参考"。
显示示例
以下示例显示了 3232C 交换机 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.
-
验证 3232C 交换机 C2 上的 ISL 连接是否为
up
。有关 Cisco 命令的详细信息,请参见中列出的指南 "Cisco Nexus 3000 系列 NX-OS 命令参考"。
显示示例
以下示例显示了要验证的 ISL 连接。端口 Eth1/31 和 Eth1/32 表示 ` ( P )` ,表示端口通道中的两个 ISL 端口均为
up
:C1# 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(P) Eth1/32(P) 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(P) Eth1/32(P)
-
启动所有节点上连接到新3232C交换机C1的所有集群互连端口:
network port modify -node node-name -port port-name -up-admin true
显示示例
以下示例显示了连接到要启动的新 3232C 交换机 C1 的所有集群互连端口:
cluster::*> network port modify -node n1 -port e0a -up-admin true cluster::*> network port modify -node n1 -port e0d -up-admin true cluster::*> network port modify -node n2 -port e0a -up-admin true cluster::*> network port modify -node n2 -port e0d -up-admin true
-
验证集群节点端口的状态:
network port show -role cluster
显示示例
以下示例显示了验证新 3232C 交换机 C1 上节点 n1 和 n2 上的集群互连端口是否为
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.
"完成迁移"(英文)