Parameter Usages:
print current IP setting and status | ||
assigned IP address for SP5001/S | ||
internet subnet mask | ||
IP default gateway | ||
Dynamic Host Configuration (1 = ON; 0 = OFF) | ||
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: | |
Specify Primary | ||
address. |
|
|
|
| |
usr/config$ | ifaddr | |
usr/config$ | ifaddr | |
set local time zone according to GMT |
usr/config$ ifaddr
While 10.1.1.1 stands for SNTP server’s IP address.
To specify a global fixed IP address, user can add this IP address | |
| in the command. |
| usr/config$ ifaddr |
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
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