![Planet XGS-5240-24X2QR Quick Installation Manual Download Page 8](http://html1.mh-extra.com/html/planet/xgs-5240-24x2qr/xgs-5240-24x2qr_quick-installation-manual_1563389008.webp)
8
4.2 Configuring IP Address
The IP address configuration commands for
VLAN1 interface
are listed below.
Before using in-band management, the Managed Switch must be configured with
an IP address by out-of-band management (i.e. console mode). The configuration
commands are as follows:
Switch
# config
Switch(config)
# interface vlan 1
Switch(config-if-Vlan1))
# ip address 192.168.1.254 255.255.255.0
The previous command would apply the following settings for the Managed Switch.
IPv4 Address:
192.168.1.254
Subnet Mask:
255.255.255.0
To check the current IP address or modify a new IP address for the Managed
Switch, please use the procedures as follows:
Show the current IP address
1. On
“Switch#”
prompt, enter
“show ip interface brief”
.
2. The screen displays the current IP address, subnet mask and gateway as shown
in Figure 4-4.
Figure 4-4:
Showing IP Information Screen
If the IP is successfully configured, the Managed Switch will apply the new IP
address setting immediately. You can access the Web interface of Managed Switch
through the new IP address.
Note
If you are not familiar with console command or the related param-
eter, enter
“help”
anytime in console to get the help description.