< Home

display tunnel-policy subscriber statistics

Function

The display tunnel-policy subscriber statistics command displays the number of times a tunnel policy is used by external services.

Format

display tunnel-policy tunnel-policy-name subscriber statistics

Parameters

Parameter Description Value
tunnel-policy-name Specify the name of a tunnel policy. The value is the name of an existing tunnel policy.

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

Usage Scenario

A system has many tunnel policies that can be used by different services. The display tunnel-policy subscriber statistics command can be used to view the number of times a tunnel policy is used by external services. This prevents the tunnel policy from being deleted mistakenly.

Example

# View the number of times a tunnel policy is used by external services.

<HUAWEI> display tunnel-policy nms-vrf-vpna subscriber statistics
The specified tunnel policy does not exist.
Total 0 applications subscribed the tunnel policy.

# View the number of times a tunnel policy is used by external services.

<HUAWEI> display tunnel-policy nms-vrf-vpna subscriber statistics
Total 200 applications subscribed the tunnel policy.
Table 1 Description of the display tunnel-policy subscriber statistics command output

Item

Description

The specified tunnel policy does not exist. Total 0 applications subscribed the tunnel policy.

The tunnel policy does not exist and is not used by applications.

Total 200 applications subscribed the tunnel policy.

The tunnel policy exists and is used by 200 applications.

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