PLANET XGS3-24042 User Manual

Page 698

Advertising
background image

81-52

P(config)# interface loopback 1

P(config-if-Loopback1)# ip address 172.3.3.3 255.255.255.255

P(config-if-Loopback1)# exit

P(config)#interface vlan 100

P(config-if-Vlan100)#ip address 100.1.1.2 255.255.255.0

P(config-if-Vlan100)#label-switching

P(config-if-Vlan100)#ldp enable

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.4 Create BGP MPLS VPN between PE-CE via Static Routes

Figure 81-11 Create BGP MPLS VPN between PE-CE via Static Routes

VLAN2:
192.168.1.1/24

VLAN3:
10.3.1.2/24

VLAN2:

192.168.2.1/24

Loopback1
172.2.2.2/3
2

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 Static

Routes

CE3

Loopback1
172.1.1.1/3
2

Advertising
This manual is related to the following products: