< Home

statistics enable (public address pool view)

Function

The statistics enable command enables the static mapping public address pool statistics function.

The undo statistics enable command disables the static mapping public address pool statistics function.

Format

statistics enable

undo statistics enable

Parameters

None

Views

global-pool view

Default Level

2: Configuration level

Usage Guidelines

By default, the static mapping public address pool statistics function is disabled.

The statistics on the address pool are collected only when the address pool statistics function is enabled in the system view and the public address pool view. You can run the nat statistics enable command to enable the global address pool statistics function in the system view.

Example

# Enable the static mapping public address pool statistics function.

<sysname> system-view
[sysname] nat statistics enable
[sysname] nat static-mapping
[sysname-nat-static] global-pool 1
[sysname-nat-static-global-pool-1] statistics enable
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >