Comware

 View Only
  • 1.  Edge core to HP Comware port config

    Posted Mar 24, 2025 05:32 AM

    Hi!

    I am replacing Edge core with HP Comware and I have the below config in Edge core

    switchport allowed vlan add 100 untagged
    switchport native vlan 100
    switchport allowed vlan remove 1
    switchport allowed vlan add 200 tagged

    I have come up with the below config HP comware


     port link-mode bridge
     port link-type hybrid
     undo port hybrid vlan 1
     port hybrid vlan 200 tagged
     port hybrid vlan 100 untagged
     port hybrid pvid vlan 100 

    I found on HP forum that that native vlan on HP comware is pvid.

    I have tested the config and it works for untagged vlan and it still have to test it for tagged vlan 200. 

    Does the replacement config looks ok?



  • 2.  RE: Edge core to HP Comware port config

    Posted Mar 31, 2025 05:22 AM

    Anyone can give me some tip for port config?




  • 3.  RE: Edge core to HP Comware port config

    Posted Mar 31, 2025 05:39 AM

    To me it looks OK. I will try to compare it Line by Line:

    To Allow VLAN 100 untagged
    Edge-Core : switchport allowed vlan add 100 untagged    
    HP Comware: port hybrid vlan 100 untagged    

    To set Native VLAN to 100:
    Edge-Core: switchport native vlan 100
    HP Comware: port hybrid pvid vlan 100   

    To remove VLAN 1:
    Edge-Core: switchport allowed vlan remove 1
    HP Comware: undo port hybrid vlan 1

    To allow VLAN 200 tagged:
    Edge-core: switchport allowed vlan add 200 tagged
    HP Comware: port hybrid vlan 200 tagged


    So your config looks OK.



    ------------------------------
    Shpat | ACEP | ACMP | ACCP | ACDP
    Just an Aruba enthusiast and contributor by cases
    If you find my comment helpful, KUDOS are appreciated.
    ------------------------------



  • 4.  RE: Edge core to HP Comware port config

    Posted Mar 31, 2025 07:08 AM

    Thanks @shpat for your comments.

    I found on couple of forum that its not wise to use Hybrid port commands. Not sure how much correct it is as I need tagged and untagged VLAN on the same port.




  • 5.  RE: Edge core to HP Comware port config

    Posted Mar 31, 2025 04:46 PM

    I did use Hybrid port on a few occasions and it works so far without any issue. 



    ------------------------------
    Shpat | ACEP | ACMP | ACCP | ACDP
    Just an Aruba enthusiast and contributor by cases
    If you find my comment helpful, KUDOS are appreciated.
    ------------------------------



  • 6.  RE: Edge core to HP Comware port config

    Posted Apr 14, 2025 10:01 AM
    Edited by capricorn80 Apr 14, 2025 10:01 AM

    Thanks @shpat.

    I see this log message.

    PVID mismatch discovered on Ten-GigabitEthernet1/0/16 (PVID 106), with ARG switch for 10.202.6.0/24 GigabitEthernet1/0/1 (PVID 1).

    Do I need to do something more to fix this.




  • 7.  RE: Edge core to HP Comware port config

    Posted Apr 14, 2025 11:03 AM

    In this case, your PVID in TenGig1/0/16 is 106 <-> and PVID in ARG is 1, and i suppose both ports are part of a trunk configuration (or Hybrid) but mismatches are for untagged/native VLAN. 

    In this case either set Gigabit 1/0/1 to PVID 106:
    interface GigabitEthernet1/0/1
     port link-type hybrid
     undo port hybrid vlan 1
     port hybrid vlan 106 untagged
     port hybrid pvid vlan 106

    Or, if you want to keep VLAN1 , then change the Ten-Gigabit1/0/16 to 106:
    interface Ten-GigabitEthernet1/0/16
     undo port hybrid vlan 106
     port hybrid vlan 1 untagged
     port hybrid pvid vlan 1
     



    ------------------------------
    Shpat | ACEP | ACMP | ACCP | ACDP
    Just an Aruba enthusiast and contributor by cases
    If you find my comment helpful, KUDOS are appreciated.
    ------------------------------



  • 8.  RE: Edge core to HP Comware port config

    Posted May 12, 2025 05:38 AM

    Thanks @shpat. I will look into this and get back.