D-Link DI-1162 Network Router User Manual


 
DI-1162/DI-1162M Remote Access Router
127
Appendix E – Configuration File
The router can be configured when performing a Software Update through a configuration file.
The configuration file can hold many settings for the router including IP Addresses for all ports, path to the boot
server, and various port settings.
The configuration file is very useful if you wish to update your software and keep all or most of your settings the
same.
The configuration file should be saved with the extension .SYS in the same directory as the runtime image file
(software update file).
An example configuration file is shown below. Please note that:
# : Comment. This line describes the actual configuration in the next line. You can also use this feature to
mask items you don’t need to be configured (rather than deleting them).
Format: Keyword <Space> Parameter. For example the very last line:
ip-stat disable
ip-stat is the keyword as explained in the # (comment) line above as meaning IP routing statistics.
disable is the parameter you set.
Configuration File Example
# The system configuration file for D-Link DI-1162 Remote Access Router
# DI-1162 runtime image file name (software update path and file name)
di1162-image d:\project\di1162\runtime\image\1162run\1162run.hdr
# sysname (string name)
sysname DI-1162 Remote Access Router
# syscontact (string name)
syscontact Engineering Administrater
# syslocation (string name)
syslocation No 8 Lihsing Road VII 5th floor
# systimeout setting in minutes (0 means no timeout)
systimeout 10
# telnet stat (enable/disable)
telnet enable
# ip routing stack (enable/disable)
ip-routing enable
# interface decription (string name)
lan-port-1 System Lan Interface
# port stat (enable/disable)
port-stat enable
# ip address
ip-address 202.39.74.119
# subnet mask
ip-netmask 255.255.255.0
# routing protocol type (0:RIPv1, 1:RIPv2, 2:RIPv1&2)
routing-type 2
# routing operating mode (0:None, 1:Listen, 2:Talk, 3:Both)
operating-mode 0
# ip routing stat (enable/disable)
ip-stat enable
# interface decription (string name)
lan-port-2 Option Lan Interface
# port stat (enable/disable)
port-stat disable
# ip address