
Entering Commands and Using Command Files
117383-D Rev 00
3-13
You can also save TCL scripting commands to a file, use the source command to
read the file into device memory, and then run the script by entering an associated
command name. For information on TCL scripting commands supported by the
BCC interface, see Appendix C, “
TCL Support.”
Saving Commands and Displays to a File on a Workstation
If you log in to a Bay Networks router from a PC or workstation using Telnet or
terminal emulation, you can use the native capabilities of the PC or workstation
to:
• Save the output of any
show config command to an ASCII file.
• Save the output of any
help tree command for later reference or printing.
• Save a sequence of manually entered BCC commands to an ASCII file.
• Save log displays to an ASCII file for later analysis.
You can also use an ASCII text editor on a PC or workstation to create a file
containing BCC commands, offline. You can later download the same file to a Bay
Networks device, and then use the BCC
source command to import the contents
of that file into the active device configuration.
Note:
You can also save the output of the show config command to an ASCII
text file on the router by entering:
show config
-all
-file
<volume>:<filename>
Komentáře k této Příručce