IPv6 static routing configuration
commands
The term "router" in this chapter refers to both routers and Layer 3 switches.
delete ipv6 static-routes all
Syntax
delete ipv6
[
vpn-instance
vpn-instance-name
]
static-routes all
View
System view
Default level
2: System level
Parameters
vpn-instance vpn-instance-name
: Specifies an MPLS L3VPN.
vpn-instance-name
is a
case-sensitive string of 1 to 31 characters. If no VPN is specified, all static routes of the public
network are deleted.
Description
Use
delete ipv6 static-routes all
to delete all static routes including the default route.
When using this command, you will be prompted whether to continue the deletion and only after you
confirm the deletion will the static routes be deleted.
Related commands:
ipv6 route-static
and
display ipv6 routing-table
.
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
[
next-hop-address
] |
next-hop-address
|
vpn-instance
d-vpn-instance-name nexthop-address
} [
preference
preference-value
] [
tag
tag-value
] [
description
description-text
]
undo ipv6 route-static
ipv6-address prefix-length
[
interface-type
interface-number
[
next-hop-address
] |
next-hop-address
|
vpn-instance
d-vpn-instance-name nexthop-address
]
[
preference
preference-value
]
ipv6 route-static
vpn-instance
s-vpn-instance-name
&<1-6>
ipv6-address prefix-length
{
interface-type interface-number
[
next-hop-address
] |
nexthop-address
[
public
] |
vpn-instance
d-vpn-instance-name nexthop-address
} [
preference
preference-value
] [
tag
tag-value
]
[
description
description-text
]
263