beautypg.com

7 [ifaddr – Welltech FXSO Gateway In SIP V.1.2 User Manual

Page 66

background image

FXSO SIP Gateway User Manual

Document Ver.: 102

Released Dec., 2004

64

activated after system reboot.

4.2.7 [ifaddr]

Configure and display Gateway network information.

usr/config$ ifaddr

LAN information and configuration

Usage:

ifaddr [-print]|[-dhcp used]|[-sntp mode [server][-cmcenter ipaddress]]

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

-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.

-dns specify IP address of DNS Server.

-timezone Set local timezone.

-id Connection user name for pppoe.

-pwd Connection password for pppoe.

-http Http port.

Note:

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 -mode 1

ifaddr -sntp 1 210.59.163.254

ifaddr -dns 1 168.95.1.1

usr/config$

Parameters Usage:

-print

print out current [ifaddr] settings and status

-ip

assign IP address for Gateway