cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
540
Views
0
Helpful
2
Replies

Cisco 2921 router release/renew all dhcp addresses

nickj2585
Level 1
Level 1

Hello,

This may be a very basic question but I am brand new to Cisco IOS.  I have been tasked with figuring out how to release and renew all dhcp addresses on our Cisco 2921 router.  I have so far found out how to do them one at a time using:

Router# release dhcp ethernet 3/1

Router# renew dhcp Ethernet 3/1

Would rebooting the router release and renew all of the dhcp addresses? If not, is there a command I could use to release and renew all of them at the same time?

Thank you.

2 Accepted Solutions

Accepted Solutions

acampbell
VIP Alumni
VIP Alumni

Hi,

Try this from priviladge mode

router#clear ip dhcp binding *

Regards,
Alex.
Please rate useful posts.

Regards, Alex. Please rate useful posts.

View solution in original post

cadet alain
VIP Alumni
VIP Alumni

Hi,

You are a DHCP client on multiple interfaces ? if so doing a shut/no shut on the range of interfaces would achieve what you want and you could automate it with an EEM script.

Regards

Alain

Don't forget to rate helpful posts.

Don't forget to rate helpful posts.

View solution in original post

2 Replies 2

acampbell
VIP Alumni
VIP Alumni

Hi,

Try this from priviladge mode

router#clear ip dhcp binding *

Regards,
Alex.
Please rate useful posts.

Regards, Alex. Please rate useful posts.

cadet alain
VIP Alumni
VIP Alumni

Hi,

You are a DHCP client on multiple interfaces ? if so doing a shut/no shut on the range of interfaces would achieve what you want and you could automate it with an EEM script.

Regards

Alain

Don't forget to rate helpful posts.

Don't forget to rate helpful posts.
Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Innovations in Cisco Full Stack Observability - A new webinar from Cisco