No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search


To have a better experience, please upgrade your IE browser.


NE40E V800R010C10SPC500 Configuration Guide - QoS 01

This is NE40E V800R010C10SPC500 Configuration Guide - QoS
Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
(Optional) Enabling the logging of the first packet that matches an ACL rule

(Optional) Enabling the logging of the first packet that matches an ACL rule

When packets match an ACL, information about the first matching packet can be logged, including the name of the inbound/outbound interface, source IP address, destination IP address, protocol number, source port number, destination port number, time when the first packet is received (millisecond-level), and number of packets within the specified period.


  1. Run system-view

    The system view is displayed.

  2. Run traffic behavior behavior–name

    A traffic behavior is configured and the traffic behavior view is displayed.

  3. Run log first-packet

    Enabling the logging of the first packet that matches an ACL rule.

    • An LPUI-51-L supports the log first-packet command only in integrated sampling mode.
    • The log first-packet command supports logging only for IP packets. MPLS/L2/UCL rules are not supported.
    • If queue congestion occurs, the first packet recording time is inaccurate.
    • The shared traffic policy does not support the log first-packet command.
    • If a traffic policy is applied to Layer 2 interfaces ,EVC, VE or global VE, the traffic behavior in the traffic policy cannot be set to log first-packet.
    • If the global ACL, global UCL, VPN ACL, or VXLAN multi-field classification has been configured on the device, log first-packet cannot be configured.
    • If a traffic policy has been applied to a vBDIF, PWIF, or GRE tunnel interface, log first-packet cannot be configured.
    • In the same traffic behavior, the log first-packet command is mutually exclusive with the ip netstream sampler command.

  4. Run quit

    The system view is displayed.

  5. (Optional) Run traffic-behavior log { entries number-of-entries | interval interval-time } *

    Configuring the maximum number of flows and the interval for collecting packet statistics recorded by the log first-packet action.

    This command is supported only on the Admin-VS.

  6. Run commit

    The configuration is committed.

Updated: 2019-01-03

Document ID: EDOC1100055024

Views: 25468

Downloads: 117

Average rating:
This Document Applies to these Products
Related Version
Related Documents
Previous Next