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. If you'd prefer to explore, try our test area to get started. And see here for current known issues.

New Member

IP address on a particular interface

I have a very stupid question here. Please bear with me as I am new to Cisco Routers.

I wish to set an IP Address say 192.168.100.1 255.255.255.0

So on the prompt I shoot the following commands:

enable

config t

interface ethernet 0

ip address 192.168.100.1 255.255.255.0

But now I wish not to set IP Address on this interface .. or in other words I wish to delete or erase this IP Address.

How can we do this?

Thanks

2 ACCEPTED SOLUTIONS

Accepted Solutions

Re: IP address on a particular interface

Hi

You can simply remove the ip address using no ip address 192.168.100.1 255.255.255.0 under the interface mode but u need to make sure that you are not accessing the router via the same ip address.

if you are connected via the same ip address you will get disconnected and might result in a reset to the hardware..

It will be safe if you are connected via console and doing the config..

regds

Silver

Re: IP address on a particular interface

Hi,

There are two ways:

no ip address

or

ip address x.x.x.x y.y.y.y which actually overwrite the previous IP address set.

If just want to delete the ip address use "no ip address".

Hope it helps,

Krisztian

4 REPLIES

Re: IP address on a particular interface

Hi

You can simply remove the ip address using no ip address 192.168.100.1 255.255.255.0 under the interface mode but u need to make sure that you are not accessing the router via the same ip address.

if you are connected via the same ip address you will get disconnected and might result in a reset to the hardware..

It will be safe if you are connected via console and doing the config..

regds

Silver

Re: IP address on a particular interface

Hi,

There are two ways:

no ip address

or

ip address x.x.x.x y.y.y.y which actually overwrite the previous IP address set.

If just want to delete the ip address use "no ip address".

Hope it helps,

Krisztian

New Member

Re: IP address on a particular interface

Thanks for your help guys.

The posts did solved the problem.

Thanks

Purple

Re: IP address on a particular interface

you can also do this.

conf t

default interface ethernet 0 .

180
Views
0
Helpful
4
Replies