MicroNet Technology SP5001/S user manual Ifaddr -print command list

Page 69

Parameter Usages:

-print

print current IP setting and status

-ip

assigned IP address for SP5001/S

-mask

internet subnet mask

-gate

IP default gateway

-dhcp

Dynamic Host Configuration (1 = ON; 0 = OFF)

-sntp

Simple Network Time Protocol (1 = ON; 0 = OFF) When SNTP

 

function is activated, users have to specify a SNTP server as

 

network time source. An example is demonstrated below:

-dns

Specify Primary (-dns 1) or Secondary (-dns 2) DNS Server IP

address.

 

 

 

 

usr/config$

ifaddr -dns 1 168.95.1.1

usr/config$

ifaddr -dns 2 203.23.123.2

-timezone

set local time zone according to GMT

usr/config$ ifaddr -sntp 1 10.1.1.1

While 10.1.1.1 stands for SNTP server’s IP address.

-ipsharing

To specify a global fixed IP address, user can add this IP address

 

in the command.

 

usr/config$ ifaddr -ipsharing 1 210.11.22.33

-upnp

Enable/ Disable UPnP function. If IP sharing has this function, use

 

can enable upnp function that user doesn’t need to configure

 

gateway or IP sharing for NAT function.

usr/config$ ifaddr -print

Internet address information

IP address

: 192.168.4.72

Subnet mask

: 255.255.0.0

Default gateway

: 192.168.1.254

DHCP startup

: OFF

SNTP

: mode=1

 

server 168.95.195.12

 

time zone : GMT+8

 

cycle=1024 mins

IPSharing

: no IPSharing device.

Primary DNS Server

: 168.95.1.1

Secondary DNS Server : 168.95.1.1 usr/config$

Figure 45. ifaddr –print command list

68

Image 69
Contents IP Telephony Gateway Table of Contents Voice Setting Screen List of Figures Change password Screen List of Tables About this User’s Manual Key Features Features of SP5001/SAudio feature SP5001/S OverviewRemote Firmware Upgrade Default SettingsTelnet and Web Login Password SecurityBack Panel Front Panels1 SP5001/S LEDs SP5001/S LEDs Descriptions Hardware SpecificationsBack Panel Port Ethernet Port COM PortTEL Port Back Panel Connections 12V DC PortSetting Up the TCP/IP Protocol Additional Installation RequirementsPower Up Your SP5001/S Web Configuration with FXS Introduction Accessing the Web ConfigurationWelcome Screen Navigation Panel Links SP5001/S web configuration welcome screenNavigating the Web Configuration Saving Your ConfigurationInitial Configuration General ConfigurationStatic IP address Commit Data Dhcp mode One Sets SP5001/S IP Sharing ConfigurationEnable the IP sharing function Two sets attached to IP Sharing Device Router See following for example Page Making a VoIP Call Configure the gateway into the Peer-to-Peer modePhone Book On table will display on the first index Configure the Proxy Infomation Configure the gateway into the Proxy routed modeUpgrade ROM Version Update Application VersionBefore you start downloading ROM File Upgrade OK Page Network Interface Screen H323 ConfigurationGMT SIP Information SIP Information ScreenSystem Configuration System Configuration ScreenVoice Configuration Voice Setting ScreenBecause this might cause incompatibility Phone Pattern Screen Phone Pattern ConfigurationSupport Function Screen Support ConfigurationPhone Book Screen Label Description Dscp Configuration Dscp Configuration ScreenPassword Password ScreenROM Upgrade Screen Flash Clean Screen Commit Data Screen Reboot System Screen Hyper Terminal Setting Command ListConnect To Initial Screen Initial Screen Entering LoginSet Password Command Structure in SP5001/SCommand Structure in SP5001/S Set up IP AddressSaving Your Configuration Application Mode ConfigurationProxy mode Application modesUsr/config$ security -line 1 -name 12345 -password Peer-to-Peer Mode Behind IP-Sharing Mode One Set of SP5001/S DMZ Two Sets of SP5001/S UDP PPPoE Mode How to upgrade Upgrade stepsBefore you start downloading Usr/config$ rom -hwver Commands in SP5001/S Commands in SP5001/SQuit System Commands OverviewParameter Usages Flash Flash command listCommit Commit command list IfaddrIfaddr -print command list Time Time command list PingPbook Phone book command listPhoneBook Rules Pppoe Pppoe command listSysconf System information command listSysconf -print command list 19.7.12 sip Sip command listSip -print command list Security Command List Voice Voice command listParameters because this might cause incompatibility Voice -print command list Support Support -print command list 19.7.16 tos Phone Phone command listPhone -print rbt command list 19.7.18 rom Rom command listRom -print command list Passwd