N-Tron 710FX2 Switch User Manual


 
(Revised 2010-9-27) Page 144 of 159
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.