Wired Intelligent Edge (Campus Switching and Routing)

Reply
MVP Guru

alias usage to display running configuration on ArubaOS-CX

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

.....

 

 


Accepted Solutions
Highlighted
MVP Guru

Re: alias usage to display running configuration on ArubaOS-CX

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

View solution in original post


All Replies
Highlighted
Frequent Contributor I

Re: alias usage to display running configuration on ArubaOS-CX

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

 

ACEP, ACSA, ACCX #1239
Highlighted
MVP Guru

Re: alias usage to display running configuration on ArubaOS-CX

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

Highlighted
MVP Guru

Re: alias usage to display running configuration on ArubaOS-CX

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

View solution in original post

Search Airheads
cancel
Showing results for 
Search instead for 
Did you mean: