mpls traffic-statistics

Function

The mpls traffic-statistics command globally enables MPLS traffic statistics collection and creates the traffic statistics view.

The undo mpls traffic-statistics command globally disables MPLS traffic statistics collection and deletes the traffic statistics view.

This function is disabled by default.

Format

mpls traffic-statistics

undo mpls traffic-statistics

Parameters

None

Views

System view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
mpls-base write

Usage Guidelines

Usage Scenario

LDP traffic statistics collection enables users to query and monitor LDP LSP traffic in real time.

To globally enable MPLS traffic statistics collection and create the traffic statistics view, run the mpls traffic-statistics command.

Prerequisites

MPLS has been enabled globally using the mpls command.

Example

# Enable MPLS traffic statistics collection globally.
<HUAWEI> system-view
[~HUAWEI] mpls
[~HUAWEI-mpls] quit
[~HUAWEI] mpls traffic-statistics
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >