Difference between revisions of "policy installation status via CLI"
From cpwiki.net
Line 5: | Line 5: | ||
get install time | get install time | ||
− | # cpmistat -r fw ''firewall_name'' | grep fwStatus.fwPolicyStat. | + | # cpmistat -r fw ''firewall_name'' | grep fwStatus.fwPolicyStat.fwInstallTime |
[[category:cpmistat]] | [[category:cpmistat]] |
Latest revision as of 20:47, 21 August 2017
These commands can be used to query policy info for firewalls. The cpmistat command is executed on Security Management Server / Domain Security Management Server. The firewall name should be a standalone firewall or a cluster member. It won't work for cluster objects. Many other parameters are available via cpmistat.
get name of policy installed on a firewalls
# cpmistat -r fw firewall_name | grep fwStatus.fwPolicyStat.fwPolicyName
get install time
# cpmistat -r fw firewall_name | grep fwStatus.fwPolicyStat.fwInstallTime