7 [ifaddr – MicroNet Technology VOIP FXO SP5054A/S User Manual
Page 29
![background image](/manuals/125671/29/background.png)
28
---------------------------------------------------------------
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.
2.7 [ifaddr]
Configure and display Micronet SP5052A/S / SP5054A/S Gateway network
information.
---------------------------------------------------------------
usr/config$ ifaddr
LAN information and configuration
Usage:
ifaddr [-print]|[-mode used]|[-sntp mode [server][-cmcenter ipaddress]]
ifaddr [-ip ipaddress][-mask subnetmask][-gate defaultgateway]
ifaddr [-dns index [dns server address]][-reboot on/off]
ifaddr [-id username][-pwd password][-http http port][-autodns used]
-print
Display LAN information and configuration.
-ip
Specify ip address.
-mask
Set Internet subnet mask.
-gate
Specify default gateway ip address
-mode
Set ip client service(0=FIX IP, 1=DHCP, 2=PPPoE).
-sntp
Set SNTP server mode and specify IP address.
-autodns Specify the way to obtain DNS Server (0:Manual/1:Auto).
-dns
Specify IP address of DNS Server.
-timezone Set local timezone.
-ipsharing Specify usage of an IP sharing device and specify IP
address.
-id
Connection user name for PPPoE.
-pwd
Connection password for PPPoE.
-reboot Reboot after remote host disconnection.
-echo
PPPoE Echo Request (0=disable, 1=enable).
Note: