Configuring IPv6 static routing
Static routes are manually configured and cannot adapt to network topology changes. If a fault or a
topological change occurs in the network, the network administrator must modify the static routes
manually. IPv6 static routing works well in a simple IPv6 network.
Configuring an IPv6 static route
Before you configure an IPv6 static route, complete the following tasks:
•
Configure parameters for the related interfaces.
•
Configure link layer attributes for the related interfaces.
•
Make sure the neighboring nodes can reach each other.
To configure an IPv6 static route:
Step
1.
Enter system view.
2.
Configure an IPv6 static
route.
3.
(Optional.) Set the default
preference for IPv6 static
routes.
4.
(Optional.) Delete all IPv6
static routes, including
the default route.
Configuring BFD for IPv6 static routes
BFD provides a general purpose, standard, and medium- and protocol-independent fast failure
detection mechanism. It can uniformly and quickly detect the failures of the bidirectional forwarding
paths between two routers for protocols, such as routing protocols and MPLS. For more information
about BFD, see High Availability Configuration Guide.
IMPORTANT:
Enabling BFD for a flapping route could worsen the situation.
Command
system-view
•
Method
ipv6
route-static
prefix-length
interface-number [ next-hop-address ] |
next-hop-address
d-vpn-instance-name next-hop-address }
[ permanent ] [ preference preference ]
[ tag tag-value ] [ description text ]
•
Method
ipv6
route-static
s-vpn-instance-name
prefix-length
interface-number [ next-hop-address ] |
next-hop-address
vpn-instance
next-hop-address
[ preference preference ] [ tag tag-value ]
[ description text ]
ipv6
route-static
default-preference
delete
ipv6
vpn-instance-name ] static-routes all
367
1:
ipv6-address
{
interface-type
|
vpn-instance
2:
vpn-instance
ipv6-address
{
interface-type
[
public
]
|
d-vpn-instance-name
}
[
permanent
]
default-preference
vpn-instance
[
Remarks
N/A
By default, no IPv6
static
route
is
configured.
The default setting is
60.
The
undo
ipv6
route-static command
deletes one IPv6 static
route.