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
The BGP VPNv4 sub-address family view is displayed.
Step 6
Run:
peer
ipv4-address
enable
The VPN IPv4 routing information can be exchanged between the peers.
----End
3.4.5 Configuring a Routing Protocol Between a PE and a CE
The routing protocol between a PE and a CE can be EBGP, IBGP, static route, RIP, OSPF, or
IS-IS. You can choose any of them as required in the configuration process.
Context
Select one of the following configurations as required:
l
Configuring EBGP between a PE and a CE
l
Configuring IBGP between a PE and a CE
l
Configuring the static route between a PE and a CE
l
Configuring RIP between a PE and a CE
l
Configuring OSPF between a PE and a CE
l
Configuring IS-IS between a PE and a CE
Procedure
l
Configure EBGP between s PE and a CE.
Do as follows on the 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.
(Optional) Run:
as-number
as-number
An AS number for the VPN instance is specified.
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.
108