cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
514
Views
0
Helpful
4
Replies

IP address on a particular interface

iifanatic
Level 1
Level 1

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

spremkumar
Level 9
Level 9

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

View solution in original post

kerek
Level 4
Level 4

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

View solution in original post

4 Replies 4

spremkumar
Level 9
Level 9

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

kerek
Level 4
Level 4

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

Thanks for your help guys.

The posts did solved the problem.

Thanks

glen.grant
VIP Alumni
VIP Alumni

you can also do this.

conf t

default interface ethernet 0 .

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:

Review Cisco Networking products for a $25 gift card