R3303-HP HSR6800 Routers Layer 3 - IP Routing Configuration Guide

292
Displaying and maintaining IPv6 static routes
Task Command
Remarks
Display IPv6 static route
information.
display ipv6 routing-table protocol
static [ inactive | verbose ] [ |
{ begin | exclude | include }
regular-expression ]
Available in any view.
For more information about the display ipv6 routing-table protocol static [ inactive | verbose ] [ | { begin
| exclude | include } regular-expression ] command, see Layer 3—IP Routing Command Reference.
IPv6 static routing configuration example
Network requirements
As shown in Figure 89, configure IPv6 static routes so that hosts can reach one another.
Figure 89 Network diagram
Configuration procedure
1. Configure IPv6 addresses for all interfaces. (Details not shown.)
2. Configure IPv6 static routes:
# Enable IPv6 and configure the IPv6 default route on Router A.
<RouterA> system-view
[RouterA] ipv6
[RouterA] ipv6 route-static :: 0 4::2
# Enable IPv6 and configure two IPv6 static routes on Router B.
<RouterB> system-view
[RouterB] ipv6
[RouterB] ipv6 route-static 1:: 64 4::1