8
4.2 ConguringIPAddress
TheManagedSwitchisshippedwithdefaultIPaddressasfollows:
IPAddress:192.168.0.100
SubnetMask:255.255.255.0
To check the current IP address or modify a new IP address for the Managed
Switch,pleaseusetheproceduresasfollows:
Display of Current IP Address
1.Atthe“GS-5220-16S8CR #”prompt,enter“show ip”.
2.The screen displays the current IP address, subnet mask and gateway as
shown in Figure 4-5.
Figure 4-5: IP Information Screen
Conguration of the IP address
1.Atthe“GS-5220-16S8CR #”prompt,enter“congure”.
2.Atthe “GS-5220-16S8CR (cong)#” prompt,enterthe followingcommand
andpress<Enter> as shown in Figure 4-6.
GS-5220-16S8CR(cong)#ip address 192.168.1.100 mask
255.255.255.0
GS-5220-16S8CR(cong)#ip default-gateway 192.168.1.254
The previous command would apply the following settings for the Managed
Switch.
IP Address: 192.168.1.100
Subnet Mask: 255.255.255.0
Gateway: 192.168.1.254