< Home

display ip prefix-limit statistics

Function

The display ip prefix-limit statistics command displays the statistics of the prefix limits of VPN instances.

Format

display ip prefix-limit { all-vpn-instance | vpn-instance vpn-instance-name } statistics

Parameters

Parameter Description Value
all-vpn-instance Indicates all VPN instances. -
vpn-instance vpn-instance-name Specifies the name of a VPN instance. The value is a string of 1 to 31 case-sensitive characters, spaces not supported. When double quotation marks are used around the string, spaces are allowed in the string.

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

You can run the display ip prefix-limit statistics command to view the number of times that a protocol re-adds or deletes routes according to the prefix limit of a specified VPN instance.

Example

# Display the statistics of the prefix limits of all VPN instances.

<sysname> display ip prefix-limit all-vpn-instance statistics
-------------------------------------------------------------------------------
VPN instance name: vrf1
          DenyAdd TryAddInDelState NotifyDelAll NotifyDelFinish NotifyAddRoute
DIRECT          0                0            0               0              0
STATIC          0                0            0               0              0
UNR             0                0            0               0              0
OSPF           11                3            1               0              5
IS-IS         106                0            1               0              5
RIP            98                0            1               1              5
BGP             2                0            1               1              5
MSR             0                0            0               0              0
------------------------------------------------------------------------------
VPN instance name: VPN12345678901234567890123456789

          DenyAdd TryAddInDelState NotifyDelAll NotifyDelFinish NotifyAddRoute

DIRECT          0                0            0               0              0
STATIC          0                0            0               0              0
UNR             0                0            0               0              0
OSPF           11                3            1               0              5
IS-IS         106                0            1               0              5
RIP            98                0            1               1              5
BGP             2                0            1               1              5
MSR             0                0            0               0              0
Table 1 Description of the display ip prefix-limit statistics command output

Item

Description

DenyAdd

Indicates the number of routes that the protocol fails to add to the Routing Information Base (RIB) because of the prefix limit.

TryAddInDelState

Indicates the number of routes that the protocol fails to add to the RIB because the RIB is in the process of deleting routes.

NotifyDelAll

Indicates the number of times that the RIB notifies the protocol of deleting routes when the prefix limit is decreased.

NotifyDelFinish

Indicates the number of times that the protocol notifies the RIB of completion of deleting routes.

NotifyAddRoute

Indicates the number of times that the RIB notifies the protocol of re-adding routes.

# Display the statistics of the prefix limit of the VPN instance named vrf1.

<sysname> display ip prefix-limit vpn-instance vrf1 statistics
-------------------------------------------------------------------------------
VPN instance name: vrf1
          DenyAdd TryAddInDelState NotifyDelAll NotifyDelFinish NotifyAddRoute
DIRECT          0                0            0               0              0
STATIC          0                0            0               0              0
UNR             0                0            0               0              0
OSPF           11                3            1               0              5
IS-IS         106                0            1               0              5
RIP            98                0            1               1              5
BGP             2                0            1               1              5
MSR             0                0            0               0              0
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
Next topic >