
Entering Commands and Using Command Files
303562-A Rev. 00
3-11
Saving Commands to a File
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 a
show config
command to an ASCII file.
• Save a sequence of manually entered BCC commands to an ASCII file.
You can also use an ASCII text editor on a workstation to create a file from which
the BCC can read configuration and system commands.
Adding Comments to a Command File
You can use a text editor (such as vi on a UNIX workstation) to add descriptive
comments to a BCC command file. Enter comments in the following format:
box#
<command>
;# comment
or
box#
#comment
box#
<command>
Example:
box#
board slot 1 type andse;# 192.168.47.129 192.168.47.21
When you finish editing the file, save it on your workstation or PC. The comments
are for reference only. Comments do not appear in the output of any
show config
command.
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>
at any BCC prompt.
Comentários a estes Manuais