Skip to main content
  • Place orders quickly and easily
  • View orders and track your shipping status
  • Enjoy members-only rewards and discounts
  • Create and access a list of your products
  • Manage your Dell EMC sites, products, and product-level contacts using Company Administration.

如何在 Dell EMC Networking N4000 交换机中堆叠和取消堆叠成员

Summary: 如何在 Dell EMC Networking N4000 交换机中堆叠和取消堆叠成员

This article may have been automatically translated. If you have any feedback regarding its quality, please let us know using the form at the bottom of this page.

Article Content


Instructions

要将 N4000 交换机堆叠在一起,请执行以下操作。


1.使用zip文件中包括的说明将每个交换机更新为最新固件。

2.配置端口用于堆栈。建议至少在每个交换机上使用两个端口以允许环形拓扑连接。

 
注:您必须重新启动交换机,端口才能过渡到堆栈模式。
注:您可以堆叠在 10 千兆或 40 千兆端口上,但不能同时堆叠在这两个端口上。
 
命令 “Parameters(参数)”
console>enable 进入特权执行模式
console#configure  进入配置模式
console(config)#stack 进入堆栈配置模式
console(config-stack)#stack-port [Port name] [Port Number] stack 将端口配置为堆栈端口
console(config-stack)#end 返回配置模式
console#copy running-configuration startup-configuration 保存配置
console#reload Reboot


下面的示例演示如何将 40 千兆端口转换为堆栈端口

我们使用 fortygigabitethernet 1/1/1 和 fortygigabitethernet 1/1/2 端口作为示例

console>enable
console#config
console(config)#stack
console(config-stack)#stack-port fortygigabitethernet 1/1/1 stack
console(config-stack)#stack-port fortygigabitethernet 1/1/2 stack
console(config-stack)#end
console#copy running-configuration startup-configuration
console#reload

下面的示例演示如何将 10 千兆端口转换为堆栈端口

我们使用 tengigabitethernet 1/0/23 和 stack-port tengigabitethernet 1/0/24 端口作为示例

console>enable
console#config
console(config)#stack
console(config-stack)#stack-port tengigabitethernet 1/0/23 stack
console(config-stack)#stack-port tengigabitethernet 1/0/24 stack
console(config-stack)#end
console#copy running-configuration startup-configuration
console#reload

 

3.  成功重新启动后,验证是否正确配置了堆栈端口

使用命令“show switch stack-ports

输出示例

console#show switch stack-ports

        Configured Running

        Stack        Stack      Link        Link           Admin

Interface   Mode      Mode      Status       Speed (Gb/s)  Status

---------------- ---------- ---------- ------------ ------------ -----------

Te1/0/23   Stack     Stack      Link Up    10       Enabled

Te1/0/24   Stack    Stack      Link Up    10       Enabled

 

4.关闭交换机电源。在环形拓扑中连接堆栈端口。

5.先打开所需主交换机的电源,并等到您可以管理它。之后依次一次打开一个交换机的电源,直到每个交换机都打开。它们将自动添加到堆栈中。
 

注:主交换机和操作待机交换机保留堆栈的启动配置。仅可从主交换机访问控制台端口。
注:N4000 系列交换机在一个堆栈中支持多达 12 个单元。
  
 

要从 N4000 堆栈中取消堆叠成员,请执行以下操作:


1.关闭成员的电源,并将堆栈线缆自必须从堆栈移除的成员取下

2.在主控装置中,删除已关闭电源的成员的成员 ID

命令 “Parameters(参数)”
console>enable 进入特权执行模式
console#configure  进入配置模式
console(config)#stack 进入堆栈配置模式
console(config-stack)#no member  移除成员


 

HOW10357_zh_CN__1icon 此命令将从正在运行的配置中删除与该成员关联的配置。  如果交换机是当前活动的成员,则命令将不起作用。这不是对单元进行重新编号的命令。  它只会将作为堆栈成员的交换机移除。

 


输出示例

假设我们正在从堆栈中移除成员 2

console(config)#stack
console(config-stack)#
console(config-stack)#no member 2

3.如果您想要将堆栈端口转换为以太网端口,则使用下面的命令
 

HOW10357_zh_CN__1icon 您必须重新启动交换机,端口才能过渡到以太网模式。
 
命令 “Parameters(参数)”
console>enable 进入特权执行模式
console#configure  进入配置模式
console(config)#stack 进入堆栈配置模式
console(config-stack)#stack-port [Port name] [Port Number] ethernet 将端口配置为以太网端口
console(config-stack)#end 返回配置模式
console#copy running-configuration startup-configuration 保存配置
console#reload Reboot


下面的示例演示如何将 10 千兆端口转换为以太网端口

console>enable
console#config
console(config)#stack
console(config-stack)#stack-port tengigabitethernet 1/0/1 ethernet
console(config-stack)#stack-port tengigabitethernet 1/0/1 ethernet
console(config-stack)#end
console#copy running-configuration startup-configuration
console#reload

4.成功重新启动后,验证端口是否已更改为以太网模式

使用命令“show switch stack-ports

输出示例

console#show switch stack-ports

        Configured Running

         Stack        Stack      Link        Link           Admin

Interface   Mode      Mode      Status       Speed (Gb/s)  Status

---------------- ---------- ---------- ------------ ------------ -----------

Te1/0/1     Ethernet Ethernet  Link Up    10       Enabled

Te1/0/2     Ethernet Ethernet  Link Up    10       Enabled

Article Properties


Affected Product

PowerSwitch N4000 Series

Last Published Date

21 Sep 2021

Version

5

Article Type

How To