display access traffic-policy statistics

Function

The display access traffic-policy statistics command displays ACL statistics of a user policy based on a user ID.

This command is supported only on the NetEngine 8000 F1A.

Format

display access traffic-policy statistics user-id user-id [ { inbound | outbound } [ classifier classifier-name ] ]

Parameters

Parameter Description Value
user-id user-id

Specifies a user ID.

The value is an integer ranging from 0 to 4294967295.

inbound

Displays inbound ACL statistics.

-

outbound

Displays outbound ACL statistics.

-

classifier classifier-name

Specifies the name of a traffic classifier.

The value is a string of 1 to 127 characters.

Views

All views

Default Level

1: Monitoring level

Task Name and Operations

Task Name Operations
bras-control read

Usage Guidelines

After the traffic-policy command is run in the BAS interface view to apply a traffic policy for Layer 3 or Layer 2 leased line users, run the display access traffic-policy command to view ACL statistics of the user policy based on a user ID.

Example

The actual command output varies according to the device. The command output here is only an example.

# Display inbound ACL statistics of a user policy with the user ID of 162.
<HUAWEI> display access traffic-policy statistics user-id 162 inbound
--------------------------------------------------------------------------------
  slot 1
--------------------------------------------------------------------------------
Policy name: policy1
  Classifier name: classifier1
    Acl 3999
       rule 5 permit ip source ip-address any destination ip-address 10.0.0.0 0.0.0.255
      (00 packets, 00 bytes)
# Display ACL statistics of a user policy with the user ID of 162.
<HUAWEI> display access traffic-policy statistics user-id 162
--------------------------------------------------------------------------------
  slot 1
--------------------------------------------------------------------------------
Policy name: policy1
  Classifier name: classifier1
    Acl 3999
       rule 5 permit ip source ip-address any destination ip-address 10.0.0.0 0.0.0.255
      (inbound:00 packets, 00 bytes, outbound: 00 packets, 00 bytes)
Acl ipv6 42768
      rule 5 permit ipv6 destination 2001:db8:1::1/64
     (inbound:1909588 packets, 2436634288 bytes, outbound: 0 packets, 0 bytes)
Table 1 Description of the display access traffic-policy statistics command output
Item Description
Policy name

Name of a traffic policy.

Classifier name

Name of a traffic classifier.

Acl

ACL rules applied to a local traffic classifier. The rules are displayed in the format they are configured, with the direction, number of packets matched, and number of bytes matched displayed in parentheses.

Acl ipv6

ACL rules of ipv6 applied to a local traffic classifier.

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >