Professional Documents
Culture Documents
MAINTENANCE
Running the card
properly…
TOPICS
IP ADDRESS DEFINITION
* Via Operator Console “This method is essential if CPU4 card’s
ip address is unknown”
* Via IDEA Program
* Via Web Interface
* Via Telnet
- Setting the “hosts” file.
- Gateway
MASTER SOFTWARE UPDATE
* Via Telnet Connection
* Via TFTP Server Remotely
* Via SNMP Connection
WEB INTERFACE
TELNET COMMANDS
WINSCP CONNECTION
OBTAINING LOGS
*Ethereal Log
*Log File of the System
CPU4 ETHERNET PORTS
CPU4 Card has 2 ethernet ports on it.
P=0 : ETH0 IP
P=1 : ETH1 IP
P=2 : Gateway address
P=3 : Subnet mask
Note : After changing the IP address, click OK and reset the PBX .
IP ADDRESS DEFINITION
VIA WEB INTERFACE
IP addresses can be defined on System tab.
Note: Details of Web Interface connection are given at the following parts of this document
IP ADDRESS DEFINITION
Via TELNET:
• An alternate method In order to define IP address to the
CPU4 card is “Telnet”. The necessary steps below are
followed for IP address definition.
• At the maintenance computer (the Windows O.S. based
computer which is connected to the same network) , “Run”
option is selected at the “Start” menu.
• Here, in order to provide Telnet connection to the CPU4
Card,
“telnet -t vt100 192.168.128.179”
command is entered (It is assumed that the IP address of
the CPU4 card is192.168.128.179).
TELNET
The screenshot below shows how to make this process.
• Finally,
Turn OFF&ON
the exchange
and check that
new IP address
is reachable.
SETTING THE “HOSTS” FILE
• At the WinSCP connection, there is a “hosts” file under the
flash/etc directory ( Details of WinSCP connection are given at
the following parts of this document). This file contains the
information about the IP addresses of the ethernet ports of CPU4
Card. According to the terminology, z1 corresponds to main CPU4
card and z2 corresponds to the redundant CPU4 card.
• In the “hosts” file, z1 at the first row specifies the first ethernet port
(eth0) of the main CPU4 Card and the second row specifies the
second one (eth1). Additionally, z2 at the 3rd row specifies eth0
and z2 at the 4th row specifies eth1 of the redundant CPU4 Card.
• If the system has redundant CPU4, “hosts” file should be set
according to this. And also similar settings should be done after
establishing a WinSCP connection for the redundant CPU4 Card.
• If the IP address of the CPU4 card or the redundant one is
changed, this file should be set as well.
HOSTS FILE
NOTE: It will be
useful to check
“hosts” file even if
the IP address of
CPU4 Card is not
changed.
IMPORTANT: If
wrong settings are
done in this file,
CPU4 cards
(main&redundant)
will not operate
properly.
GATEWAY IP ADDRESS
• In order to change the Gateway IP address of the CPU4 Card, firstly
WinSCP connection is established. After that flash/etc/rc.sh file is reached, in
this file, new Gateway IP address is written to the
“ route add default gw 192.168.xxx.yyy”
part and saved. After these, system needs to be restarted for performing with
the new Gateway IP address. A sample of rc.sh file is shown below.
WEB INTERFACE
WEB INTERFACE
• WEB INTERFACE : Provides user – friendly interface and
simple configuration options for softwares which run on new
CPU card.
Connection Types:
1) IDEA Link
2) Manual Connection.
WEB INTERFACE
• IDEA LINK : On Idea main connection window, click advanced
button and select PABX Web Interface option.
WEB INTERFACE
• MANUAL CONNECTION: You may also use manual
connection if IDEA program is not installed on your system.
dc : Domain Component
ou : Organizational Unit
cn : Common Name
WEB INTERFACE
• MANAGEMENT / PROCESS STATUS MENU:
# stop
This command is used to restart the system.
TFTP SERVER REMOTELY
Remote software update operation is done via KTFTP Server application.
► First, a directory named karel should be created in the Server PC. Then
a directory named board should be created under the karel directory.
And a directory named ds200 should be created under board directory
and the files written below ( repo.conf, KTFTP.exe, p_xxx_yy.rpm)
should be copied into this directory.
NOTE: Several
Master software
versions can be
copied in the
ds200 directory.
REPO.CONF FILE
A sample of repo.conf file is shown below. The latest master software
information exists in the “DSU_MASTER_CURRENT” part.
DSUPDATE.CONF FILE
karel/home/conf/dsupdate.conf file is reached by using WinSCP program
connection.
DSUPDATE.CONF FILE
Then after double-clicking the dsupdate.conf file, IP address of the TFTP
Server computer is written into this file. NOTE: In the
dsupdate.conf file there
is a parameter named
DSU_AUTO_RESTART
This parameter is set as
“yes” by default for
normal update operation.
If this parameter is set as
“no”, update operation
will be performed at at
02:00 of that
night automatically.
KTFTP.EXE
KTFTP program is started by double-clicking the KTFTP.exe file
on the PC.
DSUPDATE COMMAND
After the Telnet connection is established, “dsupdate” command is entered.
By this command, the master software version written in the repo.conf file is
automatically loaded to CPU4 Card. This command sets the read-write
execute (r-w-x) authorities of the files under the karel directory automatically.
So there is no need to run check command.
*** After the loading
operation is
completed, the
exchange restarts
Automatically and
operates with the
new software.
DSUPDATE COMMAND
NOTE: For updating the CPU4 Card software, there is an alternative
command “dsupdate master p_xxx_yy”. If this command is used, system
automatically updates the CPU4 master software to the p_xxx_yy. In this
case there will be no need to change the software written in the repo.conf file.
It will be necessary and enough to copy the master software under the
“ds200” directory.
SNMP CONNECTION
• The software update
operation can also be done
Via SNMP connection. This
operation is done by
“SwUpdateMasterSw” part
from the MIB Browser . After
the loading operation is
completed, the exchange
operates with the new
software.
TELNET COMMANDS
COMMANDS
# stop
restarts the system.
# ifconfig
lists the ethernet cards that have been defined on the CPU4 Card.
# netstat –tan
views the IP and port numbers of the TCP connections established by the CPU4
Card on the screen. Statuses and the TCP port numbers are shown below.
PORT NUMBERS & STATES
● TCP port numbers
● Statuses
IDEA&SNMP 24998
Listen Listening
NETCONSOLE 25000
Established Connection is done
WEBCM 24995
CloseWait Hanged
NETCM 24999
ALARM (LOCAL) 25003
ALARM (REMOTE) 25004 (For
Public Switch Systems )
SIP_SPC 30876
NETSTAT COMMAND
NETSTAT COMMAND
#getconf lists the running software versions on the screen.
# dslog | more lists the log information page by page ( See the last page of
this document) .
WINSCP CONNECTION
WINSCP
• WinSCP program is used for making the file transfer between
the devices in the same network. The program WinSCP is
installed on the Windows-based maintenance PC that is in the
same network and then the Linux based CPU4 Card is
accessed .
Username: root
Password: ds200
– sip_spc.conf
– snmp.conf
– dsinit.conf
– dsupdate.conf
SIP_SPC.CONF
• The configuration file for this proxy is “sip_spc.conf” . At
the beginning, there is no need to make a definition in this
file. By default, this file does not exist. If the user connects
to the KNE Program by typing the CPU4 Card’s first
ethernet port’s IP address (eth0) and “writes into Memory”,
“sip_spc.conf” file forms under the karel/home/conf
directory.
Ethereal Log
Log File of the System
ETHEREAL LOG
ETHEREAL LOG
• Ethereal is a network analyzer program and shows IP
signalling logs. It is an open source coded program and can
be downloaded easily from internet.
-s ( snap ): amount of data for each frame in terms of byte. If not defined,
it’s 68 byte.
-w ( write ) : determines the name of the ethereal log file to be saved under
the root directory. In the example above, name of this file is written as
“ethereal” for easiness. If desired, this file can be saved in another name.
TCPDUMP COMMAND
TCPDUMP COMMAND
There is another tcpdump command.
NOTE: The screeenshots below are obtained from the Wireshark program
which is the latest version of Ethereal program.
VIEWING ETHEREAL LOGS
• Select Ethereal file and open it.
VIEWING ETHEREAL LOGS
• Logs can be viewed as shown below.
LOG FILE OF THE SYSTEM
DSLOG TAR COMMAND
• For obtaining system’s log, firstly establish a Telnet connection. At the “root”
command line, type “dslog tar” and press ENTER key. After this command, all
the log files under the directory karel/home/log are zipped and a new file
named “log.tar.bz2 “ is formed.