9 [ifaddr] command – MicroNet Technology SP5101 User Manual

Page 74

Advertising
background image

73


6.9 [ifaddr] command

Configure and display the SIP Phone SP5101 IP information.

1. –print: print out all current configurations of ifaddr command.
2. -ip, -mask, -gate: Set SIP Phone SP5101 IP Address, subnet mask

and default gateway respectively.

3. -ipmode: Set SIP Phone network mode to be Fixed IP, DHCP or

PPPoE.

When User set IP mode to be fixed IP, please set IP, subnet
Mask, default gateway as mentioned in item 2.
If User set IP mode to be DHCP, SIP Phone will search for DHCP
server to capture IP address after reboot.
If user set IP mode to be PPPoE, please remember to set related
parameters under [pppoe] command.

4. -sntp: When SNTP server is available, enable SIP Phone SP5101

SNTP function and assign SNTP server IP address so that SIP Phone
can capture current time from SNTP server. (ifaddr –sntp 1
“xxx.xxx.xxx.xxx

”)

5. –autodns: specify the way to obtain DNS server address. When

phone is under DHCP or PPPoE mode, user can let phone to capture
DNS server address from server automatically or specify the address
manually.

6. -dns: User can set primary and secondary Domain Name Server IP

address. Once SIP Phone can connect with DNS server, user can
specify URL address instead of IP address for Proxy Server and phone
book IP address...etc. (ifaddr –dns 1 “primary DNS server
address

–dns 2 “secondary DNS server address”)

7. –timezone: User can set different time zone according to the location

SIP Phone is. For example, in Taiwan the time zone should be set as
8,which means GMT+8. (GMT+8: ifaddr –timezone 8)

8. –timeformat: Set time display format as 12 or 24 hours.

(ifaddr –timeformat 0/1, 0 as 24 hours, 1 as 12 houts)

9. -ipsharing: If SIP Phone SP5101 is behind a IP-sharing , user must

enable IP sharing function and specify public IP
address.(ifaddr –ipsharing 0/1 “public IP address of IP sharing” , 0
for disable and 1 for enable)

10. –server: Set Provision Server address.

Advertising