PLANET XGS3-24042 User Manual

Page 688

Advertising
background image

81-42

Figure 81-8 Create BGP MPLS VPN between PE-CE via EBGP

The configuration of CE1 is as follows : (the configurations of CE2~CE4 are similar)

CE1#config

CE1(config)# interface vlan 1

CE1(config-if-Vlan1)#ip address 10.1.1.1 255.255.255.0

CE1(config-if-Vlan1)#exit

CE1(config)# router bgp 65001

CE1(config-router)#neighbor 10.1.1.2 remote-as 100

CE1(config-router)#redistribute connect

CE1(config-router)#exit

The configuration of MPLS BGP on switch PE1 is as follows:

(1) Configure VPN instances

PE1#config

PE1(config)#ip vrf vpna

PE1(config-vrf)#rd 100:1

PE1(config-vrf)#route-target both 100:1

PE1(config)#ip vrf vpnb

PE1(config-vrf)#rd 100:2

PE1(config-vrf)#route-target both 100:2

(2) Configure to bind the interface with the VPN instances

PE1(config)# interface vlan 1

Loopback1
172.2.2.2./32

VLAN3:
10.3.1.2/24

AS 65001
VPN A RT:100:1

VLAN1:
10.1.1.1/24

VLAN1:
10.1.1.2/24

VLAN2:
10.2.1.2/24

VLAN2:
10.2.1.1/24

CE2

VPN-B

RT:100:2

AS 65002

PE 1

CE1

VLAN100:
100.1.1.1/24

VLAN100:
100.1.1.2/24

VLAN200:
200.1.1.2/24

Loopback 1:
172.3.3.3/32

P


MPLS backbone

VLAN200:
200.1.1.1/24

VLAN3:
10.3.1.1/24

AS 650003
VPN-A RT:100:1

PE2

CE4

VPN-B

RT:100:2

AS 65004

VLAN4:
10.4.1.2/24

VLAN4:
10.4.1.1/24

AS 100

PE-CE USING EBGP

CE3

Loopback1
172.1.1.1/3
2

Advertising
This manual is related to the following products: