Chinaunix

标题: Brocade DCX-4S实施经验分享 [打印本页]

作者: milujite    时间: 2011-02-20 11:52
标题: Brocade DCX-4S实施经验分享
本帖最后由 milujite 于 2011-02-20 12:11 编辑

Brocade DCX-4S端口初始化后,通过switchshow命令查看端口,看到以下的提示:

Port does not support L-port


翻了Brocade论坛的一些文章,是某些HBA卡的问题。仔细思考了下Brocade的端口初始化过程,应该是在初始化的时候卡在L-port的判定上了,翻了下brocade的command reference关于portcfgXXX 相关命令,看到有portcfggport命令,根据说明,这个命令可以让交换机跳过某端口的L-port判定,直接从G-port开始。在DCX-4S上执行了这个portcfggport slot/port 1,并且启用禁用端口后,出现问题的端口判定正常顺利转为F-port。

portcfggport slot/port 1     #slot/port对应的是模块板的插槽和端口位置,后面的参数1让交换机跳过该口的L-port判定,从G-port开始。
portdisable slot/port
portenable slot/port

以下是portcfggport的help文档
Designates a port as a G_Port; removes G_Port designation.
Synopsis portcfggport [slot/]port,mode
Description Use this command to designate a port as a G_Port. After successful execution of this command,
the switch attempts to initialize the specified port as an F_Port only, and does not attempt loop
initialization (FL_Port) on the port. A port designated as a G_Port can become an E_Port. This
configuration can be cleared but not set on VE/VEX_Ports. Changes made by this command are
persistent across switch reboots or power cycles.
Note The execution of this command is subject to Virtual Fabric or Admin Domain restrictions that may
be in place. Refer to chapter 1, "Using Fabric OS commands" and Appendix A, "Command
Availability" for details.
Operands This command has the following operands:
slot For bladed systems only, specify the slot number of the port to be configured,
followed by a slash (/).
port Specify the port to be configured, relative to its slot for bladed systems. Use
switchShow to display a list of valid ports.
mode Specify a value of 1 to designate the port as a G_Port or specify a value of 0
to remove the G_Port designation from the port. A value of 0 is the default
port state. Mode must be preceded by a comma. This operand is required.
Examples To configure port as a locked G_Port:
switch:admin> portcfggport 1/3, 1

附上端口状态转换图:

作者: 无牙    时间: 2011-02-20 12:56
本帖最后由 无牙 于 2011-02-20 13:00 编辑

坛子里面好久没有类似的帖子了不错,提倡经验分享和原创,加精鼓励一下!
作者: deadwind    时间: 2011-02-20 15:10
谢谢lz分享经验

lz可留意下,以后有AIX主机接brocade,如果port也是L-port,在AIX上敲cfgmgr一般都会正常变成F-port

再不行,可以把HBA卡的某个属性,从fc-al变更成pt2pt,立竿见影

其他非AIX平台我尚未遇到L-port现象
作者: 100心    时间: 2011-02-20 15:56
本帖最后由 100心 于 2011-02-20 16:03 编辑

留着备用。
有空再去 了解L和F 是啥意思呢、
作者: michael1983    时间: 2011-02-21 18:45
不错的分享,谢谢楼主
作者: milujite    时间: 2011-02-22 23:49
谢谢lz分享经验

lz可留意下,以后有AIX主机接brocade,如果port也是L-port,在AIX上敲cfgmgr一般都会正常 ...
deadwind 发表于 2011-02-20 15:10



    恩,你说的是HBA卡的模式问题。我说的这个是HBA模式正常,但是交换机在转换端口类型时卡在L-port模式判断那了,而改为G-port跳过L-port判断后才恢复正常。
作者: milujite    时间: 2011-02-22 23:51
留着备用。
有空再去 了解L和F 是啥意思呢、
100心 发表于 2011-02-20 15:56



    学了点BROCADE的皮毛,只知道Lport是用来连AL设备的,有点类似IP网络中说的仲裁环。F-port是用来交换式FC的,有点类似以太网中的交换机星型拓扑。不知道理解对不。
作者: 强人    时间: 2011-09-14 22:55
学了点BROCADE的皮毛,只知道Lport是用来连AL设备的,有点类似IP网络中说的仲裁环。F-port是用来 ...
milujite 发表于 2011-02-22 23:51



    F-port一般连接终端设备




欢迎光临 Chinaunix (http://bbs.chinaunix.net/) Powered by Discuz! X3.2