Command Manual – IPv6 Routing
H3C S7500E Series Ethernet Switches
Chapter 6 Routing Policy Configuration Commands
6-2
<Sysname> system-view
[Sysname] route-policy policy1 permit node 10
[Sysname-route-policy] if-match as-path 1
[Sysname-route-policy] apply ipv6 next-hop 3ffe:506::1
6.2.2 display ip ipv6-prefix
Syntax
display ip ipv6-prefix
[
ipv6-prefix-name
]
View
Any view
Parameters
ipv6-prefix-name
: IPv6 prefix list name, a string of 1 to 19 characters.
Description
Use the
display ip ipv6-prefix
command to display the statistics of the specified IPv6
prefix list. If no IPv6 prefix list is specified, the statistics of all the IPv6 prefix lists will be
displayed.
Examples
# Display the statistics of all the IPv6 prefix lists.
<Sysname> display ip ipv6-prefix
Prefix-list6 abc
Permitted 0
Denied 0
index: 10 permit ::/0
index: 20 permit ::/1 ge 1 le 128
Table 6-1
Description on the fields of the
display ip ipv6-prefix
command
Field
Description
Prefix-list6
Name of the IPv6 prefix list
Permitted
Number of routes satisfying the match criterion
Denied
Number of routes not satisfying the match criterion
Index Internal
serial
number of address prefix list
Permit
Matching mode: permit, deny
::/1
IPv6 address and its prefix length for matching