Wired Intelligent Edge

 View Only
last person joined: 2 days ago 

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

Show interface descriptions on ArubaOS-CX in CLI

Jump to Best Answer
This thread has been viewed 30 times
  • 1.  Show interface descriptions on ArubaOS-CX in CLI

    Posted Dec 12, 2019 08:18 AM

    Hello!

     

    On ArubaOS-Switch, there is the command "show name" that will get you a list of all of the ports connected like a switch including their descriptions:

     

    SW1903# show name
    
     Port Names
    
      Port  Type       Name
      ----- ---------- ------------------------------------------------------------
      1     100/1000T  SW1901 Management
      2     100/1000T  SW1902 Management
      3     100/1000T  ST1901 Controller A eth0a
      4     100/1000T  ST1901 Controller B eth0a
      5     100/1000T  xxxxxxxxxxxxxxx
      6     100/1000T  xxxxxxxxxxxxxxx
      7     100/1000T
      8     100/1000T
      9     100/1000T
      10    100/1000T
      11    100/1000T
      12    100/1000T
      13    100/1000T
      14    100/1000T
      15    100/1000T
      16    100/1000T
      17    100/1000T
      18    100/1000T
      19    100/1000T
      20    100/1000T
      21    100/1000T
      22    100/1000T
      23    100/1000T
      24    100/1000T
      25    100/1000T
      26    100/1000T
      27    100/1000T
      28    100/1000T
      29    100/1000T
      30    100/1000T
      31    100/1000T
      32    100/1000T
      33    100/1000T
      34    100/1000T
      35    100/1000T
      36    100/1000T
      37    100/1000T  FW1901 IPMI
      38    100/1000T  FW1902 IPMI
      39    100/1000T  xxxxxxxxxxxxxxxx
      40    100/1000T  HV1901 iLO
      41    100/1000T  HV1902 iLO
      42    100/1000T  HV1903 iLO
      43    100/1000T  HV1904 iLO
      44    100/1000T  Laptop
      45    100/1000T
      46    100/1000T
      47    100/1000T
      48    100/1000T
      A1    SFP+DA1    SW1901 port 1/1/1
      A2    SFP+DA1    SW1902 port 1/1/1
      A3
      A4
    
    
    SW1903#

    However, I cannot find anything similar to this very useful feature on ArubaOS-CX.

     

    The best I've been able to do is this:

     

    SW1902(config)# alias shn show interface | begin 2 "Interface 1/1/" | exclude "Admin state" | exclude "State information"
    SW1902(config)# shn
    Interface 1/1/1 is up
     Description: SW1903 port 50
    Interface 1/1/2 is up
     Description: ST1901 Controller A tg1b
    Interface 1/1/3 is up
     Description: ST1901 Controller B tg1b
    Interface 1/1/4 is up
     Description: ST1901 Controller A tg3b
    Interface 1/1/5 is up
     Description: ST1901 Controller B tg3b
    Interface 1/1/6 is up
     Description: FW1901 ixl3
    Interface 1/1/7 is up
     Description: FW1902 ixl3
    Interface 1/1/8 is up
     Description: xxxxxxxx 10G-2 (Lower)
    Interface 1/1/9 is down (Administratively down)
    Interface 1/1/10 is up
     Description: xxxxxxxxxxxxxxxxxxxx
    Interface 1/1/11 is up
     Description: Keepalive/L3 to SW1902 port 11
    Interface 1/1/12 is up
     Description: Keepalive/L3 to SW1902 port 12
    Interface 1/1/13 is up
     Description: HV1901 vmnic5 (vSwitch0)
    Interface 1/1/14 is up
     Description: HV1901 vmnic9 (iSCSI2)
    Interface 1/1/15 is up
     Description: HV1901 vmnic11 (xxxx-DSwitch)
    Interface 1/1/16 is up
     Description: HV1902 vmnic5 (vSwitch0)
    Interface 1/1/17 is up
     Description: HV1902 vmnic9 (iSCSI2)
    Interface 1/1/18 is up
     Description: HV1902 vmnic11 (xxxx-DSwitch)
    Interface 1/1/19 is up
     Description: HV1903 vmnic5 (vSwitch0)
    Interface 1/1/20 is up
     Description: HV1903 vmnic9 (iSCSI2)
    Interface 1/1/21 is up
     Description: HV1903 vmnic11 (xxxx-DSwitch)
    Interface 1/1/22 is up
     Description: HV1904 vmnic5 (vSwitch0)
    Interface 1/1/23 is up
     Description: HV1904 vmnic9 (iSCSI2)
    Interface 1/1/24 is up
     Description: HV1904 vmnic11 (xxxx-DSwitch)
    Interface 1/1/25 is down (Administratively down)
    Interface 1/1/26 is down (Administratively down)
    Interface 1/1/27 is down (Administratively down)
    Interface 1/1/28 is down (Administratively down)
    Interface 1/1/29 is down (Administratively down)
    Interface 1/1/30 is down (Administratively down)
    Interface 1/1/31 is down (Administratively down)
    Interface 1/1/32 is down (Administratively down)
    Interface 1/1/33 is down (Administratively down)
    Interface 1/1/34 is down (Administratively down)
    Interface 1/1/35 is down (Administratively down)
    Interface 1/1/36 is down (Administratively down)
    Interface 1/1/37 is down (Administratively down)
    Interface 1/1/38 is down (Administratively down)
    Interface 1/1/39 is down (Administratively down)
    Interface 1/1/40 is down (Administratively down)
    Interface 1/1/41 is down (Administratively down)
    Interface 1/1/42 is down (Administratively down)
    Interface 1/1/43 is down (Administratively down)
    Interface 1/1/44 is down (Administratively down)
    Interface 1/1/45 is down (Administratively down)
    Interface 1/1/46 is down (Administratively down)
    Interface 1/1/47 is down (Administratively down)
    Interface 1/1/48 is down (Administratively down)
    Interface 1/1/49 is up
     Description: SW1902 port 49
    Interface 1/1/50 is up
     Description: SW1902 port 50
    Interface 1/1/51 is down (Administratively down)
    Interface 1/1/52 is down (Administratively down)
    Interface 1/1/53 is down (Administratively down)
    Interface 1/1/54 is down (Administratively down)
    Interface 1/1/55 is down (Administratively down)
    Interface 1/1/56 is down (Administratively down)
    SW1902(config)#

    It would be better if ArubaOS-CX contained a proper "show name" or "show interface description" command rather than having to hack together something like this (which still isn't as compact as I'd like...)



  • 2.  RE: Show interface descriptions on ArubaOS-CX in CLI

    EMPLOYEE
    Posted Dec 12, 2019 04:52 PM

    Thanks. The request has been forwarded to product management.



  • 3.  RE: Show interface descriptions on ArubaOS-CX in CLI

    Posted Jun 22, 2020 05:20 PM

    Has this been implemented? This is pretty fundamental and a real lapse in conversion from your existing OS and competitor OSs.



  • 4.  RE: Show interface descriptions on ArubaOS-CX in CLI

    Posted Jun 24, 2020 06:07 AM

    +1

     

    also interested in this



  • 5.  RE: Show interface descriptions on ArubaOS-CX in CLI

    MVP GURU
    Posted Dec 15, 2019 08:27 AM

    +1 about missing command...

     



  • 6.  RE: Show interface descriptions on ArubaOS-CX in CLI

    MVP GURU
    Posted Dec 15, 2019 11:02 AM

    +1

    yeah...and please development don't forget: add/convert new/existing commands with/to tabular formats for their outputs <-- tabulated data are easier to read...but sadly this is not going to happen because somebody will reply: "Mate...CLI is dead, that's it, start using API and learn Python to gather and present data with the structure you like more".



  • 7.  RE: Show interface descriptions on ArubaOS-CX in CLI

    Posted Jul 23, 2020 05:39 AM

    +1



  • 8.  RE: Show interface descriptions on ArubaOS-CX in CLI
    Best Answer

    Posted Jul 23, 2020 07:59 AM

    Sorry for wasting your time if I misinterpreted your issue >>>>

     

    AOS-CX (8320) 10.05.0001

     

    HPE-AOSCX8320-10-05-0001# show int br
    --------------------------------------------------------------------------------------------------------------
    Port Native Mode Type Enabled Status Reason Speed Description
    VLAN (Mb/s)
    --------------------------------------------------------------------------------------------------------------
    1/1/1 1 trunk SFP+SR no down Administratively down -- NYC7-MDF-DVD...
    1/1/2 1 trunk SFP+SR no down Administratively down -- NYC8-IDF-CAN...
    1/1/3 1 trunk SFP+SR no down Administratively down -- NYC9-IDF-8TH...



  • 9.  RE: Show interface descriptions on ArubaOS-CX in CLI

    Posted Jul 23, 2020 12:05 PM

    Yes, it seems to have been added in the most recent release. Thank you.



  • 10.  RE: Show interface descriptions on ArubaOS-CX in CLI

    Posted Jul 24, 2020 11:10 AM

    Thanks for the reply but that's not the right command I was looking for. I would like just the interface names in a single command like 'show name' on legacy ArubaOS and 'show int description' on Cisco. This is a very fundamental command for basic troubleshooting. I sounded like this was in the pipeline but no response from Aruba yet.



  • 11.  RE: Show interface descriptions on ArubaOS-CX in CLI

    Posted Jul 28, 2020 02:08 PM

    Have you tried using:

    show interface physical

     

    nU_0-1595959638686.png

    Its the best option I have found.



  • 12.  RE: Show interface descriptions on ArubaOS-CX in CLI

    MVP GURU
    Posted Jul 29, 2020 11:09 AM

    Nice to known too... but a show name will be the better solution !



  • 13.  RE: Show interface descriptions on ArubaOS-CX in CLI

    Posted Aug 08, 2022 11:14 AM
    Hi,

    Sorry to dig out an old post, but since I've just only now put my hand on a CX 6000, I may have a sort of equivalent result for ArubaOS CX :

    CX6000(config)# int 1/1/1
    CX6000(config-if)# description Management
    CX6000(config-if)# exit
    CX6000(config)# sh int brief

    Then the name will appear to the far right of the list, under description tab.
    I know it's not the exact same "name only" of ArubaOS, but I hope this will help.

    Cheers


  • 14.  RE: Show interface descriptions on ArubaOS-CX in CLI

    Posted Aug 11, 2022 10:09 PM

    I'm here becaus of the same missing function "show name".

    Its was so helpful on the old FW!

    Pleas implement "show description" or something simelar




  • 15.  RE: Show interface descriptions on ArubaOS-CX in CLI

    Posted Aug 17, 2022 11:33 AM
    %10000 agreed. "sh name" was my favorite CLI command , and I am very disappointed with CX switches that They don't have a simple "show description" to list all the ports with their descriptions with port numbers! I have to do "sh int brief and having hard time to read the ports and the descriptions plus other info that i dont need.