beautypg.com

ICP DAS USA MSM-6226 User Manual

Page 235

background image

Publication date: March., 2011

Revision A1

223

set ip


Syntax
:
set ip
Description:
To set the system IP address, subnet mask and gateway.
Argument:
: ip address
: subnet mask
: default gateway
Possible value:
: 192.168.1.1 or others
: 255.255.255.0 or others
: 192.168.1.253 or others
Example:

FEL2P-SW26 (ip)# set ip 192.168.1.2 255.255.255.0 192.168.1.253
FEL2P-SW26(ip)# show
DHCP : Disable
IP Address : 192.168.1.2
Subnet mask : 255.255.255.0
Gateway : 192.168.1.253
Current IP Address : 192.168.1.10
Current Subnet mask : 255.255.255.0
Current Gateway : 192.168.1.254
DNS Setting : Manual
DNS Server : 0.0.0.0

show


Syntax
:
show
Description:
To display the system’s DHCP function state, IP address, subnet mask, default
gateway, DNS mode, DNS server IP address and current IP address.
Argument:
None.
Possible value:
None.
Example:

FEL2P-SW26(ip)# show
DHCP : Disable
IP Address : 192.168.1.2
Subnet mask : 255.255.255.0
Gateway : 192.168.1.253
Current IP Address : 192.168.1.10
Current Subnet mask : 255.255.255.0
Current Gateway : 192.168.1.254
DNS Setting : Manual
DNS Server : 0.0.0.0