< Home

statistic enable (MPLS TE tunnel interface view)

Function

The statistic enable command enables MPLS TE traffic statistics collection.

The undo statistic enable command disables MPLS TE traffic statistics collection.

By default, MPLS TE traffic statistics collection is disabled.

Only the S5720-HI, S5730-HI, S5731-H, S5731S-H, S5732-H, S6720-HI, S6730S-H, and S6730-H support this command.

Format

statistic enable

undo statistic enable

Parameters

None

Views

Tunnel interface view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

To view MPLS TE traffic statistics collected in the outbound direction of an interface, run the statistic enable command in the tunnel interface view to enable MPLS TE traffic statistics collection first. After a period of time, run the display interface tunnel or display counters interface command to view the MPLS TE traffic statistics.

Prerequisites

The tunneling protocol of the tunnel interface has been set to MPLS TE using the tunnel-protocol mpls te command in the tunnel interface view.

Precautions

MPLS TE traffic statistics collection is supported only in the outbound direction of a tunnel interface.

Example

# Enable MPLS TE traffic statistics collection on Tunnel1.

<HUAWEI> system-view
[HUAWEI] mpls lsr-id 10.1.1.1
[HUAWEI] mpls
[HUAWEI-mpls] mpls te
[HUAWEI-mpls] quit
[HUAWEI] interface tunnel 1
[HUAWEI-Tunnel1] tunnel-protocol mpls te
[HUAWEI-Tunnel1] statistic enable
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >