Manage Licenses from the Command Line
Once you have added your licenses to the license server, there are certain operations you may need to perform at a later time. For example:
- Deregistering a License from the Command Line
- Clearing a License File from the Command Line
- Change Maintenance Expiration from Command Line
- Changing the Expiration Date for a License
Deregistering a License from the Command Line
Typically, you will deregister licenses if the computer is about to be reformatted or decommissioned, or if you want to move the license to another license file.
This section describes how to deregister licenses when using the command line (floating license manager). Use Procedure 39 to deregister one or more licenses.
Procedure 39: Deregister Licenses from the Command Line
-
Open the floating license manager from the command line:
- For Riverbed analysis software or AppInternals, use Procedure 29.
-
At the
manager>prompt, enterdelete_permitsand press Enter. See the following example:manager> delete_permits Please provide the transaction code to Riverbed via the web: https://rpmapps.riverbed.com/cms/4dcgi/LICW4D_CL_Operations If you are unable to perform license registration over the web, contact Riverbed via: Phone: 1.888.782.3822 or +1.415.247.7381 Email: support@riverbed.com Transaction code> DFEB.072B.FF29.41C0.45EE.A9DF.035A.A033.94D4 After sending the transaction code to Technical Support, please do not exit the current session of op_license_util before receiving the approval code from Technical Support. Enter approval code. Approval code> -
In your web browser, go to: https://rpmapps.riverbed.com/cms/4dcgi/LICW4D_CL_Operations
-
Log in with your Riverbed support Username and Password.
-
Select "Deregister License (delete_permits)" and click Next.
Figure 34: Deregister License—Browser Method

-
Enter the Transaction Code (from step 2) and the hostname of your license server. Make sure there are no extra spaces before or after the code or hostname. Click Next.
Figure 35: Enter Transaction Code/Hostname

-
When the "Select Starting License" page appears, select the lowest license ID that you want to add to your computer. If you want to add only one license, select that license.
-
When the "Select Ending License" page appears, select the highest license ID that you want to add to your computer. If you want to add only one license, select that license. The confirmation page appears.
-
When the "License Registration Confirmation" page appears, check that the information is correct, then click on the Get Approval Code button.
Result: The Approval Code appears.
-
Enter the Approval Code where prompted in the floating license manager and press Enter.
-
To confirm that the server deregistered the license, use the license manager
permit_infocommand to display the license you have available. -
Type
exitto leave the floating license manager, and close your browser.
Deregistering versus Clearing a License File
Should you use "Deregister License" or "Clear License File"? These two options sound very similar but each performs the same operation on a different scale.
- Option 1—Deregister all licenses If you want to deregister all of your licenses in a single operation, use Clear License File (see Clearing a License File from the Command Line). This deregisters all licenses in the license file at once, regardless of their contract number range.
- Option 2—Deregister one or more selected licenses If you want to deregister a selected license use the Deregister License operation described in this section, and enter the license(s) to remove from your license file.
Clearing a License File from the Command Line
This operation deregisters all licenses from the license file in a single operation. You should always contact Riverbed Technical Support by e-mail, phone, or fax before performing this operation.
In the command line of the floating license manager, use the clear_fl_db command to clear a license file.
Change Maintenance Expiration from Command Line
This section describes how to change the maintenance expiration date for licenses when using the command line (floating license manager).
Procedure 40: Change Licensing Maintenance Expiration Using the Command Line
-
Open the floating license manager from the command line:
- For Riverbed analysis software or AppInternals, use Procedure 29
-
At the
manager>prompt, enterch_mtnand press Enter. See the following example:manager> ch_mtn Please provide the transaction code to Riverbed via the web: https://rpmapps.riverbed.com/cms/4dcgi/LICW4D_CL_Operations If you are unable to perform license registration over the web, contact Riverbed via: Phone: 1.888.782.3822 Email: support@riverbed.com Transaction code> DFEB.072B.FF29.41C0.45EE.A9DF.035A.A033.94D4 After sending the transaction code to Technical Support, please do not exit the current session of op_license_util before receiving the approval code from Technical Support. Enter approval code. Approval code> -
In your web browser, go to: https://rpmapps.riverbed.com/cms/4dcgi/LICW4D_CL_Operations
-
Log in with your Riverbed support Username and Password.
-
Select "Change Maintenance Expiration (ch_mtn)", then click Next.
Figure 36: Change Maintenance Expiration—Browser Method

-
Enter the Transaction Code (from step 2) and the hostname of your license server. Make sure there are no extra spaces before or after the code or hostname. Click Next.
Figure 37: Enter Transaction Code/Hostname

-
When the "Select Starting License" page appears, select the lowest license ID that you want to update. If you want to update only one license, select that license.
-
When the "Select Ending License" page appears, select the highest license ID that you want to update. If you want to update only one license, select that license.
Result: The confirmation page appears.
-
When the "License Registration Confirmation" page appears, check that the information is correct, then click on the Get Approval Code button.
Result: The Approval Code appears.
-
Enter the Approval Code where prompted in the floating license manager and press Enter.
-
Type
exitto leave the floating license manager, and close your browser.
Changing the Expiration Date for a License
This section describes how to change the expiration date for licenses when using the command line (floating license manager).
Procedure 41: Change License Expiration Using the Command Line
-
Open the floating license manager from the command line:
- For Riverbed analysis software or AppInternals, use Procedure 29
-
At the
manager>prompt, enterch_expand press Enter. See the following example:manager> ch_exp Please provide the transaction code to Riverbed via the web: https://rpmapps.riverbed.com/cms/4dcgi/LICW4D_CL_Operations If you are unable to perform license registration over the web, contact OPNET via: Phone: +1.415.247.7381 or +1.888.782.3822 Email: support@riverbed.com Transaction code> DFEB.072B.FF29.41C0.45EE.A9DF.035A.A033.94D4 After sending the transaction code to Technical Support, please do not exit the current session of op_license_util before receiving the approval code from Technical Support. Enter approval code. Approval code> -
In your web browser, go to: https://rpmapps.riverbed.com/cms/4dcgi/LICW4D_CL_Operations
-
Log in with your Riverbed support Username and Password.
-
Select "Change License Expiration (ch_exp)", then click Next.
Figure 38: Change License Expiration—Browser Method

-
Enter the Transaction Code (from step 2) and the hostname of your license server. Make sure there are no extra spaces before or after the code or hostname. Click Next.
Figure 39: Enter Transaction Code/Hostname

-
When the "Select Starting License" page appears, select the lowest license ID for which you want to change the expiration date. If you want to update only one license, select that license.
-
When the "Select Ending License" page appears, select the highest license ID for which you want to change the expiration date. If you want to update only one license, select that license.
Result: The confirmation page appears.
-
When the "License Registration Confirmation" page appears, check that the information is correct, then click on the Get Approval Code button.
Result: The Approval Code appears.
-
Enter the Approval Code where prompted in the floating license manager and press Enter.
-
Type
exitto leave the floating license manager, and close your browser.