Displaying and maintaining IPv6 static routes
Task
Display IPv6 static route
information.
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 79 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
[RouterB] ipv6 route-static 3:: 64 5::1
# Enable IPv6 and configure the IPv6 default route on Router C.
<RouterC> system-view
[RouterC] ipv6
[RouterC] ipv6 route-static :: 0 5::2
Figure
79, configure IPv6 static routes so that hosts can reach one another.
Command
display ipv6 routing-table protocol
static [ inactive | verbose ] [ |
{ begin | exclude | include }
regular-expression ]
274
Remarks
Available in any view.