MicroNet Technology SP5001A/S IP Phone User Manual


 
6.6. [ifaddr]
Configure and display Gateway network information.
usr/config$ ifaddr
LAN information and configuration
Usage:
ifaddr [-print]|[-dhcp used]|[-sntp mode [server]]
ifaddr [-ip ipaddress] [-mask subnetmask] [-gate defaultgateway]
ifaddr [-dns index [dns server address]] [-ipsharing used[ip address]]
-print Display LAN information and configuration.
-ip Specify WAN ip address.
-lanip Specify LAN ip address.
-mask Set Internet subnet mask.
-gate Specify default gateway ip address
-nat Set NAT service flag (On/Off).
-dhcp Set DHCP client service flag (On/Off).
-sntp Set SNTP server mode and specify IP address.
-dns specify IP address of DNS Server.
-timezone Set local timezone.
-ipsharing Specify usage of an IP sharing device and specify IP address.
-server specify EMS Server IP address
-id specify EMS Server ID
-pwd specify EMS Server password
-emstime specify EMS cycle time
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 -nat 1
ifaddr -dhcp 1
ifaddr -sntp 1 210.59.163.254
ifaddr -ipsharing 1 210.59.163.254
ifaddr -dns 1 168.95.1.1
Parameter Usage:
-print
Print current IP setting and status
-ip
Assign the VoIP gateway’s IP address
-lanip
Specify LAN port IP address (For NAT function), use this
command setup lanip address assigned to PC or other machine.
65