314
To do…
Use the commands…
Remarks
Step 1
Enter system view
system-view —
Step 2
Configure an IPv6 static
route with the output
interface being a
broadcast or NBMA
interface
ipv6 route-static
ipv6-address prefix-length
[
interface-type interface-number
]
nexthop-address
[
preference
preference-value
]
Required
By default, no
IPv6 static route
is configured;
the default
preference of
IPv6 static routes
is 60.
Step 3
Configure an IPv6 static
route with the output
interface being a point-to-
point interface
ipv6 route-static
ipv6-address prefix-length
{
interface-type interface-number
|
nexthop-
address
} [
preference
preference-value
]
While configuring a static route, you can configure either the output interface or the next hop address,
depending on one of the following situations:
•
If the output interface is a broadcast interface or an NBMA interface, the next hop address must be
specified.
•
If the output interface is a point-to-point interface, you can specify either the output interface or the next
hop address, but not both.
Displaying and maintaining IPv6 static routes
To do…
Use the command…
Remarks
Step 1
Display IPv6 static route
information
display ipv6 routing-table
protocol
static
[
inactive
|
verbose
]
Available in any
view
Step 2
Remove all IPv6 static
routes
delete ipv6 static-routes all
Available in
system view
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.
IPv6 static routing configuration example
Summary of Contents for S9500E Series
Page 435: ...435 ...