07-26-2018 11:15 PM - edited 03-08-2019 03:45 PM
I need to remove alias off of my switch and don't know the command. Can anyone help me out?
Solved! Go to Solution.
07-26-2018 11:51 PM
Hi,
You can do "no alias COMMAND". For example, if your alias is defined as:
alias address-family addr ad
You can remove it by typing:
no alias address-family
HTH,
Meheretab
07-27-2018 10:31 AM
Hi Kbolo:
Maybe this document will be useful :
Add an alias:
command: alias exec scn show cdp neighbor
Delete an alias:
command: no alias exec scn
http://www.ciscozine.com/how-to-create-shortcut-command/
Kind Regards
07-26-2018 11:51 PM
Hi,
You can do "no alias COMMAND". For example, if your alias is defined as:
alias address-family addr ad
You can remove it by typing:
no alias address-family
HTH,
Meheretab
07-27-2018 10:31 AM
Hi Kbolo:
Maybe this document will be useful :
Add an alias:
command: alias exec scn show cdp neighbor
Delete an alias:
command: no alias exec scn
http://www.ciscozine.com/how-to-create-shortcut-command/
Kind Regards
04-06-2019 03:48 PM
Hi,
I had a difficult situation, some one had configured 2 alias's as shown below -
privilege exec level 0 more
alias configure no on
alias configure alias alisa
configuration mode exclusive
the box i was using was a CSR1000v i could not configure a 'no' as it was entering as on, when using 'on' this didn't work either, the on? or no? gave no options
as the 'alias' was also changed to 'alisa' this also negated correction.
I was unable to run the clear alias all command (i don't think the platform supports this command)
I ended up copying the running config, editing any unwanted statements and pushing it via SNMP as a replace startup config.
I am interested to hear if there was a better way or any commands i missed.
Thanks
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide