吕飞,HPE HDR IB交换机+HDR “Y”形线缆(2*100Gb)链接两块IB网卡,当前的现象是Y形线缆其中一个口灯可以亮,另外一个口的灯不亮。
问题描述
HDR交换机+HDR “Y”形线缆(2*100Gb)链接两块IB网卡,当前的现象是Y形线缆其中一个口灯可以亮,另外一个口的灯不亮。
过程分析
交换机需要开启端口拆分功能,并把对应的端口拆分。
解决方法
一、查看交换机的Split Ready模式是否开启
登录 IB 交换机输入 enable 进入特权模式IB [standalone: master] > enable
IB [standalone: master] #
输入 show system profile 查看交换机配置文件 Split Ready 状态为 no ,表示 Split Ready 模式未开启。IB [standalone: master] # show system profile
Profile : ib
Number of SWIDs : 1
Adaptive Routing : yes
Adaptive Routing Groups: 2048
Split Ready : no
IB Routing : no
二、开启交换机的Split Ready模式,并配置端口拆分
进入全局配置模式输入 configure terminalIB [standalone: master] # configure terminal
IB [standalone: master] (config) #
输入 system profile ib split-ready 启用 Split 模式( 注意:输入完成后会自动重启,如果是现网运行环境需申请停机窗口进行操作。 )IB [standalone: master] (config) # system profile ib split-ready
Warning - confirming will cause system reboot and all configuration will be deleted
交换机重启后会重新对管理口进行初始化,ssh登录IB交换机管理端口
C:\Users\L62456>ssh admin@IB交换机管理IP地址
Mellanox MLNX-OS Switch Management
Password:
Last login: Fri Mar 17 11:34:48 2023 from 10.12.96.152
Mellanox Switch
Configuration wizard
Do you want to use the wizard for initial configuration?
Please answer 'yes' or 'no'.
Do you want to use the wizard for initial configuration? yes
Step 1: Hostname? [switch-7cf670]
Step 2: Use DHCP on mgmt0 interface? [no] no
Step 3: Use zeroconf on mgmt0 interface? [no] no
Step 4: Primary IPv4 address and masklen? [10.12.184.38/22]
Step 5: Default gateway? [10.12.184.1]
Step 6: Primary DNS server?
Step 7: Domain name?
Step 8: Enable IPv6? [yes]
Step 9: Enable IPv6 autoconfig (SLAAC) on mgmt0 interface? [no]
Step 10: Enable DHCPv6 on mgmt0 interface? [yes]
Step 11: Admin password (Must be typed)?
Due to security requirement, passwords must be typed
Step 11: Admin password (Must be typed)?
Step 11: Confirm admin password?
Step 12: Monitor password (Must be typed)?
Step 12: Confirm monitor password?
You have entered the following information:
1. Hostname: switch-7cf670
2. Use DHCP on mgmt0 interface: no
3. Use zeroconf on mgmt0 interface: no
4. Primary IPv4 address and masklen: 10.12.184.38/22
5. Default gateway: 10.12.184.1
6. Primary DNS server:
7. Domain name:
8. Enable IPv6: yes
9. Enable IPv6 autoconfig (SLAAC) on mgmt0 interface: no
10. Enable DHCPv6 on mgmt0 interface: yes
11. Admin password (Must be typed): (CHANGED)
12. Monitor password (Must be typed): (CHANGED)
To change an answer, enter the step number to return to.
Otherwise hit <enter> to save changes and exit.
Choice:
Configuration changes saved.
To return to the wizard from the CLI, enter the "configuration jump-start"
command from configure mode. Launching CLI...
查看 Split 模式变为 yesswitch-7cf670 [standalone: master] # show system profile
Profile : ib
Number of SWIDs : 1
Adaptive Routing : yes
Adaptive Routing Groups: 1792
Split Ready : yes
IB Routing : no
输入 configure terminal 进入全局配置模式switch-7cf670 [standalone: master] # configure terminal
switch-7cf670 [standalone: master] (config) #
进入需要配置拆分的端口switch-7cf670 [standalone: master] (config) # interface ib 1/1
switch-7cf670 [standalone: master] (config interface ib 1/1) #
关闭此端口switch-7cf670 [standalone: master] (config interface ib 1/1) # shutdown
把 1 个端口分为 2 个switch-7cf670 [standalone: master] (config interface ib 1/1) # module-type qsfp-split-2
查看端口状态 IB1/1 已经被拆分为 2 个端口switch-7cf670 [standalone: master] (config interface ib 1/1) # show interfaces ib status
---------------------------------------------------------------------------------------------------------------------------------------------------------------
Interface Description IB Subnet Speed Current line rate Logical port state Physical port state
---------------------------------------------------------------------------------------------------------------------------------------------------------------
IB1/1/1 infiniband-default - - Down Polling
IB1/1/2 infiniband-default - - Down Polling
IB1/2 infiniband-default - - Down Polling
IB1/3 infiniband-default - - Down Polling
IB1/4 infiniband-default - - Down Polling
IB1/5 infiniband-default - - Down Polling
输入 exit 回到特权模式,在特权模式下输入 write memory 保存配置switch-7cf670 [standalone: master] (config interface ib 1/1) # exit
switch-7cf670 [standalone: master] (config) # exit
switch-7cf670 [standalone: master] # write memory
内容来源:知了社区,基于知识共享署名-相同方式共享3.0中国大陆许可协议CRM论坛(CRMbbs.com)——一个让用户更懂CRM的垂直性行业内容平台,CRM论坛致力于互联网、客户管理、销售管理、SCRM私域流量内容输出5年。 如果您有好的内容,欢迎向我们投稿,共建CRM多元化生态体系,创建CRM客户管理一体化生态解决方案。,HPE HDR IB交换机+HDR “Y”形线缆(2*100Gb)链接两块IB网卡,当前的现象是Y形线缆其中一个口灯可以亮,另外一个口的灯不亮。