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

如何为基于IP的SAN配置最佳交换机设置

Summary: 我们的目标是提供各种解决方案,通过提供数据库解决方案、自定义开发、动态数据中心、灵活计算,从而简化IT。

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


Symptoms

适用对象:


交换机-PowerConnect 62xx/8024/8024F 
存储平台-Dell EqualLogic PS系列、Dell PowerVault MD32xxi/MD36xxi

作者:


Naveen Iyengar

问题:


如何为IP-SAN配置建议的交换机设置?

解决方案:


本文提供了一些指导意见,指导如何在Dell PowerConnect交换机上为包含Dell EqualLogic或Dell PowerVault MD32xxi/MD36xxi iSCSI存储阵列在内的IP-SAN环境配置建议的设置。
 
注意:戴尔强烈建议使用专用交换机处理iSCSI流量。

PowerConnect 62xx/8024/8024F交换机配置

为了执行建议的配置步骤,必须将交换机置于“特权”模式。使用以下命令以进入“特权”模式:

console> enable
console#
 
注意:在提交启用的命令后,系统可能会提示用户输入密码。

在可以执行任何配置步骤之前,必须将交换机置于配置模式。要进入配置模式,必须输入以下命令:

console# configure
console(config)#

本文中的说明提供了用于配置PowerConnect交换机的命令行界面(CLI)命令。如果喜欢该Web界面,请参阅戴尔支持网站,以获得最新的文档。

接口命名约定

Dell PowerConnect 62xx/8024/8024F系列交换机上的接口的命名约定如下所示:
  • 装置#/接口ID—每个接口都由装置#后跟/符号以及接口ID进行标识(请参阅下面的内容)。例如,2/g10标识堆栈的第二个装置中的千兆位端口10。
  • 装置#—仅在堆叠解决方案中才使用装置编号,在该解决方案中,多个交换机堆叠在一起,形成虚拟设备。在此情况下,装置编号标识堆栈中的物理设备标识符。
  • 接口ID—由后跟接口编号的接口类型构成。当前存在接口类型的预定义列表(请参阅下面的内容)。如果将定义其他接口类型,则必须在戴尔注册它们。例如,2/g10标识第二个装置上的千兆位端口10。
  • 接口类型—62xx/8024/8024F系列交换机中定义以下接口类型:
    • g—千兆位以太网端口(例如,1/g2是千兆位以太网端口2)。
    • xg—10千兆位以太网端口(例如,1/xg2是10千兆位以太网端口2)。

启用PortFast选项来配置生成树协议(STP)边缘端口

建议您在连接端节点(iSCSI启动器和存储阵列网络接口)的交换机端口上禁用生成树协议(STP)。如果您仍然决定在那些交换机端口上启用STP,则应当在端口上开启STP FastPort功能,以便允许端口立即过渡到转发状态。在链接正常时,PortFast会使端口立即过渡到STP转发模式。该端口仍参与STP。但是,如果端口将成为环路的一部分,则该端口最终会过渡到STP阻止模式。 
 
注意:PowerConnect交换机默认情况下采用RSTP(快速生成树协议)。RSTP是STP的进化版,可以提供更快速的生成树聚合,比STP更胜一筹

要启用快速生成树协议(RSTP):

console> enable
console# configure

console(config)# spanning-tree mode rstp

要启用PortFast,必须使用spanning-tree PortFast命令。以下步骤是使用此命令以启用PortFast的示例:

