Download - Autic system AS

Transcript
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
Syntax
Parameters
Example
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.
sysip [-c config_mode] [-i static_ip] [-s static_subnet_mask] [-g static_gateway]
-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 ).
N-TRON/Admin> sysip
IP Configuration Mode
Static IP Address
Static subnet Mask
Static gateway
:
:
:
:
Static
192.168.1.225
255.255.255.0
192.168.1.1
N-TRON/Admin> sysip -c dhcp
IP Configuration Mode
Fallback IP Address
Fallback Subnet Mask
Fallback Gateway
:
:
:
:
DHCP (has been changed)
192.168.1.225
255.255.255.0
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 IP Address
Static Subnet Mask
Static Gateway
:
:
:
:
Static
192.168.2.119 (has been changed)
255.255.252.0 (has been changed)
192.168.1.1 (has been changed)
Press <ENTER> to Save Changes and Restart the System Now
…
NOTES
(Revised 2014-03-31)
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.
Page 149 of 170