Basic TCL scripts on IOS will make your life a lot easier :)
Pre-requisites:
- Tcl scripts must be run from tclsh, which is an EXEC mode command requiring enable access.
- Cisco IOS 12.2(25) S or 12.3(2) T. Cisco IOS 12.3(7) T for the SNMP MIB access via Tcl.
Sample multiple host ping TCL
tclsh
foreach ip {
1.1.1.1
2.2.2.2
3.3.3.3
} {ping $ip}
Reference:
http://www.netcraftsmen.net/welcher/papers/iostcl01.html
http://www.cisco.com/en/US/products/sw/iosswrel/ps5207/products_feature_guide09186a00801a75a7.html
No comments:
Post a Comment