# Commands/steps for changing the IP address of Switch/ Routers?

**URL:** <https://forumautomation.com/t/commands-steps-for-changing-the-ip-address-of-switch-routers/281>\
**Category:** Industrial Networking\
**Created:** [February 26, 2015, 9:28am UTC](https://forumautomation.com/t/commands-steps-for-changing-the-ip-address-of-switch-routers/281 "2015-02-26T09:28:55Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![instrumen](https://forumautomation.com/letter_avatar_proxy/v4/letter/i/65b543/32.png) [@instrumen](https://forumautomation.com/u/instrumen)\
**Post date:** [February 26, 2015, 9:28am UTC](https://forumautomation.com/t/commands-steps-for-changing-the-ip-address-of-switch-routers/281/1 "2015-02-26T09:28:55Z")

</div>

Please help me with Commands/steps for changing the IP address of Switch/ Routers?

---

<div class="post-metadata">

**Author:** ![omega](https://forumautomation.com/letter_avatar_proxy/v4/letter/o/a6a055/32.png) [@omega](https://forumautomation.com/u/omega)\
**Post date:** [February 26, 2015, 9:30am UTC](https://forumautomation.com/t/commands-steps-for-changing-the-ip-address-of-switch-routers/281/2 "2015-02-26T09:30:38Z")

</div>

1. Type the router login password to get the “\>” prompt.
2. Type “en” at the “\>” prompt.
3. Type the enable password.
4. Type “config t” at the “#” prompt.
5. Type “int fa 0/1”
6. Type “no ip address 172.17.40.52 255.255.248.0”
7. Type “ip address 172.17.44.3 255.255.255.0”
8. Type “no standby 1 ip 172.17.40.53”
9. Type “standby 1 ip 172.17.44.1”
10. Type “end”
11. Type “config t” at the “#” prompt.
12. Type “ntp server 172.17.44.241”.
13. Type “end”
14. Type “wr mem” at the “#” prompt.
15. Press “Return (Enter)” key at the question asked.
16. Type “sh run” at the “#” prompt and see if the ip address of “fa 0/1”, the “standby 1 ip” and the “ntp server” are showing the changed IP addresses.
