HP MSR2000/3000/4000 Router Series Layer 3 - IP Routing Command Reference
580
Examples
# Configure node 10 for routing policy policy1 to set next hop 3ffe:506::1 for IPv6 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 ipv6 next-hop 3ffe:506::1
display ipv6 prefix-list
Use display ipv6 prefix-list to display IPv6 prefix list statistics.
Syntax
display ipv6 prefix-list [ prefix-list-name ]
Views
Any view
Predefined user roles
network-admin
network-operator
Parameters
prefix-list-name: Specifies an IPv6 prefix list by its name, a case-sensitive string of 1 to 63 characters.
Without this argument, this command displays statistics for all IPv6 prefix lists.
Examples
# Display the statistics for all IPv6 prefix lists.
<Sysname> display ipv6 prefix-list
Prefix-list6: 666
Permitted 0
Denied 0
index: 10 permit 6::/64 ge 66 le 88
Table 148 Command output
Field Description
Prefix-list6 Name of the IPv6 prefix list.
Permitted Number of routes matching the criterion.
Denied Number of routes not matching the criterion.
index Index number of an item.
permit
Match mode of the item:
• permit.
• deny.
6::/64 IPv6 address and prefix length for matching.
ge Greater-equal, the lower prefix length.
le Less-equal, the upper prefix length.