beautypg.com

Configuration prerequisites, Configuration procedure, Configuring bgp l2vpn capability – H3C Technologies H3C SR8800 User Manual

Page 211: Configuring vpn

background image

200

To create a Kompella local connection, you only need to configure the VPN and CE connection on the

PE. Neither IGP nor BGP L2VPN capability is required.

Configuration prerequisites

Before configuring Kompella MPLS L2VPN, complete the following tasks:

Configure an IGP on the PEs and P routers to ensure IP connectivity within the MPLS backbone

Configure basic MPLS and MPLS LDP on the PEs and P routers to establish LDP LSPs

Enable MPLS L2VPN on the PEs

To configure Kompella MPLS L2VPN, prepare 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

To configure BGP L2VPN capability:

Step Command

Remarks

1.

Enter system view.

system-view

N/A

2.

Enter BGP view.

bgp as-number

N/A

3.

Establish the peer relationship
with the peer PE.

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

N/A

4.

Specify the interface for the

TCP connection.

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

N/A

5.

Enter BGP L2VPN address

family view.

l2vpn-family

N/A

6.

Enable the filtering by the
VPN target extended

community attributes for the
received routing information.

policy vpn-target

Optional
Enabled by default

7.

Enable the specified peer or

peers to exchange BGP
routing information of the

BGP-L2VPN address family.

peer { group-name | ip-address }
enable

N/A

NOTE:

For information about the configuration of BGP-L2VPN address family, see the chapter “Configuring
MPLS L3VPN.”

Configuring VPN

To configure VPN: