9
Configuring IP address
3. At the
“GS-2240 Series#”
prompt, enter
“configure terminal”
.
4. At the
“GS-2240 Series(config)#”
prompt, enter the following command and
press
<Enter>
as shown in Figure 6-2.
GS-2240 Series(config)#
ip route 0.0.0.0/0 192.168.1.254
GS-2240 Series(config)#
interface vlan1
GS-2240 Series(config-vlan1)#
ip address 192.168.1.100/24
The previous command would apply the following settings for the Switch.
IP Address:
192.168.1.100
Subnet Mask:
255.255.255.0
Gateway:
192.168.1.254
Figure 6-2:
IP Address Screen
5. Repeat Step 1 to check if the IP address is changed.
If the IP is successfully configured, the Managed Switch will apply the new IP
address setting immediately. You can access the Web interface of the GS-2240
Switch Series through the new IP address.
Note
If you are not familiar with console command or the related
parameter, enter
“?”
anytime in console to get the help descrip
-
tion.