576
[Sysname] route-policy policy1 permit node 10
[Sysname-route-policy-policy1-10] if-match as-path 1
[Sysname-route-policy-policy1-10] apply ip-address next-hop 193.1.1.8
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.
Without this argument, this 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 143
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.
le
Less-equal, the upper mask length.
Related commands
•
ip prefix-list
•
reset ip prefix-list