以下步骤是使用此命令以在单个端口(堆栈中的PC8024交换机#1的端口10)上启用PortFast的示例:

console> enable
console# configure
console(config)# interface ethernet 1/xg10
console(config-if-1/xg10)# spanning-tree portfast
console(config-if-1/xg10)# end
console# copy running-config startup-config
console# exit

以下步骤是说明如何在PowerConnect 62xx/8024/8024F交换机堆栈中的所有端口上启用PortFast的示例:

console> enable
console# configure
console(config)# interface range ethernet all
console(config-if)# spanning-tree portfast
console(config-if)# end
console# copy running-config startup-config
console# exit

配置流量控制

默认情况下,PowerConnect 62xx系列交换机上的流量控制已关闭。要在交换机中的所有端口上启用流量控制,请使用flowcontrol命令。
 
注意:PowerConnect 8024/8024F交换机上的流量控制在默认情况下已启用

要在PowerConnect 6248的所有端口上启用流量控制,请输入以下命令:

console> enable
console# configure
console(config)# flowcontrol
console(config)# exit
console# copy running-config startup-config
console# exit
 
注意:在流量控制已开启时,Dell PowerVault MD32xxi/MD36xxi和Dell EqualLogic存储阵列会针对交换机进行自动配置。

配置风暴控制

当大量涌出的数据包产生可降低网络性能的过多网络流量时,就会发生流量“风暴”。许多交换机有流量风暴控制功能,可防止端口被物理接口上的广播、多播或单播流量风暴中断。当接口上的流量达到总负载的一定百分比(默认情况下,通常是80%)时,这些功能通常通过丢弃网络数据包来工作。 

由于iSCSI流量是单播流量,一般可以利用整个链路,因此我们建议您在处理iSCSI流量的交换机上禁用单播风暴控制,以防止数据包丢失。但是,鼓励使用广播和多播风暴控制。

以下步骤是使用命令在单个端口(堆栈中的PC6248交换机#3的端口10)上禁用单播和启用多播/广播风暴控制的示例:

console> enable
console# configure
console(config)# interface ethernet 3/g10
console(config-if-3/g10)# no storm-control unicast
console(config-if-3/g10)# storm-control multicast
console(config-if-3/g10)# storm-control broadcast
console(config-if-3/g10)# end
console# copy running-config startup-config
console# exit

以下步骤是说明如何在PowerConnect 62xx/8024/8024F交换机的所有端口上配置风暴控制的示例:

console> enable
console# configure
console(config)# interface range ethernet all
console(config-if)# no storm-control unicast
console(config-if)# storm-control multicast
console(config-if)# storm-control broadcast
console(config-if)# end
console# copy running-config startup-config
console# exit

配置巨型帧

戴尔建议您在处理iSCSI流量的交换机端口上启用巨型帧。默认情况下启用巨型帧。要在Powerconnect 62xx/8024/8024F交换机上启用巨型帧,请使用参数为9216的MTU接口配置命令。

以下步骤是使用命令在一个特定端口(堆栈中的PC8024交换机#1的端口10)上启用巨型帧的示例:

console> enable
console# configure
console(config)# interface ethernet 1/xg1
console(config-if-1/xg1)# mtu 9216
console(config-if-1/xg1)# end
console# copy running-config startup-config
console# exit

以下步骤是说明如何在PowerConnect 62xx/8024/8024F交换机的所有端口上配置巨型帧的示例:

console> enable
console# configure
console(config)# interface range ethernet all
console(config-if)# mtu 9216 
console(config-if)# end
console# copy running-config startup-config
console# exit
 
注意:在整个iSCSI SAN,必须从NIC、交换机和存储阵列端口启用巨型帧,否则,行为可能不一致。
 
注意:如果在整个ISCSI SAN结构中已正确启用巨型帧,则Dell PowerVault MD32xxi/MD36xxi和Dell EqualLogic存储阵列会自动配置以处理巨型帧。因此,在这些存储阵列上不需要配置巨型帧。

配置链路聚合组(LAG)

当您有两个或更多以太网交换机来处理iSCSI流量时,我们建议创建链路聚合组(LAG),通过具有交换机间链路(ISL)来提供冗余,实现高性能和更出色的可扩展性。

在理想情况下,每个交换机的LAG中的连接数量或以太网端口数量应等于已连接到交换机的所有iSCSI存储阵列上的活动以太网接口数量。例如,如果您具有已连接到两个阵列的两个交换机,并且每个交换机均有两个活动阵列网络连接,则LAG在理想情况下应该是至少四个以太网端口的集合。
 
注意:如果LAG中将使用大量可用端口或可用端口供不应求,我们强烈建议使用堆叠总线。

以下步骤是说明如何配置由四个端口(两个PowerConnect 8024交换机之间链接的端口21-24)组成的LAG的示例。这需要在LAG上启用巨型帧。

交换机1:

console> enable
console# configure
console(config)# interface range ethernet 1/xg21-1/xg24
console(config-if)# channel-group 1 mode on
console(config-if)# mtu 9216 
console(config-if)# exit
console(config)# interface port-channel 1
console(config-if-ch1)# mtu 9216
console(config-if-ch1)# end
console# copy running-config startup-config
console# exit

交换机 2:

console> enable
console# configure
console(config)# interface range ethernet 1/xg21-1/xg24
console(config-if)# channel-group 1 mode on
console(config-if)# mtu 9216 
console(config-if)# exit
console(config)# interface port-channel 1
console(config-if-ch1)# mtu 9216
console(config-if-ch1)# end
console# copy running-config startup-config
console# exit

参考资料:


Article Properties


Last Published Date

20 Nov 2020

Version

2

Article Type

Solution