• 全部
  • 经验案例
  • 典型配置
  • 技术公告
  • FAQ
  • 漏洞说明
  • 全部
  • 全部
  • 大数据引擎
  • 知了引擎
产品线
搜索
取消
案例类型
发布者
是否解决
是否官方
时间
搜索引擎
匹配模式
高级搜索

HPE HDR IB交换机+HDR “Y”形线缆(2*100Gb)链接两块IB网卡,当前的现象是Y形线缆其中一个口灯可以亮,另外一个口的灯不亮。

2023-04-27 发表
  • 1关注
  • 2收藏 1330浏览
吕飞 四段
粉丝:5人 关注:1人

问题描述

HDR交换机+HDR Y”形线缆(2*100Gb)链接两块IB网卡,当前的现象是Y形线缆其中一个口灯可以亮,另外一个口的灯不亮。

过程分析

交换机需要开启端口拆分功能,并把对应的端口拆分。

解决方法

一、查看交换机的Split Ready模式是否开启

  1. 登录IB交换机输入enable进入特权模式

IB [standalone: master] > enable

IB [standalone: master] #    

  1. 输入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模式,并配置端口拆分

  1. 进入全局配置模式输入configure terminal

IB [standalone: master] # configure terminal

IB [standalone: master] (config) #

  1. 输入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

 

  1. 交换机重启后会重新对管理口进行初始化,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...

  1. 查看Split 模式变为yes

switch-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

  1. 输入configure terminal进入全局配置模式

switch-7cf670 [standalone: master] # configure terminal

switch-7cf670 [standalone: master] (config) #      

  1. 进入需要配置拆分的端口

switch-7cf670 [standalone: master] (config) # interface ib 1/1

switch-7cf670 [standalone: master] (config interface ib 1/1) #

  1. 关闭此端口

switch-7cf670 [standalone: master] (config interface ib 1/1) # shutdown

  1. 1个端口分为2

switch-7cf670 [standalone: master] (config interface ib 1/1) # module-type qsfp-split-2 

  1. 查看端口状态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

  1. 输入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

该案例对您是否有帮助:

您的评价:1

若您有关于案例的建议,请反馈:

0 个评论

该案例暂时没有网友评论

编辑评论

举报

×

侵犯我的权益 >
对根叔知了社区有害的内容 >
辱骂、歧视、挑衅等(不友善)

侵犯我的权益

×

泄露了我的隐私 >
侵犯了我企业的权益 >
抄袭了我的内容 >
诽谤我 >
辱骂、歧视、挑衅等(不友善)
骚扰我

泄露了我的隐私

×

您好,当您发现根叔知了上有泄漏您隐私的内容时,您可以向根叔知了进行举报。 请您把以下内容通过邮件发送到pub.zhiliao@h3c.com 邮箱,我们会尽快处理。
  • 1. 您认为哪些内容泄露了您的隐私?(请在邮件中列出您举报的内容、链接地址,并给出简短的说明)
  • 2. 您是谁?(身份证明材料,可以是身份证或护照等证件)

侵犯了我企业的权益

×

您好,当您发现根叔知了上有关于您企业的造谣与诽谤、商业侵权等内容时,您可以向根叔知了进行举报。 请您把以下内容通过邮件发送到 pub.zhiliao@h3c.com 邮箱,我们会在审核后尽快给您答复。
  • 1. 您举报的内容是什么?(请在邮件中列出您举报的内容和链接地址)
  • 2. 您是谁?(身份证明材料,可以是身份证或护照等证件)
  • 3. 是哪家企业?(营业执照,单位登记证明等证件)
  • 4. 您与该企业的关系是?(您是企业法人或被授权人,需提供企业委托授权书)
我们认为知名企业应该坦然接受公众讨论,对于答案中不准确的部分,我们欢迎您以正式或非正式身份在根叔知了上进行澄清。

抄袭了我的内容

×

原文链接或出处

诽谤我

×

您好,当您发现根叔知了上有诽谤您的内容时,您可以向根叔知了进行举报。 请您把以下内容通过邮件发送到pub.zhiliao@h3c.com 邮箱,我们会尽快处理。
  • 1. 您举报的内容以及侵犯了您什么权益?(请在邮件中列出您举报的内容、链接地址,并给出简短的说明)
  • 2. 您是谁?(身份证明材料,可以是身份证或护照等证件)
我们认为知名企业应该坦然接受公众讨论,对于答案中不准确的部分,我们欢迎您以正式或非正式身份在根叔知了上进行澄清。

对根叔知了社区有害的内容

×

垃圾广告信息
色情、暴力、血腥等违反法律法规的内容
政治敏感
不规范转载 >
辱骂、歧视、挑衅等(不友善)
骚扰我
诱导投票

不规范转载

×

举报说明

提出建议

    +

亲~登录后才可以操作哦!

确定

亲~检测到您登陆的账号未在http://hclhub.h3c.com进行注册

注册后可访问此模块

跳转hclhub

你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作