
20
IPv6 static routing configuration
Introduction to IPv6 static routing
A static route is manually configured and works well in simple networks. Proper configuration and use
can improve network performance and ensure enough bandwidth for high priority applications.
Unfortunately, static routes also have shortcomings. Any topology changes require manual configuration
and modification to the corresponding static routes.
The term
router
in this document refers to either a router in a generic sense or a Layer 3 switch running routing
protocols.
Features of IPv6 static routes
Similar to IPv4 static routes, IPv6 static routes work well in simple IPv6 network environments.
The major difference between these two resides in the destination and next hop addresses. IPv6 static
routes use IPv6 addresses whereas IPv4 static routes use IPv4 addresses.
Default IPv6 route
An IPv6 static route with a destination prefix of
::/0
is a default IPv6 route. The default route is used to
forward packets that match no specific routes in the routing table.
Configuring an IPv6 static route
In small IPv6 networks, IPv6 static routes can be used to forward packets. In comparison to dynamic
routes, it helps to save network bandwidth.
Configuration prerequisites
•
Configuring parameters for the related interfaces
•
Configuring link layer attributes for the related interfaces
•
Enabling IPv6 packet forwarding
•
Ensuring that the neighboring nodes are IPv6 reachable
Configuring an IPv6 static route
To do…
Use the commands…
Remarks
1.
Enter system view
system-view —
2.
Configure an IPv6
static route
ipv6 route-static
ipv6-address prefix-length
[
interface-type interface-number
]
nexthop-address
[
Required
The default preference of