Comware

 View Only
last person joined: 2 days ago 

Expand all | Collapse all

HP 1920 divided into two switches

This thread has been viewed 10 times
  • 1.  HP 1920 divided into two switches

    Posted Jun 27, 2024 11:08 AM

    Hello,

    There is an HP 1920 switch with 24 ports, and it needs to be divided into two separate virtual switches. For example, port 1-8 is vlan 1, and port 9-24 is vlan 21. Both Vlans must use the same subnet, for example 10.0.0.1/24. Gateway 10.0.0.1 is plugged into port 1, computer 10.0.0.21 is plugged into port 21. Access of computer 10.0.0.21 to gateway 10.0.0.1 should appear only if both vlan-based virtual switches are connected via port 8 - 9.

    #
    vlan 1
    #
    vlan 21
     description VLAN 0021 test
    #
    interface GigabitEthernet1/0/1 - 7
     port auto-power-down
     stp edged-port enable
    #
    interface GigabitEthernet1/0/8
     port link-type hybrid
     port hybrid vlan 1 21 tagged
     port auto-power-down
     stp edged-port enable
    #
    interface GigabitEthernet1/0/9
     port link-type hybrid
     port hybrid vlan 1 21 tagged
     port auto-power-down
     stp edged-port enable
    #
    interface GigabitEthernet1/0/10 - 24
     port access vlan 21
     port auto-power-down
     stp edged-port enable
    #
    


  • 2.  RE: HP 1920 divided into two switches

    Posted 10 days ago

    Hi

    So, you want to split a switch in 2, and have a "physical" interconnect between them ?

    Strange (1920 is capable of routing) but nevermind :

    the only way to do it is :

    • disable spanning-tree (if you need STP, you're quite dead) or any other loop protection function.
    • don't use hybrid ports for 1/0/8 and 1/0/9 : only access (untagged)
      • 1/0/8 access vlan 1
      • 1/0/9 access vlan 21


    ------------------------------
    Frederic
    (kudos welcome)
    ------------------------------



  • 3.  RE: HP 1920 divided into two switches

    Posted 4 days ago

    Hi frmeunier.

    That's what I tried to do. I managed to do it on HP 1920S. But I can't do it on 1920. It looks like there are some configuration features in the old firmware. Any ideas on what to do?




  • 4.  RE: HP 1920 divided into two switches

    Posted 4 days ago

    please give the config you "tried to do" on the 1920 switch.(as what you gave in first post is not valid)

    Are you using the webgui or CLI to manage the 1920 ?



    ------------------------------
    Frederic
    (kudos welcome)
    ------------------------------