ip address Configuration Command
ip address CISCO Switch Command in Linux
ip address command is used to set default IP address to switch in privileged mode.
Enter configuration commands, one per line. End with CNTL/Z.
HSCRIPTS(config-if)#ip address 192.168.0.149 255.255.255.0
From the above example, default ip address has been changed for the interface from 192.168.0.150 to 192.168.0.149.
Run "show running-config" command to know whether the configuration has been modified. Inorder to make the changes permanent, run "reload" command to reload the switch.Note:
To make any cofiguration changes, you need to log into 'configure terminal'.