This appendix includes only those Tcl commands specific to Cisco IOS. If a command is not mentioned, it indicates the command acts identically in Cisco IOS Tcl as Tcl running on other operating systems.
The sections that follow describe the parameters, output, usage, and examples of Tcl Cisco IOS commands.
Required parameters: None
Optional parameters: None
Returns: A string
Usage: Returns a string with the current Cisco IOS device hostname
The hostname can only be retrieved, but not changed using hostname command. Use the ios_config command to change the hostname.