R21xx-HP FlexFabric 11900 Layer 3 IP Routing Command Reference

438
If you do not provide the public keyword or vpn-instance vpn-instance-name option for this command,
the next hop belongs to the public network.
Examples
# Configure node 10 in permit mode for routing policy policy1 to set next hop 193.1.1.8 for routes
matching AS path list 1.
<Sysname> system-view
[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 [ prefix-list-name ]
Views
Any view
Predefined user roles
network-admin
network-operator
Parameters
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 abc
Prefix-list: aaa
Permitted 0
Denied 0
index: 10 deny 6.6.6.0/24 ge 26 le 28
Table 101 Command output
Field Description
Prefix-list Name of the IPv4 prefix list.
Permitted Number of routes meeting the match criterion.
Denied Number of routes not meeting the match 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.