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.


ip address


HSCRIPTS#configure terminal

Enter configuration commands, one per line. End with CNTL/Z.
HSCRIPTS(config)#interface vlan1
HSCRIPTS(config-if)#ip address

From the above example, default ip address has been changed for the interface from to
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.

To make any cofiguration changes, you need to log into 'configure terminal'.

Ask Questions

Ask Question