GS-2124C User Manual
Publication date: June, 2005
Revision A1
146
IP
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.2 or others
<mask> : 255.255.255.0 or others
<gateway> : 192.168.1.253 or others
Example:
GS-2124C(ip)# set ip 192.168.1.2 255.255.255.0 192.168.1.253
set system IP address : 192.168.1.2
subnet mask : 255.255.255.0
default gateway : 192.168.1.253
set dns
Syntax:
set dns <ip address>
Description:
To set the IP address of DNS server.
Argument:
<ip address> : dns ip address
Possible value:
168.95.1.1
Example:
GS-2124C (ip)# set dns 168.95.1.1
set DNS server IP address to 168.95.1.1
enable dhcp
Syntax:
enable dhcp <manual|auto>
Description:
To enable the system DHCP function and set DNS server via manual or auto mode.
Argument:
<manual|auto> : set dhcp by using manual or auto mode.
Possible value:
Manual or auto
Example:
GS-2124C(ip)# enable dhcp manual
: Enabled system DHCP function and set DNS server via manual mode.