Wired Intelligent Edge

 View Only
  • 1.  Aruba switch : show interface custom command

    Posted Feb 17, 2022 02:42 AM
    Hi, 

    I want to customize my show interface view and i want to include tagged and untagged Vlans to the view, but i can't find the attribute to insert them, i can see only Vlan attribute.

    in regular "show interface status" i can see the tagged and untagged column.

    Is there an option to add them to the custom view?

    many thanks.
    Shmulik

    ------------------------------
    Shmuel Mazor
    ------------------------------


  • 2.  RE: Aruba switch : show interface custom command

    Posted Feb 17, 2022 03:58 AM
    Edited by Emil_G Feb 17, 2022 04:24 AM
    Hello, 

    You should provide the exact model and firmware version of your switch.
    Since the command show interface status is only available on AOS-S switches, I am assuming that we are talking about this OS.

    Please try the following command

    HP-Switch-5406Rzl2# show vlan ports all detail

    .....
    After reading your question once again I think I may have misunderstood it. You wantto be able to see all tagged and untagged VLANs using "show interface custom". It looks there is only the field "vlan" you can add and after doing this the output displays only a single VLAN ID if the port is member of only 1 VLAN or "multi" if it is member of multiple VLANS.


    HP-Switch-5406Rzl2(eth-A2)# show int cu A1-A4 port vlan

    Status and Counters - Custom Port Status


    Port VLAN
    ------ -----
    A1 1
    A2 2
    A3 multi
    A4 multi

    I dont see any option to change this for show interface custom. You can use show interface status or show vlan ports all detail.

    ------------------------------
    Emil Gogushev
    ------------------------------



  • 3.  RE: Aruba switch : show interface custom command

    Posted Feb 17, 2022 06:07 AM
    Hi,

    Firmware is WC.16.11.0003 and switch model is 2930F-24P

    I'll explain from the start what I'm trying to achieve and maybe we will find a different approach for my issue.
    I started to check the "show interface custom" when I discovered that I can increase the chars length of the "name" column.  I was so happy when I found that each column can be increased to desired chars length with the "name:[size]" so I started to play with this new view, but I was disappointed when I discovered that the Tagged and Untagged columns disappeared in the custom view. 

    That's it.

    ------------------------------
    Shmuel Mazor
    ------------------------------



  • 4.  RE: Aruba switch : show interface custom command

    Posted Feb 18, 2022 02:49 AM
    Hi @Shmulik_Miata
    Thanks for the clarification!
    As I stated in the second part of my previous answer, I have also tested the show tech custom command.​ You can add the field "vlan" but it displays only a single column. This column displays either a single VLAN ID if the port is member of a single VLAN or "multi" if the port is member of multiple VLANs. In neither case there is information which VLANs are tagged or untagged. I also tested by setting different values of the width of the field. This doesn't help, the width of the field is extended however the information remains unchanged. 
    Checking the CLI context help and the documentation I cannot find any way to change this. So I think the show tech custom is not designed for displaying detailed information about all VLAN memberships of all or certain ports.

    The most precise information is provided with the command "show vlan ports <port-nr| all> detail". It will list all untagged and tagged VLAN memberships.
    The command "show interface status" can provide information about the untagged VLAN ID of a port and the tagged VLAN but only if there is a single tagged VLAN. If the port has multiple tagged VLANs only "multi" is displayed and not a list of all.

    ------------------------------
    Emil Gogushev
    ------------------------------