<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic RE: XOS: How to create CLI aliases / shortcuts ? in ExtremeSwitching (EXOS/Switch Engine)</title>
    <link>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/xos-how-to-create-cli-aliases-shortcuts/m-p/48672#M12771</link>
    <description>Hi Dave,&lt;BR /&gt;
&lt;BR /&gt;
that is a very very interesting advice not only regarding to aliases. &lt;BR /&gt;
There a lot of possible use cases.&lt;BR /&gt;
&lt;BR /&gt;
(This works well ...)&lt;BR /&gt;
&lt;BR /&gt;
Thanks for emphasing that!&lt;BR /&gt;
&lt;BR /&gt;
Regards,&lt;BR /&gt;
Matthias&lt;BR /&gt;</description>
    <pubDate>Sun, 25 Feb 2018 04:41:00 GMT</pubDate>
    <dc:creator>M_Nees</dc:creator>
    <dc:date>2018-02-25T04:41:00Z</dc:date>
    <item>
      <title>XOS: How to create CLI aliases / shortcuts ?</title>
      <link>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/xos-how-to-create-cli-aliases-shortcuts/m-p/48664#M12763</link>
      <description>Is it possible to create command shortcuts for commands which are often used or cumbersome to type in ? Like other major vendors "alias exec scn show cdp neighbor" ?&lt;BR /&gt;
I guess with recent XOS the scripting feature should make this possible. &lt;BR /&gt;
&lt;BR /&gt;
If someone use this - it is very welcome.&lt;BR /&gt;
&lt;BR /&gt;
Regards&lt;BR /&gt;</description>
      <pubDate>Tue, 15 Dec 2015 23:33:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/xos-how-to-create-cli-aliases-shortcuts/m-p/48664#M12763</guid>
      <dc:creator>M_Nees</dc:creator>
      <dc:date>2015-12-15T23:33:00Z</dc:date>
    </item>
    <item>
      <title>RE: XOS: How to create CLI aliases / shortcuts ?</title>
      <link>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/xos-how-to-create-cli-aliases-shortcuts/m-p/48665#M12764</link>
      <description>You can do it in python or cli scripting , but you would still need to type "load script cdp" to execute the command if the script file was cdp.py or cdp.xsf&lt;BR /&gt;
&lt;BR /&gt;
Is that what your looking for?</description>
      <pubDate>Tue, 15 Dec 2015 23:42:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/xos-how-to-create-cli-aliases-shortcuts/m-p/48665#M12764</guid>
      <dc:creator>StephenW</dc:creator>
      <dc:date>2015-12-15T23:42:00Z</dc:date>
    </item>
    <item>
      <title>RE: XOS: How to create CLI aliases / shortcuts ?</title>
      <link>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/xos-how-to-create-cli-aliases-shortcuts/m-p/48666#M12765</link>
      <description>OK. Scripting will help me with long commands. Is it possible to commit parameter to the script ?&lt;BR /&gt;
 &lt;BR /&gt;
And what about when i will create a shortcut for fewer command typing ? Like for example "sln" for show lldp neighbors ?&lt;BR /&gt;
&lt;BR /&gt;
Regards&lt;BR /&gt;</description>
      <pubDate>Wed, 16 Dec 2015 00:00:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/xos-how-to-create-cli-aliases-shortcuts/m-p/48666#M12765</guid>
      <dc:creator>M_Nees</dc:creator>
      <dc:date>2015-12-16T00:00:00Z</dc:date>
    </item>
    <item>
      <title>RE: XOS: How to create CLI aliases / shortcuts ?</title>
      <link>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/xos-how-to-create-cli-aliases-shortcuts/m-p/48667#M12766</link>
      <description>Hi  Matthias,&lt;BR /&gt;
&lt;BR /&gt;
You can pass CLI arguments to scripts. You can find an example of this with a Python script here:&lt;BR /&gt;
&lt;A href="https://github.com/extremenetworks/ExtremeScripting/blob/master/EXOS/Python/watch/watch.py" target="_blank" rel="nofollow noreferrer noopener"&gt;https://github.com/extremenetworks/ExtremeScripting/blob/master/EXOS/Python/watch/watch.py&lt;/A&gt;&lt;BR /&gt;
&lt;BR /&gt;
-Brandon</description>
      <pubDate>Wed, 16 Dec 2015 00:00:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/xos-how-to-create-cli-aliases-shortcuts/m-p/48667#M12766</guid>
      <dc:creator>BrandonC</dc:creator>
      <dc:date>2015-12-16T00:00:00Z</dc:date>
    </item>
    <item>
      <title>RE: XOS: How to create CLI aliases / shortcuts ?</title>
      <link>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/xos-how-to-create-cli-aliases-shortcuts/m-p/48668#M12767</link>
      <description>Something like that would definitely be a "nice to have"; I could alias "save" to "wr" for my cisco-centric cow-orkers &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 16 Dec 2015 16:52:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/xos-how-to-create-cli-aliases-shortcuts/m-p/48668#M12767</guid>
      <dc:creator>Frank</dc:creator>
      <dc:date>2015-12-16T16:52:00Z</dc:date>
    </item>
    <item>
      <title>RE: XOS: How to create CLI aliases / shortcuts ?</title>
      <link>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/xos-how-to-create-cli-aliases-shortcuts/m-p/48669#M12768</link>
      <description>Review after 2 years!&lt;BR /&gt;
