Wired Intelligent Edge

 View Only
last person joined: 21 hours ago 

Bring performance and reliability to your network with the HPE Aruba Networking Core, Aggregation, and Access layer switches. Discuss the latest features and functionality of your switching devices, and find ways to improve security across your network to bring together a mobile-first solution
Expand all | Collapse all

CLI differences between HP/HPE products

This thread has been viewed 9 times
  • 1.  CLI differences between HP/HPE products

    Posted Sep 24, 2018 02:12 AM

    Hello all,

     

    I'm a bit confused with the CLI on two HPE switches I worked with yesterday. Commands were different than the usual HP product I used.

    For example first difference is that you can do show commands. Instead of display current config I could so show run and it worked. I used Huawei, HP and HPE products and it was always display this or display current config.

    Than, forming a trunk/tagging vlans is different. On previous switches port is configured, similar to Cisco, as port link-type trunk and access. But on these two switches you need to get into vlan and tag/untag, similar to Brocade. I found this approach very cumbersome, beacuse I cannot easily check which vlans are on athe interface. Only way to check is to check each vlan and check if its taged on the interface or not. Imagine that with 3000 vlans! 

    Any input/clarification will be very helpful.

    Thanks.

     


    #AristaArubaDifference


  • 2.  RE: CLI differences between HP/HPE products

    Posted Sep 24, 2018 03:20 AM

    What switch models?  There are Comware, Procurve and Aruba.



  • 3.  RE: CLI differences between HP/HPE products

    Posted Sep 24, 2018 04:21 AM

    Hi Dennis, 

     

    Thansk for the reply. I wanted to include the switch models in my first post, but was not able to check. I will post the exact models.

    Still, I've worked with HP, HPE and Huawei until now, and they all had dis cur conf instead of sh run, and show commands were completely unspupported. Also, on all those models you would for a trunk with the link port-type trunk command, but on these two switches I had to tag the port under the vlan sub menu and that's what suprised me the most. 

    Beucause that's fundamentaly different than what I saw before...



  • 4.  RE: CLI differences between HP/HPE products

    MVP GURU
    Posted Sep 24, 2018 06:24 AM

    AFAIK - just to say - the most evident difference you can use to understand which type of HP/HPE/Aruba switch you're working with (CLI Commands aliases apart) is display (Comware 5/7) versus show (ProVision/ArubaOS-Switch)...with regards to some VLAN related commands some old ProCurve switches use a different approach in taggin/untagging an interface to a (or to more) VLAN(s).



  • 5.  RE: CLI differences between HP/HPE products

    EMPLOYEE
    Posted Sep 24, 2018 08:06 AM

    Hi,

    Here is a CLI complarison guide of the Aruba/Procurve VS Comware VS Cisco. 

    I hope this guide is of help to you. 

    Link :- http://h20628.www2.hp.com/km-ext/kmcsdirect/emr_na-c04793912-4.pdf

     



  • 6.  RE: CLI differences between HP/HPE products

    MVP GURU
    Posted Sep 24, 2018 08:23 AM

    ...better the latest 3.3 Edition of the same guide: ArubaOS-Switch, Comware and Cisco IOS CLI Reference Guide.



  • 7.  RE: CLI differences between HP/HPE products

    Posted Sep 24, 2018 04:15 PM

    Thank you.

    You are righjt, it looks this is Arista:

    HP-2530-48G

    Just a question that bothers me with tagging untagging vlan system.

    Imagine this command on port 24 for example: switchport trunk allowed vlan 10,20,30,40,50,60,70,80,90,100,110,120,130...

    How would you discover which vlans are on this trunk with the Arista method?

    You could go vlan by vlan and check if its tagged on port 24. Obviously it's not a great method if you have hundreds or thousands vlans on one inteface (I work for a large ISP and we have huge trunk links for example). 

     

     



  • 8.  RE: CLI differences between HP/HPE products

    MVP GURU
    Posted Sep 24, 2018 06:21 PM

    Mate...HP 2530 is not Arista...it was HP ProCurve 2530...now called/rebranded Aruba 2530 (no matter the old faceplate, what's important is the software version it is currently running on...say YA./YB.mm.nnnn? ...as example YA.16.06.0006 to say one...the quite latest one...just to name one of many actually available).

    Said so...to check which VLANs a physical or logical interface (say your physical interface 24) is untagged and also tagged (so VLANs it permits) into you could issue the CLI Command show vlan ports 24 (and its more detailed variant show vlan ports 24 detail), pretty simple.



  • 9.  RE: CLI differences between HP/HPE products

    Posted Sep 25, 2018 01:24 AM

    Well, that's why I said I'm confused, right? :) 

    I'm confusing Arista with Aruba sometimes, obviously.

    Yes, I guess that was the command I was looking for!!! Thanks a lot ;)



  • 10.  RE: CLI differences between HP/HPE products

    Posted Mar 18, 2024 01:41 PM

    Any chance this older version is still available, as the link is dead and the new version removes Comware. Need some references for a migration and 'display' to 'show' commands on CX or Cisco or even ArubaOS so I can translate myself.




  • 11.  RE: CLI differences between HP/HPE products

    Posted Mar 19, 2024 06:54 AM

    Did you actually try to search on the web ?

    https://drive.google.com/file/d/1Tzi3A3-kWfL6TPIr_-J4-IyrWx4GYpts/view




  • 12.  RE: CLI differences between HP/HPE products

    MVP GURU
    Posted Mar 19, 2024 08:57 AM
    Hi, specifically related to comparisons with the Comware grammar have a look here:


    updated today.