|
|
Configuring a Shiva Device Using the Command Shell
You can edit the Shiva device's configuration file by entering commands from the command shell, in the command line interface.
Steps
To edit the configuration file using the command shell:
- Open a Telnet session to the Shiva device whose configuration you want to edit using one of the following methods:
- From a Windows 95 workstation, click Start, then Run. In the window that appears, enter telnet: followed by the IP address of the Shiva device you want to configure.
- From a UNIX workstation, enter telnet: followed by the IP address of the Shiva device you want to configure.
A telnet session window appears.
- At the @ Userid prompt, type root and press the Enter key. Only the administrator, which is always named root, can edit the configuration file.
The password prompt appears.
- Enter the administrator's password for the Shiva device you are configuring.
The command shell prompt appears.
- At the prompt, enter the command show config to display the entire configuration file.
The configuration file appears one screen at a time. To advance to the next screen, press the space bar. To stop scrolling through the configuration file and return to a prompt, press either Ctrl-c or the letter q.
- To edit the configuration file, type config at the prompt.
You can now make changes directly to the configuration file that resides on the Shiva device. Your Shiva device does not contain a text editor, so you must change the configuration one line at a time, without being able to view the rest of the file.
Note: Because the command shell interface is a basic tool for altering the configuration file, it does not have any error or warning messages to inform you of any potential configuration errors you introduce. Therefore, if you misspell a word or enter any extra characters into the configuration file, you are not informed of an error until you try to run your Shiva device.
- Enter the section name of the section you want to edit. Use the following syntax (including square brackets): [sectionname]
- Enter the parameter you want to add or alter. Type in the exact parameter name, followed by an equal sign and the value you require.
For example, <parameter>=<value>. Spaces are ignored.
You can edit as many lines of the configuration file as you want, however you should keep a close record of the changes you have made.
- After you are finished editing the configuration file, press the Enter key several times to create an empty line, and then press Ctrl-d or Ctrl-z to end the configuration process.
The following question appears:
Review configuration changes [y/n]?
- Type y (yes) to view a record of the changes you have just made to the configuration file. Type n (no) to continue with the next question as follows:
Modify the existing configuration [y/n]?
- Type y if you want to accept the changes you have made to the configuration file.
You have now updated the configuration file on your Shiva device.
Depending on the changes you have made to the file, you may have to reboot the Shiva device. Some parameters are modified dynamically and do not require you to reboot the Shiva device. All other parameters are not dynamic and require you to reboot the Shiva device before they take effect. In the tables describing each of the configuration parameter, there is a column titled Reboot, which indicates whether a reboot is required.
Related Information
Configuration Parameters
Accessing the Command Shell
[ Top of Page . . . ]
|