NOTE
The 32-bit mask IP addresses of the loopback interfaces must be used to establish the MP-IBGP peer
relationship between PEs. This can ensure the tunnel can be iterated. The route destined to the loopback
interface is advertised to the remote PE based on IGP on the MPLS backbone network.
Step 5
Run:
ipv4-family
vpnv4
[
unicast
]
The BGP VPNv4 address family view is displayed.
Step 6
Run:
peer
ipv4-address
enable
The VPN IPv4 routing information is exchanged between the peers.
----End
3.5.6 Configuring Route Exchange Between PE and CE
The routing protocol between a PE and a CE can be BGP, static route, or IGP. You can choose
any of them as required in the configuration process.
Context
The Hub-PE and the Hub-CE can exchange routes in the following ways.
Procedure
l
Configuring EBGP between the Hub-PE and the Hub-CE
In this way, EBGP, IGP, or static routes can be adopted between the Spoke-PE and the
Spoke-CE.
To set up the EBGP peer between the Hub-PE and the Hub-CE and between the Spoke-PE
and the Spoke-CE, do as follows on the Hub-PE:
1.
Run:
system-view
The system view is displayed.
2.
Run:
bgp
as-number
The BGP view is displayed.
3.
Run:
ipv4-family
vpn-instance
vpn-instance-name
The BGP VPN instance view is displayed.
4.
Run:
peer
ip-address
allow-as-loop
[
number
]
Allow the routing loop. Here the value of
number
is set as 1, which means the route
with the AS repeated once can be sent.
l
Configuring IGP between the Hub-PE and the Hub-CE
Quidway S7700 Smart Routing Switch
Configuration Guide - VPN
3 BGP MPLS IP VPN Configuration
Issue 01 (2011-07-15)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
123