cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
506
Views
0
Helpful
1
Replies

Change IP address of network object hosts

darrenriley5
Level 1
Level 1

Hi,

I need to change the ip addresses of quite a few named network object hosts. None of the rules associated with these will be changing so using the command line if just re-create the named object with the new ip should this do the trick?

Thanks

Darren

1 Reply 1

Shrikant Sundaresh
Cisco Employee
Cisco Employee

Hi Darren,


Suppose that this is the original config you have now:

object network OBJ_SPECIFIC_192-168-1-0
subnet 192.168.1.0 255.255.255.0

If you do the following, then the NAT rules associated with this object will still remain intact:

conf t

object network OBJ_SPECIFIC_192-168-1-0

   subnet/host _____________

However if you remove the object and recreate it, then the nat rules will be deleted.

Hope this helps.

P.S.: Please mark the question resolved, if it has been answered. Do rate helpful posts. Thanks.

Review Cisco Networking for a $25 gift card