Add command alias configuration node
Open, Needs TriagePublicFEATURE REQUEST

Description

On Cisco Routers/Switches there is a so called command alias configuration node available.

e.g.

alias exec tt copy running-config tftp://172.16.20.200/CONFIGS/BR1.wueI.xxxxx.net-confg

Will create a new custom command "tt" at global configuration level which performs the "copy running-config tftp://172.16.20.200/CONFIGS/BR1.wueI.xxxxx.net-confg" command. Those alias commands could be stored in /etc/bash.bashrc where every system user is able to make use of them.

set system alias command tt "copy file running://config/config.boot to tftp://172.16.20.200/CONFIGS/BR1.wueI.xxxxx.net-confg"

results in:

$ /etc/bash.bashrc
alias tt="copy file running://config/config.boot to tftp://172.16.20.200/CONFIGS/BR1.wueI.xxxxx.net-confg"

Details

Difficulty level
Normal (likely a few hours)
Version
-
Why the issue appeared?
Will be filled on close
This request is:
Service Request
c-po created this task.Mon, Aug 28, 10:33 AM
c-po changed Difficulty level from Unknown (require assessment) to Normal (likely a few hours).Mon, Aug 28, 11:10 AM

note: careful when overruling vtysh commands (tt == save?)

c-po added a comment.Thu, Aug 31, 7:55 AM

Good objection. This should be avoided!