Go Back   Velocity Reviews > Newsgroups > Cisco
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply

Cisco - Dynamic IP Address Release/Renew

 
Thread Tools Search this Thread
Old 05-05-2004, 11:00 AM   #1
Default Dynamic IP Address Release/Renew


When I ask this question, I am refering to a Cisco 831 router
that is taking a dynamic IP address from the cablemodem provider.

In Windows 2000, you can type 'ipconfig /release' to release
the dynamic IP address assigned to the PC and then type 'ipconfig
/renew' to get another dynamic IP address assigned.

Is/are there IOS command(s) to release and renew the dynamic
IP address from the cable provider? If so what is/are it/they?

I know that you can just reload the router to do it, but I
want to be able to do it without taking the router down.

Thanks,


Fred



Fred Atkinson
  Reply With Quote
Old 05-05-2004, 03:11 PM   #2
Martin Gallagher
 
Posts: n/a
Default Re: Dynamic IP Address Release/Renew

On Wed, 05 May 2004 11:00:56 +0000, Fred Atkinson wrote:

> Is/are there IOS command(s) to release and renew the dynamic
> IP address from the cable provider? If so what is/are it/they?
>
> I know that you can just reload the router to do it, but I
> want to be able to do it without taking the router down.
>


If you have IOS 12.3(4)T or later there is release/renew dhcp exec
command.

See
http://www.cisco.com/univercd/cc/td/...4/gtdhcprr.htm

For earlier IOS, you don't need to reload. Just shut/no shut the
interface.

--
Rgds,
Martin
  Reply With Quote
Old 05-05-2004, 03:19 PM   #3
JustMe
 
Posts: n/a
Default Re: Dynamic IP Address Release/Renew



Martin Gallagher wrote:

> On Wed, 05 May 2004 11:00:56 +0000, Fred Atkinson wrote:
>
>
>> Is/are there IOS command(s) to release and renew the dynamic
>>IP address from the cable provider? If so what is/are it/they?
>>
>> I know that you can just reload the router to do it, but I
>>want to be able to do it without taking the router down.
>>

>
>
> If you have IOS 12.3(4)T or later there is release/renew dhcp exec
> command.
>
> See
> http://www.cisco.com/univercd/cc/td/...4/gtdhcprr.htm
>
> For earlier IOS, you don't need to reload. Just shut/no shut the
> interface.
>


This works only for DHCP which is not the only way to assign a dynamic
IP address to an interface.

  Reply With Quote
Old 05-05-2004, 04:30 PM   #4
Fred Atkinson
 
Posts: n/a
Default Re: Dynamic IP Address Release/Renew

Thanks,

My IOS is 12.2 ;-(, but I'll remember the shut/no shut trick.

I got my 831 through the Cisco academy program a few months
ago. I'm looking in to finding out if I can get the upgrade.

My best,


Fred

On Thu, 06 May 2004 01:11:37 +1000, "Martin Gallagher"
<> wrote:

>On Wed, 05 May 2004 11:00:56 +0000, Fred Atkinson wrote:
>
>> Is/are there IOS command(s) to release and renew the dynamic
>> IP address from the cable provider? If so what is/are it/they?
>>
>> I know that you can just reload the router to do it, but I
>> want to be able to do it without taking the router down.
>>

>
> If you have IOS 12.3(4)T or later there is release/renew dhcp exec
>command.
>
> See
>http://www.cisco.com/univercd/cc/td/...4/gtdhcprr.htm
>
> For earlier IOS, you don't need to reload. Just shut/no shut the
>interface.


  Reply With Quote
Old 05-06-2004, 01:51 PM   #5
AnyBody43
 
Posts: n/a
Default Re: Dynamic IP Address Release/Renew

Fred Atkinson <> wrote in message news:<>. ..
> Thanks,
>
> My IOS is 12.2 ;-(, but I'll remember the shut/no shut trick.


Perhaps

clear int

would do the job? Even less typing!
  Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump