Wired Intelligent Edge

last person joined: yesterday 

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

alias usage to display running configuration on ArubaOS-CX

This thread has been viewed 7 times
  • 1.  alias usage to display running configuration on ArubaOS-CX

    EMPLOYEE
    Posted May 23, 2018 04:56 AM

    When NAE (Network Analytics Engine) agents are deployed on 8320/8400 switch, these agents configuration are included in the show running configuration which can be a bit cumbersome to read.

    You can skip the NAE part by using this command:

    8320# show running-config | exclude nae

     

    To simplify further on, you may use alias for this command.

    Example of new showrun command without NAE information.

    8320(config)# alias showrun show running-config | exclude nae

     

    8320(config)# showrun

    Current configuration:
    !
    !Version ArubaOS-CX TL.10.01.0001
    hostname 8320

    .....

     

     



  • 2.  RE: alias usage to display running configuration on ArubaOS-CX

    Posted Nov 27, 2019 12:07 PM

    In 10.04 on the 8400/VA this is not applicable.

     

    alias showrun show running-config | exclude nae
    Alias name can not be part of its own definition.

    Instead I used:

    core(config)# alias run show running-config | exclude nae
    core(config)# run

     



  • 3.  RE: alias usage to display running configuration on ArubaOS-CX

    EMPLOYEE
    Posted Nov 27, 2019 12:25 PM

    good catch "show" can not be part of the alias-name.



  • 4.  RE: alias usage to display running configuration on ArubaOS-CX
    Best Answer

    MVP GURU
    Posted Nov 27, 2019 07:03 PM
    Well...the string "show" can be part of the alias name instead, the alias name can't just start with the string "show"...to verify just give the command below a try:

    alias runshow show running-config | exclude nae