Retrieves a large section of a MIB table. The table below displays these command extensions. These extensions operate only under Tcl configuration mode. The Tcl shell is enabled either manually or by using a Tcl script, and the new commands can be entered to allow you to perform specified get and set actions on MIB objects. Precompiled scripts allow a measure of security and consistency because they are obfuscated. Using the Tcl shell to run CLI commands allows customers to build menus to guide novice users through tasks, to automate repetitive tasks, and to create custom output for show commands. The tty interface number served by each Tcl process is represented in the server process name and can be displayed using the show process CLI command.
Multiple users on the same router can be in Tcl configuration mode at the same time without interference because each Tcl shell session launches a separate interpreter and Tcl server process. If the commands are recognized as valid Tcl commands, the commands are executed and the results are sent to the tty. A Tcl shell can be enabled, and Tcl commands can be entered line by line.Īfter Tcl commands are entered, they are sent to a Tcl interpreter. These subsystems have their own proprietary commands and keyword options that are not available in the Tcl shell.
Use the history Tcl command with the redo n keyword.
#Tcl scripting for cisco ios update#
Commands entered using the fileevent Tcl command will not run unless forced using the update command. Sleep mode the after command works only with the ms keyword. Commands entered using the after Tcl command will not run unless forced using the update command. Error messages are provided, but you must check that the Tcl script will run successfully because errors may cause the Tcl shell to run in an infinite loop. If Cisco IOS XE configuration commands are used within the Tcl scripts, submode commands must be entered as quoted arguments on the same line as the configuration command. Access to privileged EXEC mode should be managed by restricting access using the enable command password. To access Cisco Feature Navigator, go to Tcl configuration mode, like global configuration mode, is accessed from privileged EXEC mode.
#Tcl scripting for cisco ios software#
Use Cisco Feature Navigator to find information about platform support and Cisco software image support. To find information about the features documented in this module, and to see a list of the releases in which each feature is supported, see the feature information table. For the latest caveats and feature information, see Bug Search Tool and the release notes for your platform and software release. Your software release may not support all the features documented in this module.