升级参考配置文件(RCF)
如果操作交换机上安装了现有版本的RCF文件、则可以升级RCF版本。
确保您已具备以下条件:
-
交换机配置的当前备份。
-
一个完全正常运行的集群(日志中没有错误或类似问题)。
-
当前的RC框架。
-
如果要更新RC框架 版本、则需要在RCIF中配置一个能够反映所需启动映像的启动配置。
如果您需要更改启动配置以反映当前启动映像,则必须在重新应用 RCF 之前进行更改,以便在将来重新启动时实例化正确的版本。
|
|
在此操作步骤 期间、不需要可操作的交换机间链路(ISL)。这是设计上的原因、因为RCF版本更改可能会暂时影响ISL连接。为了确保集群无中断运行、以下操作步骤 会在对目标交换机执行步骤时将所有集群LIF迁移到运行中的配对交换机。 |
|
|
在安装新的交换机软件版本和 RCF 之前,您必须擦除交换机设置并执行基本配置。您必须使用串行控制台连接到交换机、或者在擦除交换机设置之前保留了基本配置信息。 |
第1步:准备升级
-
如果在此集群上启用了 AutoSupport ,则通过调用 AutoSupport 消息禁止自动创建案例:
ssystem node AutoSupport invoke -node * -type all -message MAINT=xh其中 x 是维护时段的持续时间,以小时为单位。
-
将权限级别更改为高级,在系统提示您继续时输入 * y * :
set -privilege advanced此时将显示高级提示符( * > )。
-
显示每个节点上连接到交换机的集群端口:
network device-discovery show显示示例
cluster1::*> network device-discovery show Node/ Local Discovered Protocol Port Device (LLDP: ChassisID) Interface Platform ----------- ------ ------------------------- ---------------- -------- node1-01/cdp e10a cs1(FLMXXXXXXXX) Ethernet1/16/3 N9K-C9364D-GX2A e10b cs1(FDOXXXXXXXX) Ethernet1/13/3 N9K-C9364D-GX2A e11a cs1(FLMXXXXXXXX) Ethernet1/16/4 N9K-C9364D-GX2A e11b cs1(FDOXXXXXXXX) Ethernet1/13/4 N9K-C9364D-GX2A e1a cs1(FLMXXXXXXXX) Ethernet1/16/1 N9K-C9364D-GX2A e1b cs1(FDOXXXXXXXX) Ethernet1/13/1 N9K-C9364D-GX2A . . . e7a cs1(FLMXXXXXXXX) Ethernet1/16/2 N9K-C9364D-GX2A e7b cs1(FDOXXXXXXXX) Ethernet1/13/2 N9K-C9364D-GX2A node1-01/lldp e10a cs1 (c8:60:8f:xx:xx:xx) Ethernet1/16/3 - e10b cs2 (04:e3:87:xx:xx:xx) Ethernet1/16/3 - e11a cs1 (c8:60:8f:xx:xx:xx) Ethernet1/16/4 - e11b cs2 (04:e3:87:xx:xx:xx) Ethernet1/16/4 - e1a cs1 (c8:60:8f:xx:xx:xx) Ethernet1/16/1 - e1b cs2 (04:e3:87:xx:xx:xx) Ethernet1/16/1 - . . . e7a cs1 (c8:60:8f:xx:xx:xx) Ethernet1/16/2 - e7b cs2 (04:e3:87:xx:xx:xx) Ethernet1/16/2 - . . . -
检查各港口的行政及营运状况。
-
集群端口
-
验证所有集群端口是否均已启动且状态正常:
network port show -ipspace Cluster显示示例
cluster1::*> network port show -ipspace Cluster Node: node1-01 Ignore Speed(Mbps) Health Health Port IPspace Broadcast Domain Link MTU Admin/Oper Status Status --------- ------------ ---------------- ---- ---- ----------- -------- ------ e7a Cluster Cluster up 9000 auto/100000 healthy false e7b Cluster Cluster up 9000 auto/100000 healthy false Node:node1-02 Ignore Speed(Mbps) Health Health Port IPspace Broadcast Domain Link MTU Admin/Oper Status Status --------- ------------ ---------------- ---- ---- ----------- -------- ------ e7a Cluster Cluster up 9000 auto/100000 healthy false e7b Cluster Cluster up 9000 auto/100000 healthy false Node: node1-03 Ignore Speed(Mbps) Health Health Port IPspace Broadcast Domain Link MTU Admin/Oper Status Status --------- ------------ ---------------- ---- ---- ----------- -------- ------ e7a Cluster Cluster up 9000 auto/10000 healthy false e7b Cluster Cluster up 9000 auto/10000 healthy false Node: node1-04 Ignore Speed(Mbps) Health Health Port IPspace Broadcast Domain Link MTU Admin/Oper Status Status --------- ------------ ---------------- ---- ---- ----------- -------- ------ e7a Cluster Cluster up 9000 auto/10000 healthy false e7b Cluster Cluster up 9000 auto/10000 healthy false cluster1::*> -
验证所有集群接口( LIF )是否均位于主端口上:
network interface show -role cluster显示示例
cluster1::*> network interface show -role cluster Logical Status Network Current Current Is Vserver Interface Admin/Oper Address/Mask Node Port Home ----------- ---------------- ----------- ----------------- ------------ ------- ---- Cluster node1-01_clus1 up/up 169.254.3.4/23 node1-01 e7a true node1-01_clus2 up/up 169.254.3.5/23 node1-01 e7b true node1-02_clus1 up/up 169.254.3.8/23 node1-02 e7a true node1-02_clus2 up/up 169.254.3.9/23 node1-02 e7b true node1-03_clus1 up/up 169.254.1.3/23 node1-03 e7a true node1-03_clus2 up/up 169.254.1.1/23 node1-03 e7b true node1-04_clus1 up/up 169.254.1.6/23 node1-04 e7a true node1-04_clus2 up/up 169.254.1.7/23 node1-04 e7b true 8 entries were displayed. -
验证集群是否显示两个交换机的信息:
system cluster-switch show -is-monitoring-enabled-operational true显示示例
cluster1::*> system cluster-switch show -is-monitoring-enabled-operational true Switch Type Address Model --------------------------- ------------------ ---------------- ----- cs1(FDOXXXXXXXX) cluster-network 10.228.137.233 N9K-C9364D-GX2A Serial Number: FDOXXXXXXXX Is Monitored: true Reason: None Software Version: Cisco Nexus Operating System (NX-OS) Software, Version 10.4(2) Version Source: CDP/ISDP cs2(FLMXXXXXXXX) cluster-network 10.228.137.234 N9K-C9364D-GX2A Serial Number: FLMXXXXXXXX Is Monitored: true Reason: None Software Version: Cisco Nexus Operating System (NX-OS) Software, Version 10.4(2) Version Source: CDP/ISDP
-
-
HA 端口
-
验证所有 HA 端口是否处于正常运行状态:
ha interconnect status show -node <node-name>
-
显示示例
cluster1::*> ha interconnect status show -node node1-01 (system ha interconnect status show) Node: node1-01 Link 0 Status: up Link 1 Status: up Is Link 0 Active: true Is Link 1 Active: true IC RDMA Connection: up Slot: 0 Debug Firmware: no Interconnect Port 0 : Port Name: e1a-17 MTU: 4096 Link Information: ACTIVE Interconnect Port 1 : Port Name: e1b-18 MTU: 4096 Link Information: ACTIVE cluster1::*> ha interconnect status show -node node1-01 (system ha interconnect status show) Node: node1-01 Link 0 Status: up Link 1 Status: up Is Link 0 Active: true Is Link 1 Active: true IC RDMA Connection: up Slot: 0 Debug Firmware: no Interconnect Port 0 : Port Name: e1a-17 MTU: 4096 Link Information: ACTIVE Interconnect Port 1 : Port Name: e1b-18 MTU: 4096 Link Information: ACTIVE . . .-
存储端口
-
验证所有存储端口均处于正常状态:
storage port show -port-type ENET显示示例
cluster1::*> storage port show -port-type ENET Speed Node Port Type Mode (Gb/s) State Status ------------------ ---- ----- ------- ------ -------- ----------- node1-01 e10a ENET - 100 enabled online e10b ENET - 100 enabled online e11a ENET - 100 enabled online e11b ENET - 100 enabled online node1-02 e10a ENET - 100 enabled online e10b ENET - 100 enabled online e11a ENET - 100 enabled online e11b ENET - 100 enabled online node1-03 e10a ENET - 100 enabled online e10b ENET - 100 enabled online e11a ENET - 100 enabled online node1-04 e10a ENET - 100 enabled online e10b ENET - 100 enabled online e11a ENET - 100 enabled online e11b ENET - 100 enabled online 16 entries were displayed.
-
-
存储架端口
-
验证所有存储架端口是否处于正常状态:
storage shelf port show显示示例
cluster1::*> storage shelf port show Shelf ID Module State Internal? ----- -- ------ ------------ --------- 1.1 0 A connected false 1 A connected false 2 A connected false 3 A connected false 4 A connected false 5 A connected false 6 A connected false 7 A connected false 8 B connected false 9 B connected false 10 B connected false 11 B connected false 12 B connected false 13 B connected false 14 B connected false 15 B connected false 16 entries were displayed. -
验证所有存储架端口的连接状态:
storage shelf port show -fields remote-device,remote-port,connector-state显示示例
cluster1::*> storage shelf port show -fields remote-device,remote-port,connector-state shelf id connector-state remote-port remote-device ----- -- --------------- -------------- ----------------- 1.1 0 connected Ethernet1/17/1 CX9332D-cs1 1.1 1 connected Ethernet1/15/1 CX9364D-cs1 1.1 2 connected Ethernet1/17/2 CX9332D-cs1 1.1 3 connected Ethernet1/15/2 CX9364D-cs1 1.1 4 connected Ethernet1/17/3 CX9332D-cs1 1.1 5 connected Ethernet1/15/3 CX9364D-cs1 1.1 6 connected Ethernet1/17/4 CX9332D-cs1 1.1 7 connected Ethernet1/15/4 CX9364D-cs1 1.1 8 connected Ethernet1/19/1 CX9332D-cs1 1.1 9 connected Ethernet1/17/1 CX9364D-cs1 1.1 10 connected Ethernet1/19/2 CX9332D-cs1 1.1 11 connected Ethernet1/17/2 CX9364D-cs1 1.1 12 connected Ethernet1/19/3 CX9332D-cs1 1.1 13 connected Ethernet1/17/3 CX9364D-cs1 1.1 14 connected Ethernet1/19/4 CX9332D-cs1 1.1 15 connected Ethernet1/17/4 CX9364D-cs1 16 entries were displayed.
-
-
-
在集群LIF上禁用自动还原:
network interface modify -vserver cluster -lif *-auto-revert false
第2步:配置端口
-
在交换机cs1上,关闭与节点所有端口相连的端口。
cs1# config cs1(config)# interface e1/1/1-4,e1/2/1-4,e1/3/1-4,e1/4/1-4,e1/5/1-4,e1/6/1-4,e1/7/1-4,e1/8/1-4 cs1(config-if-range)# shutdown cs1(config)# interface e1/9/1-4,e1/10/1-4,e1/11/1-4,e1/12/1-4,e1/13/1-4,e1/14/1-4,e1/15/1-4,e1/16/1-4 cs1(config-if-range)# shutdown cs1(config)# interface e1/17/1-4,e1/18/1-4,e1/19/1-4,e1/20/1-4,e1/21/1-4,e1/22/1-4,e1/23/1-4,e1/24/1-4 cs1(config-if-range)# shutdown cs1(config)# interface e1/25/1-4,e1/26/1-4,e1/27/1-4,e1/28/1-4,e1/29/1-4,e1/30/1-4,e1/31/1-4,e1/32/1-4 cs1(config-if-range)# shutdown cs1(config)# interface e1/33/1-4,e1/34/1-4,e1/35/1-4,e1/36/1-4,e1/37/1-4,e1/38/1-4,e1/39/1-4,e1/40/1-4 cs1(config-if-range)# shutdown cs1(config)# interface e1/41/1-4,e1/42/1-4,e1/43/1-4,e1/44/1-4,e1/35/1-4,e1/46/1-4,e1/47/1-4,e1/48/1-4 cs1(config-if-range)# shutdown cs1(config)# interface e1/49/1-4,e1/50/1-4,e1/51/1-4,e1/52/1-4,e1/53/1-4,e1/54/1-4,e1/55/1-4,e1/56/1-4 cs1(config-if-range)# shutdown cs1(config)# interface e1/57/1-4,e1/58/1-4,e1/59/1-4,e1/60/1-4,e1/61/1-4,e1/62/1-4 cs1(config-if-range)# shutdown cs1(config-if-range)# exit cs1(config)# exit
确保关闭所有连接的端口以避免任何网络连接问题。请参阅知识库文章 "在交换机操作系统升级期间迁移集群LIF时、节点丢失仲裁"了解更多详情。 -
验证集群SIFs是否已故障转移到集群交换机CS1上托管的端口。这可能需要几秒钟的时间。
network interface show -role cluster显示示例
cluster1::*> network interface show -role cluster Logical Status Network Current Current Is Vserver Interface Admin/Oper Address/Mask Node Port Home ----------- ----------------- ---------- ------------------ ------------- ------- ---- Cluster node1-01_clus1 up/up 169.254.36.44/16 node1-01 e7a true node1-01_clus2 up/up 169.254.7.5/16 node1-01 e7b true node1-02_clus1 up/up 169.254.197.206/16 node1-02 e7a true node1-02_clus2 up/up 169.254.195.186/16 node1-02 e7b true node1-03_clus1 up/up 169.254.192.49/16 node1-03 e7a true node1-03_clus2 up/up 169.254.182.76/16 node1-03 e7b true node1-04_clus1 up/up 169.254.59.49/16 node1-04 e7a true node1-04_clus2 up/up 169.254.62.244/16 node1-04 e7b true 8 entries were displayed. -
验证集群是否运行正常:
cluster show显示示例
cluster1::*> cluster show Node Health Eligibility Epsilon ----------------- ------- ------------ ------- node1-01 true true false node1-02 true true false node1-03 true true true node1-04 true true false 4 entries were displayed.
-
如果尚未保存当前交换机配置的副本、请将以下命令的输出复制到文本文件中:
s如何运行配置-
记录当前之间的任何自定义添加 `running-config`以及正在使用的 RCF 文件(例如您组织的 SNMP 配置)。
-
对于 NX-OS 10.2 及更高版本,请使用 `show diff running-config`命令与 Bootflash 中保存的 RCF 文件进行比较。否则,请使用第三方差异/比较工具。
-
-
将基本配置详细信息保存到 `write_erase.cfg`bootflash 上的文件。
确保配置以下内容:
-
用户名和密码
-
管理 IP 地址
-
默认网关
-
交换机名称
cs1# show run | i "username admin password" > bootflash:write_erase.cfgcs1# show run | section "vrf context management" >> bootflash:write_erase.cfgcs1# show run | section "interface mgmt0" >> bootflash:write_erase.cfgcs1# show run | section "switchname" >> bootflash:write_erase.cfgcs1# echo "hardware access-list tcam region ing-racl 1024" >> bootflash:write_erase.cfgcs1# echo "hardware access-list tcam region egr-racl 1024" >> bootflash:write_erase.cfgcs1# echo "hardware access-list tcam region ing-l2-qos 1536" >> bootflash:write_erase.cfg请参阅知识库文章"如何在保持远程连接的同时清除Cisco互连交换机上的配置"了解更多详情。
-
-
验证 `write_erase.cfg`文件按预期填充:
show file bootflash:write_erase.cfg -
发出 `write erase`命令来删除当前保存的配置:
cs1# write eraseWarning: This command will erase the startup-configuration.Do you wish to proceed anyway? (y/n) [n] y -
将先前保存的基本配置复制到启动配置中。
cs1# copy bootflash:write_erase.cfg startup-config -
重新启动交换机:
cs1# reloadThis command will reboot the system. (y/n)? [n] y -
再次访问管理IP地址后、通过SSH登录到交换机。
您可能需要更新与SSH密钥相关的主机文件条目。
-
使用以下传输协议之一将RCC复制到交换机CS1的bootflash:FTP、TFTP、SFTP或SCP。
有关 Cisco 命令的详细信息,请参见中的相应指南 "《 Cisco Nexus 9000 系列 NX-OS 命令参考》" 指南。
显示示例
此示例显示了使用TFTP将RCC复制到交换机CS1上的bootflash:
cs1# copy tftp: bootflash: vrf management Enter source filename: NX9364D-GX2A-RCF-v10.0-Shared.txt Enter hostname for the tftp server: 172.22.201.50 Trying to connect to tftp server......Connection to Server Established. TFTP get operation was successful Copy complete, now saving to disk (please wait)...
-
将先前下载的 RCF 应用于 bootflash 。
有关 Cisco 命令的详细信息,请参见中的相应指南 "《 Cisco Nexus 9000 系列 NX-OS 命令参考》" 指南。
此示例显示 RCF 文件 `NX9364D-GX2A-RCF-v10.0-Shared.txt`正在交换机 cs1 上安装:
cs1# copy NX9364D-GX2A-RCF-v10.0-Shared.txt running-config echo-commands
请务必仔细阅读 RCF 的 安装说明、重要说明 和 横幅 部分。您必须阅读并遵循这些说明以确保交换机的正确配置和操作。 -
验证 RCF 文件是否为正确的较新版本:
s如何运行配置在检查输出以确认您的 RCF 正确无误时,请确保以下信息正确无误:
-
RCF 横幅
-
节点和端口设置
-
自定义
输出因站点配置而异。检查端口设置,并参阅发行说明,了解您安装的 RCF 的任何特定更改。
-
-
将任何先前的自定义重新应用到交换机配置。
-
验证RCF版本、自定义添加项和交换机设置是否正确后、请将running-config文件复制到startup-config文件。
有关 Cisco 命令的详细信息,请参见中的相应指南 "《 Cisco Nexus 9000 系列 NX-OS 命令参考》" 指南。
cs1# copy running-config startup-config[] 100% Copy complete -
重新启动交换机 CS1 。您可以在交换机重新启动时忽略节点上报告的"` cluster switch Health monitor`"警报和"`cluster ports down`"事件。
cs1# reloadThis command will reboot the system. (y/n)? [n] y -
验证集群上端口的健康状况。
-
集群端口
-
验证集群中所有节点上的集群端口是否均已启动且运行正常:
network port show -ipspace Cluster显示示例
cluster1::*> network port show -ipspace Cluster Node: node1-01 Ignore Speed(Mbps) Health Health Port IPspace Broadcast Domain Link MTU Admin/Oper Status Status --------- ------------ ---------------- ---- ---- ----------- -------- ------ e7a Cluster Cluster up 9000 auto/10000 healthy false e7b Cluster Cluster up 9000 auto/10000 healthy false Node: node1-02 Ignore Speed(Mbps) Health Health Port IPspace Broadcast Domain Link MTU Admin/Oper Status Status --------- ------------ ---------------- ---- ---- ----------- -------- ------ e7a Cluster Cluster up 9000 auto/10000 healthy false e7b Cluster Cluster up 9000 auto/10000 healthy false Node: node1-03 Ignore Speed(Mbps) Health Health Port IPspace Broadcast Domain Link MTU Admin/Oper Status Status --------- ------------ ---------------- ---- ---- ----------- -------- ------ e7a Cluster Cluster up 9000 auto/100000 healthy false e7b Cluster Cluster up 9000 auto/100000 healthy false Node: node1-04 Ignore Speed(Mbps) Health Health Port IPspace Broadcast Domain Link MTU Admin/Oper Status Status --------- ------------ ---------------- ---- ---- ----------- -------- ------ e7a Cluster Cluster up 9000 auto/100000 healthy false e7b Cluster Cluster up 9000 auto/100000 healthy false 8 entries were displayed. -
从集群验证交换机运行状况。
network device-discovery show -protocol cdpsystem cluster-switch show -is-monitoring-enabled-operational true显示示例
cluster1::*> network device-discovery show -protocol cdp Node/ Local Discovered Protocol Port Device (LLDP: ChassisID) Interface Platform ----------- ------ ------------------------- ----------------- -------- node1-01/cdp e10a cs1(FLMXXXXXXXX) Ethernet1/16/3 N9K-C9364D-GX2A e10b cs2(FDOXXXXXXXX) Ethernet1/13/3 N9K-C9364D-GX2A e11a cs1(FLMXXXXXXXX) Ethernet1/16/4 N9K-C9364D-GX2A e11b cs2(FDOXXXXXXXX) Ethernet1/13/4 N9K-C9364D-GX2A e1a cs1(FLMXXXXXXXX) Ethernet1/16/1 N9K-C9364D-GX2A e1b cs2(FLMXXXXXXXX) Ethernet1/13/1 N9K-C9364D-GX2A . . . e7a cs1(FLMXXXXXXXX) Ethernet1/16/2 N9K-C9364D-GX2A e7b cs2(FDOXXXXXXXX) Ethernet1/13/2 N9K-C9364D-GX2A node1-02/cdp . . . cluster1::*> system cluster-switch show -is-monitoring-enabled-operational true Switch Type Address Model --------------------------- ------------------ ---------------- ----- cs2(FDOXXXXXXXX) cluster-network 10.228.137.233 N9K-C9364D-GX2A Serial Number: FDOXXXXXXXX Is Monitored: true Reason: None Software Version: Cisco Nexus Operating System (NX-OS) Software, Version 10.4(2) Version Source: CDP/ISDP cs1(FLMXXXXXXXX) cluster-network 10.228.137.234 N9K-C9364D-GX2A Serial Number: FLMXXXXXXXX Is Monitored: true Reason: None Software Version: Cisco Nexus Operating System (NX-OS) Software, Version 10.4(2) Version Source: CDP/ISDP 2 entries were displayed.
-
-
HA 端口
-
验证所有 HA 端口是否处于正常运行状态:
ha interconnect status show -node <node-name>
-
显示示例
cluster1::*> ha interconnect status show -node node1-01 (system ha interconnect status show) Node: node1-01 Link 0 Status: up Link 1 Status: up Is Link 0 Active: true Is Link 1 Active: true IC RDMA Connection: up Slot: 0 Debug Firmware: no Interconnect Port 0 : Port Name: e1a-17 MTU: 4096 Link Information: ACTIVE Interconnect Port 1 : Port Name: e1b-18 MTU: 4096 Link Information: ACTIVE cluster1::*> ha interconnect status show -node node1-02 (system ha interconnect status show) Node: node1-02 Link 0 Status: up Link 1 Status: up Is Link 0 Active: true Is Link 1 Active: true IC RDMA Connection: up Slot: 0 Debug Firmware: no Interconnect Port 0 : Port Name: e1a-17 MTU: 4096 Link Information: ACTIVE Interconnect Port 1 : Port Name: e1b-18 MTU: 4096 Link Information: ACTIVE . . .-
存储端口
-
验证所有存储端口均处于正常状态:
storage port show -port-type ENET显示示例
cluster1::*> storage port show -port-type ENET Speed Node Port Type Mode (Gb/s) State Status ------------------ ---- ----- ------- ------ -------- ----------- node1-01 e10a ENET - 100 enabled online e10b ENET - 100 enabled online e11a ENET - 100 enabled online e11b ENET - 100 enabled online node1-02 e10a ENET - 100 enabled online e10b ENET - 100 enabled online e11a ENET - 100 enabled online e11b ENET - 100 enabled online node1-03 e10a ENET - 100 enabled online e10b ENET - 100 enabled online e11a ENET - 100 enabled online node1-04 e10a ENET - 100 enabled online e10b ENET - 100 enabled online e11a ENET - 100 enabled online e11b ENET - 100 enabled online 16 entries were displayed.
-
-
存储架端口
-
验证所有存储架端口是否处于正常状态:
storage shelf port show显示示例
cluster1::*> storage shelf port show Shelf ID Module State Internal? ----- -- ------ ------------ --------- 1.1 0 A connected false 1 A connected false 2 A connected false 3 A connected false 4 A connected false 5 A connected false 6 A connected false 7 A connected false 8 B connected false 9 B connected false 10 B connected false 11 B connected false 12 B connected false 13 B connected false 14 B connected false 15 B connected false 16 entries were displayed. -
验证所有存储架端口的连接状态:
storage shelf port show -fields remote-device,remote-port,connector-state显示示例
cluster1::*> storage shelf port show -fields remote-device,remote-port,connector-state shelf id connector-state remote-port remote-device ----- -- --------------- -------------- ----------------- 1.1 0 connected Ethernet1/17/1 CX9332D-cs1 1.1 1 connected Ethernet1/15/1 CX9364D-cs1 1.1 2 connected Ethernet1/17/2 CX9332D-cs1 1.1 3 connected Ethernet1/15/2 CX9364D-cs1 1.1 4 connected Ethernet1/17/3 CX9332D-cs1 1.1 5 connected Ethernet1/15/3 CX9364D-cs1 1.1 6 connected Ethernet1/17/4 CX9332D-cs1 1.1 7 connected Ethernet1/15/4 CX9364D-cs1 1.1 8 connected Ethernet1/19/1 CX9332D-cs1 1.1 9 connected Ethernet1/17/1 CX9364D-cs1 1.1 10 connected Ethernet1/19/2 CX9332D-cs1 1.1 11 connected Ethernet1/17/2 CX9364D-cs1 1.1 12 connected Ethernet1/19/3 CX9332D-cs1 1.1 13 connected Ethernet1/17/3 CX9364D-cs1 1.1 14 connected Ethernet1/19/4 CX9332D-cs1 1.1 15 connected Ethernet1/17/4 CX9364D-cs1 16 entries were displayed.
-
-
-
验证集群是否运行正常:
cluster show显示示例
cluster1::*> cluster show Node Health Eligibility Epsilon ----------------- -------- ------------- ------- node1-01 true true false node1-02 true true false node1-03 true true true node1-04 true true false 4 entries were displayed.
-
在交换机 cs2 上重复步骤 4 至 18。
-
在集群 LIF 上启用自动还原:
network interface modify -vserver Cluster -lif * -auto-revert True
第3步:验证集群网络配置和集群运行状况
-
验证连接到集群端口的交换机端口是否已启动。
show interface brief显示示例
cs1# show interface brief | grep up . . Eth1/9/3 1 eth trunk up none 100G(D) -- Eth1/9/4 1 eth trunk up none 100G(D) -- Eth1/15/1 1 eth trunk up none 100G(D) -- Eth1/15/2 1 eth trunk up none 100G(D) -- Eth1/15/3 1 eth trunk up none 100G(D) -- Eth1/15/4 1 eth trunk up none 100G(D) -- Eth1/16/1 1 eth trunk up none 100G(D) -- Eth1/16/2 1 eth trunk up none 100G(D) -- Eth1/16/3 1 eth trunk up none 100G(D) -- Eth1/16/4 1 eth trunk up none 100G(D) -- Eth1/17/1 1 eth trunk up none 100G(D) -- Eth1/17/2 1 eth trunk up none 100G(D) -- Eth1/17/3 1 eth trunk up none 100G(D) -- Eth1/17/4 1 eth trunk up none 100G(D) -- . . .
-
验证所需节点是否仍处于连接状态:
s如何使用 cdp 邻居显示示例
cs1# show cdp neighbors Capability Codes: R - Router, T - Trans-Bridge, B - Source-Route-Bridge S - Switch, H - Host, I - IGMP, r - Repeater, V - VoIP-Phone, D - Remotely-Managed-Device, s - Supports-STP-Dispute Device-ID Local Intrfce Hldtme Capability Platform Port ID cs2(FDOXXXXXXXX) Eth1/63 179 R S I s N9K-C9332D-GX2B Eth1/31 cs2(FDOXXXXXXXX) Eth1/64 179 R S I s N9K-C9332D-GX2B Eth1/32 node1-01 Eth1/4/1 123 H AFX-1K e1a node1-01 Eth1/4/2 123 H AFX-1K e7a node1-01 Eth1/4/3 123 H AFX-1K e10a node1-01 Eth1/4/4 123 H AFX-1K e11a node1-02 Eth1/9/1 138 H AFX-1K e1a node1-02 Eth1/9/2 138 H AFX-1K e7a node1-02 Eth1/9/3 138 H AFX-1K e10a node1-02 Eth1/9/4 138 H AFX-1K e11a node1-03 Eth1/15/1 138 H AFX-1K e1a node1-03 Eth1/15/2 138 H AFX-1K e7a node1-03 Eth1/15/3 138 H AFX-1K e10a node1-03 Eth1/15/4 138 H AFX-1K e11a node1-04 Eth1/16/1 173 H AFX-1K e1a node1-04 Eth1/16/2 173 H AFX-1K e7a node1-04 Eth1/16/3 173 H AFX-1K e10a node1-04 Eth1/16/4 173 H AFX-1K e11a Total entries displayed: 18 -
使用以下命令验证集群节点是否位于正确的集群VLAN中:
show vlan briefshow interface trunk显示示例
cs1# show vlan brief VLAN Name Status Ports ---- -------------------------------- --------- ------------------------------- 1 default active Po1, Po999, Eth1/63, Eth1/64 Eth1/65, Eth1/66, Eth1/1/1 Eth1/1/2, Eth1/1/3, Eth1/1/4 Eth1/2/1, Eth1/2/2, Eth1/2/3 Eth1/2/4, Eth1/3/1, Eth1/3/2 Eth1/3/3, Eth1/3/4, Eth1/4/1 Eth1/4/2, Eth1/4/3, Eth1/4/4 Eth1/5/1, Eth1/5/2, Eth1/5/3 Eth1/5/4, Eth1/6/1, Eth1/6/2 Eth1/6/3, Eth1/6/4, Eth1/7/1 Eth1/7/2, Eth1/7/3, Eth1/7/4 Eth1/8/1, Eth1/8/2, Eth1/8/3 Eth1/8/4, Eth1/9/1, Eth1/9/2 Eth1/9/3, Eth1/9/4, Eth1/10/1 Eth1/10/2, Eth1/10/3, Eth1/10/4 Eth1/11/1, Eth1/11/2, Eth1/11/3 Eth1/11/4, Eth1/12/1, Eth1/12/2 Eth1/12/3, Eth1/12/4, Eth1/13/1 Eth1/13/2, Eth1/13/3, Eth1/13/4 Eth1/14/1, Eth1/14/2, Eth1/14/3 Eth1/14/4, Eth1/15/1, Eth1/15/2 Eth1/15/3, Eth1/15/4, Eth1/16/1 Eth1/16/2, Eth1/16/3, Eth1/16/4 Eth1/17/1, Eth1/17/2, Eth1/17/3 Eth1/17/4, Eth1/18/1, Eth1/18/2 Eth1/18/3, Eth1/18/4, Eth1/19/1 Eth1/19/2, Eth1/19/3, Eth1/19/4 Eth1/20/1, Eth1/20/2, Eth1/20/3 Eth1/20/4, Eth1/21/1, Eth1/21/2 Eth1/21/3, Eth1/21/4, Eth1/22/1 Eth1/22/2, Eth1/22/3, Eth1/22/4 Eth1/23/1, Eth1/23/2, Eth1/23/3 Eth1/23/4, Eth1/24/1, Eth1/24/2 Eth1/24/3, Eth1/24/4, Eth1/25/1 Eth1/25/2, Eth1/25/3, Eth1/25/4 Eth1/26/1, Eth1/26/2, Eth1/26/3 Eth1/26/4, Eth1/27/1, Eth1/27/2 Eth1/27/3, Eth1/27/4, Eth1/28/1 Eth1/28/2, Eth1/28/3, Eth1/28/4 Eth1/29/1, Eth1/29/2, Eth1/29/3 Eth1/29/4, Eth1/30/1, Eth1/30/2 Eth1/30/3, Eth1/30/4, Eth1/31/1 Eth1/31/2, Eth1/31/3, Eth1/31/4 Eth1/32/1, Eth1/32/2, Eth1/32/3 Eth1/32/4, Eth1/33/1, Eth1/33/2 Eth1/33/3, Eth1/33/4, Eth1/34/1 Eth1/34/2, Eth1/34/3, Eth1/34/4 Eth1/35/1, Eth1/35/2, Eth1/35/3 Eth1/35/4, Eth1/36/1, Eth1/36/2 Eth1/36/3, Eth1/36/4, Eth1/37/1 Eth1/37/2, Eth1/37/3, Eth1/37/4 Eth1/38/1, Eth1/38/2, Eth1/38/3 Eth1/38/4, Eth1/39/1, Eth1/39/2 Eth1/39/3, Eth1/39/4, Eth1/40/1 Eth1/40/2, Eth1/40/3, Eth1/40/4 Eth1/41/1, Eth1/41/2, Eth1/41/3 Eth1/41/4, Eth1/42/1, Eth1/42/2 Eth1/42/3, Eth1/42/4, Eth1/43/1 Eth1/43/2, Eth1/43/3, Eth1/43/4 Eth1/44/1, Eth1/44/2, Eth1/44/3 Eth1/44/4, Eth1/45/1, Eth1/45/2 Eth1/45/3, Eth1/45/4, Eth1/46/1 Eth1/46/2, Eth1/46/3, Eth1/46/4 Eth1/47/1, Eth1/47/2, Eth1/47/3 Eth1/47/4, Eth1/48/1, Eth1/48/2 Eth1/48/3, Eth1/48/4, Eth1/49/1 Eth1/49/2, Eth1/49/3, Eth1/49/4 Eth1/50/1, Eth1/50/2, Eth1/50/3 Eth1/50/4, Eth1/51/1, Eth1/51/2 Eth1/51/3, Eth1/51/4, Eth1/52/1 Eth1/52/2, Eth1/52/3, Eth1/52/4 Eth1/53/1, Eth1/53/2, Eth1/53/3 Eth1/53/4, Eth1/54/1, Eth1/54/2 Eth1/54/3, Eth1/54/4, Eth1/55/1 Eth1/55/2, Eth1/55/3, Eth1/55/4 Eth1/56/1, Eth1/56/2, Eth1/56/3 Eth1/56/4, Eth1/57/1, Eth1/57/2 Eth1/57/3, Eth1/57/4, Eth1/58/1 Eth1/58/2, Eth1/58/3, Eth1/58/4 Eth1/59/1, Eth1/59/2, Eth1/59/3 Eth1/59/4, Eth1/60/1, Eth1/60/2 Eth1/60/3, Eth1/60/4, Eth1/61/1 Eth1/61/2, Eth1/61/3, Eth1/61/4 Eth1/62/1, Eth1/62/2, Eth1/62/3 Eth1/62/4 17 VLAN0017 active Eth1/1/1, Eth1/1/2, Eth1/1/3 Eth1/1/4, Eth1/2/1, Eth1/2/2 Eth1/2/3, Eth1/2/4, Eth1/3/1 Eth1/3/2, Eth1/3/3, Eth1/3/4 Eth1/4/1, Eth1/4/2, Eth1/4/3 Eth1/4/4, Eth1/5/1, Eth1/5/2 Eth1/5/3, Eth1/5/4, Eth1/6/1 Eth1/6/2, Eth1/6/3, Eth1/6/4 Eth1/7/1, Eth1/7/2, Eth1/7/3 Eth1/7/4, Eth1/8/1, Eth1/8/2 Eth1/8/3, Eth1/8/4, Eth1/9/1 Eth1/9/2, Eth1/9/3, Eth1/9/4 Eth1/10/1, Eth1/10/2, Eth1/10/3 Eth1/10/4, Eth1/11/1, Eth1/11/2 Eth1/11/3, Eth1/11/4, Eth1/12/1 Eth1/12/2, Eth1/12/3, Eth1/12/4 Eth1/13/1, Eth1/13/2, Eth1/13/3 Eth1/13/4, Eth1/14/1, Eth1/14/2 Eth1/14/3, Eth1/14/4, Eth1/15/1 Eth1/15/2, Eth1/15/3, Eth1/15/4 Eth1/16/1, Eth1/16/2, Eth1/16/3 Eth1/16/4, Eth1/17/1, Eth1/17/2 Eth1/17/3, Eth1/17/4, Eth1/18/1 Eth1/18/2, Eth1/18/3, Eth1/18/4 Eth1/19/1, Eth1/19/2, Eth1/19/3 Eth1/19/4, Eth1/20/1, Eth1/20/2 Eth1/20/3, Eth1/20/4, Eth1/21/1 Eth1/21/2, Eth1/21/3, Eth1/21/4 Eth1/22/1, Eth1/22/2, Eth1/22/3 Eth1/22/4, Eth1/23/1, Eth1/23/2 Eth1/23/3, Eth1/23/4, Eth1/24/1 Eth1/24/2, Eth1/24/3, Eth1/24/4 Eth1/25/1, Eth1/25/2, Eth1/25/3 Eth1/25/4, Eth1/26/1, Eth1/26/2 Eth1/26/3, Eth1/26/4, Eth1/27/1 Eth1/27/2, Eth1/27/3, Eth1/27/4 Eth1/28/1, Eth1/28/2, Eth1/28/3 Eth1/28/4, Eth1/29/1, Eth1/29/2 Eth1/29/3, Eth1/29/4, Eth1/30/1 Eth1/30/2, Eth1/30/3, Eth1/30/4 Eth1/31/1, Eth1/31/2, Eth1/31/3 Eth1/31/4, Eth1/32/1, Eth1/32/2 Eth1/32/3, Eth1/32/4, Eth1/33/1 Eth1/33/2, Eth1/33/3, Eth1/33/4 Eth1/34/1, Eth1/34/2, Eth1/34/3 Eth1/34/4, Eth1/35/1, Eth1/35/2 Eth1/35/3, Eth1/35/4, Eth1/36/1 Eth1/36/2, Eth1/36/3, Eth1/36/4 Eth1/37/1, Eth1/37/2, Eth1/37/3 Eth1/37/4, Eth1/38/1, Eth1/38/2 Eth1/38/3, Eth1/38/4, Eth1/39/1 Eth1/39/2, Eth1/39/3, Eth1/39/4 Eth1/40/1, Eth1/40/2, Eth1/40/3 Eth1/40/4, Eth1/41/1, Eth1/41/2 Eth1/41/3, Eth1/41/4, Eth1/42/1 Eth1/42/2, Eth1/42/3, Eth1/42/4 Eth1/43/1, Eth1/43/2, Eth1/43/3 Eth1/43/4, Eth1/44/1, Eth1/44/2 Eth1/44/3, Eth1/44/4, Eth1/45/1 Eth1/45/2, Eth1/45/3, Eth1/45/4 Eth1/46/1, Eth1/46/2, Eth1/46/3 Eth1/46/4, Eth1/47/1, Eth1/47/2 Eth1/47/3, Eth1/47/4, Eth1/48/1 Eth1/48/2, Eth1/48/3, Eth1/48/4 Eth1/49/1, Eth1/49/2, Eth1/49/3 Eth1/49/4, Eth1/50/1, Eth1/50/2 Eth1/50/3, Eth1/50/4, Eth1/51/1 Eth1/51/2, Eth1/51/3, Eth1/51/4 Eth1/52/1, Eth1/52/2, Eth1/52/3 Eth1/52/4, Eth1/53/1, Eth1/53/2 Eth1/53/3, Eth1/53/4, Eth1/54/1 Eth1/54/2, Eth1/54/3, Eth1/54/4 Eth1/55/1, Eth1/55/2, Eth1/55/3 Eth1/55/4, Eth1/56/1, Eth1/56/2 Eth1/56/3, Eth1/56/4, Eth1/57/1 Eth1/57/2, Eth1/57/3, Eth1/57/4 Eth1/58/1, Eth1/58/2, Eth1/58/3 Eth1/58/4, Eth1/59/1, Eth1/59/2 Eth1/59/3, Eth1/59/4, Eth1/60/1 Eth1/60/2, Eth1/60/3, Eth1/60/4 Eth1/61/1, Eth1/61/2, Eth1/61/3 Eth1/61/4, Eth1/62/1, Eth1/62/2 Eth1/62/3, Eth1/62/4 18 VLAN0018 active Eth1/1/1, Eth1/1/2, Eth1/1/3 Eth1/1/4, Eth1/2/1, Eth1/2/2 Eth1/2/3, Eth1/2/4, Eth1/3/1 Eth1/3/2, Eth1/3/3, Eth1/3/4 Eth1/4/1, Eth1/4/2, Eth1/4/3 Eth1/4/4, Eth1/5/1, Eth1/5/2 Eth1/5/3, Eth1/5/4, Eth1/6/1 Eth1/6/2, Eth1/6/3, Eth1/6/4 Eth1/7/1, Eth1/7/2, Eth1/7/3 Eth1/7/4, Eth1/8/1, Eth1/8/2 Eth1/8/3, Eth1/8/4, Eth1/9/1 Eth1/9/2, Eth1/9/3, Eth1/9/4 Eth1/10/1, Eth1/10/2, Eth1/10/3 Eth1/10/4, Eth1/11/1, Eth1/11/2 Eth1/11/3, Eth1/11/4, Eth1/12/1 Eth1/12/2, Eth1/12/3, Eth1/12/4 Eth1/13/1, Eth1/13/2, Eth1/13/3 Eth1/13/4, Eth1/14/1, Eth1/14/2 Eth1/14/3, Eth1/14/4, Eth1/15/1 Eth1/15/2, Eth1/15/3, Eth1/15/4 Eth1/16/1, Eth1/16/2, Eth1/16/3 Eth1/16/4, Eth1/17/1, Eth1/17/2 Eth1/17/3, Eth1/17/4, Eth1/18/1 Eth1/18/2, Eth1/18/3, Eth1/18/4 Eth1/19/1, Eth1/19/2, Eth1/19/3 Eth1/19/4, Eth1/20/1, Eth1/20/2 Eth1/20/3, Eth1/20/4, Eth1/21/1 Eth1/21/2, Eth1/21/3, Eth1/21/4 Eth1/22/1, Eth1/22/2, Eth1/22/3 Eth1/22/4, Eth1/23/1, Eth1/23/2 Eth1/23/3, Eth1/23/4, Eth1/24/1 Eth1/24/2, Eth1/24/3, Eth1/24/4 Eth1/25/1, Eth1/25/2, Eth1/25/3 Eth1/25/4, Eth1/26/1, Eth1/26/2 Eth1/26/3, Eth1/26/4, Eth1/27/1 Eth1/27/2, Eth1/27/3, Eth1/27/4 Eth1/28/1, Eth1/28/2, Eth1/28/3 Eth1/28/4, Eth1/29/1, Eth1/29/2 Eth1/29/3, Eth1/29/4, Eth1/30/1 Eth1/30/2, Eth1/30/3, Eth1/30/4 Eth1/31/1, Eth1/31/2, Eth1/31/3 Eth1/31/4, Eth1/32/1, Eth1/32/2 Eth1/32/3, Eth1/32/4, Eth1/33/1 Eth1/33/2, Eth1/33/3, Eth1/33/4 Eth1/34/1, Eth1/34/2, Eth1/34/3 Eth1/34/4, Eth1/35/1, Eth1/35/2 Eth1/35/3, Eth1/35/4, Eth1/36/1 Eth1/36/2, Eth1/36/3, Eth1/36/4 Eth1/37/1, Eth1/37/2, Eth1/37/3 Eth1/37/4, Eth1/38/1, Eth1/38/2 Eth1/38/3, Eth1/38/4, Eth1/39/1 Eth1/39/2, Eth1/39/3, Eth1/39/4 Eth1/40/1, Eth1/40/2, Eth1/40/3 Eth1/40/4, Eth1/41/1, Eth1/41/2 Eth1/41/3, Eth1/41/4, Eth1/42/1 Eth1/42/2, Eth1/42/3, Eth1/42/4 Eth1/43/1, Eth1/43/2, Eth1/43/3 Eth1/43/4, Eth1/44/1, Eth1/44/2 Eth1/44/3, Eth1/44/4, Eth1/45/1 Eth1/45/2, Eth1/45/3, Eth1/45/4 Eth1/46/1, Eth1/46/2, Eth1/46/3 Eth1/46/4, Eth1/47/1, Eth1/47/2 Eth1/47/3, Eth1/47/4, Eth1/48/1 Eth1/48/2, Eth1/48/3, Eth1/48/4 Eth1/49/1, Eth1/49/2, Eth1/49/3 Eth1/49/4, Eth1/50/1, Eth1/50/2 Eth1/50/3, Eth1/50/4, Eth1/51/1 Eth1/51/2, Eth1/51/3, Eth1/51/4 Eth1/52/1, Eth1/52/2, Eth1/52/3 Eth1/52/4, Eth1/53/1, Eth1/53/2 Eth1/53/3, Eth1/53/4, Eth1/54/1 Eth1/54/2, Eth1/54/3, Eth1/54/4 Eth1/55/1, Eth1/55/2, Eth1/55/3 Eth1/55/4, Eth1/56/1, Eth1/56/2 Eth1/56/3, Eth1/56/4, Eth1/57/1 Eth1/57/2, Eth1/57/3, Eth1/57/4 Eth1/58/1, Eth1/58/2, Eth1/58/3 Eth1/58/4, Eth1/59/1, Eth1/59/2 Eth1/59/3, Eth1/59/4, Eth1/60/1 Eth1/60/2, Eth1/60/3, Eth1/60/4 Eth1/61/1, Eth1/61/2, Eth1/61/3 Eth1/61/4, Eth1/62/1, Eth1/62/2 Eth1/62/3, Eth1/62/4 30 VLAN0030 active Eth1/1/1, Eth1/1/2, Eth1/1/3 Eth1/1/4, Eth1/2/1, Eth1/2/2 Eth1/2/3, Eth1/2/4, Eth1/3/1 Eth1/3/2, Eth1/3/3, Eth1/3/4 Eth1/4/1, Eth1/4/2, Eth1/4/3 Eth1/4/4, Eth1/5/1, Eth1/5/2 Eth1/5/3, Eth1/5/4, Eth1/6/1 Eth1/6/2, Eth1/6/3, Eth1/6/4 Eth1/7/1, Eth1/7/2, Eth1/7/3 Eth1/7/4, Eth1/8/1, Eth1/8/2 Eth1/8/3, Eth1/8/4, Eth1/9/1 Eth1/9/2, Eth1/9/3, Eth1/9/4 Eth1/10/1, Eth1/10/2, Eth1/10/3 Eth1/10/4, Eth1/11/1, Eth1/11/2 Eth1/11/3, Eth1/11/4, Eth1/12/1 Eth1/12/2, Eth1/12/3, Eth1/12/4 Eth1/13/1, Eth1/13/2, Eth1/13/3 Eth1/13/4, Eth1/14/1, Eth1/14/2 Eth1/14/3, Eth1/14/4, Eth1/15/1 Eth1/15/2, Eth1/15/3, Eth1/15/4 Eth1/16/1, Eth1/16/2, Eth1/16/3 Eth1/16/4, Eth1/17/1, Eth1/17/2 Eth1/17/3, Eth1/17/4, Eth1/18/1 Eth1/18/2, Eth1/18/3, Eth1/18/4 Eth1/19/1, Eth1/19/2, Eth1/19/3 Eth1/19/4, Eth1/20/1, Eth1/20/2 Eth1/20/3, Eth1/20/4, Eth1/21/1 Eth1/21/2, Eth1/21/3, Eth1/21/4 Eth1/22/1, Eth1/22/2, Eth1/22/3 Eth1/22/4, Eth1/23/1, Eth1/23/2 Eth1/23/3, Eth1/23/4, Eth1/24/1 Eth1/24/2, Eth1/24/3, Eth1/24/4 Eth1/25/1, Eth1/25/2, Eth1/25/3 Eth1/25/4, Eth1/26/1, Eth1/26/2 Eth1/26/3, Eth1/26/4, Eth1/27/1 Eth1/27/2, Eth1/27/3, Eth1/27/4 Eth1/28/1, Eth1/28/2, Eth1/28/3 Eth1/28/4, Eth1/29/1, Eth1/29/2 Eth1/29/3, Eth1/29/4, Eth1/30/1 Eth1/30/2, Eth1/30/3, Eth1/30/4 Eth1/31/1, Eth1/31/2, Eth1/31/3 Eth1/31/4, Eth1/32/1, Eth1/32/2 Eth1/32/3, Eth1/32/4, Eth1/33/1 Eth1/33/2, Eth1/33/3, Eth1/33/4 Eth1/34/1, Eth1/34/2, Eth1/34/3 Eth1/34/4, Eth1/35/1, Eth1/35/2 Eth1/35/3, Eth1/35/4, Eth1/36/1 Eth1/36/2, Eth1/36/3, Eth1/36/4 Eth1/37/1, Eth1/37/2, Eth1/37/3 Eth1/37/4, Eth1/38/1, Eth1/38/2 Eth1/38/3, Eth1/38/4, Eth1/39/1 Eth1/39/2, Eth1/39/3, Eth1/39/4 Eth1/40/1, Eth1/40/2, Eth1/40/3 Eth1/40/4, Eth1/41/1, Eth1/41/2 Eth1/41/3, Eth1/41/4, Eth1/42/1 Eth1/42/2, Eth1/42/3, Eth1/42/4 Eth1/43/1, Eth1/43/2, Eth1/43/3 Eth1/43/4, Eth1/44/1, Eth1/44/2 Eth1/44/3, Eth1/44/4, Eth1/45/1 Eth1/45/2, Eth1/45/3, Eth1/45/4 Eth1/46/1, Eth1/46/2, Eth1/46/3 Eth1/46/4, Eth1/47/1, Eth1/47/2 Eth1/47/3, Eth1/47/4, Eth1/48/1 Eth1/48/2, Eth1/48/3, Eth1/48/4 Eth1/49/1, Eth1/49/2, Eth1/49/3 Eth1/49/4, Eth1/50/1, Eth1/50/2 Eth1/50/3, Eth1/50/4, Eth1/51/1 Eth1/51/2, Eth1/51/3, Eth1/51/4 Eth1/52/1, Eth1/52/2, Eth1/52/3 Eth1/52/4, Eth1/53/1, Eth1/53/2 Eth1/53/3, Eth1/53/4, Eth1/54/1 Eth1/54/2, Eth1/54/3, Eth1/54/4 Eth1/55/1, Eth1/55/2, Eth1/55/3 Eth1/55/4, Eth1/56/1, Eth1/56/2 Eth1/56/3, Eth1/56/4, Eth1/57/1 Eth1/57/2, Eth1/57/3, Eth1/57/4 Eth1/58/1, Eth1/58/2, Eth1/58/3 Eth1/58/4, Eth1/59/1, Eth1/59/2 Eth1/59/3, Eth1/59/4, Eth1/60/1 Eth1/60/2, Eth1/60/3, Eth1/60/4 Eth1/61/1, Eth1/61/2, Eth1/61/3 Eth1/61/4, Eth1/62/1, Eth1/62/2 Eth1/62/3, Eth1/62/4 40 VLAN0040 active Eth1/1/1, Eth1/1/2, Eth1/1/3 Eth1/1/4, Eth1/2/1, Eth1/2/2 Eth1/2/3, Eth1/2/4, Eth1/3/1 Eth1/3/2, Eth1/3/3, Eth1/3/4 Eth1/4/1, Eth1/4/2, Eth1/4/3 Eth1/4/4, Eth1/5/1, Eth1/5/2 Eth1/5/3, Eth1/5/4, Eth1/6/1 Eth1/6/2, Eth1/6/3, Eth1/6/4 Eth1/7/1, Eth1/7/2, Eth1/7/3 Eth1/7/4, Eth1/8/1, Eth1/8/2 Eth1/8/3, Eth1/8/4, Eth1/9/1 Eth1/9/2, Eth1/9/3, Eth1/9/4 Eth1/10/1, Eth1/10/2, Eth1/10/3 Eth1/10/4, Eth1/11/1, Eth1/11/2 Eth1/11/3, Eth1/11/4, Eth1/12/1 Eth1/12/2, Eth1/12/3, Eth1/12/4 Eth1/13/1, Eth1/13/2, Eth1/13/3 Eth1/13/4, Eth1/14/1, Eth1/14/2 Eth1/14/3, Eth1/14/4, Eth1/15/1 Eth1/15/2, Eth1/15/3, Eth1/15/4 Eth1/16/1, Eth1/16/2, Eth1/16/3 Eth1/16/4, Eth1/17/1, Eth1/17/2 Eth1/17/3, Eth1/17/4, Eth1/18/1 Eth1/18/2, Eth1/18/3, Eth1/18/4 Eth1/19/1, Eth1/19/2, Eth1/19/3 Eth1/19/4, Eth1/20/1, Eth1/20/2 Eth1/20/3, Eth1/20/4, Eth1/21/1 Eth1/21/2, Eth1/21/3, Eth1/21/4 Eth1/22/1, Eth1/22/2, Eth1/22/3 Eth1/22/4, Eth1/23/1, Eth1/23/2 Eth1/23/3, Eth1/23/4, Eth1/24/1 Eth1/24/2, Eth1/24/3, Eth1/24/4 Eth1/25/1, Eth1/25/2, Eth1/25/3 Eth1/25/4, Eth1/26/1, Eth1/26/2 Eth1/26/3, Eth1/26/4, Eth1/27/1 Eth1/27/2, Eth1/27/3, Eth1/27/4 Eth1/28/1, Eth1/28/2, Eth1/28/3 Eth1/28/4, Eth1/29/1, Eth1/29/2 Eth1/29/3, Eth1/29/4, Eth1/30/1 Eth1/30/2, Eth1/30/3, Eth1/30/4 Eth1/31/1, Eth1/31/2, Eth1/31/3 Eth1/31/4, Eth1/32/1, Eth1/32/2 Eth1/32/3, Eth1/32/4, Eth1/33/1 Eth1/33/2, Eth1/33/3, Eth1/33/4 Eth1/34/1, Eth1/34/2, Eth1/34/3 Eth1/34/4, Eth1/35/1, Eth1/35/2 Eth1/35/3, Eth1/35/4, Eth1/36/1 Eth1/36/2, Eth1/36/3, Eth1/36/4 Eth1/37/1, Eth1/37/2, Eth1/37/3 Eth1/37/4, Eth1/38/1, Eth1/38/2 Eth1/38/3, Eth1/38/4, Eth1/39/1 Eth1/39/2, Eth1/39/3, Eth1/39/4 Eth1/40/1, Eth1/40/2, Eth1/40/3 Eth1/40/4, Eth1/41/1, Eth1/41/2 Eth1/41/3, Eth1/41/4, Eth1/42/1 Eth1/42/2, Eth1/42/3, Eth1/42/4 Eth1/43/1, Eth1/43/2, Eth1/43/3 Eth1/43/4, Eth1/44/1, Eth1/44/2 Eth1/44/3, Eth1/44/4, Eth1/45/1 Eth1/45/2, Eth1/45/3, Eth1/45/4 Eth1/46/1, Eth1/46/2, Eth1/46/3 Eth1/46/4, Eth1/47/1, Eth1/47/2 Eth1/47/3, Eth1/47/4, Eth1/48/1 Eth1/48/2, Eth1/48/3, Eth1/48/4 Eth1/49/1, Eth1/49/2, Eth1/49/3 Eth1/49/4, Eth1/50/1, Eth1/50/2 Eth1/50/3, Eth1/50/4, Eth1/51/1 Eth1/51/2, Eth1/51/3, Eth1/51/4 Eth1/52/1, Eth1/52/2, Eth1/52/3 Eth1/52/4, Eth1/53/1, Eth1/53/2 Eth1/53/3, Eth1/53/4, Eth1/54/1 Eth1/54/2, Eth1/54/3, Eth1/54/4 Eth1/55/1, Eth1/55/2, Eth1/55/3 Eth1/55/4, Eth1/56/1, Eth1/56/2 Eth1/56/3, Eth1/56/4, Eth1/57/1 Eth1/57/2, Eth1/57/3, Eth1/57/4 Eth1/58/1, Eth1/58/2, Eth1/58/3 Eth1/58/4, Eth1/59/1, Eth1/59/2 Eth1/59/3, Eth1/59/4, Eth1/60/1 Eth1/60/2, Eth1/60/3, Eth1/60/4 Eth1/61/1, Eth1/61/2, Eth1/61/3 Eth1/61/4, Eth1/62/1, Eth1/62/2 Eth1/62/3, Eth1/62/4 cs1# show interface trunk ----------------------------------------------------- Port Native Status Port Vlan Channel ----------------------------------------------------- Eth1/1/1 1 trunking -- Eth1/1/2 1 trunking -- Eth1/1/3 1 trunking -- Eth1/1/4 1 trunking -- Eth1/2/1 1 trunking -- Eth1/2/2 1 trunking -- Eth1/2/3 1 trunking -- Eth1/2/4 1 trunking -- . . . Eth1/62/2 none Eth1/62/3 none Eth1/62/4 none Eth1/63 none Eth1/64 none Po1 1有关特定端口和VLAN使用情况的详细信息、请参阅RC框架 中的横幅和重要说明部分。 -
验证 CS1 和 CS2 之间的 ISL 是否正常运行:
show port-channel summary显示示例
cs1# 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 b - BFD Session Wait S - Switched R - Routed U - Up (port-channel) p - Up in delay-lacp mode (member) M - Not in use. Min-links not met -------------------------------------------------------------------------------- Group Port- Type Protocol Member Ports Channel -------------------------------------------------------------------------------- 1 Po1(SU) Eth LACP Eth1/63(P) Eth1/64(P) 999 Po999(SD) Eth NONE -- cs1# -
验证集群 LIF 是否已还原到其主端口:
network interface show -role cluster显示示例
cluster1::*> network interface show -role cluster Logical Status Network Current Current Is Vserver Interface Admin/Oper Address/Mask Node Port Home ----------- ------------------ ---------- ------------------ ------------ ------- ---- Cluster node1-01_clus1 up/up 169.254.36.44/16 node1-01 e7a true node1-01_clus2 up/up 169.254.7.5/16 node1-01 e7b true node1-02_clus1 up/up 169.254.197.206/16 node1-02 e7a true node1-02_clus2 up/up 169.254.195.186/16 node1-02 e7b true node1-03_clus1 up/up 169.254.192.49/16 node1-03 e7a true node1-03_clus2 up/up 169.254.182.76/16 node1-03 e7b true node1-04_clus1 up/up 169.254.59.49/16 node1-04 e7a true node1-04_clus2 up/up 169.254.62.244/16 node1-04 e7b true 8 entries were displayed.如果任何集群LUN尚未返回其主端口、请从本地节点手动还原它们:
network interface revert -vserver vserver_name -lif <lif-name> -
验证集群是否运行正常:
cluster show显示示例
cluster1::*> cluster show Node Health Eligibility Epsilon ----------------- ------- ------------- ------- node1-01 true true false node1-02 true true false node1-03 true true true node1-04 true true false
-
验证远程集群接口的连接:
-
您可以使用 `network interface check cluster-connectivity show`命令显示集群连接可访问性检查的详细信息:
network interface check cluster-connectivity show显示示例
cluster1::*> network interface check cluster-connectivity show Source Destination Packet Node Date LIF LIF Loss ------ -------------------------- ---------------- --------------- ----------- node1-01 6/4/2025 03:13:33 -04:00 node1-01_clus2 node1-02_clus1 none 6/4/2025 03:13:34 -04:00 node1-01_clus2 node1-02_clus1 none node1-02 6/4/2025 03:13:33 -04:00 node1-02_clus2 node1-01_clus1 none 6/4/2025 03:13:34 -04:00 node1-02_clus2 node1-01_clus2 none . . . -
或者,您可以使用 `cluster ping-cluster -node <node-name>`检查连接性的命令:
cluster ping-cluster -node <node-name>
显示示例
cluster1::*> cluster ping-cluster -node local Host is node1-04 Getting addresses from network interface table... Cluster node1-01_clus1 169.254.36.44 node1-01 e7a Cluster node1-01_clus2 169.254.7.5 node1-01 e7b Cluster node1-02_clus1 169.254.197.206 node1-02 e7a Cluster node1-02_clus2 169.254.195.186 node1-02 e7b Cluster node1-03_clus1 169.254.192.49 node1-03 e7a Cluster node1-03_clus2 169.254.182.76 node1-03 e7b Cluster node1-04_clus1 169.254.59.49 node1-04 e7a Cluster node1-04_clus2 169.254.62.244 node1-04 e7b Local = 169.254.59.49 169.254.62.244 Remote = 169.254.36.44 169.254.7.5 169.254.197.206 169.254.195.186 169.254.192.49 169.254.182.76 Cluster Vserver Id = 4294967293 Ping status: ............ Basic connectivity succeeds on 12 path(s) Basic connectivity fails on 0 path(s) ................................................ Detected 9000 byte MTU on 12 path(s): Local 169.254.59.49 to Remote 169.254.182.76 Local 169.254.59.49 to Remote 169.254.192.49 Local 169.254.59.49 to Remote 169.254.195.186 Local 169.254.59.49 to Remote 169.254.197.206 Local 169.254.59.49 to Remote 169.254.36.44 Local 169.254.59.49 to Remote 169.254.7.5 Local 169.254.62.244 to Remote 169.254.182.76 Local 169.254.62.244 to Remote 169.254.192.49 Local 169.254.62.244 to Remote 169.254.195.186 Local 169.254.62.244 to Remote 169.254.197.206 Local 169.254.62.244 to Remote 169.254.36.44 Local 169.254.62.244 to Remote 169.254.7.5 Larger than PMTU communication succeeds on 12 path(s) RPC status: 6 paths up, 0 paths down (tcp check) 6 paths up, 0 paths down (udp check) -
升级 RCF 后,您"验证 SSH 配置"。