display ip prefix-list

Use display ip prefix-list to display IPv4 prefix list statistics.

Syntax

display ip prefix-list [ name prefix-list-name ]

Views

Any view

Predefined user roles

network-admin

network-operator

Parameters

name prefix-list-name: Specifies an IP prefix list by its name, a case-sensitive string of 1 to 63 characters. If you do not specify this option, the command displays statistics for all IPv4 prefix lists.

Examples

# Display the statistics for IPv4 prefix list abc.

<Sysname> display ip prefix-list name abc
Prefix-list: abc
 Permitted 0
 Denied 0
         index: 10        Deny   6.6.6.0/24              ge  26  le  28

Table 181: Command output

Field

Description

Prefix-list

Name of the IPv4 prefix list.

Permitted

Number of routes matching the criterion.

Denied

Number of routes not matching the criterion.

index

Index of an item.

deny

Match mode of the item:

  • Permit.

  • Deny.

6.6.6.0/24

IP address and mask.

ge

Greater-equal, the lower mask length limit.

le

Less-equal, the upper mask length limit.

Related commands

ip prefix-list

reset ip prefix-list