Sample Configuration File - D-Link DES-6300 User Manual

Modular l3 ethernet switch
Hide thumbs Also See for DES-6300:
Table of Contents

Advertisement

Modular L3 Ethernet Switch User's Guide
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 that was
previously saved on the TFTP server using the Save Settings to TFTP Server screen on 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:
Code_type
– This command tells the Switch the type of file you wish to upload to the Switch.
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.
Image_file
– This command tells the switch the complete path and filename for the file to be
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 of
an IP address is:
Subnet_mask
– This is the subnet mask that will be assigned to the switch. An example of a
subnet mask is:
Default_gateway
of a 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.
Notes about the Configuration File:
This configuration file can only contain 4 settings:
Default_gateway
.
Each command can only appear once in the configuration file.
If both the Firmware Update and Use Config File options are enabled, the Firmware Update command
will take precedence and only the firmware file will be uploaded to the switch.
S
AMPLE
PROM
,
RUNTIME
.
10.12.19.102
255.128.0.0
.
– This is the default gateway IP that will be assigned to the switch. An example
10.254.254.253
C
ONFIGURATION
, or
CONFIG
. This should always be the first setting.
e:\6300\6300prom.tfp
.
Code_type, Ip_addr, Subnet_mask
241
B
". Make sure double-quotes are
F
ILE
and

Advertisement

Table of Contents
loading

Table of Contents