Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

Cisco 2921 router release/renew all dhcp addresses

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
Green

Cisco 2921 router release/renew all dhcp addresses

Hi,

Try this from priviladge mode

router#clear ip dhcp binding *

Regards,
Alex.
Please rate useful posts.

Regards, Alex. Please rate useful posts.
Purple

Cisco 2921 router release/renew all dhcp addresses

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.
2 REPLIES
Green

Cisco 2921 router release/renew all dhcp addresses

Hi,

Try this from priviladge mode

router#clear ip dhcp binding *

Regards,
Alex.
Please rate useful posts.

Regards, Alex. Please rate useful posts.
Purple

Cisco 2921 router release/renew all dhcp addresses

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.
200
Views
0
Helpful
2
Replies
CreatePlease login to create content