< Home

Enabling the Log Function for Inbound and Outbound Packet Loss Caused by Congestion

Context

Network congestion during service transmission may cause packet loss. If a lot of packets are discarded, services are affected. To better monitor the number of discarded packets, you can run the log-threshold { input-discard | output-discard }* command in the system view to enable the log function for inbound and outbound packet loss caused by congestion. The device generates a log when the number of discarded incoming and outgoing packets on the interface in a specified period exceeds the threshold. Logs help you know the congestion on the interface. You can determine whether to increase the bandwidth or cancel the bandwidth limit on the interface based on the logs. In this way, the congestion problem can be solved.

Procedure

  1. Run system-view

    The system view is displayed.

  2. Run log-threshold { input-discard | output-discard }*

    The log function for packet loss caused by congestion is enabled on all interfaces.

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