12-22
display ip ip-prefix
Syntax
display ip ip-prefix
[
ip-prefix-name
]
View
Any view
Default Level
1: Monitor level
Parameters
ip-prefix-name
: IP prefix list name, a string of 1 to 19 characters.
Description
Use the
display ip ip-prefix
command to display the statistics of an IPv4 prefix list. If no
ip-prefix-name is specified, statistics for all IPv4 prefix lists will be displayed.
Related commands:
ip ip-prefix
.
Examples
# Display the statistics of IPv4 prefix list
abc
.
<Sysname> display ip ip-prefix abc
Prefix-list abc
Permitted 0
Denied 0
index: 10 permit 1.0.0.0/11 ge 22 le 32
Table 12-3 display ip ip-prefix
command output description.
Field
Description
Prefix-list
Name of the IPv4 prefix list
Permitted
Number of routes satisfying the match criterion
Denied
Number of routes not satisfying the match criterion
index
Index of the IPv4 prefix list
permit
Match mode: permit or deny
1.0.0.0/11
IP address and mask
ge
greater-equal, the lower limit
le
less-equal, the higher limit
if-match acl
Syntax
if-match
acl acl-number
undo if-match
acl