Configuring mLDP P2MP Traffic Statistics Collection

mLDP P2MP traffic statistics collection can be enabled on the ingress, transit nodes, and but nodes on mLDP P2MP LSPs.

Usage Scenario

To obtain mLDP P2MP LSP traffic statistics, configure mLDP P2MP traffic statistics collection.

Statistics only about forwarded traffic data on mLDP P2MP LSPs are collected. Therefore, statistics collection is configured only on the ingress, a transit node, or a bud node.

Pre-configuration Tasks

Before configuring mLDP P2MP traffic statistics collection, configure an mLDP P2MP tunnel.

Procedure

  1. Run system-view

    The system view is displayed.

  2. Run mpls traffic-statistics

    MPLS traffic statistics collection is enabled globally, and the traffic statistics view is displayed.

  3. Run mldp p2mp

    mLDP P2MP traffic statistics collection is enabled.

  4. Run commit

    The configuration is committed.

Verifying the Configuration

After completing the configurations, you can run the following command to verify the configurations.

  • Run the display mpls mldp lsp p2mp traffic-statistics [ root-ip root-ip { lsp-id lsp-id | opaque-value opaque-value } | in-label in-label-value ] [ verbose ] command to check statistics about traffic forwarded on a specified mLDP P2MP LSP.

Follow-up Procedure

Before collecting statistics, run the reset mpls traffic-statistics mldp p2mp [ root-ip root-ip { lsp-id lsp-id | opaque-value opaque-value } | in-label in-label-value ] command to delete existing statistics.

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