Configuration File Handling
65
Software Configuration Guide, Revision 1.03
interface lan
ipaddress 172.19.33.30 255.255.255.0
9.1.1 Understanding Configuration Files
Configuration files contain SmartWare commands that are used to customize the functionality of
your SmartNode device. During system startup the SmartWare command parser reads the factory or
startup configuration file command-by-command, organizes the arguments and dispatches each
command to the command shell for execution. If, during operation of a SmartNode, you enter a
command using the CLI of SmartWare, you alter the running configuration accordingly. In other
words you are modifying a live, in-service system configuration.
Figure 9-1 below shows the characteristics of a configuration file. This configuration is stored on a
TFTP server in the file
SN2300_001.cfg
for later download to the SmartNode
SN
. The command
syntax is identical for commands entered by the use of the CLI and commands contained in
configuration files. For better comprehension SmartWare allows comments within configuration
files. To add a line with a comment to your configuration file simply begin the line with the hash (
#)
character. The command parser skips everything after the hash character to the end of the line.
#----------------------------------------------------------------#
# SmartNode IP and Voice configuration #
#----------------------------------------------------------------#
# #
# Node: SN #
# Config: SN2300_001.cfg #
# Model: SN2300 0001-0001 #
# Serial No.: 100000021579 #
# Administrator: LB #
# Date: 12/10/2001 #
# #
#----------------------------------------------------------------#
# SNTP configuration used for time synchronization
cli version 2.00
sntp-client
sntp-client server primary 172.16.1.10 port 123 version 4
sntp-client poll-interval 600
sntp-client gmt- 01:00:00
# system definitions
system
clock-source 1 2
hostname SN
# IP context configuration
context ip router
route 0.0.0.0 0.0.0.0 172.19.32.2 1
route 172.19.41.0 255.255.255.0 172.19.33.250
route 172.19.49.0 255.255.255.0 172.19.33.250
multicast-send default-interface lan
# CS context configuration
context cs switch
no number-prefix national
no number-prefix international
use tone-set-profile default
called-party rtab 201 dest-interface telecom-operator
called-party rtab 202 dest-interface telecom-operator
no shutdown
# interface LAN used for connection to internal network
Summary of Contents for SmartWare R2.00
Page 2: ......