Comware

 View Only
  • 1.  HPE 5700 Add additional switch

    Posted Jan 30, 2025 05:27 PM
    Edited by jerryroy1 Feb 05, 2025 09:05 PM

    I want to confirm the commands I have applied to an additional switch I will add to my ring are correct, and I WILL NOT interrupt any traffic.

    Existing Ring:

    #
     irf mac-address persistent timer
     irf auto-update enable
     undo irf link-delay
     irf member 1 priority 28
     irf member 2 priority 30
     irf member 3 priority 26
     irf member 4 priority 24
     irf member 5 priority 22
     irf member 6 priority 20
     irf member 7 priority 18
     irf member 8 priority 16
     irf mode normal
    #
     lldp global enable
    #
     system-working-mode StandardBridge
     password-recovery enable
    #
    irf-port 1/1
     port group interface FortyGigE1/0/41
    #
    irf-port 1/2
     port group interface FortyGigE1/0/42
    #
    irf-port 2/1
     port group interface FortyGigE2/0/41
    #
    irf-port 2/2
     port group interface FortyGigE2/0/42
    #
    irf-port 3/1
     port group interface FortyGigE3/0/42
    #
    irf-port 3/2
     port group interface FortyGigE3/0/41
    #
    irf-port 4/1
     port group interface FortyGigE4/0/42
    #
    irf-port 4/2
     port group interface FortyGigE4/0/41
    #
    irf-port 5/1
     port group interface FortyGigE5/0/41
    #
    irf-port 5/2
     port group interface FortyGigE5/0/42
    #
    irf-port 6/1
     port group interface FortyGigE6/0/41
    #
    irf-port 6/2
     port group interface FortyGigE6/0/42
    #
    irf-port 7/1
     port group interface FortyGigE7/0/41
    #
    irf-port 7/2
     port group interface FortyGigE7/0/42
    #
    irf-port 8/1
     port group interface FortyGigE8/0/41
    #
    irf-port 8/2
     port group interface FortyGigE8/0/42
    #
     stp global enable

    New Ring Member connecting to switch 8 and switch 1:
    #
     irf mac-address persistent timer
     irf auto-update enable
     undo irf link-delay
     irf member 9 priority 14
     irf mode normal
    #

    irf-port 9/1
     port group interface FortyGigE9/0/41
    #
    irf-port 9/2
     port group interface FortyGigE9/0/42
    #
    interface FortyGigE9/0/41
    #
    interface FortyGigE9/0/42
    #
    Interfaces have already been undo shut and irf-port-configuration active applied

    Can I now unplug link between 1 and 8 and plug 8 into 9 and 9 into 1 without issue?

    Firmware version on 9 is same as all others in ring.

    Have I missed any commands?



  • 2.  RE: HPE 5700 Add additional switch

    Posted Feb 05, 2025 07:40 PM

    Hi Anyone have an Idea? :)




  • 3.  RE: HPE 5700 Add additional switch

    Posted Feb 10, 2025 10:57 AM

    Hi @jerryroy1!

    To play on the safe side, could you share physical topology of logical IRF ports between Slot 1 and 8, e.g. which physical ports of Slot 1 and 8 are currently connected?



    ------------------------------
    Ivan Bondar
    ------------------------------



  • 4.  RE: HPE 5700 Add additional switch

    Posted Feb 10, 2025 11:05 AM

    <DBNET-10G - JG898A>display irf configuration
     MemberID NewID    IRF-Port1                     IRF-Port2
     1        1        FortyGigE1/0/41               FortyGigE1/0/42
     2        2        FortyGigE2/0/41               FortyGigE2/0/42
     3        3        FortyGigE3/0/42               FortyGigE3/0/41
     4        4        FortyGigE4/0/42               FortyGigE4/0/41
     5        5        FortyGigE5/0/41               FortyGigE5/0/42
     6        6        FortyGigE6/0/41               FortyGigE6/0/42
     7        7        FortyGigE7/0/41               FortyGigE7/0/42
     8        8        FortyGigE8/0/41               FortyGigE8/0/42
    <DBNET-10G - JG898A>

    <DBNET-10G - JG898A>display irf topology
                                  Topology Info
     -------------------------------------------------------------------------
                   IRF-Port1                IRF-Port2
     MemberID    Link       neighbor      Link       neighbor    Belong To
     2           UP         3             UP         1           00e0-fc0f-8c03
     3           UP         4             UP         2           00e0-fc0f-8c03
     4           UP         5             UP         3           00e0-fc0f-8c03
     5           UP         6             UP         4           00e0-fc0f-8c03
     6           UP         7             UP         5           00e0-fc0f-8c03
     7           UP         8             UP         6           00e0-fc0f-8c03
     8           UP         1             UP         7           00e0-fc0f-8c03
     1           UP         2             UP         8           00e0-fc0f-8c03
    <DBNET-10G - JG898A>displ
    <DBNET-10G - JG898A>display irf link
    Member 1
     IRF Port  Interface                             Status
     1         FortyGigE1/0/41                       UP
     2         FortyGigE1/0/42                       UP
    Member 2
     IRF Port  Interface                             Status
     1         FortyGigE2/0/41                       UP
     2         FortyGigE2/0/42                       UP
    Member 3
     IRF Port  Interface                             Status
     1         FortyGigE3/0/42                       UP
     2         FortyGigE3/0/41                       UP
    Member 4
     IRF Port  Interface                             Status
     1         FortyGigE4/0/42                       UP
     2         FortyGigE4/0/41                       UP
    Member 5
     IRF Port  Interface                             Status
     1         FortyGigE5/0/41                       UP
     2         FortyGigE5/0/42                       UP
    Member 6
     IRF Port  Interface                             Status
     1         FortyGigE6/0/41                       UP
     2         FortyGigE6/0/42                       UP
    Member 7
     IRF Port  Interface                             Status
     1         FortyGigE7/0/41                       UP
     2         FortyGigE7/0/42                       UP
    Member 8
     IRF Port  Interface                             Status
     1         FortyGigE8/0/41                       UP
     2         FortyGigE8/0/42                       UP
    <DBNET-10G - JG898A>







  • 5.  RE: HPE 5700 Add additional switch

    Posted Feb 10, 2025 11:59 AM
    Edited by jerryroy1 Feb 10, 2025 12:00 PM

    FortyGigE7/0/42 --> FortyGigE8/0/41
    FortyGigE8/0/42 --> FortyGigE1/0/41
    FortyGigE1/0/42 --> FortyGigE2/0/41




  • 6.  RE: HPE 5700 Add additional switch

    Posted Feb 10, 2025 03:47 PM

    Does this make sense?

    system-view

        irf member 1 renumber 9
        yes
        save force
        quit
        reboot
        yes 
        -STOP----- (after reboot)

        system-view

        interface range  FortyGigE9/0/41 to FortyGigE9/0/42
            shutdown
            quit

        irf-port 9/1
            port group interface FortyGigE9/0/41
            quit

        irf-port 9/2
            port group interface FortyGigE9/0/42
            quit

        interface range FortyGigE9/0/41 to FortyGigE9/0/42
            undo shutdown
            quit

        save force

        irf-port-configuration active
        save force
        (The device reboots now automatically)

    When should I connect cables?
    At this time do I disconnect cables between slot 8 and slot 1 and connect cables between slot 8 and slot 9 and slot 9 and slot 1?

    Do I need to do anything on Switches 8 and 1?




  • 7.  RE: HPE 5700 Add additional switch

    Posted Feb 11, 2025 03:37 AM

    Hi Jerry.

    The simple rule for IRF is, that you always connect logical port 1 on one switch to logical port 2 on another switch. If you have full ring configuration, then you can break the ring in any point you want and it will work. 

    In your case you want to add a new switch between switch 1 and 8.  So you need to connect port 2 (FG 1/0/42) on switch 1 to port 1 (FG 9/0/41) on switch 9 and port 2 (FG 9/0/42) on switch 9 to port 1 (FG 8/0/41) on switch 8. 

    IRF Tech note 

    IRF Configuration Guide

    In your case you can break the ring and add a new switch after first reboot.

    Take a look to page 14 of the IRF Configuration Guide for sequence of tasks involved in adding a stack member.

    This is from Tech note:

    2.3.1 Joining of a Member Device
    During the Stack maintenance, topology collection is performed. When a new member joins the Stack, the Stacking system may take one of the following approaches:
    The newly added device was not in any other Stack before it joined this Stack. For example, you configure Stack functions on the device, power it off, connect it to the Stack using Stack cables, and power it on. In this situation, the new member will be elected as a slave.

    The newly added device was in another Stack before it joined this Stack. For example, you configure Stack functions on the device, and connect it to another Stack. After that, if you want to add the device to this Stack, it is a Stack merge, that is, a process of connecting two existing Stack s together, which is not recommended. During the mergence, Stack election is held, and members of the loser side reboot and join the winner side as slaves.
    If a member joins a Stack successfully, it is equal to adding an SMB and interfaces on this board for the Stacking system.
    The probable reasons for a member to join a Stack can be:
    • The member device is manually added into the Stack.
    • The member device is recovered from a system failure or link failure, and it will join the Stack again automatically



    ------------------------------
    Gorazd Kikelj
    MVP Guru 2024
    ------------------------------