beautypg.com

LevelOne ProCon GSW-2496 User Manual

Page 194

background image

186



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.2 or others
: 255.255.255.0 or others
: 192.168.1.253 or others
Example:
GSW-2496(ip)# set ip 192.168.1.2 255.255.255.0 192.168.1.253



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:
GSW-2496(ip)# show

DHCP : Disable
IP Address : 192.168.2.237
Current IP Address : 192.168.2.237
Subnet mask : 255.255.255.0
Gateway : 192.168.2.252
DNS Setting : Manual
DNS Server : 168.95.1.1