The display tunnel-policy subscriber statistics command displays the number of times a tunnel policy is used by external services.
Parameter | Description | Value |
---|---|---|
tunnel-policy-name | Specify the name of a tunnel policy. | The value is the name of an existing tunnel policy. |
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.
# 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.
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. |