Verifying the Configuration of Traffic Policing Based on MF Classification

After MF classification—based traffic policing is successfully configured, you can view the traffic classifiers, traffic behaviors, binding between traffic classifiers and behaviors in the specified traffic policy, configured traffic policies and their application, and configured queues and their application.

Procedure

  • Run the display interface [ interface-type [ interface-number ] ] command to view the information about the traffic on the interface.
  • Run the display traffic behavior { system-defined | user-defined } [ behavior-name ] command to view information about the configured traffic behaviors.
  • Run the display traffic classifier { system-defined | user-defined } [ classifier-name ] command to view information about the configured traffic classifiers.
  • Run the display traffic policy { system-defined | user-defined } [ policy-name [ classifier classifier-name ] ] command to view information about the association between all or the specified traffic classifiers and traffic behaviors in traffic policies.
  • Run the display car resource slot slot-id command to view information about CAR resource allocation.
  • Run the display qos resource rule { aclv4 | aclv6 | l2acl | mpls } slot slot-id command to view the usage of ACL rules on each board.
  • Run the display qos resource traffic-policy application [ slot slot-id ] command to view the number of interfaces to which traffic policies are bound and the number of remaining interfaces to which traffic policies can be bound.
  • Run the display traffic policy [ [ name ] policy-name ] statistics interface { interface-name | interface-type interface-number } [ vlan vlan-id | pe-vid pe-vid ce-vid ce-vid | vid vid | ce-vid ce-vid | vid vid ce-vid ce-vid ] { inbound | outbound } [ verbose { classifier-based [ class class-name ] | rule-based [ class class-name ] [ filter ] } ] command to view the statistics about the traffic policy.

    To view CAR statistics, classifier-based must be specified.

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