Why Cisco users need to know Tcl
2013-10-10 22:16
169 查看
Being a systems administrator today isn’t easy. However, the open source community continues to makes it easier. Take, for example, Tcl. Tcl is an open source scripting interface included in the Cisco IOS router operating system and is available on many
other vendor’s networking equipment. As a product of the open source community, Tcl offers significantly more control and automation but is not currently part of some of the common certification programs, such as the official Cisco certified training program.
A lot of system administrators we talk to are familiar with Tcl but haven't learned enough about it to use it regularly. So why bother to do that? Three reasons: it offer better automation and increased security than other scripting options (or not using
a script at all). It also makes it easier to work with remote command line applications.
Better Automation
Systems administrators need to be able to automate much of what they do, especially when working with large networks. Configuring or re-configuring dozens, or hundreds, of routers can be tedious or nearly impossible without some method for automation. For example,
if a change in network configuration requires setting a new gateway for dozens of routers, logging in to each one to make the change could tie up a sysadmin for hours. Tcl allows more advanced automation.
Increased Security
By making Tcl available on the Cisco IOS device itself, it is possible to automate tasks as well as build elaborate, network enabled services. However, the feature rich nature of Tcl does present some security concerns that should be addressed. Cisco provides
good
resources for how best to address these concerns, including Tcl script signing; disallowing the Tcl scripts if they are not needed, not allowing remote unsigned Tcl scripts and only allowing Tcl script access to privileged levels.
Remote Command Line Applications
Scripting remote command line applications is difficult. Most scripting languages cannot deal with this problem effectively but using the Expect extension to Tcl makes these interactions easy to “drive” remote command line applications, or automate existing
or legacy tools that were never built to be automated.
These are just three advantages of learning Tcl – but there are more. Gaining an understanding of Tcl makes system administrators significantly more efficient and valuable to their organizations.
Starter resources for learning more about Tcl:
Community home page: http://www.tcl.tk/
Links to documentation and tutorial: http://www.tcl.tk/doc/ Tcl’ers wiki: http://wiki.tcl.tk/ (over 20,000 pages of collaborative info)
Expect extension page: http://expect.sourceforge.net/
转自http://www.networkworld.com/community/blog/why-cisco-users-need-know-tcl
By
Mike Sheldon on Tue, 05/25/10 - 3:06pm.
other vendor’s networking equipment. As a product of the open source community, Tcl offers significantly more control and automation but is not currently part of some of the common certification programs, such as the official Cisco certified training program.
A lot of system administrators we talk to are familiar with Tcl but haven't learned enough about it to use it regularly. So why bother to do that? Three reasons: it offer better automation and increased security than other scripting options (or not using
a script at all). It also makes it easier to work with remote command line applications.
Better Automation
Systems administrators need to be able to automate much of what they do, especially when working with large networks. Configuring or re-configuring dozens, or hundreds, of routers can be tedious or nearly impossible without some method for automation. For example,
if a change in network configuration requires setting a new gateway for dozens of routers, logging in to each one to make the change could tie up a sysadmin for hours. Tcl allows more advanced automation.
Increased Security
By making Tcl available on the Cisco IOS device itself, it is possible to automate tasks as well as build elaborate, network enabled services. However, the feature rich nature of Tcl does present some security concerns that should be addressed. Cisco provides
good
resources for how best to address these concerns, including Tcl script signing; disallowing the Tcl scripts if they are not needed, not allowing remote unsigned Tcl scripts and only allowing Tcl script access to privileged levels.
Remote Command Line Applications
Scripting remote command line applications is difficult. Most scripting languages cannot deal with this problem effectively but using the Expect extension to Tcl makes these interactions easy to “drive” remote command line applications, or automate existing
or legacy tools that were never built to be automated.
These are just three advantages of learning Tcl – but there are more. Gaining an understanding of Tcl makes system administrators significantly more efficient and valuable to their organizations.
Starter resources for learning more about Tcl:
Community home page: http://www.tcl.tk/
Links to documentation and tutorial: http://www.tcl.tk/doc/ Tcl’ers wiki: http://wiki.tcl.tk/ (over 20,000 pages of collaborative info)
Expect extension page: http://expect.sourceforge.net/
转自http://www.networkworld.com/community/blog/why-cisco-users-need-know-tcl
By
Mike Sheldon on Tue, 05/25/10 - 3:06pm.
相关文章推荐
- iCloud in iOS 11 FAQ: Everything you need to know!
- Something you need to know about Content Deployment in SharePoint
- H1N1 swine flu What you need to know
- C++ -> C#: What You Need to Know to Move from C++ to C#
- WHY TELECOM FIELD ENGINEERS NEED TO ACCEPT FREELANCE LIFE
- Why do I need to use DAC from Oracle BI?
- 如何提高网页的效率(下篇)——Use YSlow to know why your web Slow
- ML Lecture 0-2: Why we need to learn machine learning?
- oracle 11g RAC public/virtual/SACN/private IP we need to know
- 【Redis test】You need tcl 8.5 or newer in order to run the Redis test
- 提高网页的效率 Use YSlow to know why your web Slow第1/2页
- You need tcl 8.5 or newer in order to run the Redis test
- You need to know “Lorem Ipsum” being a UI Developer/UI Designer
- 100 Things You Need to Know about Microsoft Windows Vista
- FW: Everything you need to know about pointers in C
- What you may need to know about DBTransaction::postChanges()
- 11gR2 Clusterware and Grid Home - What You Need to Know [ID 1053147.1]
- How much math does a GIS Analyst need to know?(转)
- Ubuntu 14.04下Redis安装报错:“You need tcl 8.5 or newer in order to run the Redis test”问题解决