show nac-policy
To show the NAC policy usage statistics and the assignment of NAC policies to group policies, use the show nac-policy command in privileged EXEC mode.
show nac-policy [ nac-policy-name ]
Syntax Description
nac-policy-name |
(Optional) Name of the NAC policy for which to display usage statistics. |
Command Default
If you do not specify a name, the CLI lists all NAC policy names along with their respective statistics.
Command Modes
The following table shows the modes in which you can enter the command:
Command Mode |
Firewall Mode |
Security Context |
|||
---|---|---|---|---|---|
Routed |
Transparent |
Single |
Multiple |
||
Context |
System |
||||
Privileged EXEC |
|
|
— |
— |
|
Command History
Release |
Modification |
---|---|
8.0(2) |
This command was added. |
Examples
The following example shows the data for the NAC policies named framework1 and framework2:
ciscoasa(config)# show nac-policy
nac-policy framework1 nac-framework
applied session count = 0
applied group-policy count = 2
group-policy list: GroupPolicy2 GroupPolicy1
nac-policy framework2 nac-framework is not in use.
The first line of each NAC policy indicates its name and type (nac-framework). The CLI shows the text “is not in use” next to the policy type if the policy is not assigned to any group policies. Otherwise, the CLI displays the usage data for the group policy. Table 10-1 explains the fields in the show nac-policy command.
Field |
Description |
---|---|
applied session count |
Cumulative number of VPN sessions to which this ASA applied the NAC policy. |
applied group-policy count |
Cumulative number of group polices to which this ASA applied the NAC policy. |
group-policy list |
List of group policies to which this NAC policy is assigned. In this case, the usage of a group policy does not determine whether it appears in this list; if the NAC policy is assigned to a group policy in the running configuration, then the group policy appears in this list. |