statistic enable (IPSec)

Function

The statistic enable command enables traffic statistics collection on an IPsec tunnel interface.

The undo statistic enable command disables traffic statistics collection on an IPsec tunnel interface.

By default, traffic statistics collection is not enabled on an IPsec tunnel interface.

This command is supported only on the NetEngine 8000 F1A.

Format

statistic enable

undo statistic enable

Parameters

None

Views

Tunnel interface view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
ike write

Usage Guidelines

To enable traffic statistics collection on an IPsec tunnel interface for QoS policy deployment or fault locating, run the statistic enable command. After IPsec SA negotiation succeeds, you can run the display this interface command on the tunnel interface to view IPsec traffic statistics.

Example

# Enable traffic statistics collection on IPsec tunnel 0.
<HUAWEI> system-view
[~HUAWEI] interface tunnel 0
[*HUAWEI-Tunnel0] tunnel-protocol ipsec
[*HUAWEI-Tunnel0] statistic enable
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >