< Home

acl authorization statistics enable

Function

The acl authorization statistics enable command enables statistics collection on packets that match the ACLs assigned for authorization.

The undo acl authorization statistics enable command disables statistics collection on packets that match the ACLs assigned for authorization.

By default, statistics collection on packets that match the ACLs assigned for authorization is disabled.

Format

acl authorization statistics enable

undo acl authorization statistics enable

Parameters

None

Views

System view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

On a live network, the authentication server may assign ACLs to users who pass NAC authentication to grant the users access to the network. You can run the acl authorization statistics enable command to check the number of user packets that match the assigned ACLs.

Precautions

The function takes effect only for users who go online after this function is enabled, and for the S2720-EI, S5720I-SI, S5720-LI, S5735-L, S5735S-L, S5735S-L-M, S5720S-LI, S5720S-SI, S5720-SI, S5735-S, S5735S-S, S5735-S-I, S5730S-EI, S5730-SI, S6720-LI, S6720S-LI, S6720S-SI, and S6720-SI, this function cannot be used to collect statistics on packets that match the permit rules in redirection ACLs.

Example

# Enable statistics collection on packets that match the ACLs assigned for authorization.

<HUAWEI> system-view
[HUAWEI] acl authorization statistics enable
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >