Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Attention: The Community will be in read-only mode on 12/14/2017 from 12:00 am pacific to 11:30 am.

During this time you will only be able to see content. Other interactions such as posting, replying to questions, or marking content as helpful will be disabled for few hours.

We apologize for the inconvenience while we perform important updates to the Community.

New Member

How to Release/Renew IP address on DMP

Is there a way to release or renew the IP address from the DMM on a unit deployed out in the field? We have assigned it a reserved IP address and I don't see any way to do it via the DMP-4400G internal settings. Setting it to static I fear will require a hard reboot at the endpoint. Running v.5.4

Thanks,

John

1 ACCEPTED SOLUTION

Accepted Solutions
Cisco Employee

How to Release/Renew IP address on DMP

Hello,  The following comments are NOT officially supported by Cisco TAC but may help in accomplishing what you need to do.  The Cisco DMP OS runs UDHCP.  The said there is a way to "Release" the current IP address of the DMP.

The correct procedure method of assigning an alternative IP address is to either statically configure the IP address on the DMP and reboot OR configure DHCP's scope to statically assign a specific IP address for the DMP and then reboot. Obviously, you would want to do this during a scheduled maintenance period and have someone onsite just incase something goes wrong.

So, the steps to "release" the IP config and issue a DHCP discover on the DMP is as follows:

Note - If TAC access is not already enabled, this will also require a reboot to enable root access.

* First thing is to enable root access to the DMP.  Access the DMP Admin Web Gui. Under the Administration section of the Web Gui, Select DMP  MANAGEMENT and "Enable Cisco TAC Troubleshooting Access" and Click APPLY button..  Under the DMP SERVICE ACCOUNT section, Set the TAC Account password and Click APPLY button.

* A reboot is required to SAVE the above changes.  Select the SAVE and RESTART DMP administration option.  Click on SAVE button and then RESTART button to restart DMP.

* Once the DMP has restarted, you can verify the changes in order to make sure ROOT access is enabled.

From and HTTP Browser, use the address https:///show-tech

Search for "Root access enabled " and you should see something like:

Root access enabled (0 = yes, 1 = no): 0

* After "Root" access is enabled, you can SSH to the DMP as the USER "root".  Login with the TAC Service account password that you setup earlier.

* Change directory to /sbin and issue the command "udhcpc deconfig"

Sample Output:

--------------

DMP 4400 192.168.1.129 # udhcpc deconfig

udhcpc (v1.7.2) started

    /sbin/ifconfig eth0 0.0.0.0

Sending discover...

Sending select for 192.168.1.129...

Lease of 192.168.1.129 obtained, lease time 259174

    /sbin/ifconfig eth0 192.168.1.129 broadcast 255.255.255.255 netmask 255.255.255.0

    /sbin/route del default gw 0.0.0.0 dev ether

route: SIOCDELRT: No such process

    /sbin/route add default gw 192.168.1.1 dev eth0

    adding domain company.com

    adding dns 1.1.1.1

    adding dns 2.2.2.2

    adding dns 3.3.3.3

method return sender=:1.2 -> dest=:1.8 reply_serial=2

   string "1"

I hope this helps!

T.

4 REPLIES
Bronze

How to Release/Renew IP address on DMP

John,

There is no way in the DMP web interface to release and renew and don't know of a command that can be sent it to do this.  If you set it to static the DMP will need to be rebooted for the change to take effect.

John

New Member

Re: How to Release/Renew IP address on DMP

This was extremely helpful to me today!  (THANK YOU TOMAS!)

BTW:

  • udhcpc deconfig released the currently leased DCHP IP, but
  • it did not also (subsequently) trigger the DMP to get another IP (that I had reserved)
  • Instead (my very next command) I just then ran udhcpc -R which requested an IP, and
  • that did the trick:  NEW (reserved) IP was obtained, SANS reboot
  • NOTE also that the DMM server, somehow got notice of the new IP for this DMP immediately!

Thank again!,

Paul

Cisco Employee

How to Release/Renew IP address on DMP

Hello,  The following comments are NOT officially supported by Cisco TAC but may help in accomplishing what you need to do.  The Cisco DMP OS runs UDHCP.  The said there is a way to "Release" the current IP address of the DMP.

The correct procedure method of assigning an alternative IP address is to either statically configure the IP address on the DMP and reboot OR configure DHCP's scope to statically assign a specific IP address for the DMP and then reboot. Obviously, you would want to do this during a scheduled maintenance period and have someone onsite just incase something goes wrong.

So, the steps to "release" the IP config and issue a DHCP discover on the DMP is as follows:

Note - If TAC access is not already enabled, this will also require a reboot to enable root access.

* First thing is to enable root access to the DMP.  Access the DMP Admin Web Gui. Under the Administration section of the Web Gui, Select DMP  MANAGEMENT and "Enable Cisco TAC Troubleshooting Access" and Click APPLY button..  Under the DMP SERVICE ACCOUNT section, Set the TAC Account password and Click APPLY button.

* A reboot is required to SAVE the above changes.  Select the SAVE and RESTART DMP administration option.  Click on SAVE button and then RESTART button to restart DMP.

* Once the DMP has restarted, you can verify the changes in order to make sure ROOT access is enabled.

From and HTTP Browser, use the address https:///show-tech

Search for "Root access enabled " and you should see something like:

Root access enabled (0 = yes, 1 = no): 0

* After "Root" access is enabled, you can SSH to the DMP as the USER "root".  Login with the TAC Service account password that you setup earlier.

* Change directory to /sbin and issue the command "udhcpc deconfig"

Sample Output:

--------------

DMP 4400 192.168.1.129 # udhcpc deconfig

udhcpc (v1.7.2) started

    /sbin/ifconfig eth0 0.0.0.0

Sending discover...

Sending select for 192.168.1.129...

Lease of 192.168.1.129 obtained, lease time 259174

    /sbin/ifconfig eth0 192.168.1.129 broadcast 255.255.255.255 netmask 255.255.255.0

    /sbin/route del default gw 0.0.0.0 dev ether

route: SIOCDELRT: No such process

    /sbin/route add default gw 192.168.1.1 dev eth0

    adding domain company.com

    adding dns 1.1.1.1

    adding dns 2.2.2.2

    adding dns 3.3.3.3

method return sender=:1.2 -> dest=:1.8 reply_serial=2

   string "1"

I hope this helps!

T.

New Member

How to Release/Renew IP address on DMP

Thanks Tom!

1768
Views
5
Helpful
4
Replies
CreatePlease to create content