
The MPLS L2VPN is enabled.
----End
5.6.3 Configuring BGP/MPLS L2VPN
To configure a local Kompella connection, you do not need to configure the L2VPN capacity
of BGP.
Context
For local connection, the configuration in this section is not required.
Do as follows on the PEs of the two ends of the VC:
Procedure
Step 1
Run:
system-view
The system view is displayed.
Step 2
Run:
bgp
as-number
The BGP view is displayed.
Step 3
Run:
peer
ipv4-address
as-number
as-number
A remote PE is specified as the peer.
Step 4
Run:
peer
ipv4-address
connect-interface
loopback
interface-number
An interface to create the TCP connection is specified.
The loopback interface address with 32-bit mask must be used to establish the MP-IBGP peer
relationship between the PEs. This can avoid a situation of packets being unable to find the
correct route due to route aggregation. The route to the loopback interface is advertised to the
peer PE through IGP on the MPLS backbone network.
Step 5
Run:
l2vpn-family
The BGP L2VPN address family view is displayed.
Step 6
Run:
peer
ipv4-address
enable
Exchanging routing information with a specified peer is enabled.
----End
5.6.4 Configuring a VPN
In Kompella VLL mode, you must create an L2VPN instance on the PE for each directly
connected CE.
Quidway S7700 Smart Routing Switch
Configuration Guide - VPN
5 VLL Configuration
Issue 01 (2011-07-15)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
466