&lt;BR /&gt;
Since EXOS V22.3 we have the needed command:&lt;BR /&gt;
&lt;BR /&gt;
&lt;A href="https://documentation.extremenetworks.com/exos_22.4/exos_21_1/exos_commands_all/r_alias.shtml" target="_blank" rel="nofollow noreferrer noopener"&gt;https://documentation.extremenetworks.com/exos_22.4/exos_21_1/exos_commands_all/r_alias.shtml&lt;/A&gt;&lt;BR /&gt;
&lt;BR /&gt;
Regards&lt;BR /&gt;</description>
      <pubDate>Thu, 22 Feb 2018 16:11:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/xos-how-to-create-cli-aliases-shortcuts/m-p/48669#M12768</guid>
      <dc:creator>M_Nees</dc:creator>
      <dc:date>2018-02-22T16:11:00Z</dc:date>
    </item>
    <item>
      <title>RE: XOS: How to create CLI aliases / shortcuts ?</title>
      <link>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/xos-how-to-create-cli-aliases-shortcuts/m-p/48670#M12769</link>
      <description>Completely forgot about this topic. Glad you found it and brought it back to life &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 22 Feb 2018 16:11:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/xos-how-to-create-cli-aliases-shortcuts/m-p/48670#M12769</guid>
      <dc:creator>Drew_C</dc:creator>
      <dc:date>2018-02-22T16:11:00Z</dc:date>
    </item>
    <item>
      <title>RE: XOS: How to create CLI aliases / shortcuts ?</title>
      <link>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/xos-how-to-create-cli-aliases-shortcuts/m-p/48671#M12770</link>
      <description>EXOS 22.3 and later can store commands like 'alias' in a exshrc.xsf script on a switch. This script is run after a successful login, Similar concept to the linux .bashrc file after a linux login. &lt;BR /&gt;
&lt;BR /&gt;
This is a way to make aliases available to any login by storing the alias commands in this file.&lt;BR /&gt;
&lt;BR /&gt;
exshrc.xsf is stored in /usr/local/cfg&lt;BR /&gt;
&lt;BR /&gt;
Because this is a .xsf file and follows the EXOS .xsf scripting rules, the exshrc.xsf file can be any script you would like to run after a login is successful.</description>
      <pubDate>Sun, 25 Feb 2018 04:41:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/xos-how-to-create-cli-aliases-shortcuts/m-p/48671#M12770</guid>
      <dc:creator>Dave_Hammers</dc:creator>
      <dc:date>2018-02-25T04:41:00Z</dc:date>
    </item>
    <item>
      <title>RE: XOS: How to create CLI aliases / shortcuts ?</title>
      <link>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/xos-how-to-create-cli-aliases-shortcuts/m-p/48672#M12771</link>
      <description>Hi Dave,&lt;BR /&gt;
&lt;BR /&gt;
that is a very very interesting advice not only regarding to aliases. &lt;BR /&gt;
There a lot of possible use cases.&lt;BR /&gt;
&lt;BR /&gt;
(This works well ...)&lt;BR /&gt;
&lt;BR /&gt;
Thanks for emphasing that!&lt;BR /&gt;
&lt;BR /&gt;
Regards,&lt;BR /&gt;
Matthias&lt;BR /&gt;</description>
      <pubDate>Sun, 25 Feb 2018 04:41:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/xos-how-to-create-cli-aliases-shortcuts/m-p/48672#M12771</guid>
      <dc:creator>M_Nees</dc:creator>
      <dc:date>2018-02-25T04:41:00Z</dc:date>
    </item>
    <item>
      <title>RE: XOS: How to create CLI aliases / shortcuts ?</title>
      <link>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/xos-how-to-create-cli-aliases-shortcuts/m-p/48673#M12772</link>
      <description>I was asked to come up with some other use cases for exshrc.xsf besides aliases. &lt;BR /&gt;
&lt;BR /&gt;
I could see this being use for setting session-specific variables.&lt;BR /&gt;
&lt;A href="https://documentation.extremenetworks.com/exos_commands/exos_21_1/exos_commands_all/r_disable-clipaging.shtml" target="_blank" rel="nofollow noreferrer noopener"&gt;disable clipaging&lt;/A&gt; and &lt;A href="https://documentation.extremenetworks.com/exos_commands_22.4/exos_21_1/exos_commands_all/r_configure-cli.shtml" target="_blank" rel="nofollow noreferrer noopener"&gt;configure cli&lt;/A&gt; are good examples.&lt;BR /&gt;
&lt;BR /&gt;
What other ideas does the community have?</description>
      <pubDate>Thu, 29 Mar 2018 22:19:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/xos-how-to-create-cli-aliases-shortcuts/m-p/48673#M12772</guid>
      <dc:creator>Drew_C</dc:creator>
      <dc:date>2018-03-29T22:19:00Z</dc:date>
    </item>
  </channel>
</rss>

