cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1233
Views
5
Helpful
2
Replies

change Cisco 3560E interface IP/GW without discounting

hadi6699
Level 1
Level 1

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

 

2 Replies 2

balaji.bandi
Hall of Fame
Hall of Fame

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.

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

Leo Laohoo
Hall of Fame
Hall of Fame

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