Ethernet Switches Community

Expand all | Collapse all

BCM5389 Switch Interaction

  • 1.  BCM5389 Switch Interaction

    Posted 19 days ago
    Dear Broadcom Switches Community,

    We are using 2 Broadcom switches(BCM5389) in our Project. 

    Below are the Port Mapping of these 2 switches,

    Switch 1:
    =======
    Port 0-6 = User Interface
    Port 7 = Connected to Switch 2
    IMP Port = Connected to Processor

    Switch 2:
    =======
    Port 0-6 = User Interface
    Port 7 = Connected to Switch 1
    IMP Port = Not used.

    Requirement: Switch 2's Ports should be used via Switch 1.

    As we have understood by the use of Port trunking feature we can able to communicate between the switches. So that we have found the below registers on the datasheet,

    Mac Trunking control register (Page 032h, Address 01h) and Trunking Group Register (Page 032h, Address 090h).

    So for enabling the trunking feature on the Port 7, we need to set Bit 3: Enable port 6-7 trunking group on Trunking Group Register. 

    But as they have mentioned it will group 2 ports together for enabling this feature. But in our design, we have connected only one port(Port 7) from Switch 1 to one port(Port 7) of Switch 2. We would like to know that is our design is enough to enable this feature or not. ? 




    ------------------------------
    Thanks in Advance!
    ------------------------------


  • 2.  RE: BCM5389 Switch Interaction

    Posted 13 days ago
    Dear All,

    Shall anyone please reply to this query.? 

    Awaiting for your responses.


  • 3.  RE: BCM5389 Switch Interaction

    Posted 11 days ago
    Hi Mohan,
    For Trunking feature, 5389 supports mac-based trunking allows two ports to be grouped together as a single link connection between two switch devices. And trunk feature register configure is on each single 5389 chip and not for cross two 5389 chips.
    From your descriptions, you are using two 5389 chip and connecting by Port7 of each chip. The traffic learning will be handle by two switch chip itself.
    Can you please explain more for your requirement? - Switch 2's Ports should be used via Switch 1

    Thanks,
    Ryan

    ------------------------------
    Master R&D Applications Engineer
    Broadcom
    ------------------------------



  • 4.  RE: BCM5389 Switch Interaction

    Posted 5 days ago
    Dear Ryan,

    Yes, you are correct. The traffic learning has been handled by two switch chip itself. Thanks for sharing the info.

    Meanwhile, I have another requirement on port trunking feature.

    I have connected 2 ports(Port 0 and Port 1) of a device 1 to 2 ports(Port 0 and Port 1) of device 2. I have successfully enabled port trunking feature on these ports. I would able to communicate between the devices. But I shall need to test this port trunking feature(Like redundancy, single-link connection) in deep. Kindly let me know if there any way to test these.

    By now, below are the tests been carried out,

    1. Without enabling the port trunking feature on the given ports, a loopback has been formed.
    2. After enabling port trunking feature, I could able to communicate between the switches.


  • 5.  RE: BCM5389 Switch Interaction

    Posted 4 days ago
    Dear Ryan,

    I have carried out the below tests for the Port trunk's redundancy feature,

    1. As said previously I have connected Port 0 and Port 1 of Device 1 to Port 0 and Port 1 of device 2.
    2. I have enabled the port trunk feature using the page 0x32, register 0x01 and value as 0x08
    3. I have enabled the pair 1(corresponds to port 0 and port 1) using the page 0x32, register 0x90 and value as 0x01
    4. I have initiated a file transfer via sftp from device 1 to device 2.
    5. As I have observed the packet transfer is occurring on port 1. On the half of transfer, I have removed the port 1's cable.
    6. But the packet transfer has not resumed on the port 0. But as per the redundancy feature, it should resume.

    Kindly let me know if I need to modify my testing and also let me know if there any other registers to be configured.

    Note:
    1. Currently, I have configured the switch on both the devices in Managed Mode.


  • 6.  RE: BCM5389 Switch Interaction

    Posted yesterday
    Hi Mohan,

    To be clear, suggest can you use traffic generator such like IXIA connect one your BCM5389 board to test trunk? Use three ports giga link as following configuration figure for example.

    One port S4 from traffic generator IXIA to inject traffic to BCM5389 board port Port4 and forward to one of trunk ports (Port0 and Port1) for Port0 example.

    The Port0 and Port1 also connect to traffic generator port S0 and S1 respectively.

    And you may observe the IXIA S0 will receive the traffic, then unplug the cable between IXIA port S0 and BCM5389 Port0 and it will be failover to Port1. And IXIA port S1 receive the traffic.

    BCM5389 trunk registers write:
    - Reg(0x32: 0x01)=0x08
    - Reg(0x32: 0x90)=0x01

    IXIA              BCM5389 device1

    S4 ---------> Port4----------

                                             \

                                             /

    S0 <-------- Port0 <--------

    S1 <-------- Port1

     

    Thanks,

    Ryan



    ------------------------------
    Master R&D Applications Engineer
    Broadcom
    ------------------------------



  • 7.  RE: BCM5389 Switch Interaction

    Posted 17 hours ago
    Dear Ryan,

    Thanks for sharing this info.

    Could I use Port-based VLAN(Page 31h) to forward the traffic from Port 4 to Port 1 or Port 0