MicroNet Technology SP5052 Network Router User Manual


 
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