(Optional) Configuring IPv4 and IPv6 Traffic Statistics Collection on a Main Interface

You can configure IPv4 and IPv6 traffic statistics collection for all main interfaces.

Context

Do as follows on the router that needs to be configured with IPv4 and IPv6 traffic statistics collection.

Procedure

  1. Run system-view

    The system view is displayed.

  2. Run interface interface-type interface-number

    The interface view is displayed.

  3. Run statistic enable

    IPv4 and IPv6 traffic statistics collection is enabled on the main interface.

  4. Run statistic mode forward

    IPv4 and IPv6 traffic statistics collection is enabled on the main interface.

  5. Run commit

    The configuration is committed.

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