Quick Guide
8
4.2 ConguringIPAddress
The IP address conguration commands for VLAN1 interface are listed below.
Before using in-band management, the Managed Switch must be congured with
an IP address by out-of-band management (i.e. console mode). The conguration
commandsareasfollows:
Switch# cong
Switch(cong)# interface vlan 1
Switch(cong-if-Vlan1))# ip address 192.168.1.254 255.255.255.0
ThepreviouscommandwouldapplythefollowingsettingsfortheManagedSwitch.
IPv4Address:192.168.1.254
SubnetMask:255.255.255.0
To check the current IP address or modify a new IP address for the Managed
Switch,pleaseusetheproceduresasfollows:
Show the current IP address
1. On “Switch#”prompt,enter“show ip interface brief”.
2.The screen displaysthe current IPaddress, subnet mask andgateway asshown
inFigure4-4.
Figure 4-4: Showing IP Information Screen
If the IP is successfully congured, the Managed Switch will apply the new IP
address setting immediately. You can access the Web interface of Managed Switch
throughthenewIPaddress.
Note
Ifyouarenotfamiliarwithconsolecommandortherelatedparam-
eter,enter“help”anytimeinconsoletogetthehelpdescription.