set ip

Syntax:

set ip <ip> <mask> <gateway> Description:

To set the system IP address, subnet mask and gateway. Argument:

<ip> : ip address

<mask> : subnet mask

<gateway> : default gateway

Possible value:

<ip> : 192.168.1.1 or others

<mask> : 255.255.255.0 or others

<gateway> : 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

 

 

223

Publication date: March., 2011

 

 

Revision A1

Page 235
Image 235
ICP DAS USA MSM-6226 user manual Set ip, 223