Lantronix MPS100 EPS Reference Manual - Page 34

Using EZWebCon, Without EZWebCon

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

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129
  • 130
  • 131
  • 132
  • 133
  • 134
  • 135
  • 136
  • 137
  • 138
  • 139
  • 140
  • 141
  • 142
  • 143
  • 144
  • 145
  • 146
  • 147
  • 148
  • 149
  • 150
  • 151
  • 152
  • 153
  • 154
  • 155
  • 156
  • 157
  • 158
  • 159
  • 160
  • 161
  • 162
  • 163
  • 164
  • 165
  • 166
  • 167
  • 168
  • 169
  • 170
  • 171
  • 172
  • 173
  • 174
  • 175
  • 176
  • 177
  • 178
  • 179
  • 180
  • 181
  • 182
  • 183
  • 184
  • 185
  • 186
  • 187
  • 188
  • 189
  • 190
  • 191
  • 192
  • 193
  • 194
  • 195
  • 196
  • 197
  • 198
  • 199
  • 200
  • 201
  • 202
  • 203
  • 204
  • 205
  • 206
  • 207
  • 208
  • 209
  • 210
  • 211
  • 212
  • 213
  • 214
  • 215
  • 216
  • 217
  • 218
  • 219
  • 220
  • 221
  • 222
  • 223

Configuration Files
Getting Started
3-
10
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
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).
#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”