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:
Enter system view
Configure an IPv6 static route
Displaying and Maintaining IPv6 Static Routes
Display IPv6 static route
Remove all IPv6 static routes
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.
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
With IPv6 static routes configured, all hosts and switches can interact with each other.
Use the commands...
ipv6 route-static ipv6-address
prefix-length [ interface-type
interface-number ] nexthop-address
[ preference preference-value ]
Use the command...
display ipv6 routing-table protocol
static [ inactive | verbose ]
delete ipv6 static-routes all
preference of IPv6
static routes is 60.
Available in any view
Available in system view