beautypg.com

Bgp auto-discovery ldp pw configuration example, Network requirements, Configuration procedure – H3C Technologies H3C S6800 Series Switches User Manual

Page 410

background image

397

Remote Label Block : 131224/10/0

Export Route Target: 1:1

BGP auto-discovery LDP PW configuration example

Network requirements

Use BGP to discover remote PEs and use LDP to create PWs among PEs so CEs in different sites of VPN

1 can communicate with each other.

Figure 102 Network diagram

Configuration procedure

1.

Configure the IGP and public tunnels. (Details not shown.)

2.

Configure PE 1:
# Configure basic MPLS.

system-view

[PE1] interface loopback 0

[PE1-LoopBack0] ip address 1.1.1.9 32

[PE1-LoopBack0] quit

[PE1] mpls lsr-id 1.1.1.9

[PE1] mpls ldp

[PE1-ldp] quit

# Establish IBGP connections to PE 1 and PE 2, and use BGP to advertise VPLS PE information.

[PE1] bgp 100

[PE1-bgp] peer 2.2.2.9 as-number 100

[PE1-bgp] peer 2.2.2.9 connect-interface loopback 0

[PE1-bgp] peer 3.3.3.9 as-number 100

[PE1-bgp] peer 3.3.3.9 connect-interface loopback 0

[PE1-bgp] address-family l2vpn

[PE1-bgp-l2vpn] peer 2.2.2.9 enable

[PE1-bgp-l2vpn] peer 3.3.3.9 enable

[PE1-bgp-l2vpn] quit

[PE1-bgp] quit

文件中找不到关系

ID 为 rId130 的图像部件。