7-1
7
IPv6 Static Routing Configuration Commands
Throughout this chapter, the term
router
refers to both routers and Layer 3 switches.
IPv6 Static Routing Configuration Commands
delete ipv6 static-routes all
Syntax
delete ipv6 static-routes all
View
System view
Default Level
2: System level
Parameters
None
Description
Use the
delete ipv6 static-routes all
command to delete all static routes including the default route.
When using this command, you will be prompted whether to continue the deletion.
Related commands:
ipv6 route-static
and
display ipv6 routing-table
in
IP Routing Basics
Configuration Commands
in the
Layer 3 - IP Routing Command Reference
.
Examples
# Delete all IPv6 static routes.
<Sysname> system-view
[Sysname] delete ipv6 static-routes all
This will erase all ipv6 static routes and their configurations, you must reconfigure all
static routes
Are you sure?[Y/N]Y
ipv6 route-static
Syntax
ipv6 route-static
ipv6-address prefix-length
[
interface-type interface-number
]
nexthop-address
[
preference
preference-value
]