![Huawei AR150 series Configuration Manual Download Page 77](http://html.mh-extra.com/html/huawei/ar150-series/ar150-series_configuration-manual_169290077.webp)
Procedure
Step 1
Run:
system-view
The system view is displayed.
Step 2
Run:
interface
interface-type interface-number
The interface view is displayed.
Step 3
Run:
ipv6 nd ra preference
{
high
|
medium
|
low
}
The default router priority is configured in RA packets.
Step 4
Run:
ipv6 nd ra route-information
ipv6-address
prefix-length
lifetime
route-lifetime
[
preference
{
high
|
medium
|
low
} ]
Route information is configured in RA packets.
----End
3.4.8 Checking the Configuration
You can view the configuration of IPv6 neighbor discovery.
Prerequisites
The configurations of the IPv6 neighbor discovery function are complete.
Procedure
l
Run the
display ipv6 neighbors
[
ipv6-address
| [
vid
vlan-id
]
interface-type interface-
number
|
vpn-instance
vpn-instance-name
]
display ipv6 neighbors
interface-type
interface-number
| [
vid
vid
] | [
cevid
cevid
] command to check the neighbor information in
the cache.
l
Run the
display ipv6 interface
[
interface-type interface-number
|
brief
] command to
check the IPv6 information of an interface. If the interface is in the Up state, the
configuration is successful.
----End
Example
Run the
display ipv6 neighbors
command. If the cache of the neighbor information contains
neighbors' IPv6 addresses and the specified interfaces, it means that the configuration succeeds.
<Huawei>
display ipv6 neighbors ethernet 1/0/0
--------------------------------------------------------
IPv6 Address : 3003::2
Link-layer : 00e0-fc89-fe6e State : STALE
Interface : Eth1/0/0 Age : 7
VLAN : 10 CEVLAN: -
VPN name : vpn1 Is Router: TRUE
Secure FLAG : UN-SECURE
IPv6 Address : FE80::2E0:FCFF:FE89:FE6E
Huawei AR150&200 Series Enterprise Routers
Configuration Guide - IP Service
3 Basic IPv6 Configuration
Issue 02 (2012-03-30)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
65