MicroNet Technology SP5054, SP5050, SP5052 user manual Commit command, Ifaddr command

Page 20

Warning: Once users execute flash –clean,all the configurations of VoIP FXO gateway will be cleaned. This can only be executed by user who log in with root

5.6 [commit] command

Save changes after configuring the VoIP FXO gateway.

usr/config$ commit

This may take a few seconds, please wait....

Commit to flash memory ok! usr/config$

Note:

Users should use commit to save modified value, or they will not be activated after system reboot.

5.7 [ifaddr] command

Configure and display VoIP FXO gateway network information.

usr/config$ ifaddr

LAN information and configuration Usage:

ifaddr [-print][-dhcp used][-sntp mode [server]] ifaddr [-ipsharing used [deviceAddr]]

ifaddr [-ip ipaddress] [-mask subnetmask] [-gate defaultgateway]

-print

 

Display LAN information and configuration.

-ip

Specify VoIP FXO gateway ip address.

-mask

 

Set Internet subnet mask.

-gate

 

Specify default gateway ip address

-dhcp

 

Set DHCP client service flag (On/Off).

-sntp

 

Set SNTP server mode and specify IP address.

-timezone

Set local timezone.

-cmcenter

Set Management Center IP Address.

-ipsharing

Specify usage of an IP sharing device and specify IP

address.

 

 

Note:

 

 

Range of ip address setting (0.0.0.0 ~ 255.255.255.255). DHCP client setting value (On=1, Off=0). If DHCP set to 'On', Obtain a set of Internet configuration from DHCP server assigned. SNTP mode (0=no update, 1=specify server IP, 2=broadcast mode).

Example:

ifaddr -ip 210.59.163.202 -mask 255.255.255.0 -gate 210.59.163.254 ifaddr -dhcp 1

ifaddr -sntp 1 210.59.163.254 ifaddr -ipsharing 1 210.59.163.254

20

Image 20
Contents User’s Manual Introduction Features and specification General FeaturesAudio feature IntroductionBack panel Management FeaturesAppearance Pin Name Dir Description GNDSystem Operating Procedure StartIP Environment Setting Hyper Terminal SettingSystem Requirement Telephone Line RequirementPage Page Initializing VoIP FXO Gateway Setting Gatekeeper ModeConfigure VoIP FXO gateway Password Peer-to-Peer Mode Usr/config$ ifaddr -ip 10.1.1.1 -mask 255.2555.255.0 -gateUsr/config$ h323 -mode 0 -gk 10.2.2.2 -e164 -alias fxo Usr/config$ h323 -modeBehind IP-Sharing Usr/config$ pbook -add name TEST1 ip 10.1.1.1 e164Fixed IP Address usr/config$ ifaddr -ipsharing 1 Dynamic IP Address -usr/config$ ifaddr -ipsharing How to configure disconnect tone on VoIP FXO gateway Disconnect Tone ConfigurationWhat is Disconnect Tone There are two ways to analyze the disconnect tone Adjust Tone Table parameters manuallyExamples how to configure Tone table Adjust Input Tone Level Command lists Help commandQuit command Debug commandUsr/config$ debug -add h323 vp usr/config$ debug -open Reboot commandFlash command Commit command Ifaddr commandTime command Ping commandUsr/config$ ifaddr -sntp 1 Usr/config$ time Current time is THU JAN 01 052923Greetrd command Exit exit this command Pbook command Parameter UsagesPhonebook Rules Automatic sequence number as indexSysconf command PppoeLineToLine feature should be used together with $h323 -mode 1 peer-to-peer mode$sysconf -2nddial 1 2nddial on $bureau PrintPlease refer to 5.21 bureau command $bureau 192.168.4.184Value is set to enable all ports 14 h323 command Usr/config$ sysconf -sendxcode 1 -access set1Page Gk command Usr/config$ gk Gatekeeper information and configurationVoice command Display voice codec information and configuration Usr/config$ voice -mindelay 90 -maxdelay 150 -optfacor Tos commandUsr/config$ voice -nscng g723 Tone command Support commandGroup command Bureau command Usr/config$ group -pattern 1 3 -e164 100Page Prefix command Rom commandPage Passwd command TFTP/FTP server Upgrade the VoIP FXO gatewayDownload Procedure Page Appendix Web configuration Browse the IP Address which has predefined via RS-232Input the login name and password Start configure Network InterfaceH323 Information System Config Voice Setting For Advanced User Phone Pattern For Advanced User Page Phone Book For Peer-to-Peer mode only Type Of Service Hot Lines PPPoE Password ROM Upgrade Flash Clean Commit Data Reboot System