< Home

logging (traffic profile view)

Function

The logging command enables log sending in a traffic profile.

The undo logging command disables log sending in a traffic profile.

Format

logging

undo logging

Parameters

None

Views

Traffic profile view

Default Level

2: Configuration level

Usage Guidelines

The log sending function is disabled by default in traffic profiles. To enable log sending in a specific traffic profile, you also need to enable bandwidth management logging. For details, see traffic-policy discard packet log enable.

Example

# Enable log sending in traffic profile traffic_profile.

<sysname> system-view
[sysname] traffic-policy
[sysname-policy-traffic] profile traffic_profile
[sysname-policy-traffic-profile-traffic_profile] logging
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >