< Home

Enabling the Log Function

If traffic matches a traffic policy and the traffic volume exceeds the thresholds specified in the traffic profile after you enable bandwidth management logging, the bandwidth management module will generate packet discarding logs and output the logs to the information center.

Prerequisites

Procedure

  1. In the system view, enable the bandwidth management logging function globally.

    traffic-policy discard packet log enable

  2. Optional: Specify the interval for sending packet discarding logs based on a traffic policy.

    traffic-policy discard packet log interval interval

  3. Access the traffic profile view.

    profile profile-name

  4. Enable log sending for the current traffic profile.

    logging

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