< 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 the name of an existing VPN instance.

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.

<HUAWEI> 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             0                0            0               0              0
IS-IS            0                0            0               0              0
RIP              0                0            0               0              0
BGP              0                0            0               0              0
MSR              0                0            0               0              0
-------------------------------------------------------------------------------
VPN instance name: vrf2
           DenyAdd TryAddInDelState NotifyDelAll NotifyDelFinish NotifyAddRoute
DIRECT           0                0            0               0              0
STATIC           0                0            0               0              0
UNR              0                0            0               0              0
OSPF             0                0            0               0              0
IS-IS            0                0            0               0              0
RIP              0                0            0               0              0
BGP              0                0            0               0              0
MSR              0                0            0               0              0

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

<HUAWEI> display ip prefix-limit vpn-instance vrf1 statistics
-------------------------------------------------------------------------------
VPN instance name: vrf2
           DenyAdd TryAddInDelState NotifyDelAll NotifyDelFinish NotifyAddRoute
DIRECT           0                0            0               0              0
STATIC           0                0            0               0              0
UNR              0                0            0               0              0
OSPF             0                0            0               0              0
IS-IS            0                0            0               0              0
RIP              0                0            0               0              0
BGP              0                0            0               0              0
MSR              0                0            0               0              0
Table 1 Description of the display ip prefix-limit statistics command output

Item

Description

DenyAdd

Number of routes that the protocol fails to add to the RIB because of the prefix limit.

TryAddInDelState

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

NotifyDelAll

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

NotifyDelFinish

Number of times that the protocol notifies the RIB of completion of deleting routes.

NotifyAddRoute

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

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