< Home

statistics enable (address pool view)

Function

The statistics enable command enables the NAT address pool statistics function.

The undo statistics enable command disables the function.

Format

statistics enable

undo statistics enable

Parameters

None

Views

Address pool view

Default Level

2: Configuration level

Usage Guidelines

By default, the function is disabled.

Statistics on an address pool are collected only when the NAT address pool statistics function is enabled in the system view and the view of the address pool.

NAT address pool statistics function does not take effect on the address pool referenced by a NAT64 policy. That is, statistics on address pools referenced by NAT64 policies cannot be collected.

Only the USG6510E/6510E-POE/6530E does not support this command.

Example

# Enable the NAT address pool statistics function.

<sysname> system-view
[sysname] nat address-group nataddr 1
[sysname-address-group-nataddr] statistics enable
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >