< Home

log type traffic-report enable

Function

The log type traffic-report enable command enables the traffic report recording function.

The undo log type traffic-report enable command disables the traffic report recording function.

Format

log type traffic-report enable

undo log type traffic-report enable

Parameters

None

Views

System view

Default Level

2: Configuration level

Usage Guidelines

  • This command is supported since V600R007C20SPC300. By default, the traffic report recording function is disabled.
  • For versions earlier than V600R007C20SPC300, run the log type traffic enable command to enable the traffic report recording function before viewing traffic reports.
  • For V600R007C20SPC300 and later versions, run the log type traffic-report enable command to enable the traffic report recording function before viewing traffic reports.
  • To be compatible with earlier versions, after an upgrade to V600R007C20SPC300, whether the traffic report recording function is enabled depends on the traffic log recording function (enabled using the log type traffic enable command). That is, if the traffic log recording function is enabled in an earlier version, the traffic report recording function is also enabled after an upgrade. Otherwise, the traffic report recording function is also disabled.

Example

# Enable the traffic report recording function.

<sysname> system-view
[sysname] log type traffic-report enable
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >