10-29-2003 03:22 PM - edited 03-02-2019 11:21 AM
Hi
We got few 3500XL switches and we want to change the IP address of all the switches.
Currently interface VLAN1 is configured with IP address in 192.168.1.0 network in all the switches.
I want to changed this address to 192.168.8.0 (different VLAN...ie. VLAN8).
Port 1 and 2 are configured as "switchport mode trunk" and port 1 is connected to the router.
Can someone tell me how to change the IP address.
Thanks
10-29-2003 05:08 PM
Switch>en
Switch#config t
Switch(config)#int vlan 1
Switch(config-if)#ip address 192.168.8.1 255.255.255.0
And so on
I hope that this will help
10-30-2003 01:08 AM
Hi,
you need to change the management interface, IP address and default gateway.
It's a difficult task if the switches are on a remote site without a console access.
Is it your case?
If yes, the easiest way I know is:
1) Check that VLAN8 is running OK on the trunk between the router and the switch.
2) Create a text file test.cfg containing lines:
ip default-gateway 192.168.8.1
interface VLAN8
ip address 192.168.8.2 255.255.255.0
management
3) Telnet to the switch.
4) Copy this file to the switch flash via TFTP.
5) Use copy flash run
answer test.cfg to the filename prompt.
6) The switch will merge the test.cfg with the running config. You will lose your Telnet connection. But you should be able to connect using the new IP address immediately.
If anything fails for any reason you still can call the remote site and just ask somebody to power the switch off/on and it will come back with the old address and gateway.
7) Use copy run start to save the new config.
Regards,
Milan
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