![Huawei S6700 Series Configuration Manual Download Page 26](http://html.mh-extra.com/html/huawei/s6700-series/s6700-series_configuration-manual_169517026.webp)
Step 2
Run:
ipv6 route-static
dest-ipv6-address
prefix-length
{
interface-type
interface-
number
nexthop-ipv6-address
|
nexthop-ipv6-address
} [
preference
preference
|
tag
tag
]
*
[
description
text
]
An IPv6 static route is configured.
When configuring a static route, you need to specify either the outbound interface or the next-
hop address according to the actual situation. If the outbound interface is a non-P2P interface,
you must also specify the next-hop address in addition to specifying the outbound interface.
If
preference
is not specified, the default preference is 60.
By default, no IPv6 static route is configured.
----End
1.4.3 (Optional) Setting the Default Preference for IPv6 Static
Routes
By setting the default preference for an IPv6 static route, you can change the preference of the
static route.
Context
Do as follows on the switch that need to be configured with IPv6 static routes and change the
default priority for IPv6 static routes:
Procedure
Step 1
Run:
system-view
The system view is displayed.
Step 2
Run:
ipv6 route-static default-preference
preference
The default preference of IPv6 static routes is set.
By default, the preference of IPv6 static routes is 60.
When an IPv6 static route is configured, the default preference is used if the preference of the
static route is not explicitly specified. After the default preference is specified, the default
preference is valid for subsequent rather than existing IPv6 static routes.
----End
1.4.4 Checking the Configuration
After an IPv6 static route is configured, you can check detailed information about the configured
route.
Prerequisites
The configurations of an IPv6 static route are complete.
S6700 Series Ethernet Switches
Configuration Guide - IP Routing
1 IP Static Route Configuration
Issue 01 (2012-03-15)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
7