cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
7986
Views
0
Helpful
1
Replies

Cisco IOS Shell (IOS.sh)

daschneider
Level 1
Level 1

Hi,

Lately I was looking for scripting possibilities on Cisco ISR routers.

I found little information about IOS.sh.

Where can I find more information about:

- how to use it

- what's possible with it

- IOS (and maybe HW) requirements

Many thanks for any hints.

1 Reply 1

Joe Clarke
Cisco Employee
Cisco Employee

IOS.sh is still in its infancy.  It was only recently added to the ISR in 15.1(3)T.  There are many things you may be used to with bash scripting that you cannot yet do in IOS.sh (i.e. redirect command output).  If you want to have more complete scripting, consider using Tcl.  You can either use the Tcl shell (started with the tclsh command) or the Embedded Event Manager Tcl interpreter.  Documentation for tclsh can be found at http://www.cisco.com/en/US/docs/ios/netmgmt/configuration/guide/nm_script_tcl.html where as documentation for EEM Tcl can be found at http://www.cisco.com/en/US/docs/ios/netmgmt/configuration/guide/nm_eem_policy_tcl.html .  Support for tclsh was added to 12.3(2)T, and support for EEM Tcl was added in 12.3(14)T.  So chances are you have this support in your ISR already.

Review Cisco Networking for a $25 gift card