IP address on a particular interface

Answered Question
Jun 11th, 2007
User Badges:

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

Correct Answer by spremkumar about 9 years 10 months ago

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


  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (2 ratings)
Loading.
Correct Answer
spremkumar Mon, 06/11/2007 - 22:44
User Badges:
  • Red, 2250 points or more

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


iifanatic Mon, 06/11/2007 - 22:52
User Badges:

Thanks for your help guys.

The posts did solved the problem.

Thanks

glen.grant Tue, 06/12/2007 - 03:21
User Badges:
  • Purple, 4500 points or more

you can also do this.


conf t

default interface ethernet 0 .

Actions

This Discussion