beautypg.com

Configuring kompella mpls l2vpn, Configuration prerequisites, Configuration procedure – H3C Technologies H3C S10500 Series Switches User Manual

Page 209: Configuring bgp l2vpn capability

background image

198

NOTE:

The xconnect peer command is available for service instances with the ID in the range of 1 to 4094.

For more information about commands service-instance, encapsulation, and display service-instance
interface, see

Layer 2—LAN Switching Command Reference.

Configuring Kompella MPLS L2VPN

Kompella MPLS L2VPN uses extended BGP as the signaling protocol to transfer L2VPN information

between PEs.

Configuration prerequisites

Before you configure Kompella MPLS L2VPN, complete the following tasks:

Configure IGP on the PEs and P devices to guarantee the IP connectivity of the MPLS backbone.

Configure basic MPLS and MPLS LDP for the MPLS backbone on the PEs and P devices to establish
LDP LSPs.

Enable MPLS L2VPN on the PEs.

To configure Kompella MPLS L2VPN, you need the following data:

AS numbers of the local PE and the peer PE

Name, RD, and VPN Target attributes of the L2VPN connection

CE name, CE ID, and CE range

CE offset

Configuration procedure

Configuring BGP L2VPN capability

Follow these steps to configure the BGP L2VPN capability:

To do…

Use the command…

Remarks

Enter system view

system-view

Enter BGP view

bgp as-number

Establish the peer relationship with
the peer PE

peer { group-name | ip-address }
as-number as-number

Required

Specify the interface for the TCP
connection

peer { group-name | ip-address }
connect-interface interface-type

interface-number

Required

Enter BGP L2VPN address family
view

l2vpn-family

Required

Enable the filtering by the VPN
target extended community

attributes for the received routing

information

policy vpn-target

Optional
Enabled by default