Override Individual Settings
Use the following command to override individual policy settings.
To override settings directly from the command line
1. | Enter a command using this basic syntax, where settingName is name of the setting you are updating, and settingValue is its new value: |
flexnetlsadmin -server licenseServer_baseURL –config -set settingName=settingValue
For example, to override a single policy setting (in this example, lfs.capability.repeats), enter a command similar to this:
flexnetlsadmin -server licenseServer_baseURL –config -set lfs.capability.repeats=2d
The following shows other syntax requirements:
• | To override more than one setting, enter a command similar to this, using commas to separate the settings: |
flexnetlsadmin -server licenseServer_baseURL –config -set lfs.capability.repeats=2d,
lfs.capability.retryCount=1
• | To override a setting that contains multiple values (such as might be the case with security.ip.whitelist), use commas to separate values, and then enclose the entire set of values in square brackets. Additionally, on Windows, you must also enclose the entire bracketed component in double quotes, as shown: |
flexnetlsadmin -server licenseServer_baseURL –config -set security.ip.whitelist="[127.0.0.1,192.0.0.1]"
On Linux, you can omit the double quotes around the bracketed component:
flexnetlsadmin -server flexnetlsadmin -server licenseServer_baseURL –config -set security.ip.whitelist=[127.0.0.1,192.0.0.1]
• | To override more than one setting when one of the settings includes multiple values (such as might be the case for security.ip.whitelist), enter a command similar to this (shown for Windows): |
flexnetlsadmin -server licenseServer_baseURL –config -set lfs.capability.repeats=2d,security.ip.whitelist="[127.0.0.1,192.0.0.1]"
As in the previous example, on Linux you can omit the double quotes around the bracketed component.
2. | If necessary, stop and restart the license server to put the overrides into effect. |