- 论坛徽章:
- 7
|
本帖最后由 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
附上端口状态转换图:
|
|