32
IPV6 STATIC ROUTING 
CONFIGURATION
n
The term “router” in this document refers to a Layer 3 switch running routing 
protocols.
Introduction to IPv6 
Static Routing
Static routes are special routes that are manually configured by network 
administrators. They work well in simple networks. Configuring and using them 
properly can improve the performance of networks and guarantee enough 
bandwidth for important applications.
However, static routes also have shortcomings: any topology changes could result 
in unavailable routes, requiring the network administrator to manually configure 
and modify the static routes.
Features of IPv6 Static
Routes
Similar to IPv4 static routes, IPv6 static routes work well in simple IPv6 network 
environments.
Their major difference lies in the destination and next hop addresses. IPv6 static 
routes use IPv6 addresses whereas IPv4 static routes use IPv4 addresses.
Default IPv6 Route The IPv6 static route that has the destination address configured as ::/0 (indicating 
a prefix length of 0) is the default IPv6 route. If the destination address of an IPv6 
packet does not match any entry in the routing table, this default route will be 
used to forward the packet.
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
■ Enabling IPv6 packet forwarding
■ Ensuring that the neighboring nodes are IPv6 reachable
Configuring an IPv6
Static Route
Follow these steps to configure an IPv6 static route:
To do…  Use the commands...  Remarks 
Enter system view  System-view  - 
Configure an IPv6 
static route 
ipv6 route-static ipv6-address 
prefix-length [ interface-type 
interface-number ] nexthop-address 
[ preference preference-value ] 
Required
The default preference of IPv6 
static routes is 60.