CLI Commands, Continued…

Set or Show the System IP Configuration

Command Name

Sysip

 

Description

Set system IP configuration mode, IP address, subnet mask, and gateway

 

If no parameters are specified, this command will show the system IP addresses. Static

 

IP, subnet mask, or gateway can be set while in either DHCP or static configuration

 

mode as they will be used with IP fallback when in DHCP mode. If the Static IP is set to

 

the default system IP address, IP fallback will not occur. All system addresses must be

 

formatted as: xxx.xxx.xxx.xxx.

Syntax

sysip [-c config_mode] [-i static_ip] [-s static_subnet_mask] [-g static_gateway]

Parameters

-c config_mode

 

 

s(tatic) or d(hcp).

 

 

-i static_ip

 

 

Static IP address (for static config mode and IP fallback ).

 

-s static_subnet_mask

 

 

Static sub net mask (for static config mode and IP fallback ).

 

-g static_gateway

 

 

Static gateway address ( for static config mode and IP fallback ).

Example

N-TRON/Admin> sysip

 

 

IP Configuration Mode : Static

 

Static IP Address

: 192.168.1.225

 

Static subnet Mask

: 255.255.255.0

 

Static gateway

: 192.168.1.1

 

N-TRON/Admin> sysip -c dhcp

 

IP Configuration Mode : DHCP (has been changed)

 

Fallback IP Address

: 192.168.1.225

 

Fallback Subnet Mask

: 255.255.255.0

 

Fallback Gateway

: 192.168.1.1

 

Press <ENTER> to Save Changes and Restart the System Now

 

 

 

N-TRON/Admin> sysip -i 192.168.2.119 -s 255.255.252.0 -g

 

192.168.1.1

 

 

IP Configuration Mode : Static

 

Static IP Address

: 192.168.2.119 (has been changed)

 

Static Subnet Mask

: 255.255.252.0 (has been changed)

 

Static Gateway

: 192.168.1.1 (has been changed)

 

Press <ENTER> to Save Changes and Restart the System Now

 

 

NOTES

If mode is set to DHCP and IP fallback occurs, DHCP requests will stop.

 

If mode is set to DHCP and IP Configuration is retrieved from a DHCP server, IP

 

fallback will not occur, even if lease is lost.

(Revised 2010-11-15)

Page 137 of 156

Page 137
Image 137
N-Tron 708M12 user manual Set or Show the System IP Configuration