1-2
z
Enabling IPv6 packet forwarding
z
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.
Displaying and Maintaining IPv6 Static Routes
To do…
Use the command…
Remarks
Display IPv6 static route
information
display ipv6 routing-table
protocol
static
[
inactive
|
verbose
]
Available in any view
Remove all IPv6 static routes
delete ipv6 static-routes all
Available in system view
z
Using the
undo ipv6 route-static
command can delete a single IPv6 static route, while using the
delete ipv6 static-routes all
command deletes all IPv6 static routes including the default route.
z
For more information about the
display ipv6 routing-table protocol static
[
inactive
|
verbose
]
command, refer to
IP Routing Table Display Commands
in the
IP Routing Volume
.
IPv6 Static Routing Configuration Example
Network requirements
With IPv6 static routes configured, all hosts and switches can interact with each other.