Page MenuHomeVyOS Platform

Add command alias configuration node
Closed, InvalidPublicFEATURE REQUEST


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


alias exec tt copy running-config tftp://

Will create a new custom command "tt" at global configuration level which performs the "copy running-config tftp://" 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://"

results in:

$ /etc/bash.bashrc
alias tt="copy file running://config/config.boot to tftp://"


Difficulty level
Normal (likely a few hours)
Why the issue appeared?
Will be filled on close

Event Timeline

c-po created this task.Aug 28 2017, 10:33 AM
c-po changed Difficulty level from Unknown (require assessment) to Normal (likely a few hours).Aug 28 2017, 11:10 AM

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

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

Good objection. This should be avoided!

syncer triaged this task as Wishlist priority.Dec 21 2017, 9:56 PM
dmbaturin moved this task from Need Triage to Wishlist on the VyOS 1.2 Crux board.May 24 2018, 5:46 PM
c-po added a comment.Nov 9 2018, 4:35 PM

Actually I only wanted to use it got configuration backup.

That's what set system config-management commit-archive location tftp:// is for.

c-po closed this task as Invalid.Nov 9 2018, 4:35 PM
syncer edited projects, added Invalid; removed VyOS 1.3 Equuleus.Nov 9 2018, 4:38 PM