![Huawei S6700 Series Configuration Manual Download Page 655](http://html.mh-extra.com/html/huawei/s6700-series/s6700-series_configuration-manual_169517655.webp)
Procedure
Step 1
Run the
system-view
command to enter the system view.
Step 2
Run the
bgp
as-number
command to enable BGP and enter the BGP view.
By default, BGP is disabled.
Step 3
Run the
ipv4-family
vpn-instance
vpn-instance-name
command to enter the BGP-VPN
instance view.
Step 4
Run the
peer
ipv4-address
as-number
as-number
command to configure the device connected
to the MCE in a site as the peer of a VPN private network.
Step 5
(Optional) Run the
import-route
protocol
[
process-id
] [
med
med
|
route-policy
route-policy-
name
]
*
command to import routes from other routing protocols.
If another routing protocol is run between an MCE and a PE in this VPN, you need to perform
this step.
Step 6
Run the
peer
ipv4-address
allow-as-loop
[
number
] command to configure BGP to allow
routing loops.
By default, routing loops are denied.
NOTE
Generally, BGP detects routing loops through the AS number. Assume that BGP is run between an MCE
and a site. When the MCE advertises the routing information with the AS number to the site, the MCE
cannot receive this routing update from the site because the routing update carries the AS number. In this
case, you need to configure BGP to allow routing loops.
----End
11.4.7 Checking the Configuration
Run the
display ip routing-table vpn-instance
command on the MCE. If you can view the route
to the local VPN in the display, it means that the configuration succeeds.
11.5 Configuring a Route Multi-Instance Between an MCE
and a PE
This section describes how to configure static routes, RIP, OSPF, IS-IS, and BGP between an
MCE and a PE.
For configuring a route multi-instance between an MCE and a PE,
Configuring a Static Route Between an MCE and a PE
are optional and can be configured as required.
11.5.1 Establishing the Configuration Task
Applicable Environment
To connect a CE to multiple VPNs and isolate services of these VPNs, you need to configure
MCE functions. Before configuring MCE functions, you need to perform the task of
on the MCE and PE and then configure a route multi-instance
between the MCE and PE.
S6700 Series Ethernet Switches
Configuration Guide - IP Routing
11 MCE Configuration
Issue 01 (2012-03-15)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
636