Type command on CLI.
Switch# ip <enter>
Switch(ip)#set 192.168.1.10 255.255.255.0 192.168.1.2542 <enter>
Switch(ip)# show
Configured Current
————— —————
DHCP Client : Disabled
IP Address : 192.168.1.10 192.168.1.10
IP Mask : 255.255.255.0 255.255.255.0
IP Gateway : 192.168.1.252 192.168.1.252
VLAN ID : 1 1
DNS Server : 0.0.0.0 0.0.0.0
DNS Proxy : Disabled