Context
Before configuring inter-AS 6PE OptionB, configure an inter-AS OptionB network to ensure
that tunnels can be established between Autonomous System Boundary Routers (ASBRs) and
between PEs and ASBRs. For configuration details, see "Configuring Inter-AS VPN OptionB"
in
NE80E/40E Configuration Guide - VPN
.
On an inter-AS OptionB network, labeled IPv6 routes are transmitted between PEs by means of
ASBRs. The PE and ASBR in the same AS establish an MP-IBGP peer relationship to exchange
labeled IPv6 routes. The ASBRs in two different ASs establish an MP-EBGP peer relationship
to exchange labeled IPv6 routes. After you configure an inter-AS OptionB network, establish
6PE peer relationships between the ASBRs in different ASs and between the PE and ASBR in
the same AS.
Perform the following steps on PEs and ASBRs.
Procedure
Step 1
Run:
system-view
The system view is displayed.
Step 2
Run:
bgp
{
as-number-plain
|
as-number-dot
}
The BGP view is displayed.
Step 3
Run:
peer
ipv4-address
as-number
{
as-number-plain
|
as-number-dot
}
The IP address and AS number of the 6PE peer are specified.
A PE only needs to establish an IBGP peer relationship with the ASBR in the same AS. An
ASBR must establish an IBGP peer relationship with the PE in the same AS and an EBGP peer
relationship with the ASBR in the other AS.
Step 4
Run:
ipv6-family
unicast
The IPv6 unicast address family view is displayed.
Step 5
Run:
peer
ipv4-address
enable
The 6PE peer relationship is enabled in the IPv6 unicast address family view.
Step 6
Run:
peer
ipv4-address
label-route-capability
The function to send labeled routes is enabled.
Step 7
(Optional) Run:
apply-label explicit-null
6PE routes to be sent to the same 6PE peer are configured to share the same explicit null label.
HUAWEI NetEngine80E/40E Router
Configuration Guide - IP Routing
9 BGP4+ Configuration
Issue 02 (2014-09-30)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
1109