Use the system apps-access-reset command to reset the access control restrictions for Policy Manager.
system apps-access-reset
Use the system boot-image command to set system boot image control options.
system boot-image [-l] [-a <version>]
The following table describes the required and optional parameters for the system boot-image command:
Table 1: Boot-Image Command Parameters
The following example sets the system boot image control options:
[appadmin]# system boot-image -l
Use the system cleanup command to perform a system cleanup operation that purges the following records:
system cleanup <num_days
The following table describes the required parameter for the system cleanup command:
Table 2: System Cleanup Command Parameter
Use the system create-api-client command create a new API client.
system create-api-client <ClientID> <ClientSecret>
The following example creates an API client and specifies the client ID and client secret:
[appadmin]#system create-api-client Win.139 college52
use this command to export endpoints and endpoint profile details to a zip file that can be downloaded from Admin UI - Backup files under Administration > Server Manager > Local Shared Folders. When using an XML file to export or import a very large number of endpoints, performance is sometimes degraded.
The system factory-reset command restores a ClearPass hardware appliance to factory defaults. This command is available only to the appadmin user.
The system factory-reset command essentially consists of two operations:
When running the system factory-reset in a ClearPass cluster:
After successful configuration and reboot, you will be presented with the bootstrap configuration screen, where you will have to reset all the ClearPass parameters.
The following example restores a ClearPass hardware appliance to factory defaults:
[appadmin]# system factory-reset
The system install-image command installs a fresh image of the major product version specified in the second partition of a ClearPass hardware appliance.
This command is available only for the appadmin user.
After successful execution of the system install-image command, the system will reboot and you will return to the installed image.
After successful configuration and reboot, you will be presented with the bootstrap configuration screen, where you will have to reset all the ClearPass parameters.
You can apply the system install-image command in the following ways:
Table 3: System Install-Image Command Methods
[appadmin]#system install-image CPPM-x86_64-6.X.Y.Z-<any-image>.signed.tar
Use the system morph-vm command to convert an evaluation virtual machine (VM) to a production virtual machine. With this command, licenses are still required to be installed after the morph operation is completed.
To convert an evaluation virtual machine to a production virtual machine:
The configuration data from the evaluation virtual machine will migrate to the newly-attached disk. The node will reboot as a virtual machine of the selected appliance model.
The evaluation virtual machine is now a production virtual machine.
system morph-vm <C1000V | C2000V | C3000V>
The following table describes the parameters for the system morph-vm command:
Table 4: System Morph-VM Command
The following example converts an evaluation virtual machine to a production C3000V virtual appliance:
[appadmin]# system morph-vm C3000V
The system patch-rollback command allows a user with appadmin credentials to revert to the most recent ClearPass installed version. For example, if a ClearPass system is at 6.7.1 and cumulative update 6.7.x is applied, ClearPass can be reverted to 6.7.1 through the system patch-rollback command.
This command can also be used if there is a problem after the patch update processāfor example, if an issue is identified in production that was not identified during testing, resulting in a degradation of capabilities.
When issuing the system patch-rollback command, keep in mind the following points:
system patch-rollback
For example, if ClearPass has been installed in the order 6.7.0 > 6.7.1 > 6.7.2, when the appadmin user executes the system patch-rollback command, the system will revert to a time just before ClearPass 6.7.2 was installed.
If, in this example, the installed 6.7.2 patch added an rpm-X, system patch-rollback deletes rpm-Y, and updates rpm-Z to rpm-Z+1 version. Then system patch-rollback deletes rpm-X, adds rpm-Y, and restores rpm-Z.
The system patch-rollback command can also be used at the cluster level, but this command must be run individually on all cluster nodes. For patch rollback across a cluster, the appadmin user must go to each ClearPass server in the cluster to rollback the last applied patch.
Use the system refresh-license command to refresh the license count information.
system refresh-license
Use the system refresh-network command to refresh the newly added or removed network adapters in ClearPass so that they are reflected in the system. This command also enforces network adapter ordering and associates the lower-order MAC address to eth0 and the next higher-order MAC address to eth1, and so on. Ensure that you have the console session available.
The system refresh-network command is useful when you bring up a virtual machine without one or more of the network interface cards (NICs) and you then add them at a later stage. This command is required when you delete NICs and add them back into the system (VMware ESXi may generate new MAC addresses as a result).
For the network refresh to take effect, you must reboot the ClearPass server.
system refresh-network
This command takes no arguments.
Use the system reset-server-certificate command to reset the HTTP server certificate or RADIUS/EAP server certificate or both.
After executing the command, the Policy Manager services are restarted to reflect the changes.
system reset-server-certificate
system restart
[appadmin]# system shutdown
Use the system sso-reset command to reset the Single Sign-On (SSO) configuration.
system sso-reset
Use the system start-rasession command to start a Remote Assistance (RA) session.
system start-rasession [durationhours | durationmins | contactid | cppmserver_ip]
The following table describes the parameters for the system start-rasession command
Table 5: System Start Remote Assistance Session Command Parameters
Use the system status-rasession command to view the status of a Remote Assistance session.
system status-rasession <session_id>
The following example displays the status of a Remote Assistance session 3001:
[appadmin]# system status-rasession 3001
Use the system terminate-rasession command to terminate a running Remote Assistance session.
system terminate-rasession <session_id>
The following example terminates a running RemoteAssist session 3001:
[appadmin]# system terminate-rasession 3001
The system update command provides options to manage system patch updates.
system update [-i [-f] <user@hostname:/<filename> | http://hostname/<filenameĀ»]
system update [-f]
system update [-l]
The following table describes the required and optional parameters for the system update command:
Table 6: System Update Command Parameters
The following example of the system update command will reinstall the patch if necessary and list the patches currently installed on the ClearPass server:
[appadmin]# system update -f -l
The system upgrade command upgrades the system. This command provides you with the following system upgrade options:
system upgrade <session_id>
system upgrade user@hostname:/<filepath> [-w] [-l] [-L]
system upgrade http://hostname/<filepath> [-w] [-l] [-L]
system upgrade <filepath> [-w] [-l] [-L]
Table 7: System Upgrade Command Parameters
To upgrade the Policy Manager image from a Linux server:
system upgrade user@hostname:/<filepath> [-w] [-l] [-L]
For example:
[appadmin]# system upgrade admin@sun.us.arubanetworks
To upgrade the Policy Manager image from a Web server:
system upgrade http://hostname/<filepath> [-w] [-l] [-L]
For example:
[appadmin]# system upgrade http://sun.us.arubanetworks.com/downloads/PolicyManager-x86-64-upgrade-71.tgz
To perform an offline upgrade:
system upgrade <filepath> [-w] [-l] [-L]
For example:
[appadmin]# system upgrade CPPM-upgradeimage.bin
The Policy Manager restarts and boots up to the most recent version of ClearPass Policy Manager.