The system view is displayed.
2.
Run:
bgp
as-number
The BGP view is displayed.
3.
(Optional) Run:
router-id
ipv4-address
The router ID is configured.
If the CE device has no interface configured with an IPv4 address, configure a router
ID.
4.
Run:
peer
ipv6-address
as-number
as-number
The PE is specified as the peer.
5.
(Optional) Run:
peer
{
ipv6-address
|
group-name
}
ebgp-max-hop
[
hop-count
]
The maximum hop of the EBGP peer is configured.
Generally, the EBGP peers have directly connected physical links between each other.
If not, you must use the
peer ebgp-max-hop
command to permit the EBGP peers to
set up the TCP connection through multiple hops.
6.
Run:
ipv6-family
unicast
The BGP-IPv6 address family view is displayed.
7.
Run:
peer
ipv6-address
enable
The exchange of BGP routes with the peer is enabled.
8.
Run:
import-route
{
direct
|
static
|
ripng
process-id
|
ospfv3
process-id
|
isis
process-id
} [
med
med
|
route-policy
route-policy-name
]*
Routes of the local site are imported.
The address of the VPN network segment is advertised to the connected PE, and then
is advertised by the PE to the peer CE.
The type of the imported route varies with networking modes.
l
Configuring Static Routes Between PE and CE
Do as follows on the PE.
NOTE
For the detailed configuration about the IPv6 static route, refer to the Quidway S7700 Smart Routing
Switch
Configuration Guide - IP Routing.
1.
Run:
system-view
The system view is displayed.
2.
Run:
ipv6 route-static vpn6-instance
vpn6-instance-name
dest-ipv6-address
prefix-length
{
interface-type
interface-number
nexthop-ipv6-address
|
Quidway S7700 Smart Routing Switch
Configuration Guide - VPN
4 BGP MPLS IPv6 VPN Configuration
Issue 01 (2011-07-15)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
334