10-22-2020 10:09 AM
Hello
Would you please tell me how can I change Cisco 3560E interface IP/GW without discounting from switch ?
This switch is far away from me and I should change interface IP and default gateway to another range.
Thanks
10-22-2020 10:21 AM - edited 10-22-2020 11:27 PM
If the remote site
1. I will setup reload command "reload in 10" - 10min from the time you run.
2. example EEM - change timers based on your requirement.
event manager applet IPAddressChange
event timer watchdog time 100
action 1 cli command "enable"
action 2 cli command "config terminal"
action 3 cli command "int gig 1/1"
action 4 cli command "ip address x.x.x.x y.y.y.y"
action 5 cli command "no ip route 0.0.0.0 0.0.0.0 x.x.x.x"
action 6 cli command "ip route 0.0.0.0 0.0.0.0 y.y.y.y"
action 7 cli command "end"
understand the script before you execute it.
EDIT : Cancel the reload can - once the configuration changed.
10-22-2020 03:55 PM - edited 10-22-2020 06:45 PM
Put the configuration in a text file.
Initiate an "escape" plan:
reload in 5
Upload the text file to the switch's running config:
copy tftp://<TFTP_IP_ADDRESS>/filename.txt run
If the configuration is correct, remote into the switch and save the config.
Do not forget to cancel the reload command if the new IP addressing config is correct
reload can
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