3 create bgp mpls vpn between pe-ce via rip, 3 create bgp mpls vpn between pe-ce via rip -49 – PLANET XGS3-24042 User Manual
Page 695

81-49
P(config-if-Vlan100)#exit
P(config)#interface vlan200
P(config-if-Vlan200)#ip address 200.1.1.2 255.255.255.0
P(config-if-Vlan200)#label-switching
P(config-if-Vlan200)#ldp enable
P(config-if-Vlan200)#exit
(2) Configure OSPF
P(config)#router ospf
P(config-router)# ospf router-id 172.3.3.3
P(config-router)# network 0.0.0.0/0 area 0
P(config-router)# redistribute connected
81.3.3 Create BGP MPLS VPN between PE-CE via RIP
Figure 81-10 Create BGP MPLS VPN between PE-CE via RIP
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 rip
CE1(config-router)#network 0.0.0.0/0
AS 65001
VPN A RTP: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
VLAN3:
10.3.1.2/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 RIP
CE3
Loopback1
172.1.1.1/3
2
Loopback1
172.2.2.2./3
2