04-20-2009 04:07 AM - edited 03-06-2019 05:16 AM
How to change ip address in cisco 2960 series switch?
04-20-2009 05:18 AM
Switch#
Switch#config terminal
Switch(config)#interface vlan 1
Switch(config-int)#ip address 192.168.1.5 255.255.255.0
I'm assuming your changing VLAN1's IP, so if you use a different one for management, go to that interface. Once you hit enter the change takes place immediately. You will then need to connect to the new address and save the config. You may also have to change the ip default-gateway. It's best to make these changes from the console.
Hope that helps.
04-23-2013 01:09 PM
Could you try to create the command?
im using ip 192.168.1.3
04-23-2013 02:59 PM
Yes you can. Just cut-and-replace what you have (IP Address) with the example Collin has posted.
04-23-2013 08:26 PM
Easy one for me.
Switch#
Switch#config terminal
Switch(config)#interface vlan 1
Switch(config-int)#ip address 192.168.1.3 255.255.255.0
HTH
Regards
Inayath
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide