Herunterladen Inhalt Inhalt Diese Seite drucken

Sample Configuration File - D-Link DES-3326 Bedienungsanleitung

Inhaltsverzeichnis

Werbung

This Appendix provides a sample configuration file that can be used with the Update Firmware and
Configuration Files screen in the console program.
The configuration file is a simple text file that you create. It has two functions: to point to the location of
a file on a TFTP server, and to set the IP address, subnet mask and default gateway for the switch. The
file being uploaded can be either new Runtime switching software, or a switch settings file which was
previously saved on the TFTP server using the Save settings to TFTP Server option in the System Utilities
menu. The IP address settings defined in the configuration file will override all other IP settings, even
those defined in the settings file being uploaded. This enables the settings from one switch to be
uploaded to another switch without their IP settings being the same (and thus coming into conflict).
Commands:
– this command tells the switch the type of file you wish to upload to the switch.
Code_type
Possible Code_types are
PROM – PROM update file.
RUNTIME – Switching software update file.
CONFIG – Image file of switch settings created by the settings backup procedure.
– this command tells the switch the complete path and filename for the file to be
Image_file
loaded into the switch. For example, "
used as in the example file below.
– this is the IP address that will be assigned to the switch. This command is included for
Ip_addr
downloading a configuration settings file to another switch. The IP address defined in this file will
override the IP address in the configuration settings file, thus the switch you are downloading to
can have a different IP address than the one that created the configuration settings file. An example
IP address is
10.12.19.102
– this is the subnet mask that will be assigned to the switch. An example subnet
Subnet_mask
mask is
255.128.0.0
Default_gateway
default Gateway IP is
♦ # – Remark. When placed as the first character on a line, the entire line will be ignored by the
switch. This allows items to be labeled, or unused commands to remain in the file so that the
syntax will not be forgotten.
S
AMPLE
,
, or
PROM
RUNTIME
e:\3326\3326prom.tfp
.
.
– this is the default gateway IP that will be assigned to the switch. An example
.
10.254.254.253
DES-3326 Layer 3 Fast Ethernet Switch User's Guide
C
ONFIGURATION
. This should always be the first setting.
CONFIG
264
". Make sure double-quotes are
B
F
ILE

Werbung

Inhaltsverzeichnis
loading

Inhaltsverzeichnis