Difference between revisions of "policy installation status via CLI"
From cpwiki.net
(Created page with "get name of policy installed on a firewalls cpmistat -o snmp -r fw ''firewall_name'' | grep fwStatus.fwPolicyStat.fwPolicyName category:cpmistat") |
|||
(One intermediate revision by one user not shown) | |||
Line 1: | Line 1: | ||
+ | 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 | get name of policy installed on a firewalls | ||
− | cpmistat | + | # cpmistat -r fw ''firewall_name'' | grep fwStatus.fwPolicyStat.fwPolicyName |
+ | |||
+ | get install time | ||
+ | # 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