HP MSR2000/3000/4000 Router Series Layer 3 - IP Routing Command Reference

576
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 147 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.