Junos OS

last person joined: 7 days ago 

Ask questions and share experiences about Junos OS.
  • 1.  Is there an "alias" option in JUNOS?

    Posted 02-24-2017 02:54

    Hi All,

     

    Having used "alias" for years in Cisco, I was wondering whether we have the same in JUNOS?

    The command being:

    set alias <alias-name> <long-command>
    Example:

    set alias bgp "show bgp summary"

     

    Please help.

     

    Regards

    Sounak



  • 2.  RE: Is there an "alias" option in JUNOS?
    Best Answer

     
    Posted 02-24-2017 03:04
    Hi Sunak,

    Right now we do not have this feature but you can use the op scripts to achieve the same result;
    http://www.juniper.net/techpubs/en_US/junos10.1/topics/usage-guidelines/automation-enabling-an-op-script-and-defining-a-script-alias.html

    HTH


  • 3.  RE: Is there an "alias" option in JUNOS?

    Posted 02-24-2017 03:27

    Hi

     

    Thanks for responding. I'll try this out.

     

    Was wondering why such an useful command [very useful for customers and customer support too] is not available on JUNOS.

     

    Regards

    Sounak



  • 4.  RE: Is there an "alias" option in JUNOS?

     
    Posted 02-24-2017 03:04
    Hi Sunak,

    Right now we do not have this feature but you can use the op scripts to achieve the same result;
    http://www.juniper.net/techpubs/en_US/junos10.1/topics/usage-guidelines/automation-enabling-an-op-script-and-defining-a-script-alias.html

    HTH