Lantronix MPS100 EPS Reference Manual - Page 34
Using EZWebCon, Without EZWebCon
View all Lantronix MPS100 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 34 highlights
Configuration Files Getting Started 3.9.1 Using EZWebCon EZWebCon will examine the current configuration of your Server, translate this information into a series of commands, and save the commands in a file. This file can be downloaded to configure the Server. Refer to EZWebCon's on-line help for more information. 3.9.2 Without EZWebCon To use a configuration file without EZWebCon, first create a configuration file, then configure the host so that you can download the file, then configure the Server to use the configuration file. 3.9.2.1 Creating the File The configuration file contains Server commands, one per line, that will be executed by the Server in sequence. Privileged commands can be used because the startupfile is run in privileged mode on the server. Capitalization of commands is optional. If a string (such as a password or filename) is entered, it must be enclosed in quotes to preserve case or non-alphabetic characters. To include a comment, preface each line of text with a pound character (#); these lines will be ignored. If Define Server commands are included in the file, they will not take effect until the next reboot. Similarly, Define Port commands will not take effect until the port(s) are logged out. All other Define commands will take effect for the current boot. The download file is re-read at every boot unless it is re-configured, so do not put commands like Initialize or Crash 451 in the file. Unless the startup filename has been changed, an Initialize command will cause the Server to boot perpetually, and recovery will require that you flush the unit's NVR. Managers can use the Source command to test the file, in effect causing the Server to attempt to download a configuration file before making it a part of the server's boot routine. This test is strongly recommended as it helps eliminate errors that might prevent the Server from booting. Figure 3-16: Configuration File #setting up the ports DEFINE PORT ALL BITRONICS ENABLED DEFINE PORT ALL DSRLOGOUT ENABLED #setting up a print service DEFINE SERVICE print1 IDENT "Printer on lab Server port 1" It is assumed that the console port executes the configuration file; if you use a command without a port designation, like Set Port Speed 9600, it will affect the console port's settings. Use the Show Server Status command to see which port is currently the console (the default is port 1). 3-10