Comware

 View Only
last person joined: yesterday 

Expand all | Collapse all

Determine which IRF ports are physically connected together

This thread has been viewed 13 times
  • 1.  Determine which IRF ports are physically connected together

    Posted May 25, 2022 10:23 PM
    Hi All,
    Is there a command that will show which physical IRF interfaces are connected together.
    I have a several 2 member 5130 IRF switches onsite, and would like to know if they follow the same physical connection. For example, on one of our IRF switches i know that 1/0/25 connects to 2/0/26 and that 1/0/26 connects to 2/0/25., and that they are in a daisy chain configuration for IRF port link redundancy.
    Displaying IRF commands doesnt seem to tell me which interface connects to which interface. See config below:
    Regards,
    James

    <HPE>dis irf
    MemberID Role Priority CPU-Mac Description
    *1 Master 32 00e0-fc0f-8c02 ---
    +2 Standby 1 00e0-fc0f-8c03 ---
    *indicates the device is the master.
    +indicates the device through which the user logs in.
    The bridge MAC of the IRF is: 40b9-3cee-0792
    Auto upgrade : yes
    Mac persistent : 6 min
    Domain ID : 0


    <HPE>dis irf topology
    Topology Info
    IRF-Port1 IRF-Port2
    MemberID Link neighbor Link neighbor Belong To
    2 DIS --- UP 1 00e0-fc0f-8c02
    1 UP 2 DIS --- 00e0-fc0f-8c02



    <HPE>dis irf link
    Member 1
    IRF Port Interface Status
    1 Ten-GigabitEthernet1/0/25 UP
    Ten-GigabitEthernet1/0/26 UP
    2 disable --
    Member 2
    IRF Port Interface Status
    1 disable --
    2 Ten-GigabitEthernet2/0/25 UP
    Ten-GigabitEthernet2/0/26 UP



    <HPE>dis irf configuration
    MemberID NewID IRF-Port1 IRF-Port2
    1 1 Ten-GigabitEthernet1/0/25 disable
    Ten-GigabitEthernet1/0/26
    2 2 disable Ten-GigabitEthernet2/0/25
    Ten-GigabitEthernet2/0/26


  • 2.  RE: Determine which IRF ports are physically connected together
    Best Answer

    EMPLOYEE
    Posted May 26, 2022 02:23 AM
    Many recent Comware-based switches support LLDP over IRF-bundled physical ports. I think 5130 also supports this, as the "LAN switching configuration guide" for s/w version 32xx (5130-EI) mentions the following:

    You can configure LLDP on an IRF physical interface to monitor the connection and link status of the IRF physical link. An LLDP-enabled IRF physical interface supports only the nearest bridge agent.


    If LLDP is enabled globally ('lldp global enable' command) then by default it should enable on your Ten1[12]/0/2[56] (sorry for regex) ports. Then with simple 'display lldp neighbor' command you should be able to see the adjacent ports.

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



  • 3.  RE: Determine which IRF ports are physically connected together

    Posted May 26, 2022 05:29 PM
    Hi Ivan,
    Thank you for that. I was looking under IRF commands, and forgot to look for LLDP commands to show the ports. See output below:

    <IRF-Switch>display lldp neighbor-information
    LLDP neighbor-information of port 25[Ten-GigabitEthernet1/0/25]:
    LLDP agent nearest-bridge:
    LLDP neighbor index : 1
    ChassisID/subtype : 40b9-3cee-0792/MAC address
    PortID/subtype : Ten-GigabitEthernet2/0/26/Interface name
    Capabilities : Bridge, Router, Customer Bridge

    LLDP neighbor-information of port 26[Ten-GigabitEthernet1/0/26]:
    LLDP agent nearest-bridge:
    LLDP neighbor index : 1
    ChassisID/subtype : 40b9-3cee-0792/MAC address
    PortID/subtype : Ten-GigabitEthernet2/0/25/Interface name
    Capabilities : Bridge, Router, Customer Bridge

    LLDP neighbor-information of port 90[Ten-GigabitEthernet2/0/25]:
    LLDP agent nearest-bridge:
    LLDP neighbor index : 1
    ChassisID/subtype : 40b9-3cee-0792/MAC address
    PortID/subtype : Ten-GigabitEthernet1/0/26/Interface name
    Capabilities : Bridge, Router, Customer Bridge

    LLDP neighbor-information of port 91[Ten-GigabitEthernet2/0/26]:
    LLDP agent nearest-bridge:
    LLDP neighbor index : 1
    ChassisID/subtype : 40b9-3cee-0792/MAC address
    PortID/subtype : Ten-GigabitEthernet1/0/25/Interface name
    Capabilities : Bridge, Router, Customer Bridge

    Regards,
    James

    ------------------------------
    James Shepherd
    ------------------------------



  • 4.  RE: Determine which IRF ports are physically connected together

    EMPLOYEE
    Posted May 27, 2022 02:03 AM
    Hi James,

    Cool, so now you have the information you were looking for, the ports are wired as per scheme below:

    XGE1/0/25 <--> XGE2/0/26
    XGE1/0/26 <--> XGE2/0/25

    P.S. I personally prefer the 'display lldp neighbor list' command, may be I should have mentioned that option too. It gives more compact and readable output.